 /* ============================================================
   EVERYTHING LEATHER - CORE BRANDING (MASTER V1.7)
   ============================================================ */

:root {
    --primary-dark: #212529;
    --accent-gold: #c5a059;
    --bg-light: #f8f9fa;
    --border-color: #eeeeee;
}

* { box-sizing: border-box; }

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Inter', sans-serif !important;
    color: var(--primary-dark);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, .font-serif, .navbar-brand {
    font-family: 'Playfair Display', serif !important;
}

/* --- NAVIGATION --- */
.navbar {
    background-color: var(--primary-dark) !important;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand-logo {
    height: 55px !important;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-gold);
}

/* --- HERO SECTION --- */
#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.section-padding { padding: 6rem 0; }
.text-accent { color: var(--accent-gold) !important; }

/* --- PRODUCT DETAIL ENGINE (STRICT ENFORCEMENT) --- */

.hero-viewport {
    width: 100%;
    position: relative;
    overflow: hidden !important;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    z-index: 5;

}

.hero-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    aspect-ratio: 1/1 !important;
    width: 100% !important;
}

.hero-scroll-container::-webkit-scrollbar { display: none; }

.hero-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    scroll-snap-align: start;
}

.hero-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* --- TYPOGRAPHY & PRICE --- */
.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: var(--primary-dark) !important;
}

.price-tag {
    color: var(--primary-dark) !important;
    font-weight: 700;
    margin-top: 1rem;
    display: block;
    font-size: 1.5rem;
}

/* --- TRUST BADGES (HARDENED GRID) --- */
.badge-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    margin: 2rem 0 !important;
    width: 100% !important;
}

.trust-card {
    background: var(--bg-light) !important;
    border: 1px solid var(--border-color) !important;
    padding: 15px 5px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.trust-card i {
    color: var(--accent-gold) !important;
    margin-bottom: 8px !important;
    font-size: 1.2rem !important;
}

/* --- GALLERY THUMBNAILS (HARDENED SCROLL) --- */
.gallery-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    margin-top: 1rem !important;
    padding-bottom: 10px !important;
    width: 100% !important;
}

.gallery-item {
    flex: 0 0 22% !important;
    min-width: 22% !important;
    max-width: 22% !important;

}

.gallery-thumb {
    border: 2px solid transparent !important;
    cursor: pointer;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
}

.gallery-thumb.active-thumb {
    border-color: var(--accent-gold) !important;
}

/* --- SWATCHES --- */
.colour-swatch {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.colour-swatch.active-swatch {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--accent-gold) !important;
}

.size-pill {
    border-radius: 0;
    border: 1px solid #ddd;
    min-width: 55px;
    transition: all 0.2s ease;
}

/* --- PLACEHOLDER --- */
.workshop-placeholder {
    width: 100%; height: 100%;
    background-color: #faf9f6;
    background-image:
        linear-gradient(rgba(197, 160, 89, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}