/*
Theme Name: Sophia Candles Staging
Theme URI: https://sophiacandles.com
Author: Sophia Candles
Description: A white catalogue storefront for the isolated WooCommerce trial.
Version: 0.2.8
Text Domain: sophia-candles
Requires PHP: 8.0
*/
@font-face{font-family:Alexandria;src:url('assets/alexandria-variable.woff2') format('woff2'),url('assets/alexandria-variable.ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#171515;--muted:#706b68;--line:#e9e6e4;--sale:#a22020;--focus:#7d6259;--white:#fff;--space:clamp(20px,4vw,56px)}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:300 16px/1.65 Alexandria,'Segoe UI',Arial,sans-serif}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button{cursor:pointer}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.wrap{width:min(100% - 2*var(--space),1440px);margin-inline:auto}.rule{border-top:1px solid var(--line)}.site-header{position:relative;background:#fff;border-bottom:1px solid var(--line);z-index:20}.header-inner{min-height:86px;display:flex;align-items:center;gap:32px}.brand{display:inline-flex;align-items:center;flex:none}.brand img{width:72px;height:72px;object-fit:contain}.main-nav{display:flex;align-items:center;gap:clamp(14px,2vw,32px);margin-inline:auto}.main-nav a,.header-action{font-size:.83rem;font-weight:400;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:18px}.lang-switch{font-size:.8rem}.cart-count{display:inline-grid;place-items:center;background:var(--ink);color:#fff;border-radius:50%;width:21px;height:21px;font-size:.7rem;margin-inline-start:5px}.menu-toggle{display:none;border:0;background:transparent;padding:8px;font-size:1.4rem}.site-main{min-height:60vh}.eyebrow,.section-kicker{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:400;color:var(--muted)}.hero{padding-block:clamp(52px,8vw,122px) clamp(56px,7vw,96px)}.hero h1{font-size:clamp(3rem,6vw,5.85rem);font-weight:300;line-height:1.04;letter-spacing:-.045em;max-width:1000px;margin:18px 0 22px}.hero-copy{max-width:570px;color:var(--muted);margin:0 0 28px}.category-links{display:flex;flex-wrap:wrap;gap:12px 25px}.category-links a{border-bottom:1px solid var(--ink);font-size:.85rem;padding-bottom:5px}.section{padding-block:clamp(48px,6vw,82px)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-heading h2,.section h2{font-size:clamp(2rem,3.6vw,3.55rem);font-weight:300;letter-spacing:-.045em;line-height:1.12;margin:0}.section-heading a{font-size:.85rem;border-bottom:1px solid var(--ink)}.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wp-element-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;padding:11px 24px;font-size:.86rem;font-weight:400;text-decoration:none}.button.outline{background:#fff;color:var(--ink)}.product-grid,ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px 20px;list-style:none;padding:0;margin:0}.product-grid li,ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}.product-card__media,ul.products li.product>a:first-child{display:block;position:relative;aspect-ratio:4/5;background:#fafafa;overflow:hidden}.product-card__media img,ul.products li.product>a:first-child img{width:100%!important;height:100%!important;object-fit:contain;mix-blend-mode:multiply;margin:0!important}.product-card__name,ul.products li.product h2{font-size:.87rem!important;font-weight:400!important;line-height:1.4;margin:13px 0 4px!important;padding:0!important}.product-card__price,ul.products li.product .price{font-size:.86rem!important;color:var(--ink)!important;font-weight:400!important}.product-card__price del,ul.products li.product .price del{color:var(--muted)!important}.product-card__price ins,ul.products li.product .price ins{color:var(--sale);text-decoration:none}.woocommerce ul.products li.product .button{display:none}.occasion-links{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:30px}.occasion-links a{padding:16px 0;border-top:1px solid var(--line);font-size:.9rem}.split-section{display:grid;grid-template-columns:1fr auto;align-items:end;gap:30px}.split-section p{max-width:620px;color:var(--muted)}.reviews-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:5px 0 20px}.review-card{flex:0 0 clamp(240px,25vw,330px);margin:0;scroll-snap-align:start;border:1px solid var(--line);padding:12px}.review-stars{color:#a87a25;letter-spacing:.12em;font-size:1.08rem;line-height:1.5}.review-card img{display:block;width:100%;height:360px;object-fit:contain;background:#fff}.review-controls{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}.review-controls button{border:1px solid var(--line);border-radius:50%;background:#fff;width:44px;height:44px}.site-footer{border-top:1px solid var(--line);padding:55px 0 30px}.footer-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:35px}.footer-grid h3{font-size:.8rem;font-weight:500;margin:0 0 12px}.footer-grid a{display:block;font-size:.82rem;color:var(--muted);margin-bottom:8px}.footer-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:40px;font-size:.75rem;color:var(--muted)}.page-hero{padding-block:54px 36px}.page-hero h1,.woocommerce-products-header__title{font-size:clamp(2.2rem,4vw,4rem);font-weight:300;letter-spacing:-.04em;margin:0}.woocommerce{padding-bottom:70px}.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:clamp(30px,5vw,80px);margin-top:34px}.woocommerce div.product .woocommerce-product-gallery,.woocommerce div.product .summary{float:none!important;width:auto!important;margin:0!important}.woocommerce-product-gallery img{background:#fafafa}.woocommerce div.product .product_title{font-size:clamp(2rem,3.3vw,3.5rem);font-weight:300;line-height:1.15;letter-spacing:-.04em}.woocommerce div.product p.price{color:var(--ink);font-size:1.15rem}.woocommerce .quantity .qty{min-height:44px;border:1px solid var(--line)}.woocommerce div.product form.cart .variations select,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border:1px solid var(--line);background:#fff;padding:11px;min-height:44px}.woocommerce .woocommerce-breadcrumb{color:var(--muted);font-size:.75rem;margin-top:20px}.woocommerce .woocommerce-breadcrumb a{color:var(--muted)}.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}.woocommerce div.product .related{grid-column:1/-1}.woocommerce-message,.woocommerce-info{border-top-color:var(--ink)}.woocommerce a.button:hover,.woocommerce button.button:hover{background:#333;color:#fff}.content-page{max-width:820px;padding-block:40px 80px}.content-page h1{font-size:clamp(2.3rem,4vw,4rem);font-weight:300}.content-page p{color:var(--muted)}.pagination,.woocommerce nav.woocommerce-pagination{padding:30px}.whatsapp-link{position:fixed;bottom:20px;inset-inline-end:20px;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 3px 15px #0002;z-index:30;font-size:1.2rem}.whatsapp-link:hover{text-decoration:none}.no-scroll{overflow:hidden}
@media(max-width:1023px){.product-grid,ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.occasion-links{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.header-inner{min-height:70px;gap:12px}.brand img{width:58px;height:58px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:100%;inset-inline:0;background:#fff;padding:20px var(--space);border-bottom:1px solid var(--line);box-shadow:0 8px 20px #0001;flex-direction:column;align-items:stretch;gap:16px}.main-nav.is-open{display:flex}.header-tools{margin-inline-start:auto;gap:10px}.header-action--search{display:none}.product-grid,ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}.occasion-links{grid-template-columns:repeat(2,1fr)}.split-section{grid-template-columns:1fr}.woocommerce div.product{grid-template-columns:1fr}.review-card{flex-basis:min(75vw,300px)}.footer-grid{grid-template-columns:repeat(2,1fr);gap:28px 16px}.hero{padding-block:56px}.section-heading{align-items:start}.section-heading h2{max-width:70%}}
@media(max-width:390px){.header-tools{gap:7px}.header-action{font-size:.75rem}.hero h1{font-size:2.85rem}.footer-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.sophia-enquiry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:32px}.sophia-enquiry label{display:grid;gap:7px;font-size:.84rem;font-weight:400}.sophia-enquiry input,.sophia-enquiry textarea{width:100%;border:1px solid var(--line);border-radius:0;background:#fff;padding:12px;min-height:46px}.sophia-enquiry textarea{resize:vertical}.sophia-enquiry__full{grid-column:1/-1}.sophia-enquiry__trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.sophia-enquiry .button{justify-self:start}@media(max-width:600px){.sophia-enquiry{grid-template-columns:1fr}}
.header-search{position:relative;font-size:.83rem}.header-search summary{cursor:pointer;list-style:none;white-space:nowrap}.header-search summary::-webkit-details-marker{display:none}.header-search form{position:absolute;top:calc(100% + 25px);inset-inline-end:0;display:flex;gap:8px;width:min(340px,85vw);padding:16px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 24px #0001;z-index:25}.header-search input[type=search]{width:100%;min-width:0;border:1px solid var(--line);padding:8px}.header-search button{border:1px solid var(--ink);background:var(--ink);color:#fff;padding:8px 12px}.search-results-page{padding-bottom:80px}@media(max-width:767px){.header-search{font-size:.75rem}}
.catalogue-wrap{padding-top:clamp(34px,5vw,64px)}
.hero{display:grid;justify-items:center;text-align:center}
.hero h1{max-width:100%;margin:18px 0 22px;text-wrap:balance}
.hero-copy{margin-inline:auto}
.category-links{justify-content:center}
.product-card{display:flex;flex-direction:column;align-items:stretch}
.product-card__media,ul.products li.product>a:first-child img{background:#fff}
.product-card__media img,ul.products li.product>a:first-child img{mix-blend-mode:normal}
.product-card__name{min-height:2.8em}
.product-card__price ins,ul.products li.product .price ins{font-weight:600!important;color:var(--sale)!important}
.product-card__offer{display:block;font-size:.7rem;color:var(--muted);margin-top:3px}
.product-card__action,.woocommerce ul.products li.product .button{display:flex!important;justify-content:center;align-items:center;width:100%;min-height:42px;margin-top:auto!important;border:1px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink)!important;padding:8px 12px;font-size:.75rem!important;font-weight:400!important;text-align:center;text-decoration:none}
.sophia-option-note{margin:0;color:var(--muted);font-size:.78rem;line-height:1.7}.sophia-option-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.sophia-product-options .sophia-option-note{margin-top:9px}
.product-card__action:hover,.woocommerce ul.products li.product .button:hover{background:var(--ink)!important;color:#fff!important;text-decoration:none}
.woocommerce ul.products li.product{display:flex;flex-direction:column;position:relative}
.woocommerce ul.products li.product>a:first-child{display:block;aspect-ratio:auto;background:transparent;overflow:visible}
.woocommerce ul.products li.product>a:first-child img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/5;object-fit:contain}
.woocommerce ul.products li.product .price{min-height:2.3em}
.woocommerce ul.products li.product .button{margin-top:auto!important}
.woocommerce ul.products li.product .onsale{position:absolute;top:10px;inset-inline-start:10px;inset-inline-end:auto;min-height:0;min-width:0;margin:0;padding:4px 9px;border-radius:0;background:#fff;color:var(--sale);font-size:.7rem;line-height:1.5}
@media(max-width:767px){.hero h1{max-width:100%;font-size:clamp(2.35rem,10.5vw,3.4rem)}.category-links{gap:10px 18px}.product-card__name{min-height:4.2em}}
.sophia-preview,.sophia-cart{border:0;background:#fff;color:var(--ink);box-shadow:0 18px 55px #0002}
.sophia-preview::backdrop,.sophia-cart::backdrop{background:#0007}
.sophia-preview{width:min(100vw,1440px);max-width:none;height:100dvh;max-height:none;padding:0;overflow:auto}
.sophia-preview__close{position:sticky;top:16px;left:16px;z-index:4;display:grid;place-items:center;width:46px;height:46px;margin:16px 0 -62px 16px;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 22px #0002;font-size:30px;line-height:1}
.sophia-preview__layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);direction:ltr;min-height:100%}
.sophia-preview__gallery{padding:12px 20px 30px;background:#fff;min-width:0}
.sophia-preview__main{position:relative;display:grid;place-items:center;aspect-ratio:4/4.25;background:#fff}
.sophia-preview__main img{width:100%;height:100%;object-fit:contain}
.sophia-preview__main span{position:absolute;right:0;bottom:0;padding:9px 12px;border:1px solid var(--line);background:#fff;font-size:11px}
.sophia-preview__thumbs{display:flex;gap:9px;overflow-x:auto;margin-top:14px}
.sophia-preview__thumbs button{flex:0 0 70px;height:85px;padding:0;border:1px solid var(--line);background:#fff;opacity:.65}
.sophia-preview__thumbs button.is-active{border-color:var(--ink);opacity:1}
.sophia-preview__thumbs img{width:100%;height:100%;object-fit:contain}
.sophia-preview__details{padding:clamp(36px,5vw,70px);direction:ltr}
html[dir=rtl] .sophia-preview__details{direction:rtl}
.sophia-preview__details h2{font-size:clamp(36px,4vw,58px);font-weight:300;line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.sophia-preview__price{font-size:21px;font-weight:600;color:var(--sale)}
.sophia-preview__price del{color:var(--muted);font-weight:300;font-size:17px}.sophia-preview__price ins{text-decoration:none}
.sophia-preview__offer{font-size:12px;margin:3px 0 20px;color:var(--muted)}
.sophia-preview__description{max-width:440px;color:var(--muted);font-size:16px;line-height:1.6;margin:16px 0 26px}
.sophia-preview__form{display:grid;gap:16px}.sophia-preview__form label{display:grid;gap:7px;font-size:12px;font-weight:500}
.sophia-preview__form select,.sophia-preview__form textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:13px}
.sophia-preview__form textarea{min-height:90px;resize:vertical}.sophia-quantity{display:flex;width:max-content;border:1px solid var(--line)}
.sophia-quantity button,.sophia-quantity input{width:44px;height:44px;border:0;background:#fff;text-align:center;font:inherit;font-size:14px}
.sophia-quantity input{width:54px;border-inline:1px solid var(--line);appearance:textfield}.sophia-quantity input::-webkit-inner-spin-button{-webkit-appearance:none}
.sophia-preview__note{font-size:12px;color:var(--muted);margin:0 0 8px}.sophia-preview__submit,.sophia-preview__whatsapp{display:grid;place-items:center;min-height:48px;width:100%;border:0;border-radius:999px;background:var(--ink);color:#fff;text-align:center;text-transform:uppercase;font-size:12px;font-weight:600;padding:12px 18px;text-decoration:none}
.sophia-preview__whatsapp:hover{color:#fff;text-decoration:none}.sophia-preview [data-preview-error]{color:var(--sale);font-size:13px;margin:0}
.sophia-cart{position:fixed;inset:0 0 0 auto;width:min(440px,100vw);max-width:none;height:100dvh;max-height:none;margin:0;padding:26px 24px;overflow:auto}
html[dir=rtl] .sophia-cart{inset:0 auto 0 0;direction:rtl}
.sophia-cart__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.sophia-cart__head h2{font-size:25px;font-weight:300;margin:0}.sophia-cart__head button{width:36px;height:36px;border:1px solid var(--line);background:#fff;font-size:22px}
.sophia-cart__item{display:grid;grid-template-columns:105px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.sophia-cart__item img{width:105px;height:125px;object-fit:contain}.sophia-cart__title{text-decoration:underline;text-underline-offset:3px}.sophia-cart__meta{font-size:12px;color:var(--muted)}.sophia-cart__meta dl{margin:6px 0}.sophia-cart__meta dt,.sophia-cart__meta dd{display:inline;margin:0}.sophia-cart__item p{margin:10px 0}.sophia-cart__item label{display:grid;gap:6px}.sophia-cart__remove{border:0;background:none;padding:8px 0;text-decoration:underline;font-size:12px}
.sophia-cart__bottom{padding:24px 0}.sophia-cart__bottom p{display:flex;justify-content:space-between;gap:12px}.sophia-cart__bottom a{display:block;width:max-content;margin:16px 0;padding:10px 20px;border:1px solid var(--ink);border-radius:999px;text-decoration:none;font-size:13px}.sophia-cart__bottom .sophia-cart__checkout{background:var(--ink);color:#fff}
@media(max-width:767px){.sophia-preview{width:100vw;height:100dvh}.sophia-preview__layout{grid-template-columns:1fr}.sophia-preview__gallery{padding:8px 12px 20px}.sophia-preview__main{height:58dvh;aspect-ratio:auto}.sophia-preview__details{padding:24px 20px 40px}.sophia-preview__details h2{font-size:clamp(30px,8vw,43px)}.sophia-preview__close{top:10px;left:10px;margin:10px 0 -56px 10px}.sophia-cart{padding:22px 18px}}
.woocommerce-checkout .header-inner{min-height:64px;justify-content:center}.woocommerce-checkout .main-nav,.woocommerce-checkout .menu-toggle,.woocommerce-checkout .header-search,.woocommerce-checkout .lang-switch,.woocommerce-checkout .site-footer{display:none!important}.woocommerce-checkout .header-tools{position:absolute;inset-inline-end:var(--space)}.woocommerce-checkout .header-action{font-size:12px}.woocommerce-checkout .brand img{width:66px;height:60px}
.woocommerce-checkout .content-page{max-width:1180px;padding-block:38px 70px}.woocommerce-checkout .content-page article>h1{display:none}.woocommerce-checkout .wc-block-checkout{max-width:none}.woocommerce-checkout .wc-block-components-sidebar-layout{gap:clamp(24px,4vw,64px)}.woocommerce-checkout .wc-block-components-checkout-place-order-button{background:#005bd3!important;border-color:#005bd3!important;color:#fff!important;border-radius:9px!important;font-size:14px!important;font-weight:600!important}.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover{background:#0048a8!important}
@media(max-width:767px){.woocommerce-checkout .content-page{padding-block:22px 50px}.woocommerce-checkout .header-inner{min-height:64px}.woocommerce-checkout .header-action{font-size:0}.woocommerce-checkout .header-action:before{content:'🛍';font-size:20px}.woocommerce-checkout .cart-count{font-size:10px}}
.announcement-bar{border-bottom:1px solid var(--line);padding:8px 16px;text-align:center;font-size:.7rem;letter-spacing:.04em;color:var(--muted)}
.header-inner{display:grid;grid-template-columns:1fr auto 1fr;min-height:112px}.header-inner .brand{grid-column:2;justify-self:center}.header-inner .brand img{width:112px;height:92px}.header-inner .header-tools{grid-column:3;justify-self:end}.main-nav.wrap{justify-content:center;gap:clamp(16px,2.5vw,35px);margin-inline:auto;min-height:48px;border-top:1px solid var(--line)}.main-nav.wrap a{font-size:.76rem}.footer-follow{margin-top:22px!important}.sophia-product-options{display:grid;gap:14px;margin:15px 0}.sophia-product-options label{display:grid;gap:6px}.sophia-product-options select{min-height:44px;padding:8px 12px;border:1px solid var(--line);background:#fff}.woocommerce-checkout .announcement-bar{display:none}
@media(max-width:767px){.header-inner{display:flex;min-height:72px}.header-inner .brand{margin-inline:auto}.header-inner .brand img{width:68px;height:64px}.header-inner .header-tools{margin-inline-start:0}.main-nav.wrap{display:none;position:absolute;top:100%;inset-inline:0;width:100%;min-height:0;margin:0;padding:20px var(--space);border-top:1px solid var(--line);background:#fff;flex-direction:column;align-items:stretch;gap:16px}.main-nav.wrap.is-open{display:flex}.announcement-bar{font-size:.63rem}.woocommerce-checkout .header-inner .brand{margin-inline:auto}}
