/*
Theme Name: Véloir
Theme URI: https://veloirperfumes.ae
Author: Véloir Perfumes
Description: Luxury perfume storefront theme for Véloir Perfumes (UAE). Warm ivory, high-contrast and easy to read for all ages.
Version: 2.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: veloir
*/

/* Ivory Luxe. Body text about 15:1 contrast; dark-gold text about 8:1. */
:root{
  --bg:#FBF8F1; --surface:#FFFFFF; --band:#F1E9DA; --text:#1E1B18; --muted:#4A443C; --line:#D9CDB6;
  --accent:#5F4818; --gold:#B8963F; --btn-bg:#1E1B18; --btn-text:#FFFFFF; --btn-hover-bg:#E3D2A8; --btn-hover-text:#1E1B18;
  --footer-bg:#1E1B18; --footer-text:#F5EFE3; --footer-muted:#D8CFBD; --focus:#8A6A1F;
  --display:"Cormorant Garamond",Georgia,serif; --ui:"Jost",Arial,sans-serif; --max:1200px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;font-size:112.5%}
html.t1{font-size:125%}
html.t2{font-size:140%}
body{margin:0;background:var(--bg);color:var(--text);font:400 1rem/1.7 var(--ui);padding-bottom:72px}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
a:hover{color:var(--text)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--btn-bg);color:var(--btn-text);padding:.9rem 1.2rem;z-index:100}
.skip-link:focus{left:0}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.narrow{max-width:820px}
.center{text-align:center}
.fine{font-size:.95rem;color:var(--muted)}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.12;margin:0 0 .5em;color:var(--text)}

/* header: compact on phones */
.announce{background:var(--band);color:var(--text);text-align:center;font-size:.9rem;padding:.4rem 1rem;border-bottom:1px solid var(--line);letter-spacing:.02em}
.a-long{display:none}
.site-header{background:var(--surface);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--gold);box-shadow:0 8px 24px -18px rgba(0,0,0,.35)}
.site-header .wrap{max-width:1400px}
.site-header .bar{display:flex;align-items:center;gap:.6rem;min-height:68px;flex-wrap:wrap}
.brand{display:flex;align-items:center;text-decoration:none;margin-right:auto}
.brand img{width:118px;height:auto}
.tools{display:flex;gap:.8rem;align-items:center}
.tool.tool-desktop,.size-btn.tool-desktop{display:none}
.tool{color:var(--text);text-decoration:none;font-size:1rem;font-weight:500;min-height:48px;display:inline-flex;align-items:center}
.tool:hover{text-decoration:underline;color:var(--accent)}
.size-btn{background:transparent;border:2px solid var(--text);color:var(--text);border-radius:2px;min-height:48px;padding:.3rem .9rem;font:500 1rem var(--ui);cursor:pointer}
.size-btn:hover{background:var(--btn-bg);color:var(--btn-text);border-color:var(--btn-bg)}
.cart-count{display:inline-grid;place-items:center;min-width:30px;height:30px;margin-left:.4rem;border-radius:15px;background:var(--btn-bg);color:var(--btn-text);font-size:1rem;font-weight:600}
.nav-toggle{background:transparent;border:2px solid var(--text);color:var(--text);min-width:52px;height:52px;border-radius:2px;cursor:pointer;display:grid;place-content:center;gap:5px}
.nav-toggle i{display:block;width:24px;height:3px;background:var(--text)}
.primary-nav{display:none;width:100%;order:5;padding-bottom:.6rem}
.primary-nav.open{display:block}
.primary-nav ul{list-style:none;margin:0;padding:0}
.primary-nav a{display:block;padding:.9rem 0;color:var(--text);text-decoration:none;font-size:1.1rem;font-weight:500;letter-spacing:.02em;border-top:1px solid var(--line)}
.primary-nav a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px;text-decoration-color:var(--gold)}
.primary-nav .current-menu-item a{color:var(--accent);text-decoration:underline;text-underline-offset:8px;text-decoration-thickness:2px;text-decoration-color:var(--gold)}
.nav-extra{border-top:1px solid var(--line);margin-top:.2rem}
.nav-extra li{padding-top:.6rem}

