/* LIYU - Handcrafted Leather Bags */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-color: #000000;
    --white: #ffffff;
    /* Secondary / Accent Colors */
    --accent-warm: #D8C8AE;
    --accent-leather: #BA775B;
    --text-color: #000000;
    --text-light: #555555;
    --text-lighter: #777777;
    --bg-light: #f7f5f2;
    --bg-cream: #f5f0ea;
    --bg-subtle: #f2ede7;
    --border-color: #e0dbd4;
    --glass-bg: rgba(255, 255, 255, 0.98);
    /* Strict Brand Shadows & Radii */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
    --radius-md: 2px;
    --radius-lg: 4px;
    /* Typography System */
    --font-heading: 'Playfair Display SC', Georgia, serif;
    --font-body: 'Futura PT', 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-meta: 'Futura PT', 'Jost', sans-serif;
    --transition: all 0.2s ease;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header */
.header {
    background-color: var(--glass-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

.logo h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo a {
    text-decoration: none;
}

.logo-img {
    max-width: 126px;
    /* Increased by 5% from 120px */
    height: auto;
    display: block;
}

.nav ul {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-color);
    font-size: 14px;
    font-family: var(--font-meta);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-leather);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent-leather);
}

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

.nav a i {
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.7;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--white);
    min-width: 220px;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    border-radius: 2px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 8px 30px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-light);
}

.dropdown a:hover {
    background-color: var(--bg-subtle);
    color: var(--primary-color);
    padding-left: 35px;
    /* Slight slide effect */
}

.dropdown a::after {
    display: none;
    /* No underline for dropdown items */
}

/* Journal nav separator — visually separate from product links, same style as other nav items */
.nav-journal-sep {
    border-left: 1px solid var(--border-color);
    padding-left: 2.5rem;
    margin-left: 1rem;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-icons .icon {
    font-size: 1.1rem;
    color: var(--text-color);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.header-icons .icon:hover {
    color: var(--accent-leather);
}

.header-icons .icon.active {
    color: #000;
    opacity: 1;
}

.cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.mobile-logo-img {
    height: 28px;
    width: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav ul {
    padding: 20px 0;
}

.mobile-nav li a {
    display: block;
    padding: 15px 30px;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

/* Mobile nav Journal section separator */
.mobile-journal-item {
    margin-top: 0.5rem;
    border-top: 2px solid var(--text-color) !important;
}

.mobile-journal-item a {
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.search-form {
    display: flex;
    border-bottom: 2px solid var(--primary-color);
}

.search-form input {
    flex: 1;
    padding: 15px 0;
    border: none;
    font-size: 1.5rem;
    font-family: var(--font-body);
    background: transparent;
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 15px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    display: block;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 700;
    /* Made bold */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-align: center;
    text-transform: uppercase;
}

/* Hero button: inverted for dark overlay */
.hero .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero .btn-primary:hover {
    background-color: var(--accent-leather);
    border-color: var(--accent-leather);
    color: var(--white);
}

/* Hero entrance animation */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.15s;
}

.hero-subtitle {
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.35s;
}

.hero .btn-primary {
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.5s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 3px;
}

/* Primary: Black bg, white text — hover shifts to warm leather brown */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-leather);
    border-color: var(--accent-leather);
    color: var(--white);
}

/* Secondary: Transparent, black border, black text */
.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Outline: Same as secondary, alternate context */
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--accent-leather);
    border-color: var(--accent-leather);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.text-center {
    text-align: center;
    margin-top: 50px;
}

/* Categories */
.categories {
    padding: 100px 0;
    background-color: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.category-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    display: block;
    transition: var(--transition);
}

.category-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-bottom: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
    transition: var(--transition);
}

.category-card:hover h3 {
    color: var(--accent-leather);
}

.category-card--all .category-image {
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-all-icon {
    width: 135px;
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-leather);
    transition: color 0.3s ease, transform 0.3s ease;
}

.category-all-icon svg {
    width: 100%;
    height: 100%;
}

.category-card--all:hover .category-all-icon {
    color: var(--primary-color);
    transform: scale(1.07);
}

.category-card p {
    color: var(--text-light);
    font-size: 13px;
    letter-spacing: 0.05em;
}

