/* style.css */
:root {
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Anton', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --bg-color: #fcfcfc;
    --text-color: #1a1a1a;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-800: #262626;
    --ink: #1a1a1a;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.font-display { font-family: var(--font-display); }
.font-serif { font-family: var(--font-serif); }

/* Layout */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-24 { padding-bottom: 6rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.w-full { width: 100%; }
.relative { position: relative; }
.text-neutral-400 { color: var(--neutral-400); }
.text-center { text-align: center; }
.hidden { display: none !important; }

.flex-between { display: flex; justify-content: space-between; }
.flex-between-center { display: flex; justify-content: space-between; align-items: center; }
.flex-between-start { display: flex; justify-content: space-between; align-items: flex-start; }

.text-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1rem;
    margin-top: 1rem;
}

.mt-12 { margin-top: 3rem; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 5rem;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 3rem;
        font-size: 0.875rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
}

.nav-links a, .nav-logo {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--neutral-500);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-btn {
    padding: 0.5rem;
    border-radius: 9999px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
}

.icon-btn:hover {
    background-color: var(--neutral-100);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 1rem;
    height: 1rem;
    background-color: black;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Darker overlay for better readability */
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white; /* White text for contrast */
}

.hero-content h1 {
    font-size: 15vw;
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 12vw;
    }
}

.hero-subtitle {
    display: block;
    margin-bottom: 1rem;
}

.hero-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }

.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-black {
    background-color: black;
    color: white;
}

.btn-black:hover {
    background-color: var(--neutral-800);
}

.btn-outline {
    border: 1px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

/* Marquee */
.marquee {
    padding: 3rem 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    overflow: hidden;
    background-color: black;
    color: white;
}

.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    gap: 6rem;
    font-size: 4rem;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 3rem;
}

@media (min-width: 768px) {
    .marquee-content {
        font-size: 6rem;
    }
}

/* Categories */
.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.category-card:hover .category-overlay {
    background-color: rgba(0,0,0,0.4);
}

.category-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    color: white;
}

.category-title {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.category-link {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid white;
    text-decoration: none;
    color: inherit;
    padding-bottom: 0.25rem;
    transition: opacity 0.2s;
}

.category-link:hover {
    opacity: 0.8;
}

/* Grid */
.grid {
    display: grid;
    gap: 3rem;
}

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

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

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

/* Section Header */
.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    gap: 1.5rem;
}

.section-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--neutral-400);
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    line-height: 1;
}

.page-title {
    font-size: clamp(4rem, 12vw, 8rem);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.05em;
}

/* Filters */
.filter-group {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--neutral-200);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: black;
}

.filter-btn-active {
    padding: 0.5rem 1.5rem;
    border: 1px solid black;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    background: black;
    color: white;
}

/* Product Card */
.product-card {
    cursor: pointer;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--neutral-100);
    margin-bottom: 1.5rem;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.add-to-cart-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background-color: black;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: translateY(100%);
    transition: transform 0.3s;
    border: none;
}

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: white;
    padding: 0.25rem 0.75rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-sale {
    background-color: black;
    color: white;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.product-price {
    color: var(--neutral-500);
    font-size: 0.875rem;
}

.price-old {
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* Editorial Section */
.bg-neutral-100 {
    background-color: var(--neutral-100);
}

.editorial-img-wrapper {
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

.editorial-detail-img {
    position: absolute;
    bottom: -3rem;
    right: -3rem;
    width: 18rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    border: 12px solid white;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    display: none;
}

@media (min-width: 768px) {
    .md-block { display: block; }
}

.editorial-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--neutral-400);
    margin-bottom: 1.5rem;
    display: block;
}

.editorial-title {
    font-style: italic;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.editorial-text {
    color: var(--neutral-600);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 32rem;
}

.manifesto-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.manifesto-text {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid black;
    padding-bottom: 0.25rem;
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s;
}

.manifesto-link:hover .arrow-icon {
    transform: translateX(0.5rem);
}

/* Newsletter */
.newsletter-container {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-title {
    font-size: clamp(3rem, 8vw, 5rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.newsletter-text {
    color: var(--neutral-500);
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .md-row { flex-direction: row; }
}

.newsletter-input {
    flex: 1;
    padding: 1.25rem 2rem;
    border: 1px solid var(--neutral-200);
    outline: none;
    font-size: 0.875rem;
}

/* Cart Page */
.cart-title {
    font-size: clamp(4rem, 12vw, 8rem);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.05em;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
}

@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cart-item {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--neutral-100);
    padding-bottom: 3rem;
}

.cart-item-img {
    width: 8rem;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--neutral-100);
}

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

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-summary {
    background-color: #f9f9f9;
    padding: 3rem;
    height: fit-content;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--neutral-200);
    padding: 0.5rem 1rem;
    width: fit-content;
}

.quantity-controls button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--neutral-400);
    transition: color 0.2s;
}

.quantity-controls button:hover {
    color: black;
}

/* Search Page */
.search-input-wrapper {
    max-width: 48rem;
    margin: 0 auto 6rem auto;
}

.search-input-field {
    width: 100%;
    padding: 2rem 3rem;
    border: none;
    border-bottom: 2px solid var(--ink);
    font-family: var(--font-display);
    font-size: 2.25rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    outline: none;
}

.search-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.product-detail-img-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: var(--neutral-100);
}

.product-detail-title {
    font-size: 3.75rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
}

.product-detail-price {
    font-size: 1.5rem;
    color: var(--neutral-500);
    margin-bottom: 2rem;
}

.product-detail-desc {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.size-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

.size-group {
    display: flex;
    gap: 1rem;
}

.size-btn {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--neutral-200);
    background: none;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

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

.size-btn-active {
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--ink);
    background: none;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.product-detail-accordion {
    border-top: 1px solid var(--neutral-100);
    padding-top: 2rem;
}

.accordion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Prose & Content */
.prose-container {
    max-width: 48rem;
    margin: 0 auto;
}

.prose-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #525252;
    margin-bottom: 2rem;
}

.prose-text-lg {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #404040;
    margin-bottom: 2rem;
}

.font-serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #e5e5e5;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--ink);
}

.form-textarea {
    resize: none;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-1-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Info Sections */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.info-text {
    color: #525252;
    line-height: 1.625;
}

/* Spacing Utilities */
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }

/* Offers */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.offer-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.offer-card-light {
    background-color: #f5f5f5;
    color: var(--ink);
}

.offer-card-dark {
    background-color: var(--ink);
    color: white;
}

.offer-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.offer-title {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.offer-text {
    margin-bottom: 2rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

.opacity-0 { opacity: 0; }

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce {
    animation: bounce 1s infinite;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.btn-checkout {
    padding: 1.5rem 0;
}

.btn-wide {
    padding: 1.25rem 3rem;
}

.btn-white-bg {
    background: white;
    color: black;
    border-color: white;
}

.btn-white-bg:hover {
    background: var(--neutral-100);
    color: black;
}

.mb-0 { margin-bottom: 0 !important; }

/* Common Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tighter { letter-spacing: -0.05em; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-neutral-400 { color: var(--neutral-400); }
.text-neutral-500 { color: var(--neutral-500); }
.text-neutral-600 { color: var(--neutral-600); }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.pt-12 { padding-top: 3rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.block { display: block; }
.hidden { display: none; }
.transition-colors { transition: color 0.2s, background-color 0.2s; }
.transition-all { transition: all 0.3s; }
.duration-300 { transition-duration: 0.3s; }