/* hero */
.hero{position:relative;background:radial-gradient(900px 420px at 80% 0%,#EFE2C6 0,rgba(239,226,198,0) 70%),linear-gradient(180deg,#F5EEDF,#FBF8F1);padding:clamp(40px,9vw,120px) 0;border-bottom:1px solid var(--line)}
.hero::after{content:"";position:absolute;inset:10px;border:1px solid var(--gold);opacity:.6;pointer-events:none}
.hero-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
.eyebrow{font-size:.95rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 1rem}
.hero h1{font-size:clamp(2.6rem,7.5vw,5.4rem);max-width:15ch;font-weight:500}
.hero h1 em{color:var(--accent);font-style:italic}
.lede{font-size:1.25rem;max-width:42ch;color:var(--muted)}
.cta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.hero-facts{list-style:none;margin:0;padding:1.4rem 1.6rem;background:rgba(255,255,255,.7);border:1px solid var(--gold);display:grid;gap:1rem}
.hero-facts li{display:flex;align-items:baseline;gap:.8rem;font-size:1.1rem;color:var(--muted)}
.hero-facts strong{font:500 2.2rem/1 var(--ui);color:var(--text);min-width:2.6ch}

.btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.wp-block-button__link,.wc-block-components-button:not(.is-link){
  display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:.9rem 1.9rem;border:2px solid var(--btn-bg);border-radius:2px;
  background:var(--btn-bg);color:var(--btn-text);font:500 1.05rem/1.2 var(--ui);letter-spacing:.05em;text-decoration:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.btn:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--btn-hover-bg);border-color:var(--btn-hover-bg);color:var(--btn-hover-text)}
.btn-light,.btn-ghost{background:transparent;color:var(--text);border-color:var(--text)}
.btn-light:hover,.btn-ghost:hover{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-text)}
.btn-dark{margin-top:1.5rem}

.trust{background:var(--surface);border-bottom:1px solid var(--line)}
.trust ul{list-style:none;margin:0;padding:1.1rem 0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 2rem;font-size:1.05rem;font-weight:500;color:var(--text)}
.trust li::before{content:"\25C6";color:var(--gold);margin-right:.6rem;font-size:.7em;vertical-align:middle}

