/* =========================================
   CURATED STORE - PREMIUM DESIGN
   Color Scheme: #000000, #ff7f29, #e4ded2, #f6f4f1
   ========================================= */

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

html {
    overscroll-behavior: none;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #000000;
    line-height: 1.6;
    background-color: #f6f4f1;
    -webkit-font-smoothing: antialiased;
    overscroll-behavior: none;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, opacity 0.2s;
}

a:hover {
    color: #ff7f29;
    opacity: 1;
}

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', system-ui, sans-serif;
    color: #000000;
    font-weight: 700;
    line-height: 1.15;
}

h1 {
    font-size: 56px;
    letter-spacing: -1.5px;
}

h1 span {
    color: #ff7f29;
}

h2 {
    font-size: 40px;
    letter-spacing: -1px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff7f29;
    font-weight: 600;
}

p {
    color: #000000;
    margin-bottom: 16px;
}

.lead-text {
    font-size: 20px;
    color: #000000;
    line-height: 1.7;
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 100px 0;
}

.section-small {
    padding: 60px 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 32px;
}

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

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

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

.sidebar-layout {
    grid-template-columns: 2fr 1fr;
}

/* Flexbox */
.flex {
    display: flex;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

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

.gap-small {
    gap: 16px;
}

.gap-medium {
    gap: 24px;
}

/* Spacing - Margin Bottom */
.margin-bottom-tiny {
    margin-bottom: 8px;
}

.margin-bottom-small {
    margin-bottom: 16px;
}

.margin-bottom-medium {
    margin-bottom: 24px;
}

.margin-bottom-large {
    margin-bottom: 32px;
}

.margin-bottom-xlarge {
    margin-bottom: 48px;
}

.margin-bottom-xxlarge {
    margin-bottom: 64px;
}

/* Spacing - Margin Top */
.margin-top-large {
    margin-top: 32px;
}

.margin-top-xlarge {
    margin-top: 48px;
}

.margin-top-xxlarge {
    margin-top: 64px;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: #666;
}

.text-white {
    color: #f6f4f1;
}

/* Width Utilities */
.max-width-medium {
    max-width: 600px;
}

.max-width-large {
    max-width: 700px;
}

.center-horizontally {
    margin-left: auto;
    margin-right: auto;
}

.full-width {
    width: 100%;
}

/* --- COMPONENTS --- */

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background-color: #ff7f29;
    color: #f6f4f1;
}

.button-primary:hover {
    background-color: #e04a3a;
}

.button-secondary {
    background-color: #f6f4f1;
    color: #000000;
    border: 1px solid #e4ded2;
}

.button-secondary:hover {
    background-color: #e4ded2;
}

.button-large {
    padding: 18px 36px;
    font-size: 16px;
}

.button-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Cards */
.card {
    background: #f6f4f1;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e4ded2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-image {
    background: #e4ded2;
    padding: 32px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

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

.card-content {
    padding: 24px;
}

.card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff7f29;
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.card-price {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #000000;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #e4ded2;
    border-radius: 0;
    font-family: inherit;
    background: #f6f4f1;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #ff7f29;
    box-shadow: 0 0 0 3px rgba(249, 92, 75, 0.1);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

/* --- HEADER --- */
header {
    position: sticky;
    top: 0;
    background: rgba(246, 244, 241, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e4ded2;
    padding: 20px 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #000000;
}

.logo span {
    color: #ff7f29;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: #ff7f29;
    opacity: 1;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7f29;
    transition: width 0.2s;
}

nav a:hover::after {
    width: 100%;
}

/* --- HERO --- */
.hero {
    padding: 140px 0 100px;
    background: #e4ded2;
    text-align: center;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .lead-text {
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- PRODUCT DETAIL --- */
.product-detail {
    padding: 60px 0 100px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

.breadcrumb a:hover {
    color: #ff7f29;
}

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

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image {
    background: #e4ded2;
    border-radius: 0;
    padding: 60px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnails {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #e4ded2;
    border-radius: 0;
    padding: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #ff7f29;
}

.product-info h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #ff7f29;
    margin-bottom: 24px;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 32px;
}

.option-group {
    margin-bottom: 24px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.option-buttons {
    display: flex;
    gap: 12px;
}

.option-button {
    padding: 10px 20px;
    border: 1px solid #e4ded2;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    background: #f6f4f1;
    transition: all 0.2s;
}

.option-button:hover {
    border-color: #ff7f29;
}

.option-button.active {
    background: #ff7f29;
    color: #f6f4f1;
    border-color: #ff7f29;
}

.product-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.product-buttons .button-primary {
    flex: 1;
}

.feature-box {
    border-top: 1px solid #e4ded2;
    padding-top: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #000000;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff7f29;
    font-weight: bold;
}

/* --- CART --- */
.cart-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    border-radius: 0;
    border: 1px solid #e4ded2;
    margin-bottom: 16px;
    background: #f6f4f1;
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: #e4ded2;
    border-radius: 0;
    padding: 12px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff7f29;
    min-width: 80px;
    text-align: right;
}

.cart-summary {
    background: #e4ded2;
    border-radius: 0;
    padding: 40px;
    position: sticky;
    top: 120px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 8px;
    font-size: 20px;
    font-weight: 700;
}

/* --- NEWSLETTER --- */
.newsletter {
    background: #000000;
    padding: 100px 0;
    text-align: center;
}

.newsletter h2 {
    color: #f6f4f1;
    margin-bottom: 16px;
}

.newsletter p {
    color: #e4ded2;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    background: #1a1a1a;
    color: #f6f4f1;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form .button {
    background: #ff7f29;
    color: #f6f4f1;
}

.newsletter-form .button:hover {
    background: #e04a3a;
}

/* --- FOOTER --- */
footer {
    background: #000000;
    color: #f6f4f1;
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: #e4ded2;
    font-size: 14px;
    margin-top: 16px;
}

footer h5 {
    color: #ff7f29;
    margin-bottom: 24px;
}

footer a {
    color: #e4ded2;
    display: block;
    padding: 6px 0;
    font-size: 14px;
}

footer a:hover {
    color: #ff7f29;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 32px;
    text-align: center;
    color: #e4ded2;
    font-size: 14px;
}

/* --- BACKGROUNDS --- */
.background-light {
    background-color: #e4ded2;
}

.background-dark {
    background-color: #000000;
    color: #f6f4f1;
}

/* --- VALUES/FEATURES GRID --- */
.value-card {
    text-align: center;
    padding: 40px 32px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.value-card p {
    color: #000000;
    font-size: 15px;
    margin: 0;
}

/* --- CONTACT --- */
.contact-form-box {
    background: #e4ded2;
    padding: 48px;
    border-radius: 0;
}

.contact-info h3 {
    margin-bottom: 32px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
}

.faq-item p {
    color: #000000;
    font-size: 14px;
    margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 32px;
    }

    .four-columns {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    h2 {
        font-size: 26px;
    }

    .two-columns,
    .three-columns,
    .four-columns,
    .sidebar-layout {
        grid-template-columns: 1fr;
    }

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

    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 0 60px;
    }

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

    .cart-item {
        flex-wrap: wrap;
    }

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

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