/* ============================================================
   JERSEY CULT — Luxury Design System
   Inspired by FRWD.com, Dior, Valentino, Saint Laurent
   ============================================================ */

:root {
    --black: #0A0A0A;
    --soft-black: #1A1A1A;
    --charcoal: #2C2C2C;
    --dark-gray: #4A4A4A;
    --mid-gray: #6B6B6B;
    --warm-gray: #8A8580;
    --light-gray: #D4D0CA;
    --pale-gray: #E8E5E0;
    --cream: #F0EDE8;
    --off-white: #F7F6F3;
    --white: #FFFFFF;
    --gold: #B8956A;
    --dark-gold: #9A7B55;
    --blush: #E8D5C4;

    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    --header-height: 60px;
    --announcement-height: 36px;
    --container-max: 1440px;
    --container-padding: clamp(20px, 4vw, 60px);

    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset & Base ---- */

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--soft-black);
    background: var(--white);
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s var(--ease-out);
}

a:hover { opacity: 0.7; }

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

p { font-size: 0.9rem; line-height: 1.7; }

.jc-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ---- Announcement Bar ---- */

.jc-announcement-bar {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

/* ---- Header ---- */

.jc-header {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--pale-gray);
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.3s var(--ease-out);
}

.jc-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: transparent;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.jc-header.hero-mode {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.jc-header.hero-mode .jc-header__inner { color: var(--white); }
.jc-header.hero-mode .jc-logo-text { color: var(--white); }
.jc-header.hero-mode .jc-nav-list a { color: var(--white); }
.jc-header.hero-mode .jc-header__icon { color: var(--white); }
.jc-header.hero-mode .jc-header__menu-toggle span { background: var(--white); }

.jc-header__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.jc-header__logo {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jc-logo-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--black);
    white-space: nowrap;
    transition: color 0.3s;
}

.jc-header__nav {
    grid-column: 1;
    grid-row: 1;
}

.jc-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.jc-nav-list li { position: relative; }

.jc-nav-list a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--soft-black);
    transition: color 0.3s, opacity 0.3s;
    padding: 4px 0;
}

.jc-nav-list a:hover { opacity: 0.6; }

.jc-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: var(--white);
    min-width: 200px;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.jc-nav-list li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jc-nav-list .sub-menu a {
    display: block;
    padding: 8px 0;
    font-size: 0.7rem;
    color: var(--dark-gray);
}

.jc-header__actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.jc-header__icon {
    color: var(--soft-black);
    transition: color 0.3s, opacity 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

.jc-header__bag-count {
    position: absolute;
    top: -6px;
    right: -10px;
    width: 16px;
    height: 16px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jc-header.hero-mode .jc-header__bag-count {
    background: var(--white);
    color: var(--black);
}

/* Hamburger */

.jc-header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.jc-header__menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s var(--ease-out);
}

.jc-header__menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.jc-header__menu-toggle.active span:nth-child(2) { opacity: 0; }
.jc-header__menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ---- Hero Section ---- */

.jc-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
    margin-top: calc(var(--header-height) + var(--announcement-height));
}

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

.jc-hero__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.jc-hero__media img,
.jc-hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.jc-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 0 var(--container-padding) clamp(60px, 10vh, 120px);
    max-width: 800px;
}

.jc-hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.8;
}

.jc-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.jc-hero__subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ---- Buttons ---- */

.jc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 48px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

.jc-btn:hover { opacity: 1; }

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

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

.jc-btn--dark {
    background: var(--black);
    color: var(--white);
}

.jc-btn--dark:hover {
    background: var(--charcoal);
}

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

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

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

.jc-btn--outline-light:hover {
    background: var(--white);
    color: var(--black);
}

