/* ===== ÉDITION — Luxury Sneaker E-commerce ===== */
/* ===== Brand DNA: Olive + Cream + Gold + Diagonal Slash + Grain ===== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --olive: #1E2D23;
    --olive-light: #2A3E30;
    --cream: #F2EDE4;
    --cream-dark: #E8E0D4;
    --gold: #A08C5B;
    --gold-light: #C4B078;
    --dark: #0A0A0A;
    --text: #333333;
    --text-muted: #888888;
    --white: #FFFFFF;
    --border: #D8D2C8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Grain Texture --- */
.grain {
    position: relative;
}

.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Diagonal Slash Motif --- */
.slash-separator {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.slash-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 1px;
    background: var(--gold);
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

.section-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 48px;
    color: var(--dark);
}

.section-title-underline {
    position: relative;
    display: inline-block;
}

.section-title-underline::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--gold);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 44px;
    transition: all 0.4s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--olive);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--olive-light);
}

.btn-outline {
    background: transparent;
    color: var(--olive);
    border: 1px solid var(--olive);
}

.btn-outline:hover {
    background: var(--olive);
    color: var(--white);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, transform 0.35s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-scrolled {
    background: var(--olive);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar-scrolled .navbar-logo {
    color: var(--white);
}

.navbar-scrolled .navbar-links a {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-scrolled .navbar-links a:hover {
    color: var(--white);
}

.navbar-scrolled .navbar-links a::after {
    background: var(--gold);
}

.navbar-scrolled .icon-btn {
    color: var(--white);
}

.navbar-scrolled .hamburger span {
    background: var(--white);
}

.navbar-scrolled .cart-badge {
    background: var(--gold);
    color: var(--white);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.navbar-logo {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--olive);
    transition: color 0.4s ease;
}

.navbar-links {
    display: flex;
    gap: 40px;
}

.navbar-links a {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text);
    transition: color 0.3s ease;
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--olive);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-links a:hover {
    color: var(--olive);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--olive);
    transition: color 0.4s ease, opacity 0.3s;
}

.icon-btn:hover {
    opacity: 0.6;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--olive);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding-top: 76px;
}

/* Diagonal decorative line in hero background */
.hero-slash {
    position: absolute;
    top: 15%;
    right: 35%;
    width: 300px;
    height: 1px;
    background: var(--gold);
    opacity: 0.15;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 1;
}

.hero-slash-2 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 200px;
    height: 1px;
    background: var(--gold);
    opacity: 0.1;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--gold);
    display: block;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--olive);
    margin-bottom: 28px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 44px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    margin-right: -80px;
}

.hero-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    transition: filter 0.6s ease;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: var(--gold);
    position: relative;
    overflow: hidden;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--olive);
    animation: scrollArrow 1.5s ease infinite;
}

@keyframes scrollArrow {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* --- Brand DNA / Notre philosophie --- */
.brand-dna {
    background: var(--olive);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.brand-dna .section-label {
    color: var(--gold);
    text-align: center;
}

.brand-dna .section-title {
    text-align: center;
    color: var(--white);
    margin-bottom: 64px;
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.dna-item {
    padding: 0 48px;
    position: relative;
}

/* Gold slash separator between columns */
.dna-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.dna-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
    line-height: 1;
}

.dna-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: var(--white);
}

.dna-item p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.55);
}

/* --- Products Section --- */
.section-products {
    padding: 120px 0;
}

.section-products.bg-cream {
    background: var(--cream);
}

.section-products.bg-white {
    background: var(--white);
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 56px;
}

.section-header .section-title {
    margin-bottom: 0;
}

.section-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s;
}

.section-link:hover {
    color: var(--olive);
}

/* Product Grid */
.product-grid {
    display: grid;
    gap: 28px;
}

