/*
Theme Name: VELAMIN
Theme URI: https://www.velamin.com
Author: VELAMIN
Author URI: https://www.velamin.com
Description: ธีมอย่างเป็นทางการของ VELAMIN ผลิตภัณฑ์เสริมอาหาร รองรับ WooCommerce โทนเขียวตามโลโก้ ฟอนต์ Prompt ออกแบบสำหรับแบรนด์อาหารเสริมโดยเฉพาะ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: velamin
Tags: e-commerce, woocommerce, custom-colors, custom-menu, featured-images, translation-ready
*/

:root{
  --green:#79bf3e;
  --green-deep:#5da028;
  --green-dark:#3f6e1a;
  --green-soft:#eef7e3;
  --green-mist:#f6fbef;
  --gray:#858688;
  --ink:#2f3a2a;
  --ink-soft:#5e6b56;
  --line:#e3ecd6;
  --white:#ffffff;
  --radius:16px;
  --radius-lg:24px;
  --shadow:0 10px 30px rgba(60,80,40,.10);
  --shadow-lg:0 18px 44px rgba(60,80,40,.14);
  --maxw:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Prompt',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);
  line-height:1.6;
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--green-deep);text-decoration:none;transition:color .2s}
a:hover{color:var(--green-dark)}
h1,h2,h3,h4,h5{font-weight:700;line-height:1.2;color:var(--ink)}

.vlm-container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.vlm-btn{
  display:inline-block;font-weight:600;font-size:.95rem;
  padding:12px 26px;border-radius:40px;border:none;cursor:pointer;
  transition:transform .2s,box-shadow .2s;text-decoration:none;
}
.vlm-btn:hover{transform:translateY(-2px)}
.vlm-btn-primary{background:var(--green);color:#fff;box-shadow:0 10px 24px rgba(121,191,62,.3)}
.vlm-btn-primary:hover{color:#fff}
.vlm-btn-line{background:#06c755;color:#fff;box-shadow:0 10px 24px rgba(6,199,85,.28)}
.vlm-btn-line:hover{color:#fff}
.vlm-btn-ghost{background:#fff;color:var(--green-dark);box-shadow:var(--shadow)}

.screen-reader-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);border:0;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:999;background:#fff;
  padding:10px 18px;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}

/* visible keyboard focus */
a:focus-visible,button:focus-visible,input:focus-visible,.vlm-btn:focus-visible{
  outline:3px solid var(--green);outline-offset:2px;
}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important}
  html{scroll-behavior:auto}
}
