/**
 * Amasinghrugs hybrid design (v3.0.0).
 * Navy + gold B2B look from the Amasinghrugs HTML design, layered over
 * the Amasingh theme's own sliders, galleries, WooCommerce shop and
 * factory section. Loads after main.css + sliders.css, so it wins ties.
 */
:root{
	--navy:#0A1930;
	--navy-2:#10263F;
	--navy-3:#16324F;
	--gold:#C6A15B;
	--gold-dark:#A88442;
	--cream:#F7F3EC;
	--sand:#EFE7D8;
	--ink:#1C2430;
	--muted:#5A6472;
	--line:#E3DCCB;
	--green:#2E7D4F;
	--serif:'Fraunces', Georgia, 'Liberation Serif', 'Times New Roman', serif;
	--sans:'Inter', 'Liberation Sans', Arial, sans-serif;
}
.wrap{max-width:1900px;margin:0 auto;padding-left:48px;padding-right:48px}
.am-container{padding-left:48px;padding-right:48px}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;color:var(--navy)}
h2{font-size:clamp(32px,3.2vw,52px);letter-spacing:.2px}
.eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:3.2px;text-transform:uppercase;color:var(--gold-dark);margin-bottom:16px}
.eyebrow.light{color:var(--gold)}
.gold-i{font-style:italic;color:var(--gold)}
.am-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