/* Products */
.featured-products {
    padding: 100px 0;
    background-color: var(--bg-cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.product-card {
    background-color: transparent;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 0;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: var(--bg-light);
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover .product-image {
    box-shadow: var(--shadow-hover);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Product image hover overlay */
.product-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transform: translateY(100%);
    transition: transform 0.2s ease;
    z-index: 3;
}

.product-card:hover .product-image-overlay {
    transform: translateY(0);
}

.product-overlay-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.product-overlay-cta {
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-leather);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 6px 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: var(--shadow);
    z-index: 2;
}

.product-info {
    padding: 10px 10px 20px;
    text-align: center;
}

.product-category {
    font-size: 11px;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover .product-name {
    color: var(--accent-leather);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

.product-price .original-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 12px;
    font-weight: 400;
    font-size: 0.95em;
}

/* Story Section */
.story-section {
    padding: 120px 0;
    background-color: var(--white);
}

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

.story-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

.story-content {
    max-width: 500px;
}

.story-subtitle {
    display: block;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-leather);
    margin-bottom: 20px;
    font-weight: 600;
}

.story-content h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    margin-bottom: 35px;
    color: var(--text-color);
    line-height: 1.2;
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 2;
    font-size: 16px;
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--bg-cream);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card i {
    font-size: 2.2rem;
    color: var(--accent-leather);
    margin-bottom: 25px;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    padding: 120px 0;
    background-color: var(--bg-cream);
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: 0;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 20px 25px;
    border: none;
    font-size: 15px;
    font-family: var(--font-body);
    background-color: var(--white);
}

.newsletter-form input:focus {
    outline: none;
    background-color: #fff;
}

.newsletter-form button {
    padding: 20px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-leather);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-color);
}

.page-header p {
    color: var(--text-light);
}

/* Products Page */
.products-section {
    padding: 60px 0;
}

.products-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 50px;
}

.filters-sidebar {
    padding-right: 30px;
    border-right: 1px solid var(--border-color);
}

.filters-sidebar h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.filter-group {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-color);
}

.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
}

.filter-group input {
    margin-right: 10px;
    accent-color: var(--accent-leather);
}

.products-content {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.products-header select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    background-color: var(--white);
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    display: grid;
    gap: 15px;
}

.product-main-image {
    background-color: var(--bg-light);
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    opacity: 1;
}