.product-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Product Card */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card-link {
    display: block;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.product-grid-2x2 .product-card-image {
    aspect-ratio: 4 / 3;
}

.product-grid-4 .product-card-image {
    aspect-ratio: 3 / 4;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* Diagonal slash on hover */
.product-card-image::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transform: rotate(-45deg);
    transition: top 0.6s ease, left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.product-card:hover .product-card-image::before {
    top: 50%;
    left: 0;
}

/* Warm cream tint on hover */
.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(242, 237, 228, 0);
    transition: background 0.6s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-card-image::after {
    background: rgba(242, 237, 228, 0.15);
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-info {
    padding: 18px 0;
}

.product-card-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.product-card-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 6px;
}

.product-card-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--olive);
}

.btn-add-to-cart {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    background: var(--olive);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    z-index: 4;
}

.product-card:hover .btn-add-to-cart {
    opacity: 1;
    transform: translateY(0);
}

.btn-add-to-cart:hover {
    background: var(--olive-light);
}

/* --- Banner --- */
.banner {
    position: relative;
    height: 560px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 45, 35, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

/* Decorative diagonal slashes on banner */
.banner-slash {
    position: absolute;
    width: 200px;
    height: 1px;
    background: var(--gold);
    opacity: 0.2;
    transform: rotate(-45deg);
    pointer-events: none;
}

.banner-slash-1 {
    top: 20%;
    left: 10%;
}

.banner-slash-2 {
    bottom: 15%;
    right: 8%;
}

.banner-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: var(--gold-light);
}

.banner-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 36px;
    max-width: 700px;
    line-height: 1.15;
}

.banner-link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 6px;
    transition: color 0.3s, border-color 0.3s;
}

.banner-link:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

/* --- Notre Histoire --- */
.notre-histoire {
    background: var(--cream);
    padding: 120px 0;
    position: relative;
}

.histoire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.histoire-image-block {
    background: var(--olive);
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.histoire-monogram {
    font-family: var(--font-serif);
    font-size: 12rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    user-select: none;
    position: absolute;
}

.histoire-image-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    position: relative;
    z-index: 2;
}

.histoire-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--olive);
    margin-bottom: 28px;
}

.histoire-right p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.text-link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    transition: color 0.3s;
}

.text-link:hover {
    color: var(--olive);
}

/* --- Services --- */
.services {
    background: var(--olive);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-item {
    padding: 28px 32px;
    position: relative;
}

/* Gold border between columns */
.service-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.25;
}

.service-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.service-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

/* --- Newsletter --- */
.newsletter {
    background: var(--cream);
    padding: 120px 0;
    position: relative;
}

.newsletter-inner {
    max-width: 580px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--olive);
}

.newsletter-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 22px;
    border: 1px solid var(--olive);
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s;
    background: transparent;
    color: var(--olive);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* --- Footer --- */
.footer {
    background: var(--olive);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Large ÉD. watermark */
.footer-watermark {
    position: absolute;
    top: -40px;
    right: -20px;
    font-family: var(--font-serif);
    font-size: 28rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Shop Page --- */
.shop-header {
    padding-top: 120px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.shop-header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.shop-title {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--olive);
    display: inline;
}

.shop-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 12px;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-sort label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.shop-sort select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 13px;
    color: var(--text);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.shop-products {
    padding-top: 60px;
}

/* --- Product Detail Page --- */
.product-detail {
    padding-top: 100px;
    padding-bottom: 80px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.breadcrumb a {
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--olive);
}

.breadcrumb-sep {
    margin: 0 10px;
    color: var(--border);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.product-detail-image {
    background: var(--cream);
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
}

.product-detail-brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.product-detail-name {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--olive);
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-detail-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--olive);
    display: block;
    margin-bottom: 28px;
}

.product-detail-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.product-detail-story {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    margin-bottom: 36px;
}

.product-detail-story-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--olive);
    margin-bottom: 14px;
}

.product-detail-story p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Size Selector */
.size-selector {
    margin-bottom: 28px;
}

.size-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--olive);
    display: block;
    margin-bottom: 14px;
}

.size-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.size-btn:hover {
    border-color: var(--olive);
}