/* Buttons (HTML design) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:16px;padding:13px 26px;border-radius:10px;border:2px solid transparent;cursor:pointer;transition:.22s;white-space:nowrap}
.btn-lg{padding:16px 32px;font-size:17px}
.btn-sm{padding:10px 20px;font-size:15px}
.btn-block{width:100%}
.btn-gold{background:linear-gradient(135deg,#D8B878,var(--gold));color:var(--navy);box-shadow:0 8px 22px rgba(198,161,91,.35)}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(198,161,91,.45)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:var(--navy-3);transform:translateY(-2px)}
.btn-ghost{border-color:rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.06)}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.14)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:transparent}
.btn-outline:hover{background:var(--navy);color:#fff}
.am-btn{background:linear-gradient(135deg,#D8B878,var(--gold));color:var(--navy);box-shadow:0 8px 22px rgba(198,161,91,.35);border-radius:10px}
.am-btn:hover{background:linear-gradient(135deg,#E8C46A,#D8B878);border-color:transparent;box-shadow:0 12px 28px rgba(198,161,91,.45);transform:translateY(-2px)}
.am-btn-outline{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.55);box-shadow:none}
.am-btn-outline:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff}

/* Topbar */
.am-topbar{background:var(--navy);color:#C9D3E0;font-size:14px}
.am-topbar-inner{min-height:38px}
.am-topbar-left{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.am-topbar-left strong{color:#fff}
.am-tb-sep{width:1px;height:16px;background:rgba(255,255,255,.25)}
.am-topbar-right{display:flex;align-items:center;gap:22px}
.am-topbar-right a:hover{color:var(--gold)}
.am-tb-login{color:var(--gold);font-weight:700}

/* Header */
.am-header{position:sticky;top:0;z-index:60;box-shadow:0 2px 18px rgba(10,25,48,.05)}
.am-header-inner{min-height:104px}
.am-logo-text{font-family:var(--serif);font-weight:700;font-size:30px;letter-spacing:1px;color:var(--navy);white-space:nowrap}
.am-logo-text span{color:var(--gold-dark)}
.am-footer-brand .am-logo-text{color:#fff}
.am-menu{gap:26px}
.am-menu a{font-size:16.5px;font-weight:600;color:var(--ink);padding:6px 2px;border-bottom:3px solid transparent;border-radius:0}
.am-menu a:hover{color:var(--gold-dark);background:transparent}
.am-menu>li>a:hover,.am-menu .current-menu-item>a,.am-menu .current_page_item>a{color:var(--navy);border-bottom-color:var(--gold);background:transparent}
.am-menu .sub-menu a{border-bottom:0}
.am-menu .sub-menu a:hover{background:var(--cream);color:var(--navy)}
.am-cart-count{background:var(--gold);color:var(--navy)}
.am-header-cta{padding:12px 22px;font-size:15px}
.am-header-tools{gap:14px}

/* Hero (own slider, design typography) + stats strip */
.amx-hero-text h1{font-size:clamp(38px,3.9vw,66px);font-weight:600}
.amx-hero-text p{font-size:19px;color:#C9D3E0}
.amx-hero-stats{background:var(--navy);border-top:1px solid rgba(255,255,255,.18);padding:30px 0}
.amx-hero-stats-in{display:grid;grid-template-columns:repeat(4,auto);gap:20px 44px;justify-content:space-between}
.amx-stat strong{display:block;font-family:var(--serif);font-size:31px;color:#fff}
.amx-stat span{font-size:14px;color:#9FB0C6}

/* Gold marquee */
.amx-marquee{background:var(--gold);color:var(--navy);overflow:hidden;padding:13px 0}
/* v3.1.1: the gold rule above also hit the certifications logo strip,
   which uses the same .amx-marquee class — the logos sat on a gold band.
   The logo strip stays transparent so the section's own (white) background
   shows behind the logos. */
.amx-logos .amx-marquee{background:transparent}
.amx-marquee-track{display:flex;gap:34px;white-space:nowrap;width:max-content;animation:amx-marquee-scroll 30s linear infinite;font-weight:700;font-size:15.5px;letter-spacing:1.6px;text-transform:uppercase}
.amx-marquee-track i{font-style:normal;opacity:.55}
@keyframes amx-marquee-scroll{to{transform:translateX(-50%)}}

/* Sections */
.section{padding:96px 0}
.sec-head{max-width:880px;margin-bottom:52px}
.sec-head p{color:var(--muted);font-size:18px;margin-top:16px}
.sec-head strong{color:var(--navy)}

/* Collections */
.amx-collections .amx-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.amx-cat-card{position:relative;border-radius:16px;overflow:hidden;min-height:420px;display:flex;align-items:flex-end;box-shadow:0 14px 34px rgba(10,25,48,.14)}
.amx-cat-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.amx-cat-card:hover img{transform:scale(1.06)}
.amx-cat-info{position:relative;width:100%;padding:64px 26px 26px;background:linear-gradient(transparent,rgba(10,25,48,.88) 45%);color:#fff}
.amx-cat-badge{display:inline-block;background:var(--gold);color:var(--navy);font-size:12.5px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;padding:5px 12px;border-radius:20px;margin-bottom:12px}
.amx-cat-info h3{color:#fff;font-size:26px;margin-bottom:6px}
.amx-cat-info p{font-size:15px;color:#D5DCE7;margin-bottom:12px}
.amx-cat-link{font-weight:700;color:var(--gold);font-size:15.5px}

/* Product sliders (v3.0.2) — classy section header + view-all link */
.amx-sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:44px;flex-wrap:wrap}
.amx-sec-head .sec-head{margin-bottom:0}
.amx-view-all{font-weight:700;color:var(--gold-dark);font-size:16.5px;white-space:nowrap;padding-bottom:8px}
.amx-view-all:hover{color:var(--navy)}
.amx-product-card .amx-card-price small{font-weight:500;color:var(--muted);font-size:13px}
@media(max-width:640px){
	.amx-sec-head{margin-bottom:32px}
}

/* Shop section (v3.0.3) — navy band so the white product cards pop */
.shop-sec{background:linear-gradient(130deg,var(--navy) 60%,var(--navy-2));color:#fff;border-top:3px solid var(--gold);border-bottom:0}
.shop-sec .eyebrow{color:var(--gold)}
.shop-sec h2{color:#fff}
.shop-sec .sec-head p{color:#C9D3E0}
.shop-sec .sec-head strong{color:#fff}
.shop-sec .amx-view-all{color:var(--gold)}
.shop-sec .amx-view-all:hover{color:#fff}
.shop-note{margin-top:44px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:rgba(255,255,255,.08);border:1px solid rgba(198,161,91,.45);border-radius:14px;padding:22px 28px;font-size:17px;font-weight:600;color:#fff}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{position:relative;width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:.25s;text-align:left}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 22px 44px rgba(10,25,48,.14);border-color:#D8CFB8}
.woocommerce ul.products li.product a.woocommerce-loop-product__link{display:block}
.p-media{position:relative}
.p-media img{width:100%!important;height:290px;object-fit:cover;margin:0!important;display:block}
.p-stock{position:absolute;left:14px;bottom:14px;background:#fff;color:var(--green);font-size:13px;font-weight:700;padding:7px 12px;border-radius:20px;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.p-badge{position:absolute;top:14px;left:14px;background:var(--gold);color:var(--navy);font-size:12px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;padding:5px 12px;border-radius:20px}
.p-body{padding:20px 22px 4px;display:flex;flex-direction:column;gap:8px}
.p-cat{font-size:12.5px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold-dark)}
.p-body h2.woocommerce-loop-product__title{font-family:var(--serif);font-size:24px!important;color:var(--navy);padding:0!important;margin:0}
.p-spec{font-size:15px;color:var(--muted);margin:0;line-height:1.55}
.p-sizes{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.p-sizes span{border:1px solid var(--line);border-radius:8px;padding:5px 10px;font-size:13.5px;font-weight:600;color:var(--ink);background:var(--cream)}
.p-sizes span.more{background:var(--navy);color:#fff;border-color:var(--navy)}
.p-foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px 22px;border-top:1px solid var(--line)}
.p-price{font-weight:700;color:var(--navy);font-size:16px;line-height:1.3}
.p-price small{display:block;font-weight:500;color:var(--muted);font-size:12.5px}
.p-foot .button{margin:0!important;background:var(--navy)!important;color:#fff!important;border-radius:10px!important;padding:10px 18px!important;font-size:15px!important;font-weight:700!important;white-space:nowrap}
.p-foot .button:hover{background:var(--navy-3)!important;transform:translateY(-2px)}
.amx-single-price-note{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:18px 20px}
.amx-single-price-note small{color:var(--muted)}
.amx-single-sizes{margin:8px 0 2px}
.amx-single-sizes-label{font-size:13px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--gold-dark);margin:0 0 8px}

/* Dealer steps + benefits */
.amx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-bottom:26px}
.amx-step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:34px 30px;position:relative}
.amx-step-no{position:absolute;top:-22px;left:28px;width:46px;height:46px;border-radius:50%;background:var(--gold);color:var(--navy);font-family:var(--serif);font-weight:700;font-size:22px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(198,161,91,.4)}
.amx-step h3{font-size:23px;margin:8px 0}
.amx-step p{color:var(--muted);font-size:15.5px}
.amx-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.amx-benefit{background:var(--navy);color:#fff;border-radius:16px;padding:32px 28px}
.amx-b-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:rgba(198,161,91,.18);color:var(--gold);font-size:24px;font-weight:700;margin-bottom:18px}
.amx-benefit h3{color:#fff;font-size:21px;margin-bottom:8px}
.amx-benefit p{color:#B9C6D8;font-size:15px}

/* Factory / production (navy) */
.amx-factory{background:linear-gradient(130deg,var(--navy) 60%,var(--navy-2));color:#fff;text-align:left}
.amx-factory-in{display:grid;grid-template-columns:1fr 1.1fr;gap:64px;align-items:center}
.amx-factory-media img{width:100%;height:520px;object-fit:cover;border-radius:18px;box-shadow:0 30px 60px rgba(0,0,0,.35)}
.amx-factory-text h2{color:#fff;margin-bottom:18px}
.amx-factory-text>p{color:#C9D3E0;font-size:18px;margin-bottom:30px;max-width:720px}
.amx-promise-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:22px 34px;margin:0 0 34px;padding:0}
.amx-promise-list li{border-left:3px solid var(--gold);padding-left:18px}
.amx-promise-list strong{display:block;font-family:var(--serif);font-size:19.5px;color:#fff;margin-bottom:3px}
.amx-promise-list span{font-size:14.5px;color:#A9BACD}
.amx-cert-row{display:flex;flex-wrap:wrap;gap:10px}
.amx-cert-row span{border:1.5px solid rgba(198,161,91,.55);color:var(--gold);font-weight:700;font-size:14.5px;letter-spacing:1px;padding:9px 18px;border-radius:30px}

/* Dealer registration */
.amx-dealer-in{display:grid;grid-template-columns:1.1fr .9fr;gap:64px;align-items:start}
.amx-dealer-text p{color:var(--muted);font-size:18px;margin:16px 0 24px;max-width:640px}
.amx-dealer-points{list-style:none;display:grid;gap:12px;font-size:16.5px;font-weight:500;margin:0 0 34px;padding:0}
.amx-dealer-login{display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px;font-weight:700;color:var(--navy);flex-wrap:wrap}
.amx-dealer-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:36px;box-shadow:0 24px 48px rgba(10,25,48,.10)}
.amx-dealer-form h3{font-size:25px;margin-bottom:22px}
.amx-dealer-form label{display:block;font-size:14px;font-weight:700;color:var(--navy);margin-bottom:16px}
.amx-dealer-form input,.amx-dealer-form textarea{display:block;width:100%;margin-top:7px;padding:14px 16px;border:1.5px solid var(--line);border-radius:10px;font-family:var(--sans);font-size:16px;background:var(--cream);color:var(--ink)}
.amx-dealer-form input:focus,.amx-dealer-form textarea:focus{outline:2px solid var(--gold);background:#fff}
.amx-dealer-form textarea{resize:vertical}
.amx-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.amx-dealer-form small{display:block;margin-top:14px;color:var(--muted);font-size:13px;line-height:1.5}
.amx-form-msg{border-radius:10px;padding:14px 16px;font-weight:600;margin-top:16px}
.amx-form-msg.ok{background:#E7F4EC;color:var(--green)}
.amx-form-msg.err{background:#FDECEC;color:#A33}

/* Footer */
.am-footer{background:var(--navy);color:#C9D3E0}
.am-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:48px;padding-top:72px;padding-bottom:56px}
.am-footer-brand p{font-size:15.5px;max-width:480px;margin-bottom:22px}
.am-footer-contact{display:grid;gap:7px;font-size:15px}
.am-footer-contact a:hover{color:var(--gold)}
.am-footer-col h4{font-family:var(--serif);color:#fff;font-size:19px;margin-bottom:20px}
.am-footer-menu{list-style:none;margin:0;padding:0}
.am-footer-menu a{display:block;padding:6px 0;font-size:15.5px}
.am-footer-menu a:hover{color:var(--gold)}
.am-footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:20px 0;font-size:14px;color:#8FA1B8}
.am-footer-bottom-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.am-legal-menu{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.am-legal-menu a:hover{color:var(--gold)}

/* Inner pages */
.am-page-hero{background:radial-gradient(900px 420px at 15% 0%,var(--navy-3),transparent),linear-gradient(120deg,var(--navy) 55%,var(--navy-2));color:#fff;padding:64px 0 58px}
.am-page-hero h1{color:#fff;font-size:clamp(32px,3vw,50px);margin:14px 0 12px}
.am-page-hero p{color:#C9D3E0;font-size:18px;max-width:820px}
.am-crumbs{font-size:14.5px;color:#9FB0C6;letter-spacing:.4px}
.am-crumbs a:hover{color:var(--gold)}
.am-crumbs b{color:var(--gold);font-weight:600}
.am-page .page-hero,.am-page .section,.am-page .legal-sec{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.am-page .am-entry{padding:0}

/* Legal pages */
.legal-sec{background:var(--cream)}
.prose-box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:52px 60px;max-width:1080px;margin:0 auto;box-shadow:0 18px 40px rgba(10,25,48,.07)}
.prose h2{font-size:26px;margin:30px 0 12px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:21px;margin:24px 0 10px}
.prose p{color:#3A4453;font-size:16.5px;margin-bottom:12px;line-height:1.65}
.prose ul,.prose ol{margin:0 0 14px 22px;color:#3A4453;font-size:16.5px;line-height:1.65}
.prose a{color:var(--gold-dark);font-weight:600}

/* Contact cards */
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-bottom:64px}
.info-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px 30px}
.info-card h3{font-size:22px;margin:14px 0 10px}
.info-card p{color:var(--muted);font-size:16px}
.info-card a{color:var(--gold-dark);font-weight:600}

/* Responsive */
@media(max-width:1400px){
	.amx-collections .amx-cat-grid,.woocommerce ul.products,.amx-benefit-grid{grid-template-columns:repeat(2,1fr)}
	.amx-hero-stats-in{grid-template-columns:repeat(2,auto)}
	.am-menu{gap:17px}
	.am-menu a{font-size:15px}
	.am-header-cta{padding:12px 18px;font-size:15px}
}
@media(max-width:1024px){
	.wrap,.am-container{padding-left:28px;padding-right:28px}
	.amx-factory-in,.amx-dealer-in{grid-template-columns:1fr}
	.amx-steps{grid-template-columns:1fr}
	.am-footer-grid{grid-template-columns:1fr 1fr}
	.am-topbar-left .am-tb-item:last-child{display:none}
	.am-header-cta{display:none}
	.contact-cards{grid-template-columns:1fr}
	.prose-box{padding:34px 26px}
	.amx-factory-media img{height:380px}
}
@media(max-width:640px){
	.wrap,.am-container{padding-left:20px;padding-right:20px}
	.section{padding:48px 0}
	/* v3.1.0 mobile: the old rule forced EVERY grid to 1 column, which
	   overrode the 2-column mobile rules — every card became full-width
	   and very tall, so the page scrolled forever. Manual collection
	   cards stay 1 per row but shorter; categories + shop go 2 per row. */
	.amx-collections .amx-cat-grid{grid-template-columns:1fr;gap:18px}
	.amx-cat-card{min-height:300px}
	.amx-cat-info{padding:40px 20px 20px}
	.amx-cat-info h3{font-size:21px}
	.amx-cats .amx-cat-grid,.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
	.p-media img{height:190px}
	.p-body{padding:16px 14px 4px}
	.p-body h2.woocommerce-loop-product__title{font-size:19px!important}
	/* v3.1.2: size chips stacked one per line on phones (the 22px card
	   padding left only ~129px for a ~88px chip). Smaller chips + tighter
	   card padding so two chips fit per row on most phones. */
	.p-sizes{gap:6px}
	.p-sizes span{font-size:12px;padding:4px 8px}
	.p-spec{font-size:13.5px}
	.p-foot{padding:14px 14px 16px;gap:10px;flex-direction:column;align-items:stretch}
	.p-foot .button{text-align:center}
	.p-price{font-size:14.5px}
	.amx-benefit-grid,.amx-promise-list,.amx-form-row{grid-template-columns:1fr}
	.amx-hero-stats-in{grid-template-columns:1fr 1fr;gap:18px}
	.amx-hero-slide{height:min(80vh,440px);min-height:360px}
	.am-logo-text{font-size:22px}
	/* v3.1.10: the Händler-Login link wrapped to two lines and looked bad.
	   On mobile it is replaced by the contact number + email (they were
	   already in the topbar, just hidden). The login link stays on desktop.
	   Contacts stack on the right; only the bold lead "Nur für
	   Gewerbekunden" is kept on the left so everything fits. */
	.am-tb-login{display:none}
	.am-topbar{font-size:13px}
	.am-topbar-right{flex-direction:column;align-items:flex-end;gap:2px}
	.am-topbar-left .am-tb-item{font-size:0}
	.am-topbar-left .am-tb-item strong{font-size:13px}
	.am-tb-sep{display:none}
	.am-footer-grid{grid-template-columns:1fr}
	.amx-dealer-form{padding:26px}
	.amx-factory-media img{height:260px}
	/* v3.1.7: header icons were cramped (tools gap was only 4px). Wider
	   gaps + slightly smaller icon padding so the 4 icons still fit next
	   to the logo on phones. */
	.am-header-inner{gap:12px}
	.am-icon-btn{padding:8px}
	/* v3.1.8: logo a bit further left, icons slightly bigger, everything
	   properly aligned on mobile. */
	.am-header .am-container{padding-left:4px}
	.am-header-tools{flex-shrink:0}
	.am-icon-btn svg{width:24px;height:24px}
	.am-burger span{width:26px}
	/* v3.1.9: logo hard left + tighter, better-looking header on mobile:
	   the 104px header with the ~100px crest looked bulky and the logo
	   still sat inset. Compact header + smaller crest. */
	.am-header-inner{min-height:88px}
	.am-header .am-logo img{height:78px;width:auto}
}
@media(max-width:360px){
	/* Very small phones (320px): tighten again so logo + 4 icons fit. */
	.am-header-tools{gap:8px}
	.am-icon-btn{padding:6px}
}

/* v3.1.11: desktop menu out of the middle row — it gets its own full-width
   row at the bottom of the header (logo + icons stay on the top row), so it
   no longer wraps and "contact" no longer drops to a second line. Desktop
   only (min-width 961px): below that the nav is the burger drawer. */
@media(min-width:961px){
	.am-header-inner{flex-wrap:wrap;gap:0 24px}
	.am-nav{flex:1 1 100%;order:3;border-top:1px solid var(--line);padding:8px 0}
}

/* v3.1.11: every text page full width — the 900px .am-entry cap and the
   1080px .prose-box card made Privacy/Terms read as a narrow column. */
.am-page .am-entry{max-width:none}
.prose-box{max-width:none}

/* v3.1.12: rugs.com-style header — big centre search bar + labelled sign-in.
   Desktop only: the bar replaces the search icon; on phones the bar hides
   and the icon + drawer stay. Menu hover goes clean (no pill, navy text +
   gold underline) like the reference. */
@media(min-width:961px){
	.am-head-search{flex:1;display:flex;align-items:center;max-width:640px;margin:0 auto;background:#f1f3f5;border:1px solid #e3e6e9;border-radius:999px;height:48px;padding:0 6px 0 20px}
	.am-head-search:focus-within{border-color:var(--am-primary);background:#fff;box-shadow:0 0 0 3px rgba(198,161,91,.25)}
	.am-head-search input[type=search]{flex:1;min-width:0;border:0;background:transparent;padding:0;font-size:15px;color:var(--am-text);outline:none}
	.am-head-search input[type=search]::placeholder{color:#8a94a3}
	.am-head-search button{border:0;background:none;color:var(--am-primary);padding:8px 12px;cursor:pointer;display:inline-flex}
	.am-search-toggle{display:none}
	.am-icon-btn.am-tool{border-radius:999px;gap:6px;padding:10px 14px}
	.am-tool-label{font-size:14px;font-weight:500;white-space:nowrap}
	.am-menu>li>a:hover,.am-menu .current-menu-item>a,.am-menu .current_page_item>a{background:none;color:var(--am-primary);box-shadow:inset 0 -2px 0 var(--am-accent)}
}
@media(max-width:960px){
	.am-head-search{display:none}
	.am-tool-label{display:none}
}

/* v3.1.13: mobile banner shows ONLY phone + email — hide the whole left
   "Nur für Gewerbekunden" side and centre the contacts. */
@media(max-width:640px){
	.am-topbar-left{display:none}
	.am-topbar-inner{justify-content:center}
	.am-topbar-right{align-items:center}
}

/* v3.1.14: live search dropdown under the header search bar. */
.am-head-search{position:relative}
.am-search-drop{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px rgba(10,25,48,.16);z-index:300;overflow:hidden;display:none}
.am-search-drop.is-open{display:block}
.am-sd-item{display:flex;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;color:var(--am-text)}
.am-sd-item:hover,.am-sd-item.is-active{background:var(--am-bg-alt)}
.am-sd-item img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}
.am-sd-noimg{width:48px;height:48px;border-radius:8px;background:var(--am-bg-alt);flex-shrink:0}
.am-sd-info{display:flex;flex-direction:column;min-width:0}
.am-sd-title{font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.am-sd-cat{font-size:12px;color:#8a94a3}
.am-sd-empty{padding:14px 16px;font-size:14px;color:#8a94a3}
.am-sd-all{display:block;padding:11px 14px;border-top:1px solid var(--line);font-size:14px;font-weight:600;color:var(--am-primary);text-decoration:none;text-align:center}
.am-sd-all:hover{background:var(--am-bg-alt)}

/* v3.1.15: the mobile drawer search gets the live dropdown too — the drawer
   form anchors the same .am-search-drop as the header bar. */
.am-drawer-search{position:relative}

/* v3.1.17: navy menu bar — the nav row gets the navy background (full-bleed,
   to match the navy topbar), white text, gold on hover and a gold underline
   on the active page. Desktop only; the mobile burger drawer stays white.
   The breakout margins make the bar span the viewport while the menu items
   stay aligned with the container; overflow-x:clip on the header keeps the
   breakout from adding a horizontal scrollbar. */
@media(min-width:961px){
	.am-header{overflow-x:clip}
	.am-nav{background:var(--navy);border-top:0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
	.am-menu>li>a{color:#fff}
	.am-menu>li>a:hover{color:var(--gold)}
	.am-menu .current-menu-item>a,.am-menu .current_page_item>a{color:#fff}
}

/* v3.1.18: single product page — image 60%, text 40% (WooCommerce default
   is 48/48). The 12px each side leaves a 24px gap between the columns.
   Desktop only; on phones the image and text stack full width.
   NOTE: the selectors MUST include #content — WooCommerce's layout CSS
   uses .woocommerce-page #content ... (an ID), which outranks a plain
   class selector, so without #content the 48% rule wins. */
@media(min-width:961px){
	.woocommerce-page #content div.product div.images{width:calc(60% - 12px)}
	.woocommerce-page #content div.product div.summary{width:calc(40% - 12px)}
}

/* v3.1.19: rug-only hover zoom — the card itself does NOT lift, change
   shadow or border; only the rug image zooms and fills its frame.
   The image link clips the zoom so it never overlaps the card text. */
.woocommerce ul.products li.product a.woocommerce-loop-product__link{overflow:hidden}
.woocommerce ul.products li.product img{transition:transform .35s ease;display:block}
.woocommerce ul.products li.product:hover{transform:none;box-shadow:0 6px 24px rgba(7,29,59,.08);border-color:var(--line)}
.woocommerce ul.products li.product:hover img{transform:scale(1.12)}

/* v3.1.23: single product gallery — one fixed image box for every product.
   Product photos have different shapes, so the gallery box used to grow
   and shrink per product. Now the main image is always 4:3 (same as the
   shop cards) and every photo fills it with object-fit:cover.
   v3.1.28: the media query was desktop-only, so mobile still showed
   different box sizes per product. The rule now applies at ALL widths,
   so the image box is the same size on phones too. */
.woocommerce-page #content div.product div.images .woocommerce-product-gallery__image{aspect-ratio:4/3;overflow:hidden}
.woocommerce-page #content div.product div.images .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;display:block}
/* v3.1.24: RESTORED the v3.1.22 video-hero height — it was accidentally
   removed by the v3.1.23 edit, which collapsed the hero again. The banner
   slider gets its height from .amx-hero-slide (80vh), which does not
   exist in video mode, so the video hero needs its own height. */
.amx-hero-video{position:relative;overflow:hidden;height:var(--amx-hero-h,80vh);min-height:420px;display:flex;align-items:center}
/* v3.1.26: on mobile the video hero was 90vh tall — far too big. Cap it
   like the banner slider (max 440px) so the video does not dominate a
   phone screen. */
@media(max-width:767px){
.amx-hero-video{height:min(80vh,440px);min-height:360px}
}
.amx-hero-video-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.amx-hero-video .amx-overlay{position:absolute;inset:0;z-index:1}
/* v3.1.21: video-hero text is white so it stays readable over the dark
   overlay (the banner slider keeps its own per-slide text colour). */
.amx-hero-video .amx-hero-inner{position:relative;z-index:2}
.amx-hero-video .amx-hero-text,
.amx-hero-video .amx-hero-text h1,
.amx-hero-video .amx-hero-text p{color:#fff}

/* v3.1.20: product card image full (4:3, like the catalog mockup) — the
   card image area is now landscape so the whole rug shows instead of a
   square crop. The loop thumbnail is the 'large' (4:3) size (see
   functions.php), so no cropping. */
.woocommerce ul.products li.product img{aspect-ratio:4/3}

/* v3.1.27: mobile shop — big image, less text. On phones the 2-column
   cards made the rug photo tiny (190px) next to all the text. The shop
   is now 1 column on phones with a large 280px image, and the material
   spec (.p-spec) is hidden here — it still shows in full on the single
   product page. Collection, title, price and Anfrage button stay. */
@media(max-width:640px){
.woocommerce ul.products{grid-template-columns:1fr;gap:18px}
.woocommerce ul.products li.product .p-media img{height:280px}
.woocommerce ul.products li.product .p-spec{display:none}
}

/* v3.1.29: single product gallery breathing room — a little gap so the
   sections read as separate on mobile and desktop. Gap between the main
   image and the thumbnails, and (where the layout stacks) between the
   gallery and the summary/title below it. */
/* v3.1.30: gaps BETWEEN the thumbnail images too (they touched edge to
   edge) and a clearer gap under the main image. */
/* v3.1.31: FIXED the v3.1.29/v3.1.30 gallery selectors — the chain
   "div.images .woocommerce-product-gallery" never matched, because both
   classes sit on the SAME element (the gallery div itself), so the
   .flex-viewport and .flex-control-thumbs rules never applied and the
   thumbnail gaps stayed 0px. Corrected selectors drop the redundant
   .woocommerce-product-gallery. Same gaps: 20px under the main image,
   10px between thumbnails, 24px gallery-to-summary on mobile. */
/* v3.1.32: every thumbnail block the SAME size — the product images have
   different aspect ratios (Marble Beige/Brown 600x452 vs 600x387), so the
   thumbnails rendered at uneven heights. Fixed 4:3 box with
   object-fit:cover, matching the main gallery box. */
.woocommerce-page #content div.product div.images .flex-control-thumbs li img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.woocommerce-page #content div.product div.images .flex-viewport{margin-bottom:20px}
.woocommerce-page #content div.product div.images .flex-control-thumbs li{padding:0 5px;box-sizing:border-box}
.woocommerce-page #content div.product div.images .flex-control-thumbs li:first-child{padding-left:0}
.woocommerce-page #content div.product div.images .flex-control-thumbs li:last-child{padding-right:0}
@media(max-width:960px){
.woocommerce-page #content div.product div.images{margin-bottom:24px}
}
