/* Fulwari Store v6.2 — French Blue + Champagne Gold
   Food-first premium palette. No black in the brand system.
*/
:root{
  --fv-bg:#F7F4EE;
  --fv-surface:#FFFFFF;
  --fv-surface-2:#FBF9F5;
  --fv-surface-3:#EFE9DF;

  --fv-blue:#4C728D;
  --fv-blue-2:#5C819A;
  --fv-blue-deep:#365D75;
  --fv-blue-soft:#E9F0F5;
  --fv-blue-pale:#F4F8FA;

  --fv-gold:#C79A32;
  --fv-gold-2:#E1BE61;
  --fv-gold-dark:#9B7020;
  --fv-gold-soft:#FBF0D0;

  --fv-text:#334956;
  --fv-text-2:#536772;
  --fv-muted:#79878E;
  --fv-muted-2:#98A2A7;

  --fv-border:#E2DCD2;
  --fv-border-soft:#EEE9E1;
  --fv-shadow:0 14px 36px rgba(54,93,117,.075);
  --fv-shadow-lg:0 22px 60px rgba(54,93,117,.12);

  /* Compatibility aliases for legacy components / Quick View. */
  --fv-dark:var(--fv-text);
  --fv-brown:var(--fv-blue);
  --fv-brown-2:var(--fv-blue-2);
  --fv-navy:var(--fv-blue);
  --fv-navy-2:var(--fv-blue-2);
  --fv-navy-deep:var(--fv-blue-deep);
  --fv-navy-soft:var(--fv-blue-soft);

  --fv4-cream:var(--fv-bg);
  --fv4-paper:var(--fv-surface);
  --fv4-cocoa:var(--fv-blue);
  --fv4-cocoa-deep:var(--fv-blue-deep);
  --fv4-ink:var(--fv-text);
  --fv4-tan:#E9E2D7;
  --fv4-gold:var(--fv-gold);
  --fv4-muted:var(--fv-muted);
  --fv4-line:var(--fv-border);
}

html,body{
  background:var(--fv-bg)!important;
  color:var(--fv-text)!important;
}

/* Header */
.fv-topbar{
  background:var(--fv-blue-deep)!important;
  color:#FFF9ED!important;
}
.fv-header{
  background:rgba(255,255,255,.985)!important;
  border-bottom-color:var(--fv-border-soft)!important;
  box-shadow:0 5px 20px rgba(54,93,117,.045)!important;
}
.fv-brand-name{color:var(--fv-text)!important}
.fv-nav a{color:var(--fv-text)!important}
.fv-nav a:hover,
.fv-nav .current-menu-item>a{
  color:var(--fv-blue-deep)!important;
  background:var(--fv-blue-pale)!important;
}
.fv-nav .sub-menu{
  background:#fff!important;
  border-color:var(--fv-border)!important;
  box-shadow:var(--fv-shadow-lg)!important;
}
.fv-header-search{
  background:#fff!important;
  border-color:var(--fv-border)!important;
}
.fv-header-search:focus-within{
  border-color:var(--fv-gold)!important;
  box-shadow:0 0 0 3px rgba(199,164,82,.13)!important;
}
.fv-header-search-input{color:var(--fv-text)!important}
.fv-header-search-input::placeholder{color:var(--fv-muted-2)!important}
.fv-header-search-btn{color:var(--fv-blue-deep)!important}
.fv-header-search-btn:hover{
  background:var(--fv-blue-soft)!important;
  color:var(--fv-blue-deep)!important;
}
.fv-icon-btn{
  background:#fff!important;
  border-color:var(--fv-border)!important;
  color:var(--fv-blue-deep)!important;
}
.fv-icon-btn:hover{
  background:var(--fv-blue-soft)!important;
  color:var(--fv-blue-deep)!important;
  border-color:#C9D7E0!important;
}
.fv-count{
  background:var(--fv-gold)!important;
  color:#fff!important;
}

