/* =========================================================
   House Of Fashion | Main Stylesheet
   Theme: Dark (default) + Light Mode
   ========================================================= */

/* CSS Variables - Dark Theme */
:root {
    --bg-primary:      #0a0a0a;
    --bg-secondary:    #161616;
    --text-main:       #f4f4f4;
    --text-muted:      #909090;
    --border-color:    #2c2c2c;
    --accent-primary:  #00ffcc;
    --accent-secondary:#ff006e;
    --accent-glow:     rgba(0, 255, 204, 0.35);
    --glass-bg:        rgba(22, 22, 22, 0.75);
    --shadow:          0 8px 32px rgba(0, 0, 0, 0.6);
    --radius:          10px;
    --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-h:          'Outfit', sans-serif;
    --font-b:          'Inter', sans-serif;
    --nav-h:           80px;
}

/* Light Theme Override */
body.light-theme {
    --bg-primary:      #f8f8f8;
    --bg-secondary:    #efefef;
    --text-main:       #111111;
    --text-muted:      #555555;
    --border-color:    #dedede;
    --accent-primary:  #008f70;
    --accent-secondary:#cc0055;
    --accent-glow:     rgba(0, 143, 112, 0.3);
    --glass-bg:        rgba(255, 255, 255, 0.85);
    --shadow:          0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-b);
    line-height: 1.65;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-h); cursor: pointer; border: none; outline: none; }
input, textarea, select { font-family: var(--font-b); outline: none; }

/* ── Typography & Utilities ── */
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 800; line-height: 1.15; }
.accent-text       { color: var(--accent-primary); }
.accent-secondary-text { color: var(--accent-secondary); }
.gradient-text     { background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.outline-text      { -webkit-text-stroke: 2px var(--text-main); color: transparent; }
.outline-text-hot  { -webkit-text-stroke: 2px var(--accent-secondary); color: transparent; }
.muted-text        { color: var(--text-muted); }
.text-center       { text-align: center; }

.layout-container  { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-padding   { padding-top: 80px; padding-bottom: 80px; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* Page enter animation */
.fade-enter { animation: fadeIn 0.45s ease both; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent-primary); color: #000;
    padding: 12px 26px; font-weight: 800; text-transform: uppercase;
    border-radius: var(--radius); transition: var(--transition);
}
.btn-primary:hover { box-shadow: 0 0 18px var(--accent-glow); transform: translateY(-2px); }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text-main);
    border: 2px solid var(--text-main);
    padding: 10px 24px; font-weight: 600;
    border-radius: var(--radius); transition: var(--transition);
}
.btn-outline:hover { background: var(--text-main); color: var(--bg-primary); }

.btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #25D366; color: #fff;
    padding: 12px 24px; font-weight: 600;
    border-radius: var(--radius); transition: var(--transition);
    width: 100%;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.btn-danger {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: transparent; color: var(--accent-secondary);
    border: 1px solid var(--accent-secondary);
    padding: 10px 18px; border-radius: var(--radius); transition: var(--transition);
}
.btn-danger:hover { background: var(--accent-secondary); color: #fff; }

.sm   { padding: 8px 16px !important; font-size: 0.9rem !important; }
.large { padding: 16px 34px !important; font-size: 1.1rem !important; }
.full-width { width: 100%; justify-content: center; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-h);
    background: var(--glass-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; padding: 0 5%; max-width: 1380px; margin: 0 auto;
}
.logo {
    font-family: var(--font-h); font-size: 2rem; font-weight: 900;
    letter-spacing: 3px; text-decoration: none !important;
}
.logo-o { color: var(--accent-primary); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
    font-weight: 500; text-transform: uppercase; font-size: 0.88rem;
    color: var(--text-main); transition: color 0.25s;
}
.nav-links a:hover { color: var(--accent-primary); }
.nav-links a.nav-highlight { color: var(--accent-primary); }

.nav-icons { display: flex; gap: 18px; align-items: center; font-size: 1.4rem; }
.icon-btn { position: relative; cursor: pointer; color: var(--text-main); transition: color 0.25s; display: flex; align-items: center; }
.icon-btn:hover { color: var(--accent-primary); }

.cart-count {
    position: absolute; top: -8px; right: -10px;
    background: var(--accent-secondary); color: #fff;
    font-size: 0.68rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; font-size: 1.8rem; color: var(--text-main); }

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed; top: 0; right: -320px; width: 280px; height: 100vh;
    background: var(--bg-secondary); border-left: 1px solid var(--border-color);
    padding: 80px 30px 30px; z-index: 1001;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; background: none; color: var(--text-main); font-size: 2rem; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu a { font-size: 1.5rem; font-family: var(--font-h); font-weight: 700; color: var(--text-main); }
.mobile-menu a.mobile-highlight { color: var(--accent-primary); }

/* ── Cart Sidebar ── */
.cart-sidebar {
    position: fixed; top: 0; right: -420px; width: 400px; height: 100vh;
    background: var(--bg-secondary); border-left: 1px solid var(--border-color);
    z-index: 1002; display: flex; flex-direction: column;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.cart-sidebar.active { right: 0; }
.cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 22px 20px; border-bottom: 1px solid var(--border-color);
}
.cart-header h2 { font-size: 1.4rem; }
.cart-header button { background: none; color: var(--text-main); font-size: 1.8rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-footer {
    padding: 20px; border-top: 1px solid var(--border-color);
    background: var(--bg-primary);
}
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.cart-tax-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.cart-actions { display: flex; flex-direction: column; gap: 10px; }

.cart-overlay-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 1001; opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.cart-overlay-bg.active { opacity: 1; pointer-events: all; }

/* Cart Item */
.cart-item { display: flex; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border-color); }
.cart-item img { width: 78px; height: 95px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ci-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.ci-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty-ctrl { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border-color); border-radius: 20px; padding: 4px 14px; }
.qty-ctrl button { background: none; border: none; color: var(--text-main); font-size: 1.1rem; cursor: pointer; line-height: 1; }
.remove-btn { background: none; border: none; color: var(--accent-secondary); font-size: 1.2rem; cursor: pointer; }
.empty-cart-msg { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.empty-cart-msg ion-icon { font-size: 3rem; margin-bottom: 12px; display: block; }

/* ── Glass Panel ── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

/* ── Forms ── */
.form-input {
    width: 100%; padding: 13px 15px;
    background: var(--bg-primary); border: 1px solid var(--border-color);
    color: var(--text-main); border-radius: var(--radius);
    font-family: var(--font-b); font-size: 0.95rem;
    transition: border-color 0.25s;
}
.form-input:focus { border-color: var(--accent-primary); }
.form-select { appearance: none; cursor: pointer; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.9rem; }

/* ── Hero Section ── */
.hero-section {
    position: relative; min-height: 88vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 5%; margin-top: var(--nav-h);
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, var(--bg-primary) 100%);
}
body.light-theme .hero-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, var(--bg-primary) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-title { font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1; margin: 18px 0; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-pill {
    display: inline-block; padding: 6px 18px; border-radius: 100px;
    background: rgba(0, 255, 204, 0.1); color: var(--accent-primary);
    font-size: 0.82rem; font-weight: 700; border: 1px solid var(--accent-primary);
}
body.light-theme .badge-pill { background: rgba(0, 143, 112, 0.1); }
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
    70%  { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── Section Header ── */
.section-header { margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.section-header.center { text-align: center; }

/* ── Product Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}
.product-card {
    background: var(--bg-secondary); border-radius: var(--radius);
    border: 1px solid var(--border-color); overflow: hidden;
    cursor: pointer; transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); border-color: var(--accent-primary); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.p-image-wrap { position: relative; height: 340px; overflow: hidden; }
.p-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .p-image-wrap img { transform: scale(1.06); }
.p-tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; }
.tag { display: inline-block; padding: 3px 9px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; border-radius: 4px; color: #fff; }
.tag.sale    { background: var(--accent-secondary); }
.tag.new     { background: var(--accent-primary); color: #000; }
.tag.trending { background: #f59e0b; color: #000; }
.p-info { padding: 18px; }
.p-cat   { font-size: 0.78rem; text-transform: uppercase; color: var(--text-muted); font-weight: 600; letter-spacing: 0.08em; }
.p-title { font-size: 1.1rem; font-family: var(--font-b); font-weight: 600; margin: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-price-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.p-price { font-size: 1.2rem; font-weight: 800; color: var(--accent-primary); }
.p-old-price { font-size: 0.9rem; text-decoration: line-through; color: var(--text-muted); }
.p-add-btn {
    width: 100%; margin-top: 14px; padding: 10px;
    background: transparent; border: 1px solid var(--border-color);
    color: var(--text-main); border-radius: var(--radius); font-family: var(--font-h);
    text-transform: uppercase; font-weight: 700; font-size: 0.9rem;
    transition: var(--transition);
}
.p-add-btn:hover { background: var(--accent-primary); border-color: var(--accent-primary); color: #000; }
.empty-msg { color: var(--text-muted); font-size: 1rem; padding: 20px 0; }

/* ── Promo Section ── */
.custom-promo-section { background: var(--bg-secondary); padding: 80px 0; border-top: 1px solid var(--border-color); }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.promo-image-wrapper img { border-radius: var(--radius); box-shadow: var(--shadow); }
.promo-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.promo-desc { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 10px; }
.feature-list { list-style: none; margin: 24px 0; }
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 1.05rem; }
.feature-list ion-icon { color: var(--accent-primary); font-size: 1.3rem; flex-shrink: 0; }

/* ── Page Banner ── */
.page-banner {
    text-align: center; padding: calc(var(--nav-h) + 60px) 5% 60px;
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.page-banner p { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px; }

/* ── Shop Page ── */
.search-bar-wrap {
    display: flex; gap: 16px; align-items: center;
    margin-bottom: 50px; flex-wrap: wrap;
}
.search-bar {
    flex: 1; display: flex; align-items: center; gap: 12px;
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 12px 18px; border-radius: var(--radius);
    transition: border-color 0.25s;
}
.search-bar:focus-within { border-color: var(--accent-primary); }
.search-bar ion-icon { font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; }
.search-bar input { flex: 1; background: none; border: none; color: var(--text-main); font-size: 1rem; }
.search-bar input::placeholder { color: var(--text-muted); }
.clear-search { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; display: none; align-items: center; }
.sort-wrap .sort-select {
    padding: 13px 18px; background: var(--bg-secondary);
    border: 1px solid var(--border-color); color: var(--text-main);
    border-radius: var(--radius); appearance: none; cursor: pointer; min-width: 200px;
}
.result-count { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; display: block; }

.collection-block .collection-header { margin-bottom: 28px; }
.collection-block .collection-header h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 10px; }
.collection-line { height: 3px; width: 60px; background: var(--accent-primary); border-radius: 2px; }
.collection-line.red { background: var(--accent-secondary); }

.custom-cta-banner {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
    background: var(--glass-bg); border: 1px solid var(--accent-primary);
    border-radius: var(--radius); padding: 30px; margin-top: 30px;
}
.custom-cta-banner h3 { font-size: 1.3rem; margin-bottom: 5px; }
.custom-cta-banner p { color: var(--text-muted); }

/* ── About Page ── */
.about-hero {
    min-height: 40vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: var(--nav-h);
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    overflow: hidden; position: relative;
}
.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, var(--accent-glow), transparent);
    pointer-events: none;
}
.about-hero-content { position: relative; z-index: 1; padding: 60px 20px; }
.about-hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.about-hero-content p { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.about-image-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-image-wrap img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-badge {
    position: absolute; bottom: 16px; right: 16px;
    background: var(--glass-bg); backdrop-filter: blur(8px);
    border: 1px solid var(--border-color); padding: 8px 18px;
    border-radius: 50px; font-weight: 700; display: flex; gap: 7px; align-items: center;
}
.image-badge ion-icon { color: #f59e0b; }

.trust-metrics-section {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin: 70px 0;
}
.trust-metric {
    text-align: center; padding: 30px;
    background: var(--bg-secondary); border-radius: var(--radius);
    border: 1px solid var(--border-color);
}
.metric-icon { font-size: 2rem; color: var(--accent-primary); margin-bottom: 14px; }
.trust-metric h3 { font-size: 2.2rem; color: var(--accent-primary); margin-bottom: 6px; }
.trust-metric span { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

.values-section { margin-bottom: 70px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 36px 28px; text-align: center; transition: var(--transition); }
.value-card:hover { border-color: var(--accent-primary); }
.value-card ion-icon { font-size: 2.5rem; color: var(--accent-primary); margin-bottom: 16px; display: block; }
.value-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

.map-section { }
.map-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 0; overflow: hidden; padding: 0; border-radius: var(--radius); }
.map-info { padding: 36px; background: var(--bg-secondary); }
.map-info h3 { font-size: 1.4rem; margin-bottom: 24px; }
.map-detail { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.map-detail ion-icon { font-size: 1.5rem; color: var(--accent-primary); flex-shrink: 0; margin-top: 2px;}
.map-detail strong { display: block; margin-bottom: 3px; }
.map-detail p { color: var(--text-muted); font-size: 0.95rem; }
.map-embed { min-height: 380px; }
.map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Contact Page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-side h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.contact-lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 28px; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; transition: var(--transition); }
.contact-card:hover { border-color: var(--accent-primary); }
.contact-icon-wrap {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,255,204,0.1); color: var(--accent-primary);
    border-radius: 50%; font-size: 1.5rem; flex-shrink: 0;
}
.contact-icon-wrap.phone   { background: rgba(0,150,255,0.1); color: #0096ff; }
.contact-icon-wrap.location { background: rgba(255,100,0,0.1); color: #ff6400; }
.contact-icon-wrap.time    { background: rgba(150,0,255,0.1); color: #9600ff; }
.contact-card-text h4 { font-size: 1rem; margin-bottom: 3px; }
.contact-card-text p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; }

.contact-form-side { padding: 36px; }
.contact-form-side h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-form-side p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.form-success-msg {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 30px;
}
.form-success-msg ion-icon { font-size: 3.5rem; color: var(--accent-primary); margin-bottom: 14px; }
.form-success-msg h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success-msg p { color: var(--text-muted); }

/* ── Design Studio Page ── */
.studio-main { padding-top: var(--nav-h); }
.studio-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 5%; background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.studio-header-text h1 { font-size: 2rem; }
.studio-header-text p { color: var(--text-muted); font-size: 0.95rem; margin-top: 4px; }
.studio-live-price-header { text-align: right; }
.studio-live-price-header span { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 3px; }
.studio-live-price-header strong { font-size: 1.6rem; color: var(--accent-primary); }

.studio-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding-top: 40px; padding-bottom: 80px; }

.studio-canvas-panel { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.canvas-scene {
    position: relative; width: 100%; max-width: 500px;
    aspect-ratio: 5/6; background: var(--bg-secondary);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border-color);
}
.shirt-preview-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.fabric-canvas-wrap {
    position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
    width: 46%; height: 54%; border: 1px dashed rgba(200,200,200,0.2);
    border-radius: 4px; overflow: hidden;
}

.shirt-color-row { display: flex; align-items: center; gap: 16px; }
.shirt-color-row span { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.color-swatches { display: flex; gap: 12px; }
.swatch {
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    border: 2px solid transparent; transition: var(--transition);
}
.swatch:hover { transform: scale(1.15); }
.swatch.active { border-color: var(--accent-primary); outline: 2px solid var(--accent-primary); outline-offset: 2px; }

.studio-controls-panel { display: flex; flex-direction: column; gap: 18px; }
.studio-step { display: flex; gap: 16px; padding: 22px; }
.step-num {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-primary); color: #000; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem; flex-shrink: 0;
}
.step-num.active-step { background: var(--accent-secondary); color: #fff; font-size: 1.2rem; }
.step-content { flex: 1; }
.step-content h3 { font-size: 1rem; margin-bottom: 14px; }
.text-options-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.half { flex: 1; }
.upload-zone {
    border: 2px dashed var(--border-color); border-radius: var(--radius);
    padding: 28px; text-align: center; cursor: pointer; transition: var(--transition);
}
.upload-zone:hover { border-color: var(--accent-primary); background: rgba(0,255,204,0.03); }
.upload-zone ion-icon { font-size: 2.2rem; color: var(--accent-primary); margin-bottom: 8px; display: block; }
.upload-zone p { font-weight: 600; font-size: 0.95rem; }
.upload-zone span { font-size: 0.8rem; color: var(--text-muted); }

.studio-price-box { padding: 22px; }
.price-breakdown { display: flex; flex-direction: column; gap: 10px; }
.price-row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.price-divider { height: 1px; background: var(--border-color); margin: 6px 0; }
.total-row { font-size: 1.1rem; }
.price-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }
.studio-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Size Selector ── */
.size-selector { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn {
    flex: 1; min-width: 48px; text-align: center; padding: 10px;
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius); cursor: pointer; font-weight: 700;
    font-family: var(--font-h); transition: var(--transition);
}
.size-btn:hover { border-color: var(--text-main); }
.size-btn.active { background: var(--text-main); color: var(--bg-primary); border-color: var(--text-main); }

/* ── Checkout Page ── */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.checkout-form-wrap { padding: 36px; }
.checkout-form-wrap h2 { font-size: 1.8rem; margin-bottom: 6px; }
.payment-method-box {
    display: flex; gap: 16px; padding: 18px;
    border: 2px solid var(--accent-primary); border-radius: var(--radius);
    background: rgba(0,255,204,0.04);
}
.pm-icon { font-size: 2rem; color: var(--accent-primary); flex-shrink: 0; }
.payment-method-box strong { display: block; margin-bottom: 4px; }
.payment-method-box p { color: var(--text-muted); font-size: 0.9rem; }

.order-summary-box { padding: 28px; }
.order-summary-box h3 { font-size: 1.3rem; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 14px; }
.co-items-list { display: flex; flex-direction: column; gap: 16px; max-height: 340px; overflow-y: auto; }
.co-item { display: flex; gap: 14px; align-items: center; }
.co-item img { width: 64px; height: 78px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.co-item > div { flex: 1; }
.co-item strong { display: block; font-size: 0.95rem; }
.co-item p { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.co-item > strong { font-size: 1rem; flex-shrink: 0; color: var(--accent-primary); }
.co-totals { margin-top: 20px; border-top: 1px solid var(--border-color); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.co-row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.total-row { font-size: 1.25rem; border-top: 1px solid var(--border-color); padding-top: 12px; margin-top: 4px; }

.checkout-guarantee { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 10px; padding: 18px; }
.guarantee-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.guarantee-item ion-icon { color: var(--accent-primary); font-size: 1.2rem; }

/* ── Modals ── */
.modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.82);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal.show { opacity: 1; pointer-events: all; }
.modal-content {
    background: var(--bg-secondary); padding: 44px; border-radius: var(--radius);
    width: 90%; max-width: 480px; position: relative;
    border: 1px solid var(--border-color); box-shadow: var(--shadow);
    transform: translateY(20px); transition: transform 0.35s;
}
.modal.show .modal-content { transform: translateY(0); }
.close-modal { position: absolute; top: 14px; right: 14px; background: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }
.success-icon-wrap { font-size: 4rem; color: var(--accent-primary); margin-bottom: 16px; }

/* ── Toast ── */
.toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
    background: var(--bg-secondary); color: var(--text-main);
    padding: 14px 24px; border-radius: var(--radius);
    border: 1px solid var(--border-color); border-left: 4px solid var(--accent-primary);
    box-shadow: var(--shadow); animation: slideInToast 0.3s ease both;
    font-size: 0.95rem;
}
@keyframes slideInToast { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Footer ── */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); position: relative; }
.footer-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 1px; width: 60%; background: linear-gradient(90deg, transparent, var(--accent-primary), transparent); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 60px 5%; max-width: 1380px; margin: 0 auto; }
.footer-brand h2 { font-size: 2rem; }
.footer-brand p { color: var(--text-muted); margin-top: 14px; font-size: 0.95rem; }
.footer-links h3, .footer-info h3 { font-size: 1.1rem; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); transition: color 0.25s; }
.footer-links a:hover, .footer-links a.accent-text { color: var(--accent-primary); }
.footer-info p { color: var(--text-muted); display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.accent-icon { color: var(--accent-primary); }
.footer-bottom { text-align: center; padding: 20px 5%; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.88rem; }

/* ── Navbar Scroll Shrink ── */
.navbar.scrolled { height: 64px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

/* ── Trust Bar ── */
.trust-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
}
.trust-bar-inner {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 10px 20px;
}
.tb-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
}
.tb-item ion-icon { color: var(--accent-primary); font-size: 1.1rem; }
.tb-sep { color: var(--border-color); font-size: 1.2rem; }

/* ── WhatsApp CTA Section ── */
.wa-cta-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}
.wa-cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.wa-cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.wa-cta-inner p { color: var(--text-muted); max-width: 500px; }

/* ── Border Utility ── */
.border-t { border-top: 1px solid var(--border-color); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .studio-layout { grid-template-columns: 1fr; }
    .studio-controls-panel { display: grid; grid-template-columns: 1fr 1fr; }
    .studio-actions, .studio-price-box { grid-column: 1 / -1; }
    .checkout-grid { grid-template-columns: 1fr; }
    .map-wrapper { grid-template-columns: 1fr; }
    .map-embed { min-height: 280px; }
    .trust-metrics-section { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .promo-grid, .about-grid, .contact-layout, .values-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero-cta-group { flex-direction: column; align-items: center; }
    .footer-content { grid-template-columns: 1fr; }
    .trust-metrics-section { grid-template-columns: 1fr 1fr; }
    .search-bar-wrap { flex-direction: column; }
    .sort-wrap .sort-select { width: 100%; }
    .cart-sidebar { width: 100%; right: -100%; }
    .studio-controls-panel { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
}