.size-btn.active {
    background: var(--olive);
    color: var(--white);
    border-color: var(--olive);
}

.btn-add-to-cart-detail {
    width: 100%;
    padding: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 20px;
}

.product-detail-services {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.02em;
}

.related-products {
    border-top: 1px solid var(--border);
}

.related-products .section-title {
    text-align: center;
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.5s ease;
}

.size-error {
    color: #c00;
    font-size: 13px;
    margin-top: 12px;
    font-weight: 500;
}

/* --- Notification --- */
.notification {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--olive);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 16px 40px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 9999;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Cart Panel --- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 45, 35, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: var(--white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.cart-panel.open {
    transform: translateX(0);
}

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.cart-panel-header h3 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--olive);
}

.cart-panel-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--olive);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.cart-panel-close:hover {
    opacity: 0.6;
}

.cart-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.cart-empty {
    text-align: center;
    padding: 80px 28px;
    font-size: 14px;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: var(--cream);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--olive);
}

.cart-item-size {
    font-size: 12px;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--olive);
    margin-top: 4px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
    transition: background 0.15s;
}

.qty-btn:hover {
    background: var(--cream);
}

.cart-item-qty span {
    width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: color 0.15s;
}

.cart-item-remove:hover {
    color: #c00;
}

.cart-panel-footer {
    border-top: 1px solid var(--border);
    padding: 24px 28px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-total span:first-child {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--olive);
}

.cart-total span:last-child {
    font-size: 20px;
    font-weight: 600;
    color: var(--olive);
}

.cart-checkout-btn {
    width: 100%;
    padding: 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}

.cart-footer-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ============================== */
/* --- Responsive --- */
/* ============================== */

@media (max-width: 1024px) {
    .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-inner {
        gap: 40px;
    }

    .hero-image {
        margin-right: -40px;
    }

    .histoire-grid {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-detail-grid {
        gap: 40px;
    }

    .dna-item {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .navbar-inner {
        padding: 0 24px;
    }

    .hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--olive);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        z-index: 999;
    }

    .navbar-links.open {
        opacity: 1;
        visibility: visible;
    }

    .navbar-links a {
        font-size: 14px;
        letter-spacing: 0.2em;
        color: var(--white) !important;
    }

    .hero {
        min-height: auto;
        padding-top: 76px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px 60px;
    }

    .hero-image {
        order: -1;
        margin-right: 0;
    }

    .hero-image img {
        height: 380px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .hero-slash, .hero-slash-2 {
        display: none;
    }

    .brand-dna {
        padding: 80px 0;
    }

    .dna-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dna-item {
        padding: 0;
    }

    .dna-item:not(:last-child)::after {
        width: 60px;
        height: 1px;
        top: auto;
        right: auto;
        bottom: -20px;
        left: 0;
        background: var(--gold);
        opacity: 0.3;
    }

    .section-products {
        padding: 80px 0;
    }

    .product-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        height: 400px;
    }

    .banner-title {
        font-size: 2rem;
        padding: 0 24px;
    }

    .histoire-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .histoire-image-block {
        height: 320px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-item:nth-child(2)::after {
        display: none;
    }

    .newsletter {
        padding: 80px 0;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-watermark {
        font-size: 16rem;
    }

    .shop-header {
        padding-top: 100px;
    }

    .shop-header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .product-detail {
        padding-top: 88px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-image img {
        min-height: 300px;
    }

    .product-detail-name {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }

    .scroll-indicator {
        display: none;
    }

    .btn-add-to-cart {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        bottom: auto;
        margin-top: -1px;
    }
}

@media (max-width: 480px) {
    .product-grid-2x2,
    .product-grid-4 {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item:not(:last-child)::after {
        width: 100%;
        height: 1px;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        background: var(--gold);
        opacity: 0.15;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .size-btn {
        width: 46px;
        height: 46px;
    }

    .footer-watermark {
        font-size: 10rem;
    }

    .histoire-monogram {
        font-size: 8rem;
    }
}
