/*
Theme Name: StalenDeur Outlet
Theme URI: https://stalendeurenaanbieding.nl
Author: StalenDeur Outlet
Description: WordPress WooCommerce thema voor StalenDeur Outlet – stalen deuren outlet webshop met urgentie-gedreven verkoop.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 9.4
Text Domain: stalendeur-outlet
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #111111;
  --accent: #DC2626;
  --accent-dark: #B91C1C;
  --accent-light: #FEF2F2;
  --deal: #EA580C;
  --deal-light: #FFF7ED;
  --green: #15803D;
  --green-light: #F0FDF4;
  --bg: #FFFFFF;
  --bg-off: #F9F9F9;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --font: 'Inter', system-ui, sans-serif;
  --max-width: 1280px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --t: 0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: var(--font); cursor: pointer; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── TOPBAR ── */
.topbar { background: var(--primary); color: #fff; text-align: center; padding: 10px 24px; font-size: 13px; font-weight: 500; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-highlight { color: #FCD34D; font-weight: 800; }

/* ── HEADER ── */
.site-header { background: #fff; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 0 24px; max-width: var(--max-width); margin: 0 auto; height: 72px; }
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-box { width: 42px; height: 42px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.logo-box svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; }
.logo-text { font-size: 19px; font-weight: 900; color: var(--primary); letter-spacing: -0.02em; line-height: 1.1; }
.logo-text em { font-style: normal; color: var(--accent); display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

/* WordPress nav menu */
.main-nav { margin-left: 24px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav ul li a { padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--text); border-radius: var(--radius-sm); transition: var(--t); white-space: nowrap; display: block; }
.main-nav ul li a:hover { background: var(--bg-off); }
.main-nav ul li.deals > a { color: var(--accent); }
.main-nav ul li.deals > a:hover { background: var(--accent-light); }
.main-nav ul li.current-menu-item > a { color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.cart-btn { display: flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: 14px; transition: var(--t); border: none; position: relative; }
.cart-btn:hover { background: var(--accent-dark); color: #fff; }
.cart-count { background: #fff; color: var(--accent); font-size: 11px; font-weight: 900; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -6px; right: -6px; }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 60%, #0d0d0d 100%); color: #fff; padding: 80px 24px; overflow: hidden; }
.hero-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; }
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 32px; line-height: 1.6; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 16px 32px; border-radius: var(--radius); font-weight: 800; font-size: 16px; transition: var(--t); border: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,0.4); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; padding: 16px 32px; border-radius: var(--radius); font-weight: 700; font-size: 16px; border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 8px; transition: var(--t); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat-num { font-size: 28px; font-weight: 900; color: #FCD34D; line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; font-weight: 500; }
.hero-showcase { position: relative; display: flex; justify-content: center; }
.hero-door-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px); width: 100%; max-width: 340px; }
.hero-door-img { width: 100%; height: 300px; background: linear-gradient(180deg, #2a2a2a 0%, #181818 100%); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; }
.door-svg { width: 52%; height: 82%; background: linear-gradient(180deg, #383838 0%, #222 100%); border: 3px solid #555; border-radius: 3px; box-shadow: 6px 6px 14px rgba(0,0,0,0.6), inset 0 0 24px rgba(0,0,0,0.3); position: relative; }
.door-svg::before { content: ''; position: absolute; width: 10px; height: 10px; background: radial-gradient(#aaa, #777); border-radius: 50%; right: 12px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 3px #666; }
.hero-deal-badge { position: absolute; top: -14px; right: -14px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 100px; font-weight: 900; font-size: 15px; box-shadow: 0 4px 16px rgba(220,38,38,0.5); }
.hero-price-row { display: flex; align-items: center; justify-content: space-between; }
.hero-price-now { font-size: 30px; font-weight: 900; color: #4ADE80; }
.hero-price-was { font-size: 15px; color: rgba(255,255,255,0.4); text-decoration: line-through; }

/* ── USP BAR ── */
.usp-bar { background: var(--primary); color: #fff; padding: 20px 24px; }
.usp-bar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.usp-item { display: flex; align-items: center; gap: 12px; }
.usp-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.usp-strong { display: block; font-size: 14px; font-weight: 700; }
.usp-sub { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ── SECTIONS ── */
.section { padding: 64px 24px; }
.section-bg { background: var(--bg-off); padding: 64px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 16px; }
.section-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.section-title { font-size: 32px; font-weight: 900; letter-spacing: -0.02em; color: var(--primary); line-height: 1.2; }
.section-title em { font-style: normal; color: var(--accent); }
.section-sub { font-size: 15px; color: var(--text-muted); margin-top: 6px; }
.section-link { font-size: 14px; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; }
.section-link:hover { text-decoration: underline; }

/* ── URGENCY BANNER ── */
.urgency-bar { background: linear-gradient(135deg, var(--accent) 0%, #9B1C1C 100%); color: #fff; padding: 24px; text-align: center; }
.urgency-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; max-width: var(--max-width); margin: 0 auto; }
.urgency-text { font-size: 20px; font-weight: 900; letter-spacing: -0.01em; }
.countdown { display: flex; gap: 8px; align-items: center; }
.cd-block { background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); padding: 8px 14px; text-align: center; min-width: 52px; }
.cd-num { font-size: 24px; font-weight: 900; display: block; line-height: 1; }
.cd-label { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.cd-sep { font-size: 24px; font-weight: 900; opacity: 0.5; }

/* ── CATEGORY CARDS ── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card { background: var(--bg-off); border-radius: var(--radius-lg); padding: 24px 16px; text-align: center; cursor: pointer; transition: var(--t); border: 2px solid transparent; display: block; }
.cat-card:hover { border-color: var(--accent); background: var(--accent-light); }
.cat-icon-box { width: 60px; height: 60px; background: var(--primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 26px; }
.cat-name { font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.cat-count { font-size: 12px; color: var(--text-muted); }
.cat-count strong { color: var(--accent); }

/* ── PRODUCT GRID ── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── PRODUCT CARD ── */
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--t); border: 1px solid var(--border); position: relative; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-img { position: relative; padding-top: 115%; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); overflow: hidden; }
.card-img a { position: absolute; inset: 0; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
/* Fallback door visual (when no product image) */
.door-vis { width: 50%; height: 82%; background: linear-gradient(180deg, #383838 0%, #202020 100%); border: 3px solid #555; border-radius: 3px; box-shadow: 5px 5px 12px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.3); position: relative; }
.door-vis::before { content: ''; position: absolute; width: 9px; height: 9px; background: radial-gradient(#aaa,#777); border-radius: 50%; right: 10px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 2px #666; }
.door-vis.glass::after { content: ''; position: absolute; top: 10%; left: 12%; right: 28%; bottom: 45%; background: rgba(180,220,255,0.12); border: 1px solid #555; }

.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; pointer-events: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 100px; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.badge-outlet { background: #111; color: #fff; }
.badge-opop { background: var(--accent); color: #fff; }
.badge-laatste { background: var(--deal); color: #fff; }
.badge-sale { background: var(--accent); color: #fff; }
.disc-badge { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; padding: 5px 9px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 900; z-index: 2; pointer-events: none; }
.wish-btn { position: absolute; bottom: 12px; right: 12px; width: 34px; height: 34px; background: rgba(255,255,255,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; font-size: 15px; box-shadow: var(--shadow); transition: var(--t); z-index: 2; }
.wish-btn:hover { background: var(--accent); color: #fff; }

.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 5px; }
.card-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.card-name a { color: inherit; }
.card-spec { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.stock-bar-wrap { margin-bottom: 10px; }
.stock-label { font-size: 11px; font-weight: 700; color: var(--deal); margin-bottom: 4px; }
.stock-bar { height: 5px; background: var(--border); border-radius: 100px; overflow: hidden; }
.stock-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--deal)); border-radius: 100px; }
.card-pricing { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; margin-top: auto; }
.price-now { font-size: 22px; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; }
.price-was { font-size: 14px; color: var(--text-light); text-decoration: line-through; }
.price-save { font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-light); padding: 2px 7px; border-radius: 100px; }

/* WooCommerce price override */
.card-pricing .woocommerce-Price-amount { font-size: inherit; font-weight: inherit; color: inherit; }
.card-pricing del .woocommerce-Price-amount { color: var(--text-light); font-size: 14px; }
.card-pricing ins { text-decoration: none; }
.card-pricing ins .woocommerce-Price-amount { color: var(--accent); font-size: 22px; font-weight: 900; }

.btn-cart { width: 100%; background: var(--primary); color: #fff; padding: 11px; border-radius: var(--radius); font-weight: 700; font-size: 14px; border: none; transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.btn-cart:hover { background: var(--accent); color: #fff; }
/* WooCommerce add to cart button */
.add_to_cart_button, .single_add_to_cart_button { background: var(--primary) !important; color: #fff !important; padding: 11px !important; border-radius: var(--radius) !important; font-weight: 700 !important; font-size: 14px !important; border: none !important; transition: var(--t) !important; width: 100% !important; }
.add_to_cart_button:hover, .single_add_to_cart_button:hover { background: var(--accent) !important; }

/* ── ABOUT DARK ── */
.about-section { background: var(--primary); color: #fff; padding: 80px 24px; }
.about-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-label { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 12px; }
.about-title { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.2; }
.about-desc { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 28px; }
.about-points { display: flex; flex-direction: column; gap: 14px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; }
.about-pt-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.about-pt-title { display: block; font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.about-pt-sub { font-size: 13px; color: rgba(255,255,255,0.55); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ── NEWSLETTER ── */
.newsletter { background: var(--bg-off); padding: 60px 24px; text-align: center; border-top: 1px solid var(--border); }
.newsletter-inner { max-width: 540px; margin: 0 auto; }
.newsletter h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.newsletter p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.nl-form { display: flex; gap: 8px; }
.nl-input { flex: 1; padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: var(--font); outline: none; transition: var(--t); }
.nl-input:focus { border-color: var(--primary); }
.nl-btn { background: var(--primary); color: #fff; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; font-size: 15px; border: none; transition: var(--t); white-space: nowrap; }
.nl-btn:hover { background: var(--accent); }

/* ── FOOTER ── */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.65); padding: 60px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: var(--max-width); margin: 0 auto 48px; }
.footer-brand { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; transition: var(--t); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 16px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icon { background: rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 4px 10px; font-size: 12px; font-weight: 700; color: #fff; }

/* ── BREADCRUMB ── */
.breadcrumb-bar { background: var(--bg-off); border-bottom: 1px solid var(--border); padding: 12px 24px; }
.breadcrumb-wrap { max-width: var(--max-width); margin: 0 auto; font-size: 13px; color: var(--text-muted); }
.breadcrumb-wrap a { color: var(--text-muted); transition: var(--t); }
.breadcrumb-wrap a:hover { color: var(--accent); }
/* WooCommerce breadcrumb */
.woocommerce-breadcrumb { font-size: 13px; color: var(--text-muted); }
.woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce-breadcrumb a:hover { color: var(--accent); }

/* ── FILTER BAR ── */
.filter-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 24px; position: sticky; top: 72px; z-index: 50; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.filter-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.filter-select { appearance: none; background: var(--bg-off) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 30px 8px 12px; font-size: 13px; font-weight: 600; color: var(--text); font-family: var(--font); }
.filter-tag { padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); background: #fff; transition: var(--t); white-space: nowrap; cursor: pointer; }
.filter-tag:hover, .filter-tag.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.filter-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* ── PAGE HERO ── */
.page-hero { background: linear-gradient(135deg, #111 0%, #1a1a2e 100%); color: #fff; padding: 48px 24px; }
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.65); }
.page-hero-badge { background: var(--accent); color: #fff; padding: 12px 24px; border-radius: var(--radius); font-weight: 800; font-size: 14px; text-align: center; white-space: nowrap; flex-shrink: 0; }

/* ── SINGLE PRODUCT ── */
.product-detail { max-width: var(--max-width); margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
.gallery-sticky { position: sticky; top: 88px; }
/* WooCommerce gallery */
.woocommerce-product-gallery { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce-product-gallery__image img { width: 100%; border-radius: var(--radius-lg); }
.flex-viewport { border-radius: var(--radius-lg); background: #1a1a1a; }
.gallery-main-placeholder { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: var(--radius-lg); height: 520px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gallery-door { width: 40%; height: 78%; background: linear-gradient(180deg, #3a3a3a 0%, #222 100%); border: 4px solid #555; border-radius: 4px; box-shadow: 8px 8px 20px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.3); position: relative; }
.gallery-door::before { content: ''; position: absolute; width: 13px; height: 13px; background: radial-gradient(#aaa,#777); border-radius: 50%; right: 14px; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 3px #666; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.gallery-thumbs img { border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img:hover, .gallery-thumbs .flex-active img { border-color: var(--accent); }

.product-badges-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.product-title, .product_title { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 6px; color: var(--primary); }
.product-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 6px; }
.reviews-mini { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.stars { color: #F59E0B; font-size: 15px; letter-spacing: -1px; }
.review-count { font-size: 13px; color: var(--text-muted); }
/* WooCommerce star rating */
.woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.star-rating { color: #F59E0B; font-size: 15px; }
.woocommerce-review-link { font-size: 13px; color: var(--text-muted); }

.price-box { background: var(--bg-off); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 22px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.price-big { font-size: 42px; font-weight: 900; color: var(--accent); letter-spacing: -0.03em; }
.price-big .woocommerce-Price-amount { font-size: inherit; color: inherit; font-weight: inherit; }
.price-old-big { font-size: 20px; color: var(--text-light); text-decoration: line-through; }
.price-old-big .woocommerce-Price-amount { font-size: inherit; color: inherit; }
/* WooCommerce price in price box */
.price-box .price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.price-box .price ins { text-decoration: none; font-size: 42px; font-weight: 900; color: var(--accent); }
.price-box .price del { font-size: 20px; color: var(--text-light); }
.save-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--green); color: #fff; padding: 4px 12px; border-radius: 100px; font-size: 13px; font-weight: 800; }
.stock-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.stock-dot { width: 10px; height: 10px; background: var(--deal); border-radius: 50%; animation: pdot 1.5s infinite; flex-shrink: 0; }
@keyframes pdot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(1.2)} }
.stock-text { font-size: 14px; font-weight: 700; color: var(--deal); }
.stock-note { font-size: 12px; color: var(--text-muted); margin-left: auto; }
/* WooCommerce stock */
.woocommerce-product-details__short-description { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }
.stock.in-stock { color: var(--green); font-weight: 700; font-size: 14px; }
.stock.out-of-stock { color: var(--accent); font-weight: 700; }

.specs-section { margin-bottom: 22px; }
.specs-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec-item { background: var(--bg-off); border-radius: var(--radius); padding: 12px; }
.spec-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 3px; }
.spec-value { font-size: 14px; font-weight: 700; }

.product-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.btn-add-cart { background: var(--accent); color: #fff; padding: 17px 32px; border-radius: var(--radius); font-size: 17px; font-weight: 800; border: none; transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.btn-add-cart:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.4); color: #fff; }
/* WooCommerce add to cart form */
.cart .quantity { display: none; } /* hide qty input for doors (1 per customer) */
.cart .single_add_to_cart_button { background: var(--accent) !important; color: #fff !important; padding: 17px 32px !important; border-radius: var(--radius) !important; font-size: 17px !important; font-weight: 800 !important; border: none !important; transition: var(--t) !important; width: 100% !important; margin-top: 0 !important; }
.cart .single_add_to_cart_button:hover { background: var(--accent-dark) !important; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-muted); }
.trust-check { color: var(--green); font-size: 15px; }

/* Product tabs (WooCommerce) */
.woocommerce-tabs { padding: 0 24px 64px; max-width: var(--max-width); margin: 0 auto; }
.woocommerce-tabs ul.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 28px; list-style: none; padding: 0; }
.woocommerce-tabs ul.tabs li { padding: 12px 22px; font-size: 14px; font-weight: 700; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.woocommerce-tabs ul.tabs li.active { color: var(--primary); border-bottom-color: var(--primary); }
.woocommerce-tabs ul.tabs li a { color: inherit; font-weight: inherit; }
.woocommerce-Tabs-panel { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

/* ── ALERT ── */
.alert-warn { background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 0; padding: 10px 24px; font-size: 14px; font-weight: 700; color: #C2410C; display: flex; align-items: center; gap: 8px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 12px 24px; font-size: 14px; font-weight: 600; margin-bottom: 0; }
.woocommerce-message { background: var(--green-light); border-top: 3px solid var(--green); color: var(--green); }
.woocommerce-error { background: var(--accent-light); border-top: 3px solid var(--accent); color: var(--accent-dark); }
.woocommerce-info { background: #EFF6FF; border-top: 3px solid #3B82F6; color: #1D4ED8; }

/* ── CART PAGE ── */
.page-bar { border-bottom: 1px solid var(--border); padding: 18px 24px; }
.page-bar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.page-bar h1 { font-size: 22px; font-weight: 900; margin: 0; }
.page-bar-sub { background: var(--bg-off); border-radius: 100px; padding: 3px 12px; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.back-link { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-left: auto; transition: var(--t); }
.back-link:hover { color: var(--accent); }
.cart-layout { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-items-wrap { display: flex; flex-direction: column; gap: 14px; }
.cart-item-row { background: #fff; border-radius: var(--radius-lg); padding: 22px; display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; box-shadow: var(--shadow); border: 1px solid var(--border); }
.cart-thumb { width: 96px; height: 112px; background: #1a1a1a; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.cart-item-spec { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.cart-item-badge { display: inline-flex; align-items: center; background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; margin-bottom: 10px; }
.qty-row { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 30px; height: 30px; background: var(--bg-off); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; transition: var(--t); }
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
/* WooCommerce quantity */
.woocommerce-cart-form .quantity input { width: 50px; padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; text-align: center; font-family: var(--font); }
.cart-item-price-col { text-align: right; flex-shrink: 0; }
.ci-price-now { font-size: 21px; font-weight: 900; color: var(--accent); }
.ci-price-was { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.ci-remove { font-size: 12px; color: var(--text-muted); cursor: pointer; margin-top: 6px; display: block; transition: var(--t); }
.ci-remove:hover { color: var(--accent); }
/* WooCommerce remove link */
.woocommerce-cart-form a.remove { color: var(--text-muted); font-size: 18px; line-height: 1; }
.woocommerce-cart-form a.remove:hover { color: var(--accent); background: none; }

.cart-box { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); position: sticky; top: 88px; }
.cart-box-title { font-size: 18px; font-weight: 800; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.sum-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.sum-row .lbl { color: var(--text-muted); }
.sum-row.savings { color: var(--green); font-weight: 700; }
.sum-row.total { font-size: 19px; font-weight: 900; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--border); }
/* WooCommerce cart totals */
.cart_totals h2 { font-size: 18px; font-weight: 800; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--border); display: none; }
.cart_totals table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.cart_totals table tr td, .cart_totals table tr th { padding: 8px 0; font-size: 14px; border: none; }
.cart_totals table tr th { color: var(--text-muted); font-weight: 500; text-align: left; }
.cart_totals table .order-total td, .cart_totals table .order-total th { font-size: 19px; font-weight: 900; padding-top: 14px; border-top: 2px solid var(--border); }
.cart_totals table .order-total td .woocommerce-Price-amount { color: var(--accent); }

.coupon-row { display: flex; gap: 7px; margin: 18px 0; }
.coupon-input { flex: 1; padding: 10px 13px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--font); outline: none; transition: var(--t); }
.coupon-input:focus { border-color: var(--primary); }
.coupon-btn { padding: 10px 14px; background: var(--bg-off); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-weight: 600; transition: var(--t); white-space: nowrap; font-family: var(--font); }
.coupon-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-checkout { width: 100%; background: var(--accent); color: #fff; padding: 17px; border-radius: var(--radius); font-size: 17px; font-weight: 800; border: none; transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.btn-checkout:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.4); color: #fff; }
/* WooCommerce proceed to checkout */
.wc-proceed-to-checkout .checkout-button { background: var(--accent) !important; color: #fff !important; padding: 17px !important; border-radius: var(--radius) !important; font-size: 17px !important; font-weight: 800 !important; width: 100% !important; border: none !important; transition: var(--t) !important; display: block !important; text-align: center !important; margin-bottom: 10px !important; }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--accent-dark) !important; }
.reservation-note { background: var(--deal-light); border: 1px solid #FED7AA; border-radius: var(--radius); padding: 10px; text-align: center; font-size: 13px; color: var(--deal); font-weight: 600; margin-top: 10px; }

/* ── CHECKOUT PAGE ── */
.checkout-layout { max-width: 1080px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.checkout-steps { display: flex; align-items: center; margin-bottom: 36px; }
.co-step { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.co-step.active { color: var(--primary); }
.co-step.done { color: var(--green); }
.step-n { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: var(--border); color: var(--text-muted); flex-shrink: 0; }
.co-step.active .step-n { background: var(--primary); color: #fff; }
.co-step.done .step-n { background: var(--green); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 10px; }
.form-section { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 20px; }
.form-section-title { font-size: 17px; font-weight: 800; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.step-icon { width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; flex-shrink: 0; }
/* WooCommerce checkout fields */
.woocommerce-billing-fields, .woocommerce-shipping-fields { margin-bottom: 0; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3 { display: none; }
.woocommerce-checkout .form-row { margin-bottom: 14px; }
.woocommerce-checkout .form-row label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; color: var(--text); }
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea { padding: 11px 15px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-family: var(--font); color: var(--text); outline: none; transition: var(--t); width: 100%; background: #fff; }
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(17,17,17,0.06); }
.woocommerce-checkout .form-row.woocommerce-invalid input { border-color: var(--accent); }
.woocommerce-checkout #order_review { margin: 0; }
/* Payment methods */
.wc_payment_methods { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wc_payment_method { border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: var(--t); }
.wc_payment_method input[type="radio"] { margin-right: 10px; }
.wc_payment_method label { font-weight: 700; font-size: 15px; cursor: pointer; display: flex; align-items: center; }
.wc_payment_method .payment_box { background: var(--bg-off); border-radius: var(--radius-sm); padding: 12px; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.wc_payment_method:has(input:checked) { border-color: var(--primary); background: var(--bg-off); }

.co-summary { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--border); position: sticky; top: 88px; }
.co-sum-title { font-size: 16px; font-weight: 800; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
/* WooCommerce order review table */
#order_review .shop_table { width: 100%; border-collapse: collapse; }
#order_review .shop_table th { font-size: 13px; font-weight: 700; color: var(--text-muted); text-align: left; padding: 6px 0; border-bottom: 1px solid var(--border); }
#order_review .shop_table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
#order_review .shop_table .order-total td, #order_review .shop_table .order-total th { font-size: 18px; font-weight: 900; border-bottom: none; padding-top: 14px; }
#order_review .shop_table .order-total td .woocommerce-Price-amount { color: var(--accent); }
.btn-order { width: 100%; background: var(--green); color: #fff; padding: 17px; border-radius: var(--radius); font-size: 16px; font-weight: 800; border: none; transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.btn-order:hover { background: #166534; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,163,74,0.4); color: #fff; }
/* WooCommerce place order button */
#place_order { background: var(--green) !important; color: #fff !important; padding: 17px !important; border-radius: var(--radius) !important; font-size: 16px !important; font-weight: 800 !important; border: none !important; transition: var(--t) !important; width: 100% !important; margin-top: 14px !important; }
#place_order:hover { background: #166534 !important; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ── NOTIFICATION ── */
.notif { position: fixed; bottom: 24px; left: 24px; background: #fff; border-radius: var(--radius-lg); padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 300px; z-index: 200; border: 1px solid var(--border); animation: notif-in .4s ease; }
@keyframes notif-in { from{transform:translateX(-120%);opacity:0} to{transform:translateX(0);opacity:1} }
.notif-icon { width: 36px; height: 36px; background: var(--accent-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.notif-text strong { display: block; font-size: 13px; font-weight: 700; }
.notif-text span { font-size: 11px; color: var(--text-muted); }

/* ── WooCommerce notices ── */
.woocommerce-notices-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