.jc-btn--text {
    background: none;
    padding: 0;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ---- Section Layouts ---- */

.jc-section {
    padding: clamp(60px, 10vw, 140px) 0;
}

.jc-section--dark {
    background: var(--black);
    color: var(--white);
}

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

.jc-section--off-white {
    background: var(--off-white);
}

.jc-section__header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.jc-section__eyebrow {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 16px;
}

.jc-section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.jc-section--dark .jc-section__eyebrow { color: var(--light-gray); }

/* ---- Product Grid ---- */

.jc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 32px);
}

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

.jc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.jc-product-card__image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream);
    margin-bottom: 16px;
}

.jc-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-luxury), opacity 0.6s;
}

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

.jc-product-card__image .jc-product-card__hover-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}

.jc-product-card:hover .jc-product-card__hover-img {
    opacity: 1;
}

.jc-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--white);
    color: var(--black);
    padding: 4px 10px;
}

.jc-product-card__info {
    text-align: center;
    padding: 0 8px;
}

.jc-product-card__name {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    color: var(--soft-black);
}

.jc-product-card__price {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--mid-gray);
    letter-spacing: 0.02em;
}

.jc-product-card__fabric {
    font-size: 0.65rem;
    color: var(--warm-gray);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ---- Editorial Split Section ---- */

.jc-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.jc-editorial--reverse .jc-editorial__image { order: 2; }
.jc-editorial--reverse .jc-editorial__content { order: 1; }

.jc-editorial__image {
    position: relative;
    overflow: hidden;
}

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

.jc-editorial__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, 8vw, 120px);
}

.jc-editorial__eyebrow {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.jc-editorial__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.15;
}

.jc-editorial__text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 32px;
    max-width: 480px;
}

/* ---- Category Cards ---- */

.jc-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.jc-category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.jc-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-luxury);
}

.jc-category-card:hover img { transform: scale(1.06); }

.jc-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 20px;
    color: var(--white);
}

.jc-category-card__name {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.jc-category-card__count {
    font-size: 0.65rem;
    opacity: 0.7;
    letter-spacing: 0.1em;
}

/* ---- Lookbook / Image Banner ---- */

.jc-lookbook {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.jc-lookbook__image {
    position: absolute;
    inset: 0;
}

.jc-lookbook__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.jc-lookbook__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.jc-lookbook__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

/* ---- Single Product ---- */

.jc-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: calc(var(--header-height) + var(--announcement-height));
    min-height: calc(100vh - var(--header-height) - var(--announcement-height));
}

.jc-product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--announcement-height));
    height: calc(100vh - var(--header-height) - var(--announcement-height));
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px;
    padding: 8px;
    background: var(--off-white);
}

.jc-product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    scrollbar-width: none;
}

.jc-product-gallery__thumbs::-webkit-scrollbar { display: none; }

.jc-product-gallery__thumb {
    width: 72px;
    height: 96px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.jc-product-gallery__thumb.active,
.jc-product-gallery__thumb:hover {
    border-color: var(--black);
}

.jc-product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jc-product-gallery__main {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.jc-product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s var(--ease-out);
}

.jc-product-info {
    padding: clamp(40px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.jc-product-info__breadcrumb {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 32px;
}

.jc-product-info__breadcrumb a:hover { color: var(--black); }
.jc-product-info .bc-sep { margin: 0 8px; }

.jc-product-info__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.2;
}

.jc-product-info__subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.jc-product-info__price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    color: var(--soft-black);
}

.jc-product-info__desc {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 32px;
    border-top: 1px solid var(--pale-gray);
    padding-top: 24px;
}

.jc-product-info__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pale-gray);
}

.jc-product-info__meta-item {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--dark-gray);
}

.jc-product-info__meta-label {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    min-width: 80px;
    color: var(--soft-black);
}

.jc-product-note {
    margin-top: 24px;
    padding: 16px;
    background: var(--off-white);
    border-left: 2px solid var(--light-gray);
}

.jc-product-note p {
    font-size: 0.7rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* WooCommerce overrides for product page */

.jc-product-info .variations { margin-bottom: 24px; }

.jc-product-info .variations td {
    display: block;
    padding: 0;
}

.jc-product-info .variations .label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.jc-product-info .variations select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    appearance: none;
    cursor: pointer;
}