.block{padding:clamp(44px,8vw,100px) 0}
.block.alt{background:var(--band)}
.display{font-size:clamp(2.1rem,4.5vw,3.4rem);font-weight:500}
.display::after{content:"";display:block;width:72px;height:2px;background:var(--gold);margin-top:.7rem}
.center .display::after{margin-left:auto;margin-right:auto}
.grid5{display:grid;grid-template-columns:1fr;gap:1.1rem;margin-top:2.2rem}
.tile{display:flex;flex-direction:column;justify-content:flex-end;min-height:200px;padding:1.5rem;color:var(--text);text-decoration:none;border:1px solid var(--gold);background:var(--surface);position:relative;transition:transform .2s,box-shadow .2s}
.tile::before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:var(--gold)}
.tile:hover{box-shadow:0 14px 28px -16px rgba(0,0,0,.45);transform:translateY(-3px);color:var(--text)}
.tile-niche::before{background:#7B6538}.tile-floral::before{background:#B08A7A}.tile-contemporary::before{background:#8D8670}.tile-oud::before{background:#5A4527}
.tile-count{font-size:.95rem;font-weight:500;color:var(--accent)}
.tile-name{font:600 1.9rem/1.1 var(--display);color:var(--text)}
.tile-desc{font-size:1rem;color:var(--muted)}
details{border-bottom:1px solid var(--line);padding:1rem 0}
summary{cursor:pointer;font:600 1.45rem var(--display);color:var(--text);min-height:52px;display:flex;align-items:center}
details p{font-size:1.1rem}

/* Scent quiz */
.quiz{background:var(--surface);border:1px solid var(--gold);padding:clamp(1.2rem,4vw,2.4rem);margin-top:2rem;max-width:920px;margin-left:auto;margin-right:auto}
.quiz [hidden]{display:none!important}
.quiz-progress{font-size:.95rem;font-weight:500;color:var(--accent);letter-spacing:.1em;text-transform:uppercase;margin:0 0 .6rem}
.quiz-q:focus,.quiz-q:focus-visible{outline:none}
.quiz-q{font:600 clamp(1.7rem,4vw,2.3rem)/1.15 var(--display);margin:0 0 1.2rem}
.quiz-opts{display:grid;grid-template-columns:1fr;gap:.8rem}
.quiz-opt{min-height:64px;padding:.8rem 1.2rem;border:2px solid var(--text);background:var(--surface);color:var(--text);font:500 1.15rem var(--ui);text-align:left;cursor:pointer;border-radius:2px}
.quiz-opt small{display:block;font-size:.95rem;font-weight:400;color:var(--muted)}
.quiz-opt:hover,.quiz-opt:focus-visible{background:var(--btn-bg);color:var(--btn-text)}
.quiz-opt:hover small,.quiz-opt:focus-visible small{color:#E8E0CF}
.quiz-back{margin-top:1rem;background:none;border:0;color:var(--accent);font:500 1.05rem var(--ui);text-decoration:underline;cursor:pointer;min-height:48px;padding:0}
.quiz-results{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:1rem 0}
.quiz-card{border:1px solid var(--line);padding:.8rem;display:flex;flex-direction:column;background:var(--bg)}
.quiz-card img{width:100%;aspect-ratio:4/5;object-fit:cover;margin-bottom:.6rem;background:var(--band)}
.quiz-card h3{font-size:1.3rem;margin:0 0 .2rem}
.quiz-card .qc-fam{font-size:.95rem;color:var(--muted);margin:0 0 .4rem}
.quiz-card .qc-price{font-weight:600;margin:0 0 .6rem}
.quiz-card .btn{margin-top:auto;min-height:52px;padding:.6rem .5rem;font-size:1rem}
.quiz-actions{display:flex;flex-wrap:wrap;gap:.8rem;align-items:center}

/* content + woocommerce */
.content{padding:clamp(28px,5vw,64px) 20px}
.content h1{font-size:clamp(2.2rem,5vw,3.5rem);font-weight:500}
.content h2{font-size:1.9rem;margin-top:1.6em}
.content h3{font-size:1.5rem;margin-top:1.3em}
.content p,.content li{font-size:1.1rem}
.content li{margin-bottom:.4rem}
.chips{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.5rem}
.chips a{padding:.6rem 1.2rem;border:1px solid var(--text);color:var(--text);text-decoration:none;font-size:1rem;font-weight:500;min-height:48px;display:inline-flex;align-items:center;background:var(--surface)}
.chips a[aria-current],.chips a:hover{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-text)}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin:0 0 2rem;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:var(--surface);border:1px solid var(--line);padding:.8rem;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}
.woocommerce ul.products li.product:hover{border-color:var(--gold);box-shadow:0 14px 28px -18px rgba(0,0,0,.45)}
.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--band);margin:0 0 .8rem}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font:600 1.35rem/1.2 var(--display);padding:0;margin:0 0 .4rem;color:var(--text)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--text);font:600 1.15rem var(--ui);letter-spacing:.03em}
.woocommerce ul.products li.product .button{margin-top:auto;width:100%;padding:.8rem .6rem}
.woocommerce span.onsale{background:var(--btn-bg);color:var(--btn-text);border-radius:2px;min-height:auto;line-height:1.4;padding:.25rem .7rem}
.woocommerce-result-count,.woocommerce-ordering{font-size:1rem;margin-bottom:1rem;color:var(--text)}
.woocommerce-ordering select,.woocommerce input[type=text],.woocommerce input[type=email],.woocommerce input[type=tel],.woocommerce input[type=password],.woocommerce input[type=number],.woocommerce textarea,.woocommerce select,.woocommerce .select2-selection{
  min-height:52px;padding:.6rem .9rem;border:2px solid #6b6254;border-radius:2px;background:#fff;font:inherit;font-size:1.05rem;color:#1E1B18}
.wc-block-components-text-input input,.wc-block-components-select .wc-block-components-select__select,.wc-blocks-components-select__select{font-size:1.05rem!important}
.woocommerce div.product .product_title{font-size:clamp(2.2rem,4vw,3.3rem);font-weight:500}
.woocommerce div.product .woocommerce-product-details__short-description,.woocommerce div.product .woocommerce-Tabs-panel{font-size:1.1rem}
.scent-family span{font-size:.95rem;font-weight:500;color:var(--muted);margin-right:.5rem}
.woocommerce .quantity .qty{min-height:52px;width:5.5em}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--gold)!important;background:var(--surface);color:var(--text);font-size:1.05rem}
.woocommerce table.shop_table{border-radius:0;border-color:var(--line);background:var(--surface);color:var(--text);font-size:1.05rem}
.woocommerce-checkout #payment{background:var(--band);border-radius:0}
.woocommerce-checkout #payment div.payment_box{background:var(--surface);color:var(--text)}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:.8rem 1.1rem;min-width:48px;font-size:1.05rem;color:var(--text);background:var(--surface)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--btn-bg);color:var(--btn-text)}
.wc-block-components-product-price,.wc-block-components-totals-item,.wp-block-woocommerce-checkout,.wp-block-woocommerce-cart{font-size:1.05rem;color:var(--text)}

