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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    background: #fff;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    max-width: 100vw;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
}

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

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

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

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

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.announcement-bar p {
    font-weight: 400;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.nav-left, .nav-right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a, .nav-right a {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.nav-left a.active::after,
.nav-right a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: #111;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
}

/* ==========================================================================
   Language selector
   ========================================================================== */
.nav-toggle {
    display: none;
}

.lang-selector {
    position: relative;
}

/* Currency switcher (dropdown, mirrors the language menu) */
.cur-selector {
    position: relative;
}
.cur-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #111;
    font-size: 13px;
    letter-spacing: 0.06em;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cur-toggle:hover {
    opacity: 0.6;
}
.cur-arrow {
    font-size: 10px;
    line-height: 1;
}
.cur-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 120px;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 0;
    margin: 0;
    display: none;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    list-style: none;
}
.cur-menu.open {
    display: block;
}
.cur-menu li {
    list-style: none;
}
.cur-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #111;
    text-decoration: none;
    transition: background 0.15s ease;
}
.cur-menu a:hover {
    background: #f7f7f5;
}
.cur-menu a.active {
    font-weight: 600;
}

/* Email verification (checkout) */
.email-verify {
    margin-top: 14px;
}
.verify-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.verify-input {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    letter-spacing: 0.18em;
    color: #111;
}
.verify-input:focus {
    outline: none;
    border-bottom-color: #111;
}
.verify-btn {
    padding: 10px 22px;
    background: #111;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.verify-btn:hover {
    opacity: 0.85;
}
.verify-status {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}
.verify-status-ok {
    color: #1f6b3a;
}
.verify-status-error {
    color: #b3261e;
}

.lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #111;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lang-toggle:hover {
    opacity: 0.6;
}

.lang-arrow {
    font-size: 10px;
    line-height: 1;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #eee;
    padding: 8px 0;
    display: none;
    z-index: 200;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.lang-menu.open {
    display: block;
}

.lang-menu li {
    list-style: none;
}

.lang-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    color: #111;
    text-transform: none;
    letter-spacing: 0;
    transition: background 0.15s ease;
}

.lang-menu a:hover {
    background: #f5f5f3;
    opacity: 1;
}

.lang-menu a.active {
    font-weight: 500;
    background: #f5f5f3;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-light {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.btn-light:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    opacity: 1;
}

.btn-dark {
    background: #111;
    color: #fff;
    border-color: #111;
}

.btn-dark:hover {
    background: transparent;
    color: #111;
    opacity: 1;
}

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

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: #fff;
    z-index: 2;
    max-width: 600px;
}

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

/* ==========================================================================
   Intro section
   ========================================================================== */
.intro-section {
    padding: 140px 0;
    text-align: center;
}

.intro-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #555;
}