/* Home / editorial */
.fv-hero.fv4-hero{background:#fff!important}
.fv4-kicker,
.fv4-story-copy .fv-eyebrow,
.fv4-text-link,
.fv4-card-index,
#products .fv-card-price{
  color:var(--fv-blue-deep)!important;
}
.fv-hero.fv4-hero h1,
.fv-about.fv4-story h2{
  color:var(--fv-text)!important;
}
.fv-hero.fv4-hero h1 span{color:var(--fv-blue)!important}
.fv-hero.fv4-hero h1 span::after{
  background:rgba(222,196,118,.40)!important;
}

/* Main actions */
.fv4-hero-actions .fv-btn-primary,
#products .fv-section-foot .fv-btn,
.woocommerce a.button:not(.alt),
.woocommerce button.button:not(.alt),
.woocommerce .woocommerce-Button{
  background:var(--fv-blue-deep)!important;
  color:#fff!important;
  border-color:var(--fv-blue-deep)!important;
}
.fv4-hero-actions .fv-btn-primary:hover,
#products .fv-section-foot .fv-btn:hover,
.woocommerce a.button:not(.alt):hover,
.woocommerce button.button:not(.alt):hover,
.woocommerce .woocommerce-Button:hover{
  background:var(--fv-blue)!important;
  color:#fff!important;
  border-color:var(--fv-blue)!important;
}
.fv4-hero-actions .fv-btn-ghost{
  color:var(--fv-blue-deep)!important;
  border-color:#B8CBD7!important;
  background:#fff!important;
}
.fv4-hero-actions .fv-btn-ghost:hover{
  background:var(--fv-blue-pale)!important;
  border-color:#AFC4D1!important;
}

