/* =====================================================================
   VINACANOFI / Guangxi Golden Star — Premium override layer
   Loaded LAST in <head>. Pure overlay: does not change markup/JS.
   v1.0 — 16/11/2026
   ===================================================================== */

:root{
  --gx-gold:#C19A2E;          /* refined gold (less neon than #CCAA35) */
  --gx-gold-deep:#A47F22;
  --gx-gold-soft:#F3EBD4;
  --gx-green:#2E4A2C;         /* deep brand green */
  --gx-green-700:#3C5E38;
  --gx-green-soft:#EDF1E7;
  --gx-ink:#20241F;           /* near-black warm text */
  --gx-body:#434A40;          /* body text */
  --gx-muted:#7C8377;
  --gx-line:#E7E4DB;
  --gx-bg:#FFFFFF;
  --gx-bg-alt:#FAF8F2;        /* warm off-white sections */
  --gx-radius:14px;
  --gx-radius-sm:10px;
  --gx-shadow:0 6px 24px -10px rgba(46,74,44,.18), 0 2px 6px -4px rgba(32,36,31,.10);
  --gx-shadow-lg:0 18px 48px -18px rgba(46,74,44,.28);
}

/* ---------- Typography ---------- */
body,
.cart-inner, .ux-menu-link__text, p, li, td, input, textarea, select, button{
  font-family:"Plus Jakarta Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",-apple-system,"Segoe UI",Roboto,sans-serif !important;
}
body{
  color:var(--gx-body);
  font-size:16.5px;
  line-height:1.72;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6,.heading-font{
  font-family:"Plus Jakarta Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif !important;
  color:var(--gx-ink);
  font-weight:800 !important;
  letter-spacing:-.018em;
  line-height:1.18;
  text-wrap:balance;
}
h1,.is-xlarge{font-size:clamp(2rem,3.6vw,3rem) !important;}
h2{font-size:clamp(1.6rem,2.6vw,2.2rem) !important;}
h3{font-size:clamp(1.25rem,1.8vw,1.55rem) !important;}
p{text-wrap:pretty;}

/* readable measure for long article text (About / Value chain etc.) */
.entry-content > p, .entry-content > ul, .entry-content > ol,
.page-wrapper .mb p{max-width:72ch;}
/* page-builder columns: cap running text so lines don't span the full width */
.col-inner > p, .col-inner > div > p,
.col-inner > ul:not(.nav):not(.menu), .col-inner > div > ul:not(.nav):not(.menu),
.col-inner > ol, .col-inner > div > ol{max-width:74ch;}
/* keep single-column text blocks readable but aligned left with their headings */
.large-12 > .col-inner, .small-12 > .col-inner{}

/* Section titles with underline accent (Flatsome .is-divider style) */
h2 + .is-divider, h3 + .is-divider{background-color:var(--gx-gold);height:3px;border-radius:3px;}

/* ---------- Links & accents ---------- */
a{color:var(--gx-gold-deep);transition:color .18s ease;}
a:hover{color:var(--gx-gold);}
.price *{color:var(--gx-gold-deep) !important;font-weight:700;}

/* ---------- Top bar ---------- */
#top-bar{background:var(--gx-green) !important;}
#top-bar, #top-bar .nav > li > a{color:#E9EFE4 !important;font-size:13px;letter-spacing:.01em;}
#top-bar .nav > li > a:hover{color:#fff !important;}

/* ---------- Header / main nav ---------- */
.header-main{min-height:84px;}
.header-bottom{background:var(--gx-gold) !important;box-shadow:0 2px 0 rgba(0,0,0,.04);}
.header-bottom-nav > li > a{
  text-transform:uppercase;font-weight:700 !important;font-size:13.5px;letter-spacing:.04em;
  color:#fff !important;position:relative;padding-top:14px;padding-bottom:14px;
}
.header-bottom-nav > li > a:after{
  content:"";position:absolute;left:14px;right:14px;bottom:8px;height:2px;
  background:#fff;transform:scaleX(0);transform-origin:left;transition:transform .22s ease;border-radius:2px;
}
.header-bottom-nav > li > a:hover:after,
.header-bottom-nav > li.active > a:after,
.header-bottom-nav > li.current-menu-item > a:after{transform:scaleX(1);}
.header-main .nav > li.html .button,
.header-main a.button{border-radius:999px !important;}
/* search box */
.header-main .searchform input,.ux-search-box input{border-radius:999px !important;border-color:var(--gx-line) !important;}

/* sticky shadow */
.stuck .header-main,.header.stuck{box-shadow:var(--gx-shadow);}

/* ---------- Buttons ---------- */
.button,a.button,button,input[type=submit],.seemore-but,.wpcf7-submit{
  border-radius:999px !important;font-weight:700 !important;letter-spacing:.015em;
  text-transform:none;transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease !important;
  border:0;
}
.button.primary,a.button.primary,input[type=submit],.wpcf7-submit,.seemore-but{
  background:linear-gradient(180deg,var(--gx-gold),var(--gx-gold-deep)) !important;color:#fff !important;
  box-shadow:0 8px 20px -10px rgba(164,127,34,.7) !important;outline:none !important;border:0 !important;
}
.button:hover,a.button:hover,button:hover,input[type=submit]:hover,.seemore-but:hover,.wpcf7-submit:hover{
  transform:translateY(-2px);box-shadow:var(--gx-shadow-lg) !important;
}
.button:active,a.button:active{transform:translateY(0);}
/* "Contact →" ghost buttons on product cards */
.box-text .button,.product-small .button{
  background:transparent !important;color:var(--gx-gold-deep) !important;
  box-shadow:none !important;padding-left:0 !important;padding-right:0 !important;
}
.box-text .button:hover{transform:translateX(3px);color:var(--gx-gold) !important;}

/* ---------- Cards (products, boxes) ---------- */
.product-small.box,.col .box.has-hover{
  background:#fff;border-radius:var(--gx-radius);padding-bottom:4px;
  box-shadow:var(--gx-shadow);transition:transform .25s ease, box-shadow .25s ease;
  overflow:hidden;
}
.product-small.box:hover,.col .box.has-hover:hover{transform:translateY(-6px);box-shadow:var(--gx-shadow-lg);}
.box-image{border-radius:var(--gx-radius) var(--gx-radius) 0 0;overflow:hidden;background:var(--gx-bg-alt);}
.box-image img{transition:transform .5s ease;}
.box.has-hover:hover .box-image img{transform:scale(1.05);}
.box-text{padding:16px 16px 18px;}
.box-text .name.product-title,.box-text .product-title{font-weight:700 !important;color:var(--gx-ink) !important;}
.box-text .category,.box-text .op-7{color:var(--gx-muted) !important;text-transform:uppercase;font-size:11.5px;letter-spacing:.06em;}

/* category tiles on home (PRODUCTS row) */
.img-intrinsic,.image-cover{border-radius:var(--gx-radius);}

/* ---------- Sections rhythm ---------- */
.section-content,.row{}
section .section-title-container{margin-bottom:1.2em;}
/* alternate section background for breathing room */
.dark + .section, .section.alt{background:var(--gx-bg-alt);}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{color:var(--gx-muted);font-size:13px;letter-spacing:.02em;}
.breadcrumbs a{color:var(--gx-muted);}
.breadcrumbs a:hover{color:var(--gx-gold-deep);}

/* ---------- Product single ---------- */
.product-title.product_title{letter-spacing:-.02em;}
.woocommerce-product-gallery{border-radius:var(--gx-radius);overflow:hidden;box-shadow:var(--gx-shadow);}
.product-info .cart .button,.single_add_to_cart_button{width:auto;}

/* ---------- Forms (Contact Form 7) ---------- */
.wpcf7 input,.wpcf7 textarea,input[type=text],input[type=email],input[type=tel],textarea{
  border-radius:var(--gx-radius-sm) !important;border:1px solid var(--gx-line) !important;
  background:#fff !important;padding:12px 15px !important;box-shadow:none !important;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.wpcf7 input:focus,.wpcf7 textarea:focus,input:focus,textarea:focus{
  border-color:var(--gx-gold) !important;box-shadow:0 0 0 3px rgba(193,154,46,.18) !important;outline:none !important;
}

/* ---------- Chairman quote block (About) ---------- */
blockquote,.testimonial-text{color:var(--gx-body);}

/* ---------- Footer ---------- */
#footer,.footer-wrapper{background:var(--gx-green) !important;color:#DCE6D4;}
#footer .widget-title,#footer h3,#footer .is-divider{color:#fff !important;}
#footer a{color:#CFE0C4;}
#footer a:hover{color:#fff;}
#footer p,#footer li{font-size:14px;line-height:1.7;}
.absolute-footer{background:var(--gx-green-700) !important;color:#BFD0B4;}
.absolute-footer a{color:#DCE6D4;}

/* footer social icons */
#footer .icon-box .icon-box-img,.footer .social-icons a{border-radius:12px !important;}

/* ---------- Floating contact buttons (right side) — tidy ---------- */
.button-contact-vr .phone-vr,.button-contact-vr{filter:saturate(.92);}

/* ---------- Misc polish ---------- */
img{image-rendering:auto;}
::selection{background:var(--gx-gold-soft);color:var(--gx-ink);}
html{scroll-behavior:smooth;}
*:focus-visible{outline:2px solid var(--gx-gold);outline-offset:2px;}

/* subtle divider lines use brand line color */
.is-divider{background-color:var(--gx-line);}

/* constrain ultra-wide default containers a touch for a tighter premium feel */
@media (min-width:1600px){
  .container,.container-width,.row{max-width:1340px;}
}

/* mobile tuning */
@media (max-width:549px){
  body{font-size:16px;line-height:1.66;}
  h1,.is-xlarge{font-size:1.8rem !important;}
  .header-bottom-nav > li > a{font-size:12.5px;}
  .box-text{padding:13px 13px 15px;}
}