.intro-text {
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   Product grid section
   ========================================================================== */
.product-grid-section {
    padding: 60px 40px 120px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 50px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title-large {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

.section-link {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.product-card {
    display: block;
}

.product-card:hover {
    opacity: 1;
}

.product-image {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f3;
    margin-bottom: 16px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image {
    opacity: 0.85;
}

.product-info {
    text-align: left;
}

.product-name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.product-price {
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

/* ==========================================================================
   Featured product (homepage — single product showcase)
   ========================================================================== */
.featured-product {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    min-height: 700px;
    padding: 0 0 40px;
}

.featured-image {
    display: block;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f3;
    min-height: 600px;
    transition: opacity 0.4s ease;
}

.featured-image:hover {
    opacity: 0.92;
}

.featured-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.featured-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 24px;
}

.featured-title {
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.featured-price {
    font-size: 18px;
    color: #111;
    margin-bottom: 30px;
}

.featured-description {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
    max-width: 440px;
}

/* ==========================================================================
   Editorial
   ========================================================================== */
.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.editorial-image {
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.editorial-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f5f5f3;
}

.editorial-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #555;
}

.editorial-title {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.editorial-body {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 40px;
    color: #333;
}

/* ==========================================================================
   Features
   ========================================================================== */
.features {
    padding: 100px 40px;
    border-top: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.feature-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
    padding: 30px 40px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #555;
}

.breadcrumb a {
    color: #555;
}

.breadcrumb span {
    color: #111;
}

/* ==========================================================================
   Product page
   ========================================================================== */
.product-page {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 60px;
    padding: 0 40px 120px;
    max-width: 1600px;
    margin: 0 auto;
}

.product-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
}

.gallery-main {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f3;
}

.gallery-thumb {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f3;
}

.product-details {
    position: sticky;
    top: 140px;
    align-self: start;
}

.product-details-inner {
    max-width: 440px;
}

.product-category {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 16px;
}

.product-heading {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.product-price-large {
    font-size: 18px;
    color: #111;
    margin-bottom: 30px;
}

.product-description {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 40px;
}

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

.option-label {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.color-swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.swatch:hover {
    transform: scale(1.1);
}

.swatch.active {
    outline: 1px solid #111;
    outline-offset: 3px;
}

.swatch-black { background: #1a1a1a; }
.swatch-stone { background: #c9c2b6; }
.swatch-sand { background: #d6c8a8; }
.swatch-olive { background: #6b6f4e; }

.size-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.size-btn {
    width: 50px;
    height: 44px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: #111;
}

.size-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.size-btn.sold-out,
.size-btn:disabled {
    color: #bbb;
    background: #f5f5f3;
    border-color: #e5e5e3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-btn.sold-out:hover,
.size-btn:disabled:hover {
    border-color: #e5e5e3;
}

.stock-status {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 10px 0 18px;
    min-height: 18px;
    font-weight: 500;
}

.stock-status:empty {
    display: none;
}

.stock-status.stock-in {
    color: #1f6b3a;
}

.stock-status.stock-low {
    color: #8a5a00;
}

.stock-status.stock-sold-out {
    color: #8a1f1f;
}

.add-to-cart.is-sold-out {
    background: #999;
    border-color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.size-guide {
    font-size: 12px;
    text-decoration: underline;
    color: #555;
}

.add-to-cart {
    margin: 20px 0 40px;
}

.product-accordion details {
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.product-accordion details:last-child {
    border-bottom: 1px solid #eee;
}

.product-accordion summary {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 18px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.product-accordion details[open] summary::after {
    content: '−';
}

.product-accordion p {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.related-section {
    padding: 60px 40px 120px;
    border-top: 1px solid #eee;
}

.related-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* ==========================================================================
   Page hero (about, etc)
   ========================================================================== */
.page-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.page-hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: #fff;
    z-index: 2;
}

.page-hero-content .hero-eyebrow {
    color: #fff;
}

.page-hero-title {
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-intro {
    padding: 140px 0;
    text-align: center;
}

.about-lead {
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.5;
    font-weight: 300;
    color: #111;
    letter-spacing: -0.005em;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.about-split.reverse {
    direction: rtl;
}

.about-split.reverse > * {
    direction: ltr;
}

.split-image {
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.split-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #555;
}

.split-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.split-body {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    max-width: 480px;
}

.values-section {
    padding: 140px 0;
    background: #f5f5f3;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.value-number {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 0.08em;
}

.value-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.value-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.quote-section {
    padding: 140px 0;
    text-align: center;
}

.quote-mark {
    font-size: 80px;
    font-weight: 300;
    color: #ddd;
    line-height: 1;
    margin-bottom: 20px;
}

.quote-text {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 300;
    line-height: 1.4;
    font-style: normal;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
}

.quote-author {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
}

.cta-section {
    padding: 140px 0;
    text-align: center;
    background: #111;
    color: #fff;
}

.cta-section .btn-dark {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.cta-section .btn-dark:hover {
    background: transparent;
    color: #fff;
}

.cta-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.page-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 540px;
    margin: 0 auto;
}

.contact-main {
    padding: 60px 40px 140px;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
}

.contact-info {
    border-right: 1px solid #eee;
    padding-right: 60px;
}

.info-block {
    margin-bottom: 40px;
}

.info-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.info-value {
    font-size: 16px;
    color: #111;
    line-height: 1.6;
    display: block;
}

.info-sub {
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

.social-list {
    display: flex;
    gap: 20px;
}

.social-list a {
    font-size: 14px;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    color: #555;
}

.form-field input,
.form-field select,
.form-field textarea {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
    color: #111;
    transition: border-color 0.2s ease;
    border-radius: 0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: #111;
}

.form-field textarea {
    resize: vertical;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px;
    background: #f5f5f3;
    font-size: 14px;
    text-align: center;
}

.faq-section {
    padding: 140px 0;
    background: #f5f5f3;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 24px 0;
}

.faq-item summary {
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
    letter-spacing: -0.005em;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 22px;
    font-weight: 300;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-section {
    padding: 80px 40px 140px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.checkout-form-wrap {
    max-width: 640px;
}

.checkout-title {
    font-size: clamp(36px, 4.5vw, 54px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.checkout-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section-title {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: #111;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #111;
    width: 100%;
}

.optional {
    color: #999;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #111;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
}

.form-fine-print {
    font-size: 12px;
    color: #777;
    text-align: center;
    line-height: 1.6;
    margin-top: -10px;
}

.form-fine-print a {
    text-decoration: underline;
}

/* ==========================================================================
   Payment section (checkout)
   ========================================================================== */
.test-mode-banner {
    background: #fff4e0;
    border: 1px solid #f0d896;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #6b4a00;
    margin-bottom: 12px;
}

.test-mode-tag {
    background: #6b4a00;
    color: #fff4e0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 3px 7px;
    border-radius: 2px;
    flex-shrink: 0;
}

.card-input-wrap {
    position: relative;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    transition: border-color 0.2s ease;
}

.card-input-wrap:focus-within {
    border-bottom-color: #111;
}

.card-input-wrap input {
    border: none;
    flex: 1;
    padding: 12px 0;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
    color: #111;
    letter-spacing: 0.04em;
}

.card-input-wrap input:focus {
    outline: none;
}

.card-brand {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
    padding-left: 10px;
    min-width: 60px;
    text-align: right;
    font-weight: 500;
}

.stripe-payment-element {
    margin: 20px 0 10px;
    min-height: 80px;
}

.stripe-payment-element:empty::before,
#address-element:empty::before {
    content: 'Loading secure form…';
    display: block;
    color: #999;
    font-size: 13px;
    padding: 24px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

#address-element {
    min-height: 80px;
}

.payment-error {
    color: #b3261e;
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

.turnstile-container {
    margin: 16px 0 4px;
    min-height: 65px;
}

.turnstile-container:empty {
    min-height: 0;
}

.test-cards {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px dashed #ddd;
}

.test-cards summary {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    font-weight: 500;
}

.test-cards summary::-webkit-details-marker {
    display: none;
}

.test-cards summary::before {
    content: '+ ';
    display: inline-block;
    width: 14px;
    color: #999;
}

.test-cards[open] summary::before {
    content: '− ';
}

.test-cards ul {
    list-style: none;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.test-cards li {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.test-card-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

.test-card-success {
    background: #e6f3eb;
    color: #1f6b3a;
}

.test-card-decline {
    background: #f4dada;
    color: #8a1f1f;
}

.test-card-num {
    font-family: 'Inter', monospace;
    font-size: 13px;
    background: #f5f5f3;
    padding: 4px 10px;
    cursor: pointer;
    color: #111;
    letter-spacing: 0.04em;
    transition: background 0.15s ease;
}

.test-card-num:hover {
    background: #e9e9e5;
}

.test-cards small {
    color: #666;
    font-size: 12px;
}

#place-order-btn .btn-processing,
#review-confirm-btn .btn-processing { display: none; }
#place-order-btn.is-processing .btn-label,
#review-confirm-btn.is-processing .btn-label { display: none; }
#place-order-btn.is-processing .btn-processing,
#review-confirm-btn.is-processing .btn-processing { display: inline-block; }

#place-order-btn.is-processing,
#review-confirm-btn.is-processing {
    background: #555;
    border-color: #555;
    cursor: not-allowed;
    opacity: 0.9;
}

#place-order-btn.is-processing .btn-processing::after,
#review-confirm-btn.is-processing .btn-processing::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: -2px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Order review / confirmation modal
   ========================================================================== */
.review-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.review-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.review-modal-content {
    position: relative;
    background: #fff;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    border: 1px solid #eee;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.review-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 14px;
}

.review-title {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 30px;
    line-height: 1.2;
}

.review-section {
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.review-section-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.review-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #111;
}

.review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    margin: 8px 0 28px;
    font-size: 17px;
    font-weight: 500;
}

#review-confirm-btn {
    margin-bottom: 14px;
}

.review-back {
    display: block;
    width: 100%;
    text-align: center;
    background: none;
    border: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    padding: 6px;
}

.review-back:hover {
    color: #111;
}

@media (max-width: 600px) {
    .review-modal-content {
        padding: 32px 22px;
    }
    .review-title {
        font-size: 21px;
        margin-bottom: 24px;
    }
}

.order-success {
    display: none;
    text-align: center;
    padding: 60px 30px;
    background: #f5f5f3;
    margin-top: 20px;
}

.success-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

.success-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.success-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}

.success-email-notice {
    font-size: 13px;
    color: #1f6b3a;
    background: #e6f3eb;
    padding: 10px 16px;
    margin: 0 auto 30px;
    display: inline-block;
    border-radius: 2px;
}

.success-email-notice:empty {
    display: none;
}

/* Order summary */
.order-summary {
    position: sticky;
    top: 140px;
    background: #f5f5f3;
    padding: 40px;
}

.summary-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
}

.summary-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ddd;
    align-items: start;
}

.summary-item-image {
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.summary-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-item-name {
    font-size: 14px;
    font-weight: 500;
}

.summary-item-meta,
.summary-item-qty {
    font-size: 13px;
    color: #666;
}

.summary-item-price {
    font-size: 14px;
    font-weight: 500;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #333;
}

.summary-total {
    font-size: 17px;
    font-weight: 500;
    color: #111;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    margin-top: 4px;
}

.summary-note p {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

/* ==========================================================================
   Admin — login screen
   ========================================================================== */
.admin-body {
    background: #fafaf8;
    min-height: 100vh;
}

.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.admin-login-box {
    background: #fff;
    padding: 60px 50px;
    max-width: 440px;
    width: 100%;
    border: 1px solid #eee;
    text-align: center;
}

.admin-login-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 12px 0 8px;
}

.admin-login-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 36px;
}

.admin-login-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-error {
    color: #b3261e;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
    margin-top: -8px;
}

.admin-back-link {
    display: inline-block;
    margin-top: 30px;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
}

/* ==========================================================================
   Admin — dashboard
   ========================================================================== */
.admin-dashboard {
    min-height: 100vh;
}

.admin-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 24px 40px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo {
    display: block;
}

.admin-subtitle {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
    margin-top: 4px;
}

.admin-logout {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid #111;
    padding: 10px 20px;
    background: transparent;
    color: #111;
    transition: all 0.2s ease;
}

.admin-logout:hover {
    background: #111;
    color: #fff;
}

.admin-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 40px 80px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-card {
    background: #fff;
    padding: 24px 22px;
    border: 1px solid #eee;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 14px;
}

.stat-value {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Admin stock management */
.admin-stock-section {
    background: #fff;
    border: 1px solid #eee;
    padding: 28px 32px;
    margin-bottom: 40px;
}

.admin-stock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-stock-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stock-saved-indicator {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f6b3a;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.stock-saved-indicator.visible {
    opacity: 1;
}

.admin-stock-help {
    font-size: 13px;
    color: #666;
    margin-bottom: 22px;
    line-height: 1.55;
}

.stock-table-wrap {
    overflow-x: auto;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-table th,
.stock-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.stock-table th {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
    background: #fafaf8;
}

.stock-table th:not(:first-child):not(:last-child),
.stock-table td.stock-cell {
    text-align: center;
    width: 80px;
}

.stock-color-cell {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    padding-right: 24px !important;
}

.stock-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.stock-swatch-black { background: #1a1a1a; }
.stock-swatch-stone { background: #c9c2b6; }
.stock-swatch-sand { background: #d6c8a8; }
.stock-swatch-olive { background: #6b6f4e; }

.stock-input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    border-radius: 0;
}

.stock-input:focus {
    outline: none;
    border-color: #111;
}

.stock-cell-zero .stock-input {
    background: #fff4f4;
    border-color: #e0bcbc;
    color: #8a1f1f;
}

.stock-cell-low .stock-input {
    background: #fffaf0;
    border-color: #e5d09a;
    color: #6b4a00;
}

.stock-status-pill {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    font-weight: 500;
}

.stock-status-in {
    background: #e6f3eb;
    color: #1f6b3a;
}

.stock-status-out {
    background: #f4dada;
    color: #8a1f1f;
}

/* Single-product inventory field (admin) */
.stock-single {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 4px 0 8px;
}

.stock-single-label {
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #555;
}

.stock-single-input {
    width: 90px;
    text-align: center;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ddd;
}

.admin-section-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.admin-toolbar-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.admin-filter {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #111;
    cursor: pointer;
}

.admin-filter:focus {
    outline: none;
    border-color: #111;
}

.btn-link {
    background: none;
    border: none;
    font-size: 13px;
    color: #111;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

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

/* Orders list */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 28px 32px;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid #eee;
    margin-bottom: 22px;
    gap: 20px;
    flex-wrap: wrap;
}

.order-id {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.order-date {
    font-size: 12px;
    color: #666;
    letter-spacing: 0.02em;
}

.order-status-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.status-pill {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 500;
}

.status-pending {
    background: #fff4e0;
    color: #8a5a00;
}

.status-processed {
    background: #e6f3eb;
    color: #1f6b3a;
}

.status-canceled {
    background: #f4dada;
    color: #8a1f1f;
}

.status-select {
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-family: inherit;
    color: #111;
    cursor: pointer;
    min-width: 130px;
}

.status-select:focus {
    outline: none;
    border-color: #111;
}

.order-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 22px;
}

.order-section-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: #666;
    margin-bottom: 12px;
}

.order-section p {
    font-size: 14px;
    line-height: 1.55;
    color: #111;
}

.order-section a {
    color: #111;
    text-decoration: underline;
}

.order-name {
    font-weight: 500;
}

.order-item-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.order-item-meta {
    color: #666 !important;
    font-size: 13px !important;
    margin-bottom: 12px;
}

.order-total {
    font-weight: 500;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.order-payment {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 16px 18px;
    background: #fafaf8;
    border: 1px solid #eee;
    margin-bottom: 16px;
}

.order-payment .order-section-title {
    margin-bottom: 8px;
}

.order-payment-card {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    letter-spacing: 0.02em;
}

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

.order-payment-status {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.status-paid {
    background: #e6f3eb;
    color: #1f6b3a;
}

.test-mode-tag-sm {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 2px 6px;
    background: #fff4e0;
    color: #6b4a00;
    border-radius: 2px;
}

.order-email {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    background: #fafaf8;
    border: 1px solid #eee;
    margin-bottom: 16px;
}

.order-email-meta {
    font-size: 13px;
    color: #555;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.email-status {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}

.email-status-sent {
    background: #e6f3eb;
    color: #1f6b3a;
}

.email-status-preview {
    background: #fff4e0;
    color: #6b4a00;
}

.email-status-failed {
    background: #f4dada;
    color: #8a1f1f;
}

.order-email-error {
    font-size: 12px;
    color: #8a1f1f;
    margin-top: 6px;
}

.view-email-btn {
    flex-shrink: 0;
}

/* Email preview modal */
.email-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.email-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    cursor: pointer;
}

.email-modal-content {
    position: relative;
    background: #fff;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.email-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 28px;
    border-bottom: 1px solid #eee;
    background: #fff;
    gap: 20px;
}

.email-modal-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.email-modal-subject {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    margin-bottom: 4px;
}

.email-modal-to {
    font-size: 13px;
    color: #666;
}

.email-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-modal-close:hover {
    color: #111;
}

.email-modal-frame {
    flex: 1;
    width: 100%;
    border: none;
    background: #fafaf8;
    min-height: 500px;
}

.order-card-footer {
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: right;
}

.order-delete {
    color: #8a1f1f;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 30px;
    background: #fff;
    border: 1px solid #eee;
}

.empty-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 18px;
}

.empty-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.empty-text {
    font-size: 14px;
    color: #666;
}

/* Admin responsive */
@media (max-width: 1024px) {
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .order-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .order-payment,
    .order-email {
        flex-direction: column;
        align-items: flex-start;
    }
    .order-payment-status {
        flex-direction: row;
        align-items: center;
    }
    .email-modal {
        padding: 20px 12px;
    }
    .email-modal-header {
        padding: 16px 20px;
    }
}

@media (max-width: 700px) {
    .admin-header {
        padding: 18px 20px;
    }
    .admin-main {
        padding: 30px 20px 60px;
    }
    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .stat-card {
        padding: 18px 16px;
    }
    .stat-value {
        font-size: 24px;
    }
    .order-card {
        padding: 22px 20px;
    }
    .admin-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .admin-stock-section {
        padding: 20px 18px;
    }
    .admin-stock-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .stock-input {
        width: 50px;
    }
    .admin-login-box {
        padding: 40px 28px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #111;
    color: #fff;
    padding: 80px 40px 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-newsletter p {
    font-size: 14px;
    color: #999;
    margin: 16px 0 24px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-heading {
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #444;
    padding-bottom: 12px;
    max-width: 360px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-size: 14px;
    font-family: inherit;
    padding: 4px 0;
}

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

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    color: #fff;
    font-size: 18px;
    padding: 0 8px;
}

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

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

.footer-links a {
    font-size: 13px;
    color: #aaa;
}

.footer-links a:hover {
    color: #fff;
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 12px;
    color: #777;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #777;
    font-size: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .editorial,
    .about-split,
    .about-split.reverse,
    .featured-product {
        grid-template-columns: 1fr;
    }
    .featured-content {
        padding: 60px 40px;
    }
    .editorial-image,
    .split-image {
        min-height: 400px;
    }
    .editorial-content,
    .split-content {
        padding: 60px 40px;
    }
    .product-page {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .product-details {
        position: static;
        min-width: 0;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .order-summary {
        position: static;
        order: -1;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 40px;
    }
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 16px 20px;
        position: relative;
    }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: none;
        border: none;
        font-size: 20px;
        line-height: 1;
        color: #111;
        cursor: pointer;
        padding: 0;
    }
    .nav-left {
        display: none;
    }
    .nav-left.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        gap: 0;
        background: #fafaf8;
        border-bottom: 1px solid #eee;
        box-shadow: 0 8px 16px rgba(0,0,0,0.06);
        padding: 8px 20px 16px;
        z-index: 150;
    }
    .nav-left.open a {
        padding: 12px 0;
        font-size: 14px;
    }
    .nav-right > li:not(:last-child):not(.lang-selector):not(.cur-selector) {
        display: none;
    }
    .lang-menu {
        right: 0;
    }
    .nav-left a,
    .nav-right a {
        font-size: 12px;
    }
    .container,
    .container-narrow {
        padding: 0 20px;
    }
    .hero-content,
    .page-hero-content {
        left: 24px;
        right: 24px;
        bottom: 40px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .product-grid-section,
    .related-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .product-page {
        padding-left: 20px;
        padding-right: 20px;
    }
    .checkout-section {
        padding: 60px 20px 100px;
    }
    .order-summary {
        padding: 30px 24px;
    }
    .editorial-content,
    .split-content,
    .featured-content {
        padding: 60px 24px;
    }
    .intro-section,
    .about-intro,
    .values-section,
    .quote-section,
    .cta-section,
    .faq-section {
        padding: 80px 0;
    }
}

/* ==========================================================================
   Responsive — comprehensive mobile/tablet improvements
   ========================================================================== */

/* Tablet portrait + smaller (≤ 900px) */
@media (max-width: 900px) {
    /* Hero */
    .hero {
        min-height: 500px;
        height: auto;
        padding: 80px 0 60px;
    }
    .hero-title {
        font-size: clamp(36px, 8vw, 60px);
    }
    .hero-content {
        left: 24px;
        right: 24px;
        bottom: 50px;
        max-width: none;
    }

    /* Page hero (about, etc.) */
    .page-hero {
        height: 50vh;
        min-height: 380px;
    }
    .page-hero-content {
        left: 24px;
        right: 24px;
        bottom: 50px;
    }
    .page-hero-title {
        font-size: clamp(36px, 7vw, 60px);
    }

    /* Featured product */
    .featured-image {
        min-height: 380px;
    }
    .featured-title {
        font-size: clamp(32px, 6vw, 48px);
    }

    /* Section paddings */
    .product-grid-section,
    .related-section {
        padding: 50px 24px 80px;
    }
    .section-title-large {
        font-size: clamp(28px, 5vw, 44px);
    }

    /* Admin */
    .admin-header {
        padding: 18px 20px;
    }
    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .admin-stock-section {
        padding: 22px 18px;
    }
    .admin-stock-section .stock-table th,
    .admin-stock-section .stock-table td {
        padding: 10px 6px;
        font-size: 13px;
    }
    .stock-color-cell {
        gap: 8px;
        padding-right: 12px !important;
    }
    .stock-input {
        width: 50px;
        padding: 6px 4px;
        font-size: 13px;
    }
}

/* Mobile landscape & portrait (≤ 600px) */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    /* Announcement bar */
    .announcement-bar {
        padding: 8px 14px;
        font-size: 11px;
    }

    /* Header / nav */
    .nav-container {
        grid-template-columns: auto 1fr auto;
        padding: 14px 18px;
        gap: 8px;
    }
    .logo {
        font-size: 18px;
        letter-spacing: 0.16em;
    }
    .nav-left {
        gap: 12px;
    }
    .nav-left a {
        font-size: 11px;
    }
    .nav-right {
        gap: 10px;
    }
    .nav-right a, .nav-right button {
        font-size: 11px;
    }
    .lang-toggle,
    .cur-toggle {
        font-size: 11px;
        padding: 4px;
    }
    .lang-menu,
    .cur-menu {
        min-width: 140px;
        right: 0;
    }

    /* Hero */
    .hero {
        min-height: 420px;
        padding: 60px 0 40px;
    }
    .hero-title {
        font-size: clamp(32px, 9vw, 52px);
        line-height: 1.05;
    }
    .hero-eyebrow {
        font-size: 11px;
        margin-bottom: 14px;
    }
    .hero-content .btn {
        padding: 14px 30px;
        font-size: 11px;
    }

    /* Intro section */
    .intro-section {
        padding: 70px 0 60px;
    }
    .intro-text {
        font-size: clamp(20px, 4.5vw, 28px);
    }

    /* Featured product */
    .featured-product {
        padding: 0 0 30px;
    }
    .featured-image {
        min-height: 320px;
    }
    .featured-content {
        padding: 50px 24px;
    }
    .featured-title {
        font-size: clamp(30px, 8vw, 44px);
    }
    .featured-description {
        font-size: 14px;
    }

    /* Editorial */
    .editorial {
        min-height: 0;
    }
    .editorial-image {
        min-height: 280px;
    }
    .editorial-content {
        padding: 50px 24px;
    }
    .editorial-title {
        font-size: clamp(26px, 6.5vw, 38px);
    }
    .editorial-body {
        font-size: 14px;
    }

    /* Features grid */
    .features {
        padding: 60px 20px;
    }
    .features-grid {
        gap: 36px;
    }
    .feature-title {
        font-size: 15px;
    }

    /* Product page */
    .product-page {
        padding: 0 18px 80px;
        gap: 30px;
    }
    .breadcrumb {
        padding: 22px 18px;
        font-size: 11px;
    }
    .product-gallery {
        gap: 12px;
    }
    .product-heading {
        font-size: 30px;
    }
    .product-price-large {
        font-size: 17px;
        margin-bottom: 22px;
    }
    .product-description {
        font-size: 13.5px;
    }
    .size-selector {
        flex-wrap: wrap;
        gap: 6px;
    }
    .size-btn {
        flex: 1 0 calc(20% - 6px);
        min-width: 42px;
    }
    .product-accordion summary {
        font-size: 12px;
    }

    /* About */
    .about-intro {
        padding: 60px 0;
    }
    .about-lead {
        font-size: clamp(18px, 4.5vw, 24px);
    }
    .split-content {
        padding: 50px 24px;
    }
    .split-image {
        min-height: 260px;
    }
    .split-title {
        font-size: clamp(26px, 6.5vw, 38px);
    }
    .split-body {
        font-size: 14px;
    }
    .values-section {
        padding: 70px 0;
    }
    .values-grid {
        gap: 36px;
    }
    .quote-section {
        padding: 70px 0;
    }
    .quote-text {
        font-size: clamp(20px, 5vw, 28px);
    }
    .cta-section {
        padding: 70px 0;
    }
    .cta-title {
        font-size: clamp(28px, 7vw, 44px);
    }

    /* Contact */
    .contact-hero {
        padding: 70px 0 50px;
    }
    .page-title {
        font-size: clamp(32px, 8vw, 56px);
    }
    .page-subtitle {
        font-size: 15px;
    }
    .contact-main {
        padding: 50px 20px 80px;
    }
    .contact-grid {
        gap: 50px;
    }
    .info-block {
        margin-bottom: 30px;
    }
    .info-value {
        font-size: 15px;
    }
    .faq-section {
        padding: 70px 0;
    }
    .faq-item summary {
        font-size: 15px;
        padding-right: 32px;
    }

    /* Checkout */
    .checkout-section {
        padding: 40px 18px 80px;
    }
    .checkout-container {
        gap: 40px;
    }
    .checkout-title {
        font-size: clamp(28px, 7vw, 40px);
    }
    .checkout-subtitle {
        font-size: 14px;
        margin-bottom: 36px;
    }
    .checkout-form {
        gap: 32px;
    }
    .form-section {
        gap: 20px;
    }
    .form-section-title {
        font-size: 12px;
    }
    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px; /* iOS zoom prevention */
    }
    .test-mode-banner {
        font-size: 12px;
        padding: 10px 14px;
    }
    .test-cards li {
        font-size: 12px;
    }
    .test-card-num {
        font-size: 12px;
        padding: 3px 8px;
    }

    /* Order summary */
    .order-summary {
        padding: 26px 22px;
    }
    .summary-title {
        font-size: 15px;
    }
    .summary-item {
        grid-template-columns: 64px 1fr auto;
        gap: 12px;
    }
    .summary-item-name {
        font-size: 13px;
    }

    /* Success block */
    .order-success {
        padding: 50px 22px;
    }
    .success-title {
        font-size: clamp(24px, 6vw, 34px);
    }

    /* Footer */
    .site-footer {
        padding: 60px 20px 24px;
    }
    .footer-top {
        gap: 36px;
        margin-bottom: 40px;
    }
    .footer-newsletter p {
        font-size: 13px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-links a {
        font-size: 12.5px;
    }
    .footer-bottom {
        font-size: 11px;
        padding-top: 24px;
    }
    .footer-legal {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Admin */
    .admin-login-box {
        padding: 36px 22px;
        max-width: 100%;
    }
    .admin-login-title {
        font-size: 26px;
    }
    .admin-main {
        padding: 24px 16px 60px;
    }
    .admin-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .admin-logo {
        font-size: 18px;
    }
    .admin-subtitle {
        font-size: 11px;
    }
    .admin-stats {
        gap: 10px;
    }
    .stat-card {
        padding: 14px 12px;
    }
    .stat-label {
        font-size: 10px;
        margin-bottom: 10px;
    }
    .stat-value {
        font-size: 22px;
    }
    .admin-stock-section {
        padding: 18px 14px;
    }
    .admin-section-title {
        font-size: 17px;
    }
    .stock-table th,
    .stock-table td {
        padding: 8px 4px;
        font-size: 12px;
    }
    .stock-color-cell {
        font-size: 13px;
        gap: 6px;
    }
    .stock-swatch {
        width: 12px;
        height: 12px;
    }
    .stock-input {
        width: 42px;
        padding: 5px 2px;
        font-size: 12px;
    }
    .stock-status-pill {
        font-size: 9px;
        padding: 3px 6px;
    }
    .order-card {
        padding: 18px 16px;
    }
    .order-id {
        font-size: 13px;
    }
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .order-status-wrap {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .order-section p {
        font-size: 13px;
    }

    /* Email modal */
    .email-modal {
        padding: 16px 8px;
    }
    .email-modal-content {
        max-height: 95vh;
    }
    .email-modal-header {
        padding: 14px 16px;
    }
    .email-modal-subject {
        font-size: 14px;
    }
    .email-modal-to {
        font-size: 12px;
    }
    .email-modal-frame {
        min-height: 400px;
    }
}

/* Small mobile (≤ 380px) — iPhone SE, etc. */
@media (max-width: 380px) {
    .nav-container {
        padding: 12px 14px;
    }
    .logo {
        font-size: 16px;
    }
    .nav-left {
        gap: 10px;
    }
    .nav-left a {
        font-size: 10.5px;
    }
    .hero-title {
        font-size: 30px;
    }
    .checkout-title,
    .page-title {
        font-size: 26px;
    }
    .admin-stats {
        grid-template-columns: 1fr 1fr;
    }
    .stock-table th,
    .stock-table td {
        padding: 6px 2px;
        font-size: 11px;
    }
    .stock-input {
        width: 36px;
        font-size: 11px;
    }
    .size-btn {
        flex: 1 0 calc(25% - 6px);
    }
}

/* Landscape phones — prevent height issues */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 340px;
    }
    .page-hero {
        min-height: 300px;
    }
}

/* Allow horizontal scroll on tables that overflow on tiny screens */
.stock-table-wrap {
    -webkit-overflow-scrolling: touch;
}

/* Ensure buttons & links have a minimum touch target (44px is iOS HIG) */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .size-btn,
    .swatch,
    .nav-left a,
    .nav-right a,
    .lang-toggle,
    .footer-links a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }
    .size-btn,
    .btn {
        min-height: 44px;
    }
}