.product-detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-detail-info .product-price {
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.product-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-options {
    margin-bottom: 30px;
}

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

.option-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.option-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 14px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.quantity-controls button {
    padding: 12px 18px;
    border: none;
    background-color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.quantity-controls button:hover {
    background-color: var(--bg-light);
}

.quantity-controls input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.add-to-cart-btn {
    width: 100%;
    padding: 18px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
    border-radius: 3px;
}

.add-to-cart-btn:hover {
    background-color: var(--accent-leather);
}

.product-meta {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.product-meta p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Cart Page */
.cart-section {
    padding: 60px 0;
    min-height: 60vh;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

.cart-items h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    background-color: var(--bg-light);
    overflow: hidden;
}

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

.cart-item-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.cart-item-info p {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

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

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

.cart-item-quantity button {
    padding: 8px 12px;
    border: none;
    background-color: var(--white);
    cursor: pointer;
}

.cart-item-quantity span {
    padding: 8px 15px;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.remove-item {
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: var(--error-color);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Cart Summary */
.cart-summary {
    background-color: var(--bg-light);
    padding: 35px;
    height: fit-content;
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-color);
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-summary .btn {
    width: 100%;
    margin-top: 20px;
}

.promo-code {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.promo-code p {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.promo-code form {
    display: flex;
    gap: 10px;
}

.promo-code input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
}

.promo-code button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Checkout Page */
.checkout-section {
    padding: 60px 0;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 50px;
}

.form-section {
    margin-bottom: 40px;
}

.form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Order Summary */
.order-summary {
    background-color: var(--bg-light);
    padding: 35px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.order-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.order-items {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
    position: relative;
}

.order-item-image {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    overflow: hidden;
}

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

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 5px;
}

.order-item-details {
    font-size: 12px;
    color: var(--text-light);
}

.checkout-remove-item {
    background: none;
    border: none;
    color: var(--text-lighter);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.checkout-remove-item:hover {
    color: var(--primary-color);
}

.order-item-price {
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

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

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-section h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.footer-section a:hover {
    color: var(--white);
}

.footer-section address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-section address a {
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* Related Products */
.related-products {
    padding: 80px 0;
    background-color: var(--bg-cream);
}

/* Frequently Bought Together (AI Recommendations) */
.frequently-bought {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.frequently-bought .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbt-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.fbt-products {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.fbt-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-cream);
    padding: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 150px;
    transition: var(--transition);
}

.fbt-product:hover {
    border-color: var(--accent-leather);
}

.fbt-product.fbt-main {
    border: 2px solid var(--primary-color);
}

.fbt-product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.fbt-product-info {
    text-align: center;
    margin-top: 10px;
}

.fbt-product-info h4 {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.3;
}

.fbt-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.fbt-checkbox {
    position: absolute;
    top: 8px;
    left: 8px;
}

.fbt-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-leather);
}

.fbt-plus {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-light);
}

.fbt-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: var(--bg-cream);
    border: 2px solid var(--primary-color);
}

.fbt-total {
    text-align: center;
}

.fbt-original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
    display: block;
}

.fbt-bundle-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.fbt-savings {
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-top: 5px;
}

.fbt-add-btn {
    padding: 12px 24px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .fbt-container {
        flex-direction: column;
    }

    .fbt-products {
        flex-direction: column;
    }

    .fbt-plus {
        transform: rotate(90deg);
    }

    .fbt-product {
        max-width: 200px;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

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

.breadcrumb span {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

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

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

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header .container {
        justify-content: space-between;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-content h1 {
        font-size: 3.84rem;
    }

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

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

    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-content {
        max-width: 100%;
    }

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

    .products-wrapper {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

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

    .cart-wrapper,
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

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

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 3.36rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .category-image {
        height: 280px;
    }

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

    .product-image {
        height: 220px;
    }

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

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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

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

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.64rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 11px;
    }

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

    .product-image {
        height: 300px;
    }
}

/* Login Page Styles (Minimalist B&W) */
.login-section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-container h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-form .form-group {
    margin-bottom: 25px;
    text-align: left;
}

.login-form label {
    display: none;
    /* Minimalist: hide labels, rely on placeholders */
}

.login-form input {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #000;
    /* Simple black line */
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: #000;
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    border-bottom-width: 2px;
}

.login-form input::placeholder {
    color: #666;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.forgot-password {
    display: block;
    text-align: left;
    font-size: 11px;
    color: #666;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.forgot-password:hover {
    color: #000;
}

.btn-login {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 15px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.btn-login:hover {
    background-color: var(--accent-leather);
    border-color: var(--accent-leather);
    color: #fff;
}

.create-account {
    margin-top: 20px;
}

.create-account a {
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.create-account a:hover {
    border-bottom-color: #000;
}

/* ============================================================
   ACCOUNT PAGE — AUTH & DASHBOARD
   ============================================================ */

.account-section {
    min-height: 70vh;
    padding: 60px 20px;
}

/* ── Auth Container ─────────────────────────────────────────── */

.account-auth-container {
    max-width: 420px;
    margin: 0 auto;
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 14px 0;
    font-family: var(--font-meta, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.auth-tab.active {
    color: #000;
    border-bottom-color: #000;
}

.auth-message {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.auth-message--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.auth-message--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-meta, 'Poppins', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
    background: #f8f8f8;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.google-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: #bbb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-full {
    width: 100%;
    margin-top: 8px;
}

/* ── Dashboard ──────────────────────────────────────────────── */

.account-dashboard {
    max-width: 860px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.dashboard-greeting {
    font-family: var(--font-heading, 'Playfair Display SC', serif);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    margin: 0 0 4px;
}

.dashboard-email {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.btn-outline {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    padding: 8px 20px;
    font-family: var(--font-meta, 'Poppins', sans-serif);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 11px;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 32px;
    gap: 0;
}

.dash-tab {
    background: none;
    border: none;
    padding: 14px 24px;
    font-family: var(--font-meta, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #888;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-tab.active {
    color: #000;
    border-bottom-color: #000;
}

/* ── Order Cards ────────────────────────────────────────────── */

.orders-loading {
    text-align: center;
    padding: 48px;
    color: #888;
    font-size: 15px;
}

.orders-loading i {
    font-size: 24px;
    display: block;
    margin-bottom: 12px;
}

.orders-empty {
    text-align: center;
    padding: 64px 20px;
    color: #888;
}

.orders-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: #ccc;
}

.orders-empty h3 {
    font-family: var(--font-heading, 'Playfair Display SC', serif);
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 8px;
    color: #333;
}

.orders-empty p {
    margin: 0 0 24px;
    font-size: 14px;
}

.orders-error {
    text-align: center;
    padding: 32px;
    color: #b91c1c;
    font-size: 14px;
}

.order-card {
    border: 1px solid #e0e0e0;
    margin-bottom: 16px;
    border-radius: 2px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.15s;
    gap: 16px;
}

.order-card-header:hover {
    background: #fafafa;
}

.order-card-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.order-number {
    font-family: var(--font-meta, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.order-date {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.order-thumbs {
    display: flex;
    gap: 6px;
    align-items: center;
}

.order-item-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #eee;
}

.order-more-items {
    font-size: 12px;
    color: #888;
    background: #f5f5f5;
    border-radius: 2px;
    padding: 4px 6px;
}

.order-total {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.order-chevron {
    color: #888;
    font-size: 12px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.order-chevron.rotated {
    transform: rotate(180deg);
}

/* Status badges */
.order-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-processing {
    background: #e0e7ff;
    color: #3730a3;
}

.status-shipped {
    background: #d1fae5;
    color: #065f46;
}

.status-delivered {
    background: #dcfce7;
    color: #14532d;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-refunded {
    background: #f3f4f6;
    color: #374151;
}

/* Order detail (expanded) */
.order-detail {
    border-top: 1px solid #e0e0e0;
    padding: 24px;
}

.order-tracking {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-carrier {
    color: #888;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
}

.order-items-table th {
    text-align: left;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #e0e0e0;
}

.order-items-table td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.order-item-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-item-thumb-sm {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.item-color {
    color: #888;
    font-size: 12px;
}

.order-summary {
    max-width: 280px;
    margin-left: auto;
    font-size: 14px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    color: #555;
}

.order-discount {
    color: #166534;
}

.order-total-row {
    font-weight: 700;
    color: #000;
    border-top: 1px solid #e0e0e0;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 15px;
}

.order-shipping-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #555;
}

.order-shipping-address address {
    font-style: normal;
    margin-top: 8px;
    line-height: 1.7;
}

/* ── Profile Tab ────────────────────────────────────────────── */

.profile-card {
    max-width: 480px;
}

.profile-card h2 {
    font-family: var(--font-heading, 'Playfair Display SC', serif);
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 24px;
}

.profile-field {
    display: flex;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.profile-label {
    width: 120px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #888;
    flex-shrink: 0;
}

.profile-value {
    font-size: 14px;
    color: #333;
}

.badge-google {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f3f4;
    color: #444;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

.badge-google i {
    color: #4285F4;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 600px) {
    .auth-form .form-row {
        grid-template-columns: 1fr;
    }

    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-card-right {
        width: 100%;
        justify-content: flex-start;
    }

    .order-summary {
        max-width: 100%;
    }
}

/* ─── Subscribe Popup ──────────────────────────────────────────────────────── */
.subscribe-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.subscribe-popup {
    background: var(--white);
    border-radius: 4px;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: popup-in 0.25s ease;
}

@keyframes popup-in {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.subscribe-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-lighter);
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    transition: var(--transition);
}

.subscribe-popup-close:hover {
    color: var(--text-color);
}

.subscribe-popup-content {
    text-align: center;
}

.subscribe-popup-icon {
    font-size: 2rem;
    color: var(--accent-leather);
    margin-bottom: 1rem;
}

.subscribe-popup-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.subscribe-popup-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.subscribe-popup-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-color);
    background: var(--bg-light);
    box-sizing: border-box;
    margin-bottom: 0.75rem;
    outline: none;
    transition: border-color 0.2s;
}

.subscribe-popup-input:focus {
    border-color: var(--accent-leather);
}

.subscribe-popup-skip {
    display: block;
    background: none;
    border: none;
    color: var(--text-lighter);
    font-size: 0.8rem;
    cursor: pointer;
    margin: 0.75rem auto 0;
    text-decoration: underline;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.subscribe-popup-skip:hover {
    color: var(--text-color);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-sizing: border-box;
    background: #ffffff;
    color: #1a1a1a;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.14), 0 -1px 0 rgba(0, 0, 0, 0.08);
    border-top: 2px solid #1a1a1a;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    max-width: 760px;
    color: #333333;
}

.cookie-banner a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.cookie-banner a:hover {
    color: var(--accent-leather);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-btn,
.cookie-dismiss-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    padding: 10px 20px;
    display: inline-block;
}

.cookie-accept-btn {
    background: #1a1a1a;
    color: #ffffff;
    border: 2px solid #1a1a1a;
}

.cookie-accept-btn:hover {
    background: var(--accent-leather);
    border-color: var(--accent-leather);
    color: #ffffff;
}

.cookie-dismiss-btn {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.cookie-dismiss-btn:hover {
    background: #1a1a1a;
    color: #ffffff;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 16px 18px;
        gap: 14px;
        bottom: 90px;
        left: 12px;
        right: 12px;
        border-radius: 12px;
    }

    .cookie-banner p {
        font-size: 13px;
    }

    .cookie-banner-actions {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .cookie-accept-btn,
    .cookie-dismiss-btn {
        flex: 1;
        text-align: center;
        padding: 13px 10px;
        font-size: 12px;
    }
}