/* footer */
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:56px 0 0;border-top:3px solid var(--gold)}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer .cols{display:grid;grid-template-columns:1fr;gap:2rem}
.site-footer h2{font-size:1.5rem;color:var(--footer-text)}
.site-footer a{color:var(--footer-text);text-decoration:underline;display:inline-flex;align-items:center;padding:.4rem .2rem;font-size:1.05rem;min-height:44px;min-width:44px}
.site-footer a:hover{color:var(--gold)}
.site-footer p{font-size:1.05rem}
.site-footer .fine{color:var(--footer-muted);font-size:.95rem}
.site-footer .legal{border-top:1px solid rgba(245,239,227,.2);margin-top:2rem;padding-top:1.2rem;padding-bottom:1.5rem;font-size:.95rem;color:var(--footer-muted)}
.wa-float{position:fixed;right:12px;bottom:12px;z-index:60;background:#14663e;color:#fff;text-decoration:none;padding:.7rem 1.1rem;border-radius:999px;font-weight:600;font-size:1rem;min-height:48px;display:inline-flex;align-items:center;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.wa-float:hover{background:#0f4f30;color:#fff}

@media (min-width:700px){
  .a-long{display:inline}.a-short{display:none}
  .quiz-opts{grid-template-columns:repeat(2,1fr)}
  .quiz-results{grid-template-columns:repeat(4,1fr)}
  .grid5{grid-template-columns:repeat(2,1fr)}
  .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
  .site-footer .cols{grid-template-columns:2fr 1fr 1fr 1.3fr}
  .brand img{width:150px}
  .site-header .bar{min-height:84px}
  .hero::after{inset:16px}
}
@media (min-width:900px){
  .hero-grid{grid-template-columns:1.5fr 1fr}
}
@media (min-width:1280px){
  .nav-toggle,.nav-extra{display:none}
  .tool.tool-desktop,.size-btn.tool-desktop{display:inline-flex}
  .primary-nav{display:block;width:auto;order:1;margin-left:1rem;flex:1;padding:0}
  .primary-nav>ul:first-child{display:flex;flex-wrap:nowrap;gap:.2rem 1.05rem}
  .primary-nav a{border:0;padding:.6rem 0;font-size:.92rem;letter-spacing:.01em;white-space:nowrap}
  .brand{margin-right:0}
  .tools{margin-left:auto;gap:.8rem;order:2}
  .size-btn{padding:.3rem .6rem;font-size:.92rem}
  .grid5{grid-template-columns:repeat(5,1fr)}
  .woocommerce ul.products{grid-template-columns:repeat(4,1fr)}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* WooCommerce product blocks (cart suggestions, related products): keep text at a readable size */
.wc-block-grid__product-title,.wc-block-grid__product .wp-block-button__link,.wc-block-grid__product-price,.wc-block-grid__product-price *{font-size:1.1rem!important}
.wc-block-grid__product-title{font-family:var(--display);font-weight:600;color:var(--text)}
.wc-block-grid__product .wp-block-button__link{min-height:48px}
.wc-block-cart__empty-cart__title,.wp-block-woocommerce-empty-cart-block h2{font-family:var(--display)}

/* WooCommerce cart and checkout blocks: raise every small label, button and field to a comfortable size */
.wc-block-components-product-name,.wc-block-components-product-metadata,.wc-block-components-product-metadata *,
.wc-block-components-panel__button,.wc-block-components-checkbox__label,.wc-block-components-radio-control__label,
.wc-block-components-radio-control__description,.wc-block-components-radio-control__secondary-label,
.wc-block-components-payment-method-label,.wc-block-checkout__shipping-option *,
.wc-block-components-address-form__address_2-toggle,.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,.wc-block-components-order-summary *,.wc-block-components-notice-banner,
.wc-block-components-radio-control-accordion-content,.wc-block-checkout__terms,.wc-block-checkout__terms *{font-size:1.05rem!important;line-height:1.5}
.wc-block-components-product-name{font-weight:600}
.wc-block-components-text-input label,.wc-blocks-components-select__label,.wc-block-components-address-form label{font-size:1.1rem!important}
.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-address-form input{min-height:64px!important;padding-top:1.7rem!important}
.wc-block-components-quantity-selector{min-height:52px}
.wc-block-components-quantity-selector button,.wc-block-components-quantity-selector input{min-height:52px!important;min-width:48px!important;font-size:1.05rem!important}
.wc-block-cart-item__remove-link{min-height:48px;display:inline-flex;align-items:center;font-size:1.05rem!important}
.wc-block-components-checkbox .wc-block-components-checkbox__input{min-width:24px;min-height:24px}
.wc-block-components-radio-control__input{min-width:24px;min-height:24px}

.wc-block-formatted-money-amount,.wc-block-components-formatted-money-amount,.wc-block-components-checkout-order-summary__title-price,.wc-block-components-order-summary__button-text{font-size:1.1rem!important}
.primary-nav a{min-width:44px}
