/* Zi Vital Commerce V3 — premium storefront, product, cart and checkout polish */
:root{
  --zvc-ink:#2f2924;
  --zvc-muted:#82766c;
  --zvc-gold:#b88d33;
  --zvc-gold-deep:#93691f;
  --zvc-line:rgba(184,141,51,.20);
  --zvc-soft:#fbf7f1;
  --zvc-white:#fff;
  --zvc-glass:rgba(255,255,255,.78);
  --zvc-shadow:0 24px 70px rgba(64,47,31,.10);
  --zvc-shadow-soft:0 14px 36px rgba(64,47,31,.07);
}

/* ---------- STORE REFINEMENTS ---------- */
.zv-store-nav__inner{justify-content:flex-start}
.zv-store-nav__item{background:rgba(255,255,255,.84);box-shadow:0 5px 18px rgba(70,52,34,.035)}
.zv-store-view-stage{background:linear-gradient(180deg,#fff 0%,#fdfbf8 100%)}
.zv-store-all,.zv-store-category{background:transparent}
.zv-store-all__head{padding-top:52px}

/* Category heading: title only. The explanatory copy moves into the visual card. */
.zv-store-category__head{display:block;margin-bottom:24px}
.zv-store-category__head>p{display:none!important}
.zv-store-category__head h2{font-size:clamp(54px,5vw,78px);line-height:.86}

/* Replace the crowded repeated category card with an image-led editorial visual. */
.zv-store-category__layout{grid-template-columns:minmax(340px,.42fr) minmax(0,.58fr);gap:18px}
.zv-store-category__feature{min-height:650px;border-radius:30px;background:#fff;box-shadow:var(--zvc-shadow-soft);border-color:var(--zvc-line)}
.zv-store-category__feature::before{background:radial-gradient(circle at 50% 40%,rgba(202,166,87,.13),transparent 28%),linear-gradient(180deg,#fff 0%,#fbf7f1 100%)!important}
.zv-store-category__feature-copy{left:24px;right:24px;top:24px;max-width:none}
.zv-store-category__feature-copy>span{background:rgba(255,255,255,.9);box-shadow:0 8px 25px rgba(53,39,25,.06)}
.zv-store-category__feature-copy h3{display:none}
.zv-store-category__feature-copy p{position:absolute;left:0;right:0;top:468px;padding:18px 19px;border:1px solid rgba(184,141,51,.14);border-radius:20px;background:rgba(255,255,255,.78);backdrop-filter:blur(18px);box-shadow:0 15px 35px rgba(58,43,28,.08);font-family:"Manrope",sans-serif;font-size:11px;line-height:1.65;color:#71665c}
.zv-store-category__explore{position:absolute;top:548px;left:2px;margin:0}
.zv-store-category__feature-product{left:8%;right:8%;top:14%;height:55%}
.zv-store-category__feature-product img{max-width:78%;max-height:92%;filter:drop-shadow(0 28px 30px rgba(62,45,28,.15))}
.zv-store-category__featured-name{left:24px;right:24px;bottom:20px;padding-top:15px}
.zv-store-category__featured-name strong{font-family:"Manrope",sans-serif;font-size:15px;font-weight:600;line-height:1.35}
.zv-store-category__feature-quick{bottom:21px}
.zv-store-category__halo{opacity:.5}

/* Product cards: white, cleaner type, round image wells, stronger depth. */
.zv-store-product{border-color:rgba(184,141,51,.19);border-radius:26px;background:#fff;box-shadow:0 14px 34px rgba(54,40,27,.06)}
.zv-store-product:hover{transform:translateY(-6px);box-shadow:0 24px 52px rgba(54,40,27,.11)}
.zv-store-product__media{border:1px solid rgba(184,141,51,.14);border-radius:21px;background:#fff}
.zv-store-product__media>a{background:#fff}
.zv-store-product__body{padding:8px 16px 18px}
.zv-store-product__body h3,.zv-store-product--featured .zv-store-product__body h3{font-family:"Manrope",sans-serif!important;font-size:14px!important;font-weight:600!important;letter-spacing:-.02em!important;line-height:1.35!important}
.zv-store-product__body h3 a{color:var(--zvc-ink)}
.zv-store-product__body>p{font-size:7px;color:#a4834f}
.zv-store-product__footer{padding-top:8px}

/* Prices: hierarchy for regular/sale states. */
.zv-store-product__price,.zv-store-category__featured-name>span,.zv-store-modal__price{
  display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;color:var(--zvc-gold-deep);font-family:"Manrope",sans-serif;font-weight:700
}
.zv-store-product__price{font-size:13px}
.zv-store-product__price del,.zv-store-category__featured-name del,.zv-store-modal__price del{order:2;color:#aa9d91;opacity:1;font-size:9px;font-weight:500;text-decoration-thickness:1px}
.zv-store-product__price ins,.zv-store-category__featured-name ins,.zv-store-modal__price ins{order:1;text-decoration:none;color:var(--zvc-gold-deep);font-size:1.08em}
.zv-store-product__price .woocommerce-Price-currencySymbol{font-size:.78em}

/* Add button gains label on hover without becoming noisy at rest. */
.zv-store-product__add{display:flex!important;align-items:center;justify-content:center;gap:7px;width:38px;min-width:38px;height:38px;padding:0;border-radius:14px;overflow:hidden;white-space:nowrap;transition:width .28s ease,transform .22s ease,box-shadow .22s ease,padding .28s ease}
.zv-store-product__add::after{content:"Agregar";max-width:0;opacity:0;font-family:"Manrope",sans-serif;font-size:8px;font-weight:700;transition:max-width .28s ease,opacity .2s ease}
.zv-store-product__add:hover{width:87px;padding:0 13px;transform:translateY(-2px);box-shadow:0 13px 25px rgba(184,141,51,.25)}
.zv-store-product__add:hover::after{max-width:55px;opacity:1}

/* Store quick view: larger and more visual. */
.zv-store-modal{width:min(1080px,94vw);grid-template-columns:1fr 1fr;border-radius:34px;background:rgba(255,255,255,.96);box-shadow:0 45px 120px rgba(28,20,14,.28)}
.zv-store-modal__media{min-height:620px;background:radial-gradient(circle at 48% 46%,rgba(202,166,87,.13),transparent 31%),linear-gradient(145deg,#fff,#f7efe5)}
.zv-store-modal__media img{max-width:76%;max-height:76%}
.zv-store-modal__body{padding:68px 62px 54px}
.zv-store-modal__body h2{font-size:clamp(42px,4vw,58px)}
.zv-store-modal__description{font-family:"Manrope",sans-serif;font-size:12px;line-height:1.75}
.zv-store-modal__purchase{margin-top:30px}

/* Add success: centered decision modal with a subtle overlay. */
.zv-store-success{left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;width:min(540px,calc(100vw - 34px))!important;padding:30px!important;border-radius:30px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 40px 110px rgba(29,21,15,.32)!important;transform:translate(-50%,-50%);backdrop-filter:blur(24px)}
.zv-store-success__icon{width:52px;height:52px;border-radius:17px;font-size:21px}
.zv-store-success__heading strong{font-size:38px}
.zv-store-success__heading span{font-size:10px}
.zv-store-success__product{grid-template-columns:78px 1fr;padding:13px;border-radius:20px}
.zv-store-success__product img{width:78px;height:78px;border-radius:15px;background:#fff}
.zv-store-success__product strong{font-size:11px}
.zv-store-success__actions{margin-top:22px;gap:10px}
.zv-store-success__actions .zv-store-btn{min-height:46px;font-size:9px}
.zv-commerce-success-backdrop{position:fixed;inset:0;z-index:10090;background:rgba(43,35,29,.34);backdrop-filter:blur(8px);animation:zvcFade .24s ease}
@keyframes zvcFade{from{opacity:0}to{opacity:1}}
body.zv-commerce-success-open{overflow:hidden}

/* ---------- SINGLE PRODUCT ---------- */
.single-product .act-wc{max-width:1280px;padding-top:54px;padding-bottom:90px}
.single-product .act-wc__main{width:100%}
.zv-product-page{font-family:"Manrope",sans-serif;color:var(--zvc-ink)}
.zv-product-back{display:inline-flex;align-items:center;gap:9px;margin-bottom:20px;color:#74685d;font-size:10px;font-weight:600}
.zv-product-back:hover{color:var(--zvc-gold-deep)}
.zv-product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);gap:32px;align-items:stretch}
.zv-product-gallery,.zv-product-summary{border:1px solid var(--zvc-line);border-radius:34px;background:rgba(255,255,255,.9);box-shadow:var(--zvc-shadow)}
.zv-product-gallery{position:relative;padding:20px;overflow:hidden}
.zv-product-gallery::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 48% 40%,rgba(202,166,87,.12),transparent 34%),linear-gradient(160deg,#fff,#faf5ee);pointer-events:none}
.zv-product-main-image{position:relative;display:grid;place-items:center;min-height:570px;border-radius:25px;background:#fff;overflow:hidden}
.zv-product-main-image img{max-width:82%;max-height:510px;object-fit:contain;filter:drop-shadow(0 28px 28px rgba(62,45,28,.13));transition:opacity .2s ease,transform .32s ease}
.zv-product-main-image.is-changing img{opacity:.35;transform:scale(.985)}
.zv-product-thumbs{position:relative;display:flex;gap:10px;margin-top:13px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.zv-product-thumbs::-webkit-scrollbar{display:none}
.zv-product-thumb{flex:0 0 74px;height:74px;padding:6px;border:1px solid rgba(184,141,51,.18);border-radius:16px;background:#fff;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.zv-product-thumb:hover,.zv-product-thumb.is-active{border-color:#c79b48;box-shadow:0 8px 22px rgba(70,52,34,.09);transform:translateY(-1px)}.zv-product-thumb img{width:100%;height:100%;object-fit:contain;border-radius:11px}
.zv-product-summary{display:flex;flex-direction:column;padding:48px 48px 38px;background:rgba(255,255,255,.82);backdrop-filter:blur(16px)}
.zv-product-summary__category{margin:0 0 13px;color:var(--zvc-gold-deep);font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}
.zv-product-summary h1{margin:0;font-family:"Cormorant Garamond",serif;font-size:clamp(46px,4.2vw,64px);font-weight:500;line-height:.92;letter-spacing:-.04em}
.zv-product-summary__badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.zv-product-summary__badges span{padding:7px 10px;border:1px solid rgba(184,141,51,.18);border-radius:999px;background:#fff;color:#7d6f62;font-size:8px}
.zv-product-summary__price{margin:24px 0 0;font-size:24px;font-weight:700;color:var(--zvc-gold-deep)}.zv-product-summary__price del{font-size:13px;color:#a69a90;opacity:1}.zv-product-summary__price ins{text-decoration:none}
.zv-product-summary__lead{margin:22px 0 0;color:#71665d;font-size:12px;line-height:1.78}
.zv-product-summary__purchase{margin-top:28px;padding:20px;border:1px solid rgba(184,141,51,.15);border-radius:22px;background:rgba(255,255,255,.72)}
.zv-product-summary__purchase form.cart{display:flex;gap:10px;align-items:center;margin:0!important}.zv-product-summary__purchase .quantity .qty{width:76px;height:49px;border:1px solid rgba(184,141,51,.22);border-radius:15px;background:#fff;text-align:center;font:600 12px "Manrope",sans-serif}.zv-product-summary__purchase .single_add_to_cart_button{flex:1;min-height:49px;border:0!important;border-radius:15px!important;background:linear-gradient(135deg,#a97926,#cca348)!important;color:#fff!important;font-family:"Manrope",sans-serif!important;font-size:11px!important;font-weight:700!important;box-shadow:0 13px 28px rgba(184,141,51,.21);transition:transform .2s ease,box-shadow .2s ease}.zv-product-summary__purchase .single_add_to_cart_button:hover{transform:translateY(-2px);box-shadow:0 17px 32px rgba(184,141,51,.28)}
.zv-product-summary__trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.zv-product-summary__trust span{padding:11px 9px;border-radius:14px;background:#fbf8f3;color:#7d7166;text-align:center;font-size:8px;line-height:1.35}
.zv-product-summary__meta{margin-top:auto;padding-top:24px;color:#988a7e;font-size:9px;line-height:1.65}.zv-product-summary__meta a{color:var(--zvc-gold-deep)}
.zv-product-info{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-top:25px}.zv-product-info__card{padding:30px;border:1px solid var(--zvc-line);border-radius:28px;background:rgba(255,255,255,.86);box-shadow:var(--zvc-shadow-soft)}.zv-product-info__card h2{margin:0 0 15px;font-family:"Cormorant Garamond",serif;font-size:36px;font-weight:500}.zv-product-info__card p,.zv-product-info__card li{color:#74695f;font-size:11px;line-height:1.78}.zv-product-info__card ul{margin:0;padding-left:18px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border:1px solid rgba(184,141,51,.2)!important;border-top:1px solid rgba(184,141,51,.2)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--zvc-shadow-soft);font-family:"Manrope",sans-serif!important;color:#5f564e!important}

/* ---------- RELATED / UPSELL ---------- */
.zv-commerce-recos{margin-top:58px;padding:34px 0 4px;font-family:"Manrope",sans-serif}
.zv-commerce-recos__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.zv-commerce-recos__head p{margin:0 0 8px;color:var(--zvc-gold-deep);font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.zv-commerce-recos__head h2{margin:0;font-family:"Cormorant Garamond",serif;font-size:clamp(38px,4vw,52px);font-weight:500;line-height:.9}.zv-commerce-recos__head span{max-width:420px;color:#82766c;font-size:10px;line-height:1.55}
.zv-commerce-recos__rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);gap:12px;overflow-x:auto;padding:4px 2px 22px;scroll-snap-type:x proximity;scrollbar-width:none}.zv-commerce-recos__rail::-webkit-scrollbar{display:none}
.zv-commerce-reco{scroll-snap-align:start;display:flex;flex-direction:column;min-width:0;padding:10px;border:1px solid rgba(184,141,51,.18);border-radius:23px;background:#fff;box-shadow:0 12px 30px rgba(54,40,27,.055);transition:transform .22s ease,box-shadow .22s ease}.zv-commerce-reco:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(54,40,27,.09)}
.zv-commerce-reco__media{display:grid;place-items:center;height:190px;border:1px solid rgba(184,141,51,.12);border-radius:17px;background:#fff;overflow:hidden}.zv-commerce-reco__media img{width:82%;height:82%;object-fit:contain}
.zv-commerce-reco__body{display:flex;flex:1;flex-direction:column;padding:13px 5px 5px}.zv-commerce-reco__body small{color:#aa8548;font-size:7px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.zv-commerce-reco__body h3{margin:7px 0 12px;font-family:"Manrope",sans-serif;font-size:12px;font-weight:600;line-height:1.35}.zv-commerce-reco__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.zv-commerce-reco__price{color:var(--zvc-gold-deep);font-size:11px;font-weight:700}.zv-commerce-reco__price del{font-size:8px;color:#aaa;opacity:1}.zv-commerce-reco__price ins{text-decoration:none}.zv-commerce-reco__add{display:grid;place-items:center;width:38px;height:38px!important;min-height:38px!important;padding:0!important;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#a97926,#cda44c)!important;color:#fff!important;font-size:17px!important;box-shadow:0 8px 18px rgba(184,141,51,.18)}

/* ---------- CART POLISH ---------- */
.woocommerce-cart .act-wc{padding-top:58px;padding-bottom:78px}
.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals .cart_totals{backdrop-filter:blur(18px)}
.woocommerce-cart .zv-commerce-recos{margin-top:46px;border-top:1px solid rgba(184,141,51,.12)}

/* ---------- CHECKOUT / PAYMENT ---------- */
body.woocommerce-checkout{background:radial-gradient(circle at 78% 18%,rgba(202,166,87,.10),transparent 26%),linear-gradient(180deg,#fff 0%,#fbf7f2 100%)}
.woocommerce-checkout .act-wc{max-width:1280px;padding-top:54px;padding-bottom:90px}
.woocommerce-checkout .act-wc__main>.woocommerce{padding:28px;border:1px solid rgba(184,141,51,.16);border-radius:34px;background:rgba(255,255,255,.68);box-shadow:0 28px 80px rgba(59,43,28,.08);backdrop-filter:blur(20px)}
.woocommerce-checkout form.checkout,.woocommerce-checkout .woocommerce-checkout{font-family:"Manrope",sans-serif}
.woocommerce-checkout h1,.woocommerce-checkout h2,.woocommerce-checkout h3,.woocommerce-checkout .woocommerce-billing-fields>h3,.woocommerce-checkout #order_review_heading{font-family:"Cormorant Garamond",serif;font-weight:500;letter-spacing:-.025em;color:var(--zvc-ink)}
.woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-shipping-fields,.woocommerce-checkout .woocommerce-additional-fields,.woocommerce-checkout #order_review,.woocommerce-checkout .fc-step__substep,.woocommerce-checkout .fc-checkout-step,.woocommerce-checkout [class*="checkout-step"]{padding:24px!important;border:1px solid rgba(184,141,51,.16)!important;border-radius:24px!important;background:rgba(255,255,255,.72)!important;box-shadow:0 14px 38px rgba(58,43,28,.055)!important;backdrop-filter:blur(16px)}
.woocommerce-checkout .form-row{margin-bottom:16px!important}
.woocommerce-checkout .form-row label{margin-bottom:7px;color:#665d55;font-size:10px;font-weight:600}
.woocommerce-checkout .form-row .required{color:#b07f2a}
.woocommerce-checkout input.input-text,.woocommerce-checkout textarea,.woocommerce-checkout select,.woocommerce-checkout .select2-container--default .select2-selection--single{width:100%;min-height:50px;border:1px solid rgba(184,141,51,.22)!important;border-radius:15px!important;background:rgba(255,255,255,.93)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);font-family:"Manrope",sans-serif;font-size:11px;color:var(--zvc-ink);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.woocommerce-checkout textarea{min-height:120px;padding:14px!important}
.woocommerce-checkout input.input-text{padding:0 14px!important}
.woocommerce-checkout input.input-text:focus,.woocommerce-checkout textarea:focus,.woocommerce-checkout select:focus,.woocommerce-checkout .select2-container--open .select2-selection--single{outline:none;border-color:#c79a45!important;box-shadow:0 0 0 4px rgba(184,141,51,.09)!important}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:48px;padding-left:14px}.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow{height:48px;right:8px}
.woocommerce-checkout button,.woocommerce-checkout .button,.woocommerce-checkout #place_order,.woocommerce-checkout [class*="next"],.woocommerce-checkout [class*="prev"]{min-height:46px!important;padding:0 22px!important;border:0!important;border-radius:999px!important;background:linear-gradient(135deg,#a97926,#cda44c)!important;color:#fff!important;font-family:"Manrope",sans-serif!important;font-size:10px!important;font-weight:700!important;box-shadow:0 11px 25px rgba(184,141,51,.18)!important;transition:transform .2s ease,box-shadow .2s ease!important}.woocommerce-checkout button:hover,.woocommerce-checkout .button:hover,.woocommerce-checkout #place_order:hover{transform:translateY(-2px);box-shadow:0 15px 31px rgba(184,141,51,.25)!important}
.woocommerce-checkout .woocommerce-checkout-review-order-table{overflow:hidden;border:1px solid rgba(184,141,51,.15)!important;border-radius:19px!important;background:#fff}.woocommerce-checkout .woocommerce-checkout-review-order-table th,.woocommerce-checkout .woocommerce-checkout-review-order-table td{padding:14px!important;border-color:rgba(184,141,51,.11)!important;font-size:10px}
.woocommerce-checkout #payment{border:1px solid rgba(184,141,51,.15)!important;border-radius:22px!important;background:rgba(255,255,255,.76)!important;overflow:hidden;box-shadow:0 13px 34px rgba(58,43,28,.05)}.woocommerce-checkout #payment ul.payment_methods{padding:20px!important;border-bottom-color:rgba(184,141,51,.13)!important}.woocommerce-checkout #payment div.payment_box{border-radius:16px;background:#faf5ee!important;color:#6f655d;font-size:10px}.woocommerce-checkout #payment .place-order{padding:20px!important}.woocommerce-checkout #place_order{width:100%;min-height:54px!important;font-size:11px!important}

/* Multistep progress bars: make them feel intentional even when generated by plugins. */
.woocommerce-checkout [class*="step"] [class*="title"],.woocommerce-checkout .fc-step__substep-title{font-family:"Manrope",sans-serif;font-weight:600;color:#554d47}
.woocommerce-checkout .fc-progress-bar,.woocommerce-checkout [class*="progress"]{border-radius:999px}
.woocommerce-checkout .fc-progress-bar__bar,.woocommerce-checkout [class*="progress"] [class*="active"]{background:linear-gradient(90deg,#b3822c,#d5b05c)!important}

@media(max-width:1050px){
  .zv-store-category__layout{grid-template-columns:1fr}
  .zv-store-category__feature{min-height:560px}
  .zv-store-category__feature-copy p{top:388px}.zv-store-category__explore{top:482px}
  .zv-product-hero{grid-template-columns:1fr}.zv-product-main-image{min-height:500px}
  .zv-product-info{grid-template-columns:1fr}
}
@media(max-width:720px){
  .zv-store-nav__inner{padding-inline:4px}.zv-store-nav__item{min-width:auto;padding:0 15px}
  .zv-store-category__head h2{font-size:54px}.zv-store-category__feature{min-height:515px}.zv-store-category__feature-copy p{top:350px}.zv-store-category__explore{top:445px}.zv-store-category__featured-name{right:76px}
  .zv-store-modal{grid-template-columns:1fr;max-height:92vh;overflow:auto}.zv-store-modal__media{min-height:330px}.zv-store-modal__body{padding:35px 26px 30px}.zv-store-modal__body h2{font-size:38px}
  .zv-store-success{padding:24px!important}.zv-store-success__actions{grid-template-columns:1fr}
  .zv-product-summary{padding:32px 24px}.zv-product-main-image{min-height:390px}.zv-product-main-image img{max-height:350px}.zv-product-summary__trust{grid-template-columns:1fr}.zv-product-summary__purchase form.cart{align-items:stretch;flex-direction:column}.zv-product-summary__purchase .quantity .qty{width:100%}
  .zv-commerce-recos__head{align-items:flex-start;flex-direction:column}.zv-commerce-recos__rail{grid-auto-columns:76vw}
  .woocommerce-checkout .act-wc__main>.woocommerce{padding:14px;border-radius:24px}.woocommerce-checkout .woocommerce-billing-fields,.woocommerce-checkout .woocommerce-shipping-fields,.woocommerce-checkout .woocommerce-additional-fields,.woocommerce-checkout #order_review,.woocommerce-checkout .fc-step__substep,.woocommerce-checkout .fc-checkout-step,.woocommerce-checkout [class*="checkout-step"]{padding:17px!important;border-radius:18px!important}
}
