/*
Theme Name: Numisma Showcase
Theme URI: https://example.com/
Author: MOAB
Description: Витрина коллекционных монет на WooCommerce. Главная страница является каталогом с AJAX-фильтрами; отдельные архивы категорий и атрибутов перенаправляются в витрину.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: numisma
*/
:root{--bg:#f6f3ed;--paper:#fff;--ink:#1f1f1d;--muted:#78756e;--line:#e8e1d6;--gold:#b9832f;--gold-2:#d4aa62;--dark:#202224;--radius:18px;--shadow:0 18px 40px rgba(61,43,18,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fbfaf7;color:var(--ink);font-family:Inter,Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.container{width:min(1320px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(232,225,214,.8)}.admin-bar .site-header{top:32px}.header-row{height:82px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;min-width:max-content}.brand-mark{width:46px;height:46px;border:2px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font:700 24px 'Cormorant Garamond';box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px var(--gold)}.brand-text{display:flex;flex-direction:column}.brand-text strong{font:700 29px/1 'Cormorant Garamond';letter-spacing:.07em}.brand-text small{font-size:8px;text-transform:uppercase;letter-spacing:.16em;margin-top:5px}.main-nav{display:flex;align-items:center;gap:25px;font-size:12px;font-weight:700;text-transform:uppercase;margin-left:auto}.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:25px}.main-nav a{position:relative;padding:31px 0;display:block}.main-nav a:after{content:"";position:absolute;height:2px;left:0;right:100%;bottom:0;background:var(--gold);transition:.25s}.main-nav a:hover:after,.main-nav .current-menu-item>a:after,.main-nav a.active:after{right:0}.header-actions{display:flex;align-items:center;gap:9px}.search-box{height:42px;width:245px;border:1px solid var(--line);border-radius:24px;display:flex;align-items:center;padding:0 6px 0 15px;background:#fff}.search-box input{border:0;outline:0;width:100%;font-size:12px}.search-box button,.icon-action{border:0;background:transparent;cursor:pointer}.search-box button{font-size:24px}.icon-action{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:20px}.icon-action:hover{background:var(--bg)}.icon-action small{position:absolute;top:0;right:0;background:var(--gold);color:#fff;border-radius:20px;padding:1px 5px;font-size:9px}.menu-toggle{display:none;border:0;background:none;padding:8px}.menu-toggle span{width:25px;height:2px;background:var(--ink);display:block;margin:5px}
.hero-section{padding:24px 0 10px}.hero-card{min-height:330px;border:1px solid #eadfce;border-radius:8px;position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 0%,#f6f0e7 47%,#e4d3b8 100%);display:grid;grid-template-columns:52% 48%;box-shadow:var(--shadow)}.hero-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.55),transparent 60%),repeating-linear-gradient(25deg,transparent 0 30px,rgba(109,78,31,.03) 31px 32px)}.hero-copy{position:relative;z-index:2;padding:45px 54px}.eyebrow{display:flex;align-items:center;gap:10px;color:#8a652b;font-size:11px;font-weight:700;text-transform:uppercase}.eyebrow i{width:4px;height:4px;border-radius:50%;background:#8a652b}.hero-copy h1{font:600 54px/1.02 'Cormorant Garamond';margin:16px 0}.hero-copy p{max-width:530px;color:#5f5c56;line-height:1.65;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:46px;border-radius:3px;padding:0 24px;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.03em;border:0;cursor:pointer}.btn-gold{color:#fff;background:linear-gradient(135deg,#9f6d22,#c8943f);margin-top:14px}.btn-dark{background:#222;color:#fff}.btn-outline{border:1px solid var(--gold-2);color:#8b6427;background:#fff}.hero-visual{position:relative}.coin{position:absolute;border-radius:50%;display:grid;place-items:center;box-shadow:0 20px 30px rgba(56,36,9,.25),inset 0 0 0 8px rgba(255,255,255,.25),inset 0 0 0 10px rgba(76,48,14,.35);font-family:'Cormorant Garamond';text-align:center}.gold{background:radial-gradient(circle at 35% 30%,#f7d78f,#c38727 45%,#8b5616 75%,#e9bd62)}.silver{background:radial-gradient(circle at 35% 30%,#f9f9f9,#9f9f9f 48%,#5f5f5f 74%,#dcdcdc)}.bronze{background:radial-gradient(circle at 35% 30%,#ddad68,#9e6028 60%,#704119)}.dark{background:radial-gradient(circle at 35% 30%,#666,#202020)}.coin-back{width:210px;height:210px;top:42px;right:150px;z-index:1;font-size:26px;color:#575757}.coin-main{width:175px;height:175px;top:100px;right:310px;z-index:2;transform:rotate(-7deg);color:#5d3810}.coin-main span{font-size:54px}.coin-main b{font-size:18px}.coin-main small{font-weight:700}.coin-small{width:95px;height:95px;top:38px;right:390px;font-size:34px;color:#603912}.auth-badge{position:absolute;right:45px;bottom:42px;color:#89632e;text-transform:uppercase;text-align:center;font-size:11px}.auth-badge span{display:block;font-size:42px}.hero-dots{position:absolute;bottom:14px;left:50%;display:flex;gap:6px}.hero-dots button{width:8px;height:8px;border:1px solid #fff;border-radius:50%;padding:0;background:transparent}.hero-dots button.active{background:#c68d37}.categories-section{padding:0 0 20px}.categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.category-card{border:1px solid var(--line);background:#fff;min-height:74px;border-radius:7px;padding:10px 13px;display:flex;align-items:center;gap:12px;transition:.2s}.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.mini-coin{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;border:2px solid rgba(255,255,255,.7);box-shadow:0 4px 10px rgba(0,0,0,.15)}.category-card span:last-child{display:flex;flex-direction:column;gap:4px}.category-card strong{font:600 15px/1.05 'Cormorant Garamond'}.category-card small{font-size:10px;color:var(--muted)}
.catalog-section{padding:10px 0 18px}.breadcrumbs{display:flex;align-items:center;gap:10px;color:#908b82;font-size:11px;margin-bottom:15px}.breadcrumbs a:hover{color:var(--gold)}.catalog-layout{display:grid;grid-template-columns:220px 1fr;gap:28px}.filters{border:1px solid var(--line);background:#fff;border-radius:7px;padding:12px;align-self:start}.filters-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line);text-transform:uppercase}.filters-head strong{font-size:12px}.filters-head button{border:0;background:none;color:#a77325;font-size:10px;cursor:pointer}.filters label,.filters fieldset{display:flex;flex-direction:column;gap:6px;margin:11px 0;border:0;padding:0;font-size:10px;font-weight:700}.filters select,.filters input[type=number]{width:100%;border:1px solid var(--line);background:#fff;height:34px;padding:0 9px;color:#746f66;font-size:10px;border-radius:3px}.range-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filters input[type=range]{accent-color:var(--gold);width:100%}.range-labels{display:flex;justify-content:space-between;color:#9d722f;font-size:9px}.check{display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:8px!important;font-weight:500!important}.check small{color:#777}.filter-apply{width:100%;margin-top:7px;font-size:10px}.catalog-toolbar{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.catalog-toolbar h2,.section-title h2{font:600 34px/1 'Cormorant Garamond';margin:0 0 5px}.catalog-toolbar>div>span,.section-title p{font-size:11px;color:var(--muted)}.toolbar-actions{display:flex;align-items:center;gap:8px}.toolbar-actions label{font-size:10px}.toolbar-actions select{height:34px;border:1px solid var(--line);background:#fff;border-radius:4px;margin-left:7px;font-size:10px;padding:0 28px 0 10px}.view-btn,.mobile-filter-btn{height:34px;min-width:38px;border:1px solid var(--line);background:#fff;cursor:pointer;border-radius:4px}.view-btn.active{border-color:var(--gold);color:var(--gold)}.mobile-filter-btn{display:none}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;transition:opacity .2s}.products-grid.is-loading{opacity:.45;pointer-events:none}.products-grid.list-view{grid-template-columns:1fr}.product-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:12px;position:relative;display:flex;flex-direction:column;min-width:0;transition:.22s}.product-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}.product-card .wish{position:absolute;right:10px;top:9px;border:0;background:#fff;width:30px;height:30px;border-radius:50%;font-size:20px;cursor:pointer;z-index:3}.product-card .wish.active{color:#b74b45}.product-image{height:190px;display:grid;place-items:center;background:radial-gradient(circle at center,#fff 0,#faf7f1 60%,transparent 61%);overflow:hidden}.product-image img{display:block;max-width:56%;max-height:100%;width:auto;height:auto;object-fit:contain}.product-coin{width:145px;height:145px;border-radius:50%;display:grid;place-items:center;box-shadow:0 13px 23px rgba(43,29,9,.2),inset 0 0 0 6px rgba(255,255,255,.32),inset 0 0 0 8px rgba(63,40,10,.25);font:700 38px 'Cormorant Garamond';text-align:center}.product-card h3{font:600 18px 'Cormorant Garamond';margin:4px 0}.product-card .origin{font-size:10px;color:#888}.tags{display:flex;gap:5px;margin:8px 0;flex-wrap:wrap}.tag{font-size:9px;padding:3px 7px;background:#f3efe8;border:1px solid #e5ddd1;border-radius:3px}.product-desc{font-size:10px;line-height:1.55;color:#6f6a62;min-height:32px}.product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px}.price{font:700 20px 'Cormorant Garamond'}.price del{font-size:.75em;color:#999}.price ins{text-decoration:none}.add-cart{min-width:38px;height:38px;border:0;border-radius:4px;background:linear-gradient(135deg,#a87020,#c99643);color:#fff;cursor:pointer;padding:0 11px;display:grid;place-items:center}.add-cart.added:after{content:'✓';margin-left:4px}.list-view .product-card{display:grid;grid-template-columns:180px 1fr auto;gap:20px;align-items:center}.list-view .product-image{height:150px}.list-view .product-bottom{flex-direction:column;gap:12px}.catalog-empty{grid-column:1/-1;padding:50px 20px;text-align:center;border:1px dashed var(--line);background:#fff;color:var(--muted)}.catalog-more-wrap{text-align:center;padding:20px 0 5px}.catalog-more[hidden]{display:none}.featured-section{padding:0 0 10px}.featured-card{border:1px solid var(--line);background:linear-gradient(90deg,#fff,#faf7f1);padding:18px;border-radius:8px}.section-title{display:flex;justify-content:space-between;align-items:center}.rare-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.rare-item{display:flex;align-items:center;gap:12px;padding-right:12px;border-right:1px solid var(--line)}.rare-item:last-child{border:0}.rare-item-image{width:68px;height:68px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#f5f1e9}.rare-item-image img{width:100%;height:100%;object-fit:cover}.rare-coin{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;color:#fff;font:700 20px 'Cormorant Garamond';box-shadow:0 5px 12px rgba(0,0,0,.16)}.rare-item h3{font:600 14px 'Cormorant Garamond';margin:0}.rare-item p{font-size:9px;color:#7d786f;margin:3px 0}.rare-item strong{font:700 17px 'Cormorant Garamond'}.advantages{padding:12px 0 28px}.advantages-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.advantages article{display:flex;gap:15px;padding:12px 24px;border-right:1px solid var(--line)}.advantages article:last-child{border:0}.advantages article>span{font-size:36px;color:var(--gold)}.advantages h3{font:600 16px 'Cormorant Garamond';margin:0 0 4px}.advantages p{font-size:10px;color:#7d786f;line-height:1.5;margin:0}.site-footer{background:linear-gradient(135deg,#202224,#17191a);color:#d4d4d4;padding-top:34px}.footer-grid{display:grid;grid-template-columns:1.35fr .75fr .75fr 1fr 1.2fr;gap:45px}.brand.light .brand-text strong{color:#fff}.footer-brand p,.site-footer p{font-size:11px;line-height:1.6;color:#b8b8b8}.site-footer h4{color:#d5a957;text-transform:uppercase;font-size:11px;margin:5px 0 14px}.site-footer .footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;gap:8px}.site-footer a{font-size:11px;color:#ddd}.footer-menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.footer-menu li{margin:0}.newsletter form{display:flex;border:1px solid #6a5a3a}.newsletter input{flex:1;background:transparent;border:0;color:#fff;padding:11px;outline:0;min-width:0}.newsletter button{width:46px;border:0;background:var(--gold);color:#fff}.socials{display:flex!important;flex-direction:row!important;margin-top:8px}.socials a{width:34px;height:34px;border:1px solid #555;border-radius:50%;display:grid;place-items:center}.footer-bottom{margin-top:28px;padding:18px 0;border-top:1px solid #333;display:flex;justify-content:space-between;font-size:10px;color:#8f8f8f}.footer-bottom div{display:flex;gap:25px}.toast{position:fixed;right:24px;bottom:24px;background:#222;color:#fff;padding:14px 20px;border-radius:7px;box-shadow:var(--shadow);opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s;z-index:100}.toast.show{opacity:1;transform:translateY(0)}
/* Single product */
.single-product-main{padding:28px 0 50px}.single-product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:48px;align-items:start}.product-gallery-main{border:1px solid var(--line);background:#fff;border-radius:8px;min-height:520px;display:grid;place-items:center;padding:30px}.product-gallery-main img{max-width:100%;max-height:560px;width:auto;height:auto;object-fit:contain}.product-gallery-thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto}.product-gallery-thumb{width:82px;height:82px;border:1px solid var(--line);background:#fff;border-radius:6px;padding:4px;cursor:pointer;flex:0 0 auto}.product-gallery-thumb.active{border-color:var(--gold)}.product-gallery-thumb img{width:100%;height:100%;object-fit:cover}.single-summary h1{font:600 48px/1.05 'Cormorant Garamond';margin:8px 0 12px}.single-summary .product-price{font:700 30px 'Cormorant Garamond';margin:18px 0}.single-summary .product-price del{color:#999;font-size:.7em}.single-summary .product-price ins{text-decoration:none}.stock-line{font-size:12px;margin-bottom:16px}.stock-line.in-stock{color:#487b45}.stock-line.out-of-stock{color:#a54747}.single-short{font-size:14px;line-height:1.7;color:#5f5c56}.product-attributes{margin:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.product-attr-row{display:grid;grid-template-columns:160px 1fr;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.product-attr-row:last-child{border:0}.product-attr-row strong{color:#666}.single-summary form.cart{display:flex;gap:10px;align-items:center;margin:22px 0}.single-summary form.cart .quantity input{height:46px;width:72px;border:1px solid var(--line);padding:0 10px}.single-summary .single_add_to_cart_button{min-height:46px;border:0;background:linear-gradient(135deg,#9f6d22,#c8943f);color:#fff;padding:0 30px;text-transform:uppercase;font-size:11px;font-weight:700;cursor:pointer}.single-summary .variations{width:100%;margin-bottom:15px;border-collapse:collapse}.single-summary .variations th,.single-summary .variations td{padding:6px 0;text-align:left}.single-summary .variations select{height:42px;border:1px solid var(--line);padding:0 12px;min-width:220px}.single-summary .variations_form.cart{display:block}.single-summary .single_variation_wrap{margin-top:14px}.single-summary .woocommerce-variation-add-to-cart{display:flex;gap:10px}.single-wish{border:1px solid var(--line);background:#fff;height:46px;padding:0 18px;cursor:pointer}.single-wish.active{color:#b74b45;border-color:#d6a09c}.product-content-card{margin-top:42px;border-top:1px solid var(--line);padding-top:28px}.product-content-card h2,.related-products h2{font:600 34px 'Cormorant Garamond';margin:0 0 18px}.product-content-card .entry-content{font-size:14px;line-height:1.8;color:#504d47}.related-products{margin-top:42px}.woocommerce-notices-wrapper{width:min(1320px,calc(100% - 40px));margin:15px auto}.woocommerce-message,.woocommerce-error,.woocommerce-info{background:#fff;border:1px solid var(--line);padding:14px 18px;list-style:none}.woocommerce-message{border-left:3px solid var(--gold)}
/* Basic pages / Woo account-cart-checkout */
.content-page{padding:40px 0 60px}.content-page h1{font:600 46px 'Cormorant Garamond'}.entry-content{line-height:1.7}.woocommerce table.shop_table{width:100%;border-collapse:collapse;background:#fff}.woocommerce table.shop_table th,.woocommerce table.shop_table td{border:1px solid var(--line);padding:12px}.woocommerce .button,.woocommerce button.button,.woocommerce input.button{border:0;background:#222;color:#fff;padding:12px 18px;cursor:pointer}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{width:100%;border:1px solid var(--line);padding:10px;background:#fff}.woocommerce form .form-row{margin-bottom:14px}
@media(max-width:1200px){.main-nav{display:none}.menu-toggle{display:block;margin-left:auto}.header-actions .search-box{width:200px}.categories-grid{grid-template-columns:repeat(3,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1.4fr 1fr 1fr}.newsletter{grid-column:2/4}.hero-copy h1{font-size:46px}.coin-main{right:210px}.coin-back{right:65px}.coin-small{right:300px}}
@media(max-width:860px){.admin-bar .site-header{top:46px}.container{width:min(100% - 24px,720px)}.header-row{height:70px}.brand-text strong{font-size:24px}.brand-mark{width:40px;height:40px}.header-actions .search-box,.header-actions .icon-action:not(.cart-action){display:none}.main-nav.open{display:flex;position:absolute;left:0;right:0;top:70px;background:#fff;flex-direction:column;align-items:stretch;padding:15px 20px;gap:0;box-shadow:var(--shadow)}.main-nav.open ul{display:flex;flex-direction:column;align-items:stretch;gap:0}.main-nav.open a{padding:14px 0}.hero-card{grid-template-columns:1fr;min-height:560px}.hero-copy{padding:36px 28px}.hero-visual{min-height:270px}.coin-main{left:28%;right:auto;top:65px}.coin-back{right:10%;top:15px}.coin-small{left:12%;right:auto}.auth-badge{right:20px;bottom:20px}.categories-grid{grid-template-columns:repeat(2,1fr)}.catalog-layout{grid-template-columns:1fr}.filters{position:fixed;left:12px;right:12px;top:82px;bottom:12px;z-index:80;overflow:auto;transform:translateY(120%);transition:.3s;box-shadow:var(--shadow)}.admin-bar .filters{top:128px}.filters.open{transform:translateY(0)}.mobile-filter-btn{display:block}.rare-grid,.advantages-grid{grid-template-columns:repeat(2,1fr)}.advantages article:nth-child(2){border-right:0}.advantages article:nth-child(-n+2){border-bottom:1px solid var(--line)}.footer-grid{grid-template-columns:repeat(2,1fr)}.newsletter{grid-column:auto}.footer-brand{grid-column:1/-1}.single-product-layout{grid-template-columns:1fr;gap:25px}.product-gallery-main{min-height:390px}.single-summary h1{font-size:40px}}
@media(max-width:560px){.hero-copy h1{font-size:39px}.hero-copy p{font-size:12px}.coin-main{width:145px;height:145px}.coin-back{width:175px;height:175px}.categories-grid{grid-template-columns:1fr}.category-card{min-height:66px}.catalog-toolbar{align-items:flex-start;gap:15px}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end}.toolbar-actions label{order:3;width:100%;text-align:right}.products-grid{grid-template-columns:1fr}.list-view .product-card{display:flex}.section-title{align-items:flex-start;gap:12px;flex-direction:column}.rare-grid,.advantages-grid{grid-template-columns:1fr}.rare-item{border-right:0;border-bottom:1px solid var(--line);padding-bottom:12px}.advantages article{border-right:0;border-bottom:1px solid var(--line)!important}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-bottom{flex-direction:column;gap:12px}.footer-bottom div{flex-direction:column;gap:8px}.hero-visual{overflow:hidden}.single-summary h1{font-size:34px}.product-attr-row{grid-template-columns:110px 1fr}.single-summary form.cart,.single-summary .woocommerce-variation-add-to-cart{align-items:stretch;flex-wrap:wrap}}



/* Image hero banner */
.hero-section--image{padding:24px 0 10px}
.hero-banner{display:block;width:100%;overflow:hidden;border:1px solid #eadfce;border-radius:8px;background:#f6f0e7;box-shadow:var(--shadow);line-height:0}
.hero-banner__picture{display:block;width:100%}
.hero-banner__image{display:block;width:100%;height:auto;object-fit:cover}
a.hero-banner{transition:transform .22s ease,box-shadow .22s ease}
a.hero-banner:hover{transform:translateY(-2px);box-shadow:0 22px 46px rgba(61,43,18,.12)}
@media(max-width:767px){.hero-section--image{padding-top:12px}.hero-banner{border-radius:7px}.hero-banner__image{width:100%;height:auto}}

/* Product popup instead of a separate product page */
.product-modal-open{overflow:hidden}.product-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;visibility:hidden;opacity:0;transition:opacity .2s,visibility .2s}.product-modal.open{visibility:visible;opacity:1}.product-modal-backdrop{position:absolute;inset:0;background:rgba(20,19,17,.68);backdrop-filter:blur(5px)}.product-modal-dialog{position:relative;z-index:1;width:min(1080px,100%);max-height:min(850px,calc(100vh - 48px));overflow:auto;background:#fbfaf7;border-radius:12px;box-shadow:0 30px 90px rgba(0,0,0,.3)}.product-modal-close{position:sticky;top:14px;float:right;margin:14px 14px -52px 0;z-index:4;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:26px;line-height:1;cursor:pointer}.product-modal-loading,.product-popup-error{padding:90px 30px;text-align:center;color:var(--muted)}.product-popup-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:38px;padding:42px}.product-popup-gallery{min-width:0}.product-popup-main-image{min-height:430px;border:1px solid var(--line);border-radius:9px;background:#fff;display:grid;place-items:center;padding:24px;overflow:hidden}.product-popup-main-image img{max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain}.product-popup-placeholder{width:220px;height:220px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#f7d78f,#c38727 45%,#8b5616 75%,#e9bd62);font:700 60px 'Cormorant Garamond';color:#5d3810}.product-popup-thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto;padding-bottom:3px}.product-popup-thumb{width:74px;height:74px;flex:0 0 auto;border:1px solid var(--line);border-radius:5px;background:#fff;padding:4px;cursor:pointer}.product-popup-thumb.active{border-color:var(--gold)}.product-popup-thumb img{width:100%;height:100%;object-fit:cover}.product-popup-origin{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.product-popup-summary h2{font:600 42px/1.05 'Cormorant Garamond';margin:8px 42px 10px 0}.product-popup-price{font:700 29px 'Cormorant Garamond';margin:15px 0}.product-popup-price del{font-size:.72em;color:#999}.product-popup-price ins{text-decoration:none}.product-popup-stock{font-size:12px;margin-bottom:16px}.product-popup-stock.in-stock{color:#487b45}.product-popup-stock.out-of-stock{color:#a54747}.product-popup-short{font-size:13px;line-height:1.7;color:#5f5c56}.product-popup-short p{margin:0 0 12px}.product-popup-attributes{margin:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.product-popup-attr{display:grid;grid-template-columns:145px 1fr;gap:15px;padding:9px 0;border-bottom:1px solid var(--line);font-size:11px}.product-popup-attr:last-child{border-bottom:0}.product-popup-attr strong{color:#777}.product-popup-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:20px}.product-popup-actions .btn-gold{margin:0}.product-popup-actions .single-wish{height:46px}.product-popup-description{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;line-height:1.7;color:#5f5c56}.product-popup-description h3{font:600 24px 'Cormorant Garamond';color:var(--ink);margin:0 0 8px}.product-popup-variable{width:100%}.product-popup-variable form.cart{margin:0}.product-popup-variable .variations{width:100%;border-collapse:collapse}.product-popup-variable .variations th,.product-popup-variable .variations td{padding:6px 0;text-align:left}.product-popup-variable select{width:100%;height:42px;border:1px solid var(--line);background:#fff;padding:0 10px}.product-popup-variable .single_variation_wrap{margin-top:10px}.product-popup-variable .woocommerce-variation-add-to-cart{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.product-popup-variable .quantity input{width:70px;height:46px;border:1px solid var(--line);padding:0 8px}.product-popup-variable .single_add_to_cart_button{min-height:46px;border:0;background:linear-gradient(135deg,#9f6d22,#c8943f);color:#fff;padding:0 22px;text-transform:uppercase;font-size:11px;font-weight:700;cursor:pointer}

/* Minimal checkout: only name, e-mail and phone */
.woocommerce-checkout .woocommerce-billing-fields h3{font:600 30px 'Cormorant Garamond';margin:0 0 18px}.woocommerce-checkout .woocommerce-billing-fields__field-wrapper{max-width:620px}.woocommerce-checkout #billing_first_name_field,.woocommerce-checkout #billing_email_field,.woocommerce-checkout #billing_phone_field{float:none;width:100%;clear:both}.woocommerce-checkout form .form-row label{display:block;font-size:11px;font-weight:700;margin-bottom:6px}.woocommerce-checkout form .form-row .required{color:#a54747}.woocommerce-checkout #customer_details .col-1{float:none;width:100%}.woocommerce-checkout #customer_details .col-2{display:none}.woocommerce-checkout #order_review_heading{margin-top:30px;font:600 30px 'Cormorant Garamond'}.woocommerce-checkout #order_review{max-width:820px}

@media(max-width:860px){.product-modal{padding:12px}.product-modal-dialog{max-height:calc(100vh - 24px)}.product-popup-layout{grid-template-columns:1fr;gap:22px;padding:30px 22px}.product-popup-main-image{min-height:320px}.product-popup-summary h2{font-size:36px}.product-modal-close{top:8px;margin:8px 8px -46px 0}}
@media(max-width:560px){.product-modal{padding:0}.product-modal-dialog{width:100%;max-height:100vh;height:100vh;border-radius:0}.product-popup-layout{padding:62px 16px 28px;gap:16px}.product-popup-main-image{min-height:260px;padding:12px}.product-popup-summary h2{font-size:31px;margin-right:0}.product-popup-attr{grid-template-columns:115px 1fr}.product-popup-actions{align-items:stretch}.product-popup-actions .btn,.product-popup-actions .single-wish{width:100%}.product-modal-close{position:fixed;right:8px;top:8px;margin:0}}