.jc-product-info .single_add_to_cart_button {
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.jc-product-info .single_add_to_cart_button:hover {
    background: var(--charcoal);
}

.jc-product-info .quantity {
    margin-right: 12px;
}

.jc-product-info .quantity input {
    width: 60px;
    padding: 12px;
    border: 1px solid var(--light-gray);
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

/* ---- Product Tabs ---- */

.jc-product-tabs {
    border-top: 1px solid var(--pale-gray);
    margin-top: 40px;
    padding-top: 32px;
}

.woocommerce-tabs .tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid var(--pale-gray);
    margin-bottom: 24px;
}

.woocommerce-tabs .tabs li a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-bottom: 12px;
    display: block;
    color: var(--warm-gray);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.woocommerce-tabs .tabs li.active a {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* ---- Archive / Shop Page ---- */

.jc-archive-header {
    margin-top: calc(var(--header-height) + var(--announcement-height));
    padding: clamp(60px, 10vw, 120px) var(--container-padding) clamp(30px, 5vw, 60px);
    text-align: center;
    background: var(--off-white);
}

.jc-archive-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 12px;
}

.jc-archive-header__desc {
    font-size: 0.85rem;
    color: var(--mid-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.jc-archive-header__count {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-top: 16px;
}

.jc-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

.jc-shop-toolbar__sort select {
    border: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    color: var(--mid-gray);
}

.jc-shop-section {
    padding: 0 var(--container-padding) clamp(60px, 10vw, 120px);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ---- Related Products ---- */

.jc-related {
    border-top: 1px solid var(--pale-gray);
    padding-top: clamp(60px, 8vw, 100px);
}

.jc-related__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    margin-bottom: clamp(32px, 5vw, 60px);
}

/* ---- Newsletter ---- */

.jc-footer__newsletter {
    background: var(--black);
    color: var(--white);
    padding: clamp(60px, 10vw, 100px) var(--container-padding);
}

.jc-footer__newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.jc-footer__newsletter h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    margin-bottom: 12px;
}

.jc-footer__newsletter p {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.jc-newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.jc-newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.jc-newsletter-form button {
    padding: 14px 28px;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--white);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.jc-newsletter-form button:hover {
    background: transparent;
    color: var(--white);
}

/* ---- Footer ---- */

.jc-footer__main {
    padding: clamp(48px, 8vw, 80px) var(--container-padding);
    border-top: 1px solid var(--pale-gray);
}

.jc-footer__grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 4vw, 60px);
}

.jc-footer__col h4 {
    margin-bottom: 20px;
    color: var(--soft-black);
}

.jc-footer__col ul li {
    margin-bottom: 10px;
}

.jc-footer__col ul li a {
    font-size: 0.78rem;
    color: var(--mid-gray);
    transition: color 0.3s;
}

.jc-footer__col ul li a:hover {
    color: var(--black);
    opacity: 1;
}

.jc-footer__contact {
    margin-top: 20px;
}

.jc-footer__contact p {
    font-size: 0.78rem;
    color: var(--mid-gray);
}

.jc-footer__bottom {
    border-top: 1px solid var(--pale-gray);
    padding: 24px var(--container-padding);
}

.jc-footer__bottom-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jc-footer__bottom p {
    font-size: 0.7rem;
    color: var(--warm-gray);
}

.jc-footer__bottom ul {
    display: flex;
    gap: 24px;
}

.jc-footer__bottom ul li a {
    font-size: 0.7rem;
    color: var(--warm-gray);
}

/* ---- Blog / Journal ---- */

.jc-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 32px);
}

.jc-post-card__image {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 16px;
}

.jc-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-luxury);
}

.jc-post-card:hover .jc-post-card__image img { transform: scale(1.04); }