/* Cards */
.fv-card,
.woocommerce ul.products li.product,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce-tabs .panel{
  background:#fff!important;
  border-color:var(--fv-border)!important;
}
.fv-benefit-icon{
  background:var(--fv-gold-soft)!important;
  color:var(--fv-gold-dark)!important;
}
.fv-why.fv4-why{background:#EFEAE1!important}

/* Home CTA — fixes the low-contrast heading from the screenshot. */
.fv-cta,
.fv-cta.fv4-cta,
.fv4-about-cta{
  background:linear-gradient(135deg,var(--fv-blue-deep),var(--fv-blue))!important;
  color:#fff!important;
}
.fv-cta.fv4-cta h2,
.fv-cta.fv4-cta h3,
.fv4-about-cta h2,
.fv4-about-cta h3{
  color:#fff!important;
}
.fv4-cta-kicker,
.fv-cta.fv4-cta .fv4-cta-kicker{
  color:#F1DDA5!important;
}
.fv-cta.fv4-cta p,
.fv4-about-cta p{
  color:#E8F0F4!important;
}
.fv-cta.fv4-cta .fv-btn,
.fv4-about-cta .fv-btn{
  background:var(--fv-gold-2)!important;
  color:var(--fv-blue-deep)!important;
  border-color:var(--fv-gold-2)!important;
}
.fv-cta.fv4-cta .fv-btn:hover,
.fv4-about-cta .fv-btn:hover{
  background:#E6CD86!important;
  color:var(--fv-blue-deep)!important;
}

/* WooCommerce primary actions */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #place_order,
.woocommerce .checkout-button,
.woocommerce button.single_add_to_cart_button{
  background:var(--fv-blue-deep)!important;
  color:#fff!important;
  border-color:var(--fv-blue-deep)!important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce #place_order:hover,
.woocommerce .checkout-button:hover,
.woocommerce button.single_add_to_cart_button:hover{
  background:var(--fv-blue)!important;
  color:#fff!important;
  border-color:var(--fv-blue)!important;
}

/* Form focus */
.woocommerce input.input-text:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.fv-contact-page input:focus,
.fv-contact-page textarea:focus{
  border-color:var(--fv-gold)!important;
  box-shadow:0 0 0 3px rgba(199,164,82,.13)!important;
  outline:0!important;
}

/* Footer */
.fv-footer{
  background:var(--fv-blue-deep)!important;
  color:#F1F6F8!important;
}
.fv-footer h3,
.fv-footer h4{color:#FFF8E8!important}
.fv-footer p,
.fv-footer li,
.fv-footer a{color:#DBE6EC!important}
.fv-footer a:hover{color:var(--fv-gold-2)!important}
.fv-footer-bottom{border-color:rgba(255,255,255,.14)!important}

/* Quick View */
.fv-qv-overlay{background:rgba(54,93,117,.56)!important}
.fv-qv-dialog{
  background:#fff!important;
  border:1px solid var(--fv-border)!important;
  box-shadow:var(--fv-shadow-lg)!important;
}
.fv-qv-title{color:var(--fv-text)!important}
.fv-qv-price{color:var(--fv-blue-deep)!important}
.fv-qv-sale{
  background:var(--fv-gold-2)!important;
  color:var(--fv-blue-deep)!important;
}
/* v6.4 — active desktop main navigation */
@media (min-width:1025px){
  .fv-nav > ul > li > a{
    position:relative!important;
  }

  .fv-nav > ul > li.current-menu-item > a,
  .fv-nav > ul > li.current_page_item > a,
  .fv-nav > ul > li.current-menu-ancestor > a,
  .fv-nav > ul > li.current_page_parent > a,
  .fv-nav > ul > li > a[aria-current="page"]{
    background:transparent!important;
    color:var(--fv-blue-deep)!important;
  }

  .fv-nav > ul > li.current-menu-item > a::after,
  .fv-nav > ul > li.current_page_item > a::after,
  .fv-nav > ul > li.current-menu-ancestor > a::after,
  .fv-nav > ul > li.current_page_parent > a::after,
  .fv-nav > ul > li > a[aria-current="page"]::after{
    content:""!important;
    position:absolute!important;
    right:10px!important;
    left:10px!important;
    bottom:1px!important;
    height:2px!important;
    border-radius:999px!important;
    background:var(--fv-gold)!important;
  }
}

/* =========================================================
   v6.10 PRODUCT UI FIXES
   ========================================================= */

/* Woo AJAX normally inserts an extra "مشاهده سبد خرید" link under the
   loop button. Keep the card clean; cart remains accessible from header. */
.fv-card .added_to_cart.wc-forward,
ul.products li.product .added_to_cart.wc-forward{
  display:none!important;
}

/* Remove Woo's extra added/check pseudo marker; the button text itself
   provides the feedback via main.js. */
.fv-card .add_to_cart_button.added::after,
ul.products li.product .add_to_cart_button.added::after{
  display:none!important;
  content:none!important;
}

.fv-card .add_to_cart_button.fv-cart-adding,
ul.products li.product .add_to_cart_button.fv-cart-adding{
  opacity:.78!important;
  pointer-events:none!important;
}

.fv-card .add_to_cart_button.fv-cart-added,
ul.products li.product .add_to_cart_button.fv-cart-added{
  background:var(--fv-gold)!important;
  border-color:var(--fv-gold)!important;
  color:#fff!important;
}

/* Product detail: quantity stays native and may be 1,2,3...;
   minimum order of 4 is based on total cart quantity and is validated only in cart/checkout. */
body.single-product form.cart .quantity .qty{
  min-width:66px!important;
  width:66px!important;
  text-align:center!important;
}

body.single-product .fv-min-order-hint{
  margin:16px 0 0!important;
  padding:12px 14px!important;
  border:1px solid #E7D8AF!important;
  border-radius:11px!important;
  background:var(--fv-gold-soft)!important;
  color:var(--fv-text-2)!important;
  font-size:var(--fv-type-muted-size)!important;
  line-height:1.85!important;
  font-weight:400!important;
}

body.single-product .fv-min-order-hint strong{
  color:var(--fv-gold-dark)!important;
  font-weight:700!important;
}

/* v6.23 — single-product minimum quantity notice: informational only. */
body.single-product .fv-min-order-hint{
  display:block!important;
}
body.single-product .fv-min-order-hint strong{
  display:inline!important;
  margin-left:4px!important;
}

/* v6.25 — concise total-cart minimum order notice. */
body.single-product .fv-min-order-hint span{
  color:var(--fv-text-2)!important;
  font-weight:400!important;
}