.jc-post-card__content h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.jc-post-card__content p {
    font-size: 0.8rem;
    color: var(--mid-gray);
    line-height: 1.6;
}

/* ---- Page Templates ---- */

.jc-page-section {
    margin-top: calc(var(--header-height) + var(--announcement-height));
    padding: clamp(60px, 10vw, 120px) var(--container-padding);
}

.jc-page-content {
    max-width: 780px;
    margin: 0 auto;
}

.jc-page-content h1 {
    margin-bottom: 40px;
    text-align: center;
}

.jc-page-content h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.jc-page-content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.jc-page-content p { margin-bottom: 16px; }
.jc-page-content ul { padding-left: 20px; margin-bottom: 16px; }
.jc-page-content ul li { list-style: disc; margin-bottom: 8px; font-size: 0.9rem; }

/* ---- Breadcrumb ---- */

.jc-breadcrumb {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.jc-breadcrumb a { color: var(--warm-gray); }
.jc-breadcrumb a:hover { color: var(--black); opacity: 1; }
.jc-breadcrumb .bc-sep { margin: 0 8px; }

/* ---- Animations ---- */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---- WooCommerce Global Overrides ---- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--font-body);
    font-size: 0.8rem;
    border-top: 2px solid var(--black);
    padding: 16px 20px;
    margin-bottom: 24px;
    background: var(--off-white);
}

.woocommerce-message::before,
.woocommerce-info::before { color: var(--black); }

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--black) !important;
    color: var(--white) !important;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 0;
    border: none;
    transition: background 0.3s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--charcoal) !important;
}

.woocommerce .price {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--soft-black);
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--mid-gray);
    border: 1px solid var(--light-gray);
    min-width: 40px;
    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ---- Scrollbar ---- */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--light-gray); }
::-webkit-scrollbar-thumb:hover { background: var(--warm-gray); }

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

@media (max-width: 1024px) {
    .jc-product-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .jc-editorial { grid-template-columns: 1fr; }
    .jc-editorial__image { min-height: 50vh; }
    .jc-editorial--reverse .jc-editorial__image { order: 1; }
    .jc-editorial--reverse .jc-editorial__content { order: 2; }
    .jc-categories { grid-template-columns: repeat(2, 1fr); }

    .jc-product-detail { grid-template-columns: 1fr; }
    .jc-product-gallery {
        position: relative;
        top: auto;
        height: auto;
        aspect-ratio: 3/4;
        margin-top: calc(var(--header-height) + var(--announcement-height));
    }
    .jc-product-info { padding: 32px var(--container-padding); max-width: none; }
}

@media (max-width: 768px) {
    .jc-header__menu-toggle { display: flex; }

    .jc-header__inner {
        grid-template-columns: auto 1fr auto;
        gap: 0;
    }

    .jc-header__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease-out);
    }

    .jc-header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .jc-header__nav .jc-nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .jc-header__nav .jc-nav-list a {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .jc-hero { min-height: 600px; }
    .jc-hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

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

    .jc-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .jc-post-grid { grid-template-columns: 1fr; }
    .jc-categories { grid-template-columns: 1fr; }

    .jc-newsletter-form { flex-direction: column; }
    .jc-newsletter-form input[type="email"] { border-right: 1px solid rgba(255, 255, 255, 0.2); }

    .jc-footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }

    .jc-product-gallery { grid-template-columns: 1fr; }
    .jc-product-gallery__thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
    }
    .jc-product-gallery__thumb { width: 56px; height: 72px; }
}

@media (max-width: 480px) {
    .jc-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .jc-product-card__name { font-size: 0.7rem; }
    .jc-product-card__price { font-size: 0.65rem; }
    .jc-announcement-bar { font-size: 0.6rem; letter-spacing: 0.15em; }
}

/* ---- Loading / Skeleton ---- */

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.jc-skeleton {
    background: linear-gradient(90deg, var(--cream) 25%, var(--off-white) 50%, var(--cream) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}
