/*
Theme Name: Kadence Child - Svaeria
Theme URI: https://svaeria.is
Description: Custom child theme for Kadence
Author: Kjartan Helgason
Author URI: 
Template: kadence
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kadence-child
*/

/* ==========================================================================
   JONNA JINTON STYLE - NORDIC JEWELRY AESTHETIC
   ========================================================================== */

.jj-footer-payments {
    background-color: #fff;
    padding: 30px;
}

.jj-payments-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

/* Override WooCommerce default image styles for payment logos */
.woocommerce .jj-payments-container img,
.woocommerce-page .jj-payments-container img,
.jj-payments-container img {
    height: 28px !important;
    width: auto !important;
    max-width: none !important;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.woocommerce .jj-payments-container img:hover,
.woocommerce-page .jj-payments-container img:hover,
.jj-payments-container img:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --jj-black: #1a1a1a;
    --jj-dark-gray: #333333;
    --jj-gray: #666666;
    --jj-light-gray: #999999;
    --jj-silver: #c4c4c4;
    --jj-off-white: #f8f8f8;
    --jj-white: #ffffff;
    --jj-cream: #faf9f7;
    --jj-warm-beige: #e8e4df;
    --jj-gold-accent: #c9b99a;
    --jj-svaeria-blue: #e8eefa;
    --jj-section-grey: #f2f2f2;
    
    /* Typography - Matching Jonna Jinton Sweden */
    --jj-font-heading: 'Spectral', Georgia, serif;
    --jj-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --jj-font-accent: 'Spectral', Georgia, serif;
    
    /* Spacing */
    --jj-spacing-xs: 0.5rem;
    --jj-spacing-sm: 1rem;
    --jj-spacing-md: 2rem;
    --jj-spacing-lg: 4rem;
    --jj-spacing-xl: 6rem;
    --jj-spacing-xxl: 8rem;
    
    /* Transitions */
    --jj-transition: all 0.3s ease;
    --jj-transition-slow: all 0.5s ease;
    
    /* Border Radius */
    --jj-radius-sm: 2px;
    --jj-radius-md: 4px;
}

/* --------------------------------------------------------------------------
   Google Fonts Import - Inter + Spectral (Jonna Jinton Style)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&display=swap');

/* --------------------------------------------------------------------------
   Base Styles & Typography
   -------------------------------------------------------------------------- */
html {
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--jj-dark-gray);
    background-color: #ffffff !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
    font-weight: 400;
    color: var(--jj-black);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--jj-gray);
}

a {
    color: var(--jj-black);
    text-decoration: none;
    transition: var(--jj-transition);
}

a:hover {
    color: var(--jj-gray);
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section - Add class "jj-hero" to a Cover block
   -------------------------------------------------------------------------- */
.jj-hero,
.wp-block-cover.jj-hero {
    min-height: auto !important;
    max-height: 1200px !important;
    height: 1200px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative !important;
    float: none !important;
    clear: both !important;
    overflow: hidden;
}

/* Ensure hero image covers full width and respects max-height */
.jj-hero img.wp-block-cover__image-background,
.jj-hero video.wp-block-cover__video-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
}

.jj-hero .wp-block-cover__inner-container {
    max-width: 800px;
    text-align: center;
    padding: 40px 20px;
}

.jj-hero h1,
.jj-hero .wp-block-heading {
    font-family: 'Spectral', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #ffffff !important;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.jj-hero h2 {
    font-family: 'Spectral', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: #ffffff !important;
    letter-spacing: 0.03em;
    margin-bottom: 15px;
}

.jj-hero p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff !important;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Hero Button - Flatsome style */
.jj-hero .wp-block-button__link,
.jj-hero a.wp-block-button__link {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    padding: 15px 40px !important;
    font-family: 'Inter', sans-serif;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.jj-hero .wp-block-button__link:hover {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

/* Hero responsive */
@media (max-width: 768px) {
    .jj-hero,
    .wp-block-cover.jj-hero {
        min-height: 70vh !important;
        height: auto !important;
        max-height: 500px !important;
        height: 500px !important;
    }
    
    .jj-hero .wp-block-cover__inner-container {
        padding: 30px 15px;
    }
}

/* --------------------------------------------------------------------------
   Hero Image Banner (shortcode: hero_image)
   -------------------------------------------------------------------------- */
.jj-hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jj-hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
}

.jj-hero-banner-overlay {
    display: none;
}

.jj-hero-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--jj-spacing-lg);
    max-width: 800px;
}

.jj-hero-banner-subtitle {
    font-family: var(--jj-font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--jj-spacing-sm);
}

.jj-hero-banner-title {
    font-family: var(--jj-font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #ffffff !important;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: var(--jj-spacing-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.jj-hero-banner-button {
    display: inline-block;
    background-color: transparent;
    color: #ffffff !important;
    border: 1px solid #ffffff;
    padding: 15px 40px;
    font-family: var(--jj-font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--jj-transition);
}

.jj-hero-banner-button:hover {
    background-color: #ffffff;
    color: var(--jj-black) !important;
}

@media (max-width: 768px) {
    .jj-hero-banner {
        height: 400px !important;
    }

    .jj-hero-banner-content {
        padding: var(--jj-spacing-md);
    }

    .jj-hero-banner-title {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   Product Grid Section (New Arrivals, etc.)
   -------------------------------------------------------------------------- */
.jj-product-section {
    padding: 80px 20px;
    background-color: #ffffff;
    text-align: center;
}

.jj-section-title {
    font-family: 'Spectral', serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 50px;
}

/* Product Grid */
.jj-product-grid {
    display: grid;
    gap: 40px 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

/* Product Card */
.jj-product-card {
    text-align: center;
}

.jj-product-image-link {
    display: block;
    text-decoration: none;
}

.jj-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f5f5f5;
}

.jj-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

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

.jj-product-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

/* Product Info */
.jj-product-info {
    text-align: center;
}

.jj-product-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0px 0px 8px 0px;
    line-height: 1.4;
}

.jj-product-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.jj-product-title a:hover {
    color: #666;
}

.jj-product-price {
    font-family: 'Spectral', serif !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 8px !important;
}

.jj-product-price del {
    color: #999;
    margin-right: 8px;
}

.jj-product-price ins {
    text-decoration: none;
    color: #1a1a1a;
}

.jj-product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #8c8c8c;
    margin: 8px 0 4px 0;
    line-height: 1.6;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.jj-product-desc p {
    margin-bottom: 0;
}

/* Product Button - Underline style */
.jj-product-button {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    border: none !important;
    background-color: transparent !important;
    cursor: pointer;
    position: relative;
    /* Reset WooCommerce button styles */
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    white-space: nowrap !important;
}

.jj-product-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

.jj-product-button:hover {
    color: #1a1a1a;
}

.jj-product-button:hover::after {
    width: 100%;
}

/* View Cart Button State */
.jj-product-button.in-cart {
    color: #666;
}

.jj-product-button.in-cart::after {
    background-color: #666;
}

/* WooCommerce AJAX Add to Cart States */
.jj-product-button.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Hide our button when WooCommerce adds "added" class (item in cart) */
.jj-product-button.added {
    display: none;
}

/* Style WooCommerce's auto-generated View Cart link */
.jj-product-info .added_to_cart,
.jj-favorites-info .added_to_cart {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    padding: 8px 0 5px 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.jj-product-info .added_to_cart::after,
.jj-favorites-info .added_to_cart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background-color: #666;
    transition: width 0.3s ease;
}

.jj-product-info .added_to_cart:hover,
.jj-favorites-info .added_to_cart:hover {
    color: #1a1a1a;
}

.jj-product-info .added_to_cart:hover::after,
.jj-favorites-info .added_to_cart:hover::after {
    width: 100%;
    background-color: #1a1a1a;
}

/* Section Footer / See More Button */
.jj-section-footer {
    margin-top: 50px;
    text-align: center;
}

.jj-see-more-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 30px 5px 30px;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.jj-see-more-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Our Favorites Carousel Section
   -------------------------------------------------------------------------- */
.jj-favorites-section {
    padding: 80px 50px;
    background-color: #ffffff;
    text-align: center;
}

.jj-favorites-title {
    font-family: 'Spectral', serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.jj-favorites-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.jj-favorites-arrow {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.jj-favorites-arrow:hover {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
    color: #ffffff;
}

.jj-favorites-carousel {
    flex: 1;
    overflow: hidden;
}

.jj-favorites-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.jj-favorites-item {
    flex: 0 0 calc((100% - 90px) / 4); /* 4 items with 3 gaps of 30px */
    min-width: calc((100% - 90px) / 4);
    text-align: center;
}

.jj-favorites-image-link {
    display: block;
}

.jj-favorites-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.jj-favorites-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jj-favorites-image-link:hover img {
    transform: scale(1.05);
}

.jj-favorites-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.jj-favorites-info {
    padding: 0 10px;
}

.jj-favorites-item-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.jj-favorites-item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.jj-favorites-item-title a:hover {
    color: #666;
}

.jj-favorites-price {
    font-family: 'Spectral', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
}

.jj-favorites-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #8c8c8c;
    margin: 8px 0 4px 0;
    line-height: 1.6;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.jj-favorites-info .jj-product-button {
    margin-top: 10px;
}

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

.jj-favorites-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 30px 5px 30px;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.jj-favorites-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Favorites Carousel Responsive */
@media (max-width: 1200px) {
    .jj-favorites-item {
        flex: 0 0 calc((100% - 60px) / 3);
        min-width: calc((100% - 60px) / 3);
    }
    
    .jj-favorites-section {
        padding: 60px 30px;
    }
}

@media (max-width: 900px) {
    .jj-favorites-item {
        flex: 0 0 calc((100% - 30px) / 2);
        min-width: calc((100% - 30px) / 2);
    }
    
    .jj-favorites-arrow {
        width: 40px;
        height: 40px;
    }
    
    .jj-favorites-carousel-wrapper {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .jj-favorites-section {
        padding: 50px 15px;
    }
    
    .jj-favorites-carousel-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .jj-favorites-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .jj-favorites-arrow {
        display: none;
    }
    
    .jj-favorites-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .jj-favorites-track::-webkit-scrollbar {
        display: none;
    }
    
    .jj-favorites-item {
        scroll-snap-align: start;
        flex: 0 0 80%;
        min-width: 80%;
    }
}

/* --------------------------------------------------------------------------
   Love From The North Section
   -------------------------------------------------------------------------- */
.jj-love-north-section {
    background-color: var(--jj-section-grey);
    padding: 70px 50px;
    position: relative;
}

.jj-love-north-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding: 0 15px 30px;
    width: 100%;
}

/* Love From North responsive column widths */
@media screen and (min-width: 850px) {
    .jj-love-north-container {
        flex-basis: 58.3333333333%;
        max-width: 58.3333333333%;
        margin: 0 auto;
    }
}

@media screen and (min-width: 550px) and (max-width: 849px) {
    .jj-love-north-container {
        flex-basis: 83.3333333333%;
        max-width: 83.3333333333%;
        margin: 0 auto;
    }
}

.jj-love-north-stamp {
    position: absolute;
    top: -30px;
    right: -80px;
    left: auto;
    width: 100px;
    z-index: 1;
}

.jj-love-north-stamp img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.jj-love-north-content {
    position: relative;
    z-index: 2;
}

.jj-love-north-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.jj-love-north-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.jj-love-north-text {
    font-family: 'Spectral', sans-serif;
    font-size: 33px;
    font-weight: 500;
    line-height: 45px;
    color: #1a1a1a;
    max-width: 600px;
    margin: 0 auto;
}

/* Love From The North Responsive */
@media (max-width: 900px) {
    .jj-love-north-stamp {
        position: relative;
        top: 0;
        left: 0;
        width: 70px;
        margin: 0 auto 20px auto;
    }
    
    .jj-love-north-section {
        padding: 50px 30px;
    }
    
    .jj-love-north-title {
        font-size: 24px;
    }
}

@media (max-width: 550px) {
    .jj-love-north-section {
        padding: 50px 20px;
    }
    
    .jj-love-north-stamp {
        width: 60px;
    }
    
    .jj-love-north-title {
        font-size: 20px;
        letter-spacing: 0.1em;
    }
    
    .jj-love-north-text {
        font-size: 14px;
    }
}

/* --------------------------------------------------------------------------
   Collection Banner Section (50/50 split)
   -------------------------------------------------------------------------- */
.jj-collection-banner {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
}

/* Collection banner background color variants */
.jj-collection-grey {
    background-color: var(--jj-section-grey);
}

.jj-collection-blue {
    background-color: var(--jj-svaeria-blue);
}

.jj-collection-container {
    display: flex;
    min-height: 600px;
}

.jj-collection-content {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 60px 0;
}

.jj-collection-content-inner {
    max-width: 450px;
    text-align: left;
    padding: 0 15px 30px;
    position: relative;
    width: 100%;
    flex-basis: 91.6666666667%;
    max-width: 91.6666666667%;
}

/* Collection content responsive widths */
@media screen and (min-width: 550px) {
    .jj-collection-content-inner {
        flex-basis: 91.6666666667%;
        max-width: 91.6666666667%;
    }
}

@media screen and (min-width: 850px) {
    .jj-collection-content-inner {
        flex-basis: 58.3333333333%;
        max-width: 58.3333333333%;
    }
}

.jj-collection-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.jj-collection-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: 0;
}

.jj-collection-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.jj-collection-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.jj-collection-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 30px 5px 30px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.jj-collection-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

.jj-collection-image {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
}

.jj-collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Light text variant */
.jj-collection-light .jj-collection-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.jj-collection-light .jj-collection-title,
.jj-collection-light .jj-collection-text {
    color: #ffffff;
}

.jj-collection-light .jj-collection-button {
    color: #ffffff;
    border-color: #ffffff;
}

.jj-collection-light .jj-collection-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Reverse layout: image on left */
.jj-collection-reverse .jj-collection-container {
    flex-direction: row-reverse;
}

.jj-collection-reverse .jj-collection-button {
    border-color: #acbfc9;
}

.jj-collection-reverse .jj-collection-button:hover {
    background-color: #acbfc9;
    color: #ffffff;
}

/* Collection Banner Responsive */
@media (max-width: 1024px) {
    .jj-collection-container {
        min-height: 500px;
    }
    
    .jj-collection-title {
        font-size: 34px;
    }
    
    .jj-collection-content {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .jj-collection-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .jj-collection-reverse .jj-collection-container {
        flex-direction: column;
    }
    
    .jj-collection-content {
        flex: 0 0 auto;
        padding: 50px 30px;
        order: 2;
    }
    
    .jj-collection-content-inner {
        max-width: 100%;
        text-align: center;
    }
    
    .jj-collection-buttons {
        justify-content: center;
    }
    
    .jj-collection-image {
        flex: 0 0 auto;
        height: 400px;
        order: 1;
    }
    
    .jj-collection-title {
        font-size: 28px;
    }
}

@media (max-width: 550px) {
    .jj-collection-content {
        padding: 40px 20px;
    }
    
    .jj-collection-image {
        height: 350px;
    }
    
    .jj-collection-title {
        font-size: 24px;
    }
    
    .jj-collection-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .jj-collection-button {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Product Grid Responsive */
@media (max-width: 1200px) {
    .jj-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* New Arrivals - Show only 4 items (2x2) on medium screens */
    .jj-new-arrivals-section .jj-product-grid .jj-product-card:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 900px) {
    .jj-grid-4,
    .jj-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .jj-product-section {
        padding: 60px 15px;
    }
    
    .jj-section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 550px) {
    .jj-grid-4,
    .jj-grid-3,
    .jj-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .jj-product-section {
        padding: 40px 15px;
    }
    
    .jj-product-image {
        aspect-ratio: 1 / 1;
    }
    
    /* New Arrivals - Show only 2 items on mobile */
    .jj-new-arrivals-section .jj-product-grid .jj-product-card:nth-child(n+3) {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Split Content Block (75% background with image extending past)
   -------------------------------------------------------------------------- */
.jj-split-block {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    overflow: visible;
    background-color: #ffffff;
}

/* Background that only covers 75% from left */
.jj-split-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.jj-split-bg {
    width: 100%;
    height: 100%;
    background-color: var(--jj-section-grey);
}

/* Reverse: background on right side */
.jj-split-reverse .jj-split-bg-wrapper {
    left: auto;
    right: 0;
}

/* Main container - height based on content */
.jj-split-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
}

/* Content column */
.jj-split-content-col {
    flex: 0 0 40%;
    max-width: 40%;
    z-index: 2;
}

.jj-split-content-inner {
    padding: 60px 0 60px 60px;
    margin: 40px 0;
}

.jj-split-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.jj-split-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    line-height: 1.3;
    letter-spacing: 0px;
    text-transform: none;
}

.jj-split-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.jj-split-text p {
    margin-bottom: 15px;
}

.jj-split-text p:last-child {
    margin-bottom: 0;
}

.jj-split-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 30px 5px 30px;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.jj-split-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Blue background variant */
.jj-split-blue .jj-split-bg {
    background-color: var(--jj-svaeria-blue);
}

.jj-split-blue .jj-split-button {
    color: #1a1a1a;
    border-color: #ffffff;
}

.jj-split-blue .jj-split-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Image column - positioned to extend past background */
.jj-split-image-col {
    flex: 0 0 55%;
    max-width: 55%;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
    padding-top: 60px;
    padding-bottom: 60px;
}

.jj-split-image {
    width: 70%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-left: auto;
    margin-right: calc(-12.5vw + 150px); /* Push image to sit at 75% background edge */
}

/* Reverse layout: image on left, text on right */
.jj-split-reverse .jj-split-container {
    flex-direction: row-reverse;
}

.jj-split-reverse .jj-split-image-col {
    justify-content: flex-start;
    text-align: left;
}

.jj-split-reverse .jj-split-image {
    margin-left: calc(-12.5vw + 150px);
    margin-right: auto;
}

.jj-split-reverse .jj-split-content-inner {
    padding-left: 0;
    padding-right: 60px;
    text-align: left;
}

/* Responsive */
@media (min-width: 1600px) {
    .jj-split-image {
        margin-right: calc(-12.5vw + 100px);
    }
    .jj-split-reverse .jj-split-image {
        margin-left: calc(-12.5vw + 100px);
        margin-right: auto;
    }
}

@media (max-width: 1400px) {
    .jj-split-image {
        width: 85%;
        max-width: 480px;
        margin-right: calc(-10vw + 200px);
    }
    .jj-split-reverse .jj-split-image {
        margin-left: calc(-10vw + 200px);
        margin-right: auto;
    }
}

@media (max-width: 1200px) {
    .jj-split-image {
        width: 80%;
        max-width: 400px;
        margin-right: calc(-5vw + 100px);
    }
    .jj-split-reverse .jj-split-image {
        margin-left: calc(-5vw + 100px);
        margin-right: auto;
    }
}

@media (max-width: 1024px) {
    .jj-split-container {
        padding: 0 30px;
        gap: 30px;
    }
    
    .jj-split-content-col {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .jj-split-image-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .jj-split-image {
        width: 70%;
        max-width: 320px;
    }
    
    .jj-split-content-inner {
        padding: 40px 0 40px 50px;
        margin: 30px 0;
    }
}

@media (max-width: 768px) {
    .jj-split-block {
        overflow: hidden;
        background-color: var(--jj-section-grey);
    }

    .jj-split-blue {
        background-color: var(--jj-svaeria-blue);
    }
    
    .jj-split-bg-wrapper {
        display: none;
    }
    
    .jj-split-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .jj-split-reverse .jj-split-container {
        flex-direction: column;
    }
    
    .jj-split-content-col,
    .jj-split-image-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .jj-split-image-col {
        justify-content: center;
        text-align: center;
        order: 1;
    }
    
    .jj-split-reverse .jj-split-image-col {
        order: 1;
        text-align: center;
    }
    
    .jj-split-image {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        margin: 0 auto;
    }
    
    .jj-split-reverse .jj-split-image {
        margin: 0 auto;
    }
    
    .jj-split-content-inner {
        text-align: center;
        padding: 30px 20px;
        margin: 0;
        background: transparent;
    }
    
    .jj-split-reverse .jj-split-content-inner {
        text-align: center;
        padding: 30px 20px;
    }
}

/* Ensure site content starts below header */
.site-content,
#content {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Sticky Header Wrapper
   -------------------------------------------------------------------------- */
.jj-sticky-header-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
}

/* Override Kadence's transparent header absolute positioning */
@media (min-width: 1025px) {
    .transparent-header #masthead,
    .transparent-header .jj-main-header {
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Top bar sits at top */
.jj-sticky-header-wrap .top-bar {
    flex-shrink: 0;
}

/* Header sits below top bar */
.jj-sticky-header-wrap .jj-main-header {
    flex-shrink: 0;
}

/* Offset body content for fixed header */
body {
    padding-top: 140px !important; /* Top bar (40px) + Header (100px) */
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-bar,
.announcement-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 0;
    color: #B4B4B4;
    background-color: var(--jj-section-grey);
}

.top-bar span,
.announcement-bar span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Dividers between top bar items */
.top-bar span:not(:last-child)::after,
.announcement-bar span:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #B4B4B4;
    margin-left: 40px;
}

.top-bar a,
.announcement-bar a {
    color: #B4B4B4;
}

.top-bar a:hover,
.announcement-bar a:hover {
    color: var(--jj-black);
}

@media screen and (max-width: 768px) {
    .top-bar,
    .announcement-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 10px 0;
        color: #B4B4B4;
        font-size: 11px !important;
        background-color: var(--jj-section-grey);
    }
    
    .top-bar span:not(:last-child)::after,
    .announcement-bar span:not(:last-child)::after {
        margin-left: 10px;
    }
}

/* Kadence's built-in top bar styling */
.site-top-header-wrap {
    background-color: var(--jj-section-grey) !important;
}

.site-top-header-wrap .site-top-header-inner-wrap {
    padding: 8px 0;
}

.site-top-header-wrap,
.site-top-header-wrap a,
.site-top-header-wrap .top-bar-text {
    color: #B4B4B4 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

/* --------------------------------------------------------------------------
   Header Styles (Flatsome-inspired)
   -------------------------------------------------------------------------- */
.site-header,
.jj-main-header {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: var(--jj-transition);
    position: relative;
    z-index: 100;
    height: 100px;
}

/* Sticky Header - Let the wrapper handle positioning */
.site-header.item-is-fixed,
.jj-main-header.header-scrolled {
    background-color: var(--jj-white) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    /* Don't override position - parent wrapper handles this */
}

.site-header.item-is-fixed .site-branding a,
.site-header.item-is-fixed .header-navigation a {
    color: var(--jj-black) !important;
}

/* Body padding to account for fixed header */
body.header-is-sticky {
    padding-top: var(--header-height, 80px);
}

/* Header Inner - Flatsome-inspired layout */
.site-header-inner-wrap,
.jj-header-inner {
    height: 100%;
    padding: 0;
}

.jj-header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-flow: row nowrap;
}

/* Logo / Site Title */
.site-branding,
.jj-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-title {
    font-family: 'Spectral', serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
}

.site-title a {
    color: var(--jj-black);
    text-decoration: none;
}

.custom-logo,
.jj-header-logo img {
    max-height: 60px;
    width: auto;
}

/* Main Navigation */
.jj-header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: static;
}

.jj-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    position: static;
}

.jj-nav-menu > li {
    position: static;
}

.jj-nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jj-black);
    text-decoration: none;
    transition: var(--jj-transition);
    position: relative;
}

.jj-nav-menu > li > a:hover {
    color: var(--jj-gray);
}

.jj-nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: var(--jj-black);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.jj-nav-menu > li > a:hover::after,
.jj-nav-menu > li.active > a::after {
    transform: scaleX(1);
}

/* Full Width Mega Menu Dropdown */
.jj-has-mega-menu {
    position: static !important;
}

.jj-header-nav {
    position: static !important;
}

.jj-mega-menu {
    position: fixed !important;
    top: 140px !important; /* Top bar (40px) + Header (100px) */
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 200000 !important; /* Above search/currency dropdowns */
}

.jj-nav-menu > li:hover .jj-mega-menu,
.jj-nav-menu > li.mega-menu-open .jj-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jj-mega-menu-inner {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap; /* Force single line */
    justify-content: center;
    max-width: 95vw;
    margin: 0 auto;
}

/* Category Card in Mega Menu - Image left, content right */
.jj-mega-category {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-shrink: 1;
    min-width: 0;
    align-items: flex-start;
}

.jj-mega-category-image {
    width: 250px;
    height: 376px;
    overflow: hidden;
    border-radius: 2px;
    flex-shrink: 1;
    min-width: 100px;
}

.jj-mega-category-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.jj-mega-category-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 376;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.jj-mega-category:hover .jj-mega-category-image img {
    transform: scale(1.05);
}

.jj-mega-category-content {
    text-align: left;
    padding-top: 0;
}

.jj-mega-category-title {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jj-black);
    margin: 0;
}

.jj-mega-category-title a {
    color: var(--jj-black);
    text-decoration: none;
}

.jj-mega-category-title a:hover {
    color: var(--jj-gray);
}

.jj-mega-subcategories {
    list-style: none;
    margin: 2px 0 0 0;
    padding: 0;
    text-align: left;
}

.jj-mega-subcategories a {
    font-size: 15px;
    font-weight: 400;
    color: var(--jj-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.jj-mega-subcategories a:hover {
    color: var(--jj-black);
}

/* Responsive Mega Menu - Scale categories to fit on one line */
@media (max-width: 1800px) {
    .jj-mega-category-image {
        width: 180px;
        height: auto;
    }
    .jj-mega-menu-inner {
        gap: 25px;
    }
    .jj-mega-category {
        gap: 15px;
    }
}

@media (max-width: 1500px) {
    .jj-mega-category-image {
        width: 150px;
    }
    .jj-mega-menu-inner {
        gap: 20px;
    }
    .jj-mega-category {
        gap: 12px;
    }
    .jj-mega-category-title {
        font-size: 14px;
    }
}

@media (max-width: 1300px) {
    .jj-mega-category-image {
        width: 120px;
    }
    .jj-mega-menu-inner {
        gap: 15px;
    }
    .jj-mega-category {
        gap: 10px;
    }
    .jj-mega-category-title {
        font-size: 13px;
    }
    .jj-mega-subcategories a {
        font-size: 13px;
    }
}

/* Header Right Section (Icons) - Flatsome style */
.jj-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Header Icon Buttons */
.jj-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    color: #363636;
    transition: color 0.2s ease;
    position: relative;
    padding: 0;
    margin: 0;
    box-shadow: none !important;
    outline: none !important;
}

.jj-header-icon:hover,
.jj-header-icon:focus {
    color: #4169E1;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.jj-header-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Search icon specifically */
.jj-search-toggle svg {
    width: 22px;
    height: 22px;
}

.jj-search-toggle:hover,
.jj-search-toggle:focus {
    color: #4169E1;
    box-shadow: none !important;
}

/* Search Dropdown - Full Width (Jonna Jinton Style) */
.jj-search-wrapper {
    position: static;
}

.jj-search-dropdown {
    position: fixed !important;
    top: 140px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: #f1f1f1;
    box-shadow: none;
    padding: 40px 30px 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
    text-align: center;
}

.jj-search-wrapper.search-active .jj-search-dropdown {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Title - Spectral font like Jonna Jinton */
.jj-dropdown-title {
    font-family: 'Spectral', serif;
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #0a0a0a;
    margin: 0 auto 15px;
    text-align: center;
    line-height: 1.6;
}

/* Search Form - Flatsome Style */
.jj-search-dropdown-form {
    position: relative;
    margin: 0 auto;
    max-width: 500px;
}

/* Flex Row Container - Like Flatsome's .flex-row */
.jj-search-dropdown-form .flex-row {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.jj-search-dropdown-form .the-search {
    border-bottom: 1px solid #000;
}

/* Flex Column */
.jj-search-dropdown-form .flex-col {
    position: relative;
    max-height: 100%;
}

/* Search Icon Column */
.jj-search-dropdown-form .search-icon-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-right: 10px;
}

.jj-search-dropdown-form .search-icon {
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

.jj-search-dropdown-form .search-icon svg {
    width: 17px;
    height: 17px;
    color: #0a0a0a;
    display: block;
}

/* Flex Grow - Input takes remaining space */
.jj-search-dropdown-form .flex-grow {
    flex: 1;
    min-width: 0;
}

/* Search Input Field */
.jj-search-dropdown-form .search-field {
    width: 100%;
    padding: 10px 0;
    border: none;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    outline: none;
    background: transparent;
    color: #0a0a0a;
    line-height: 1.6;
    margin: 0;
}

.jj-search-dropdown-form .search-field::placeholder {
    color: #555;
    opacity: 1;
}

.jj-search-dropdown-form .search-field:focus {
    outline: none;
    box-shadow: none;
}

/* Submit Button Column */
.jj-search-dropdown-form .submit-col {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Submit Button - Flatsome Style */
.jj-search-dropdown-form .ux-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5em;
    min-height: 2.5em;
    padding: 0 0.5em;
    background-color: transparent;
    color: #0a0a0a;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.97em;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: transform 0.3s, background 0.3s, opacity 0.3s, color 0.3s;
    margin: 0;
}

.jj-search-dropdown-form .ux-search-submit:hover {
    opacity: 0.7;
}

.jj-search-dropdown-form .arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
}

.jj-search-dropdown-form .arrow-icon svg {
    width: 20px;
    height: 20px;
    color: #0a0a0a;
    display: block;
}

/* Search Icon Toggle State */
.jj-search-wrapper.search-active .jj-search-icon-open {
    display: none;
}

.jj-search-wrapper .jj-search-icon-close {
    display: none;
}

.jj-search-wrapper.search-active .jj-search-icon-close {
    display: block;
}

/* --------------------------------------------------------------------------
   Live Search Results
   -------------------------------------------------------------------------- */
.jj-search-results {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.jj-search-results.has-results {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
    border-radius: 8px;
}

.jj-search-results-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jj-search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: #1a1a1a;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.jj-search-result-item:last-child {
    border-bottom: none;
}

.jj-search-result-item:hover {
    background-color: #f9f9f9;
}

.jj-search-result-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.jj-search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jj-search-result-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
}

.jj-search-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.jj-search-result-title {
    font-family: 'Spectral', serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jj-search-result-price {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666;
}

.jj-search-result-price .woocommerce-Price-amount {
    color: #1a1a1a;
}

.jj-search-view-all {
    display: block;
    text-align: center;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    background: #f5f5f5;
    border-radius: 0 0 8px 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.jj-search-view-all:hover {
    background: #e8e8e8;
    color: #000;
}

.jj-search-loading {
    padding: 30px 15px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #888;
}

.jj-search-no-results {
    padding: 30px 15px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
}

/* Cart Dropdown */
.jj-cart-wrapper {
    position: relative;
    z-index: 10000; /* Higher than search/currency dropdowns */
}

.jj-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: var(--jj-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001; /* Higher than search/currency dropdowns */
}

.jj-cart-wrapper:hover .jj-cart-dropdown,
.jj-cart-wrapper.is-open .jj-cart-dropdown,
.jj-cart-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jj-cart-dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--jj-warm-beige);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-black);
}

.jj-cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
}

.jj-cart-dropdown-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--jj-warm-beige);
}

.jj-cart-dropdown-item:last-child {
    border-bottom: none;
}

.jj-cart-dropdown-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

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

.jj-cart-dropdown-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jj-cart-dropdown-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--jj-black);
    margin-bottom: 5px;
    text-decoration: none;
}

.jj-cart-dropdown-item-name:hover {
    color: var(--jj-gray);
}

.jj-cart-dropdown-item-meta {
    font-size: 12px;
    color: var(--jj-gray);
}

.jj-cart-dropdown-item-remove {
    color: var(--jj-light-gray);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 5px;
}

.jj-cart-dropdown-item-remove:hover {
    color: var(--jj-black);
}

.jj-cart-dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--jj-warm-beige);
    background: var(--jj-cream);
}

.jj-cart-dropdown-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.jj-cart-dropdown-subtotal-label {
    font-weight: 500;
    color: var(--jj-black);
}

.jj-cart-dropdown-subtotal-value {
    font-weight: 600;
    color: var(--jj-black);
}

.jj-cart-dropdown-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jj-cart-dropdown-buttons .button {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    font-size: 11px;
}

.jj-cart-dropdown-buttons .button-outline {
    background: transparent;
    color: var(--jj-black);
    border: 1px solid var(--jj-black);
}

.jj-cart-dropdown-buttons .button-outline:hover {
    background: var(--jj-black);
    color: var(--jj-white);
}

/* Empty Cart State */
.jj-cart-dropdown-empty {
    padding: 40px 20px;
    text-align: center;
}

.jj-cart-dropdown-empty-icon {
    margin-bottom: 20px;
}

.jj-cart-dropdown-empty-icon svg {
    width: 60px;
    height: 60px;
    color: var(--jj-silver);
}

.jj-cart-dropdown-empty-text {
    font-size: 14px;
    color: var(--jj-gray);
    margin-bottom: 20px;
}

.jj-cart-dropdown-empty .button {
    display: inline-block;
    background-color: #acc9b1;
}

/* Cart Icon with Count */
.jj-cart-link {
    position: relative;
}

.jj-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--jj-black);
    color: var(--jj-white);
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* Currency Switcher */
.jj-currency-switcher {
    position: static;
}

.jj-currency-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none !important;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--jj-black);
    padding: 10px 12px;
    transition: color 0.3s ease;
    box-shadow: none !important;
    outline: none !important;
}

.jj-currency-btn:hover,
.jj-currency-btn:focus {
    color: #4169E1;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Currency Dropdown - Full Width (Jonna Jinton Style) */
.jj-currency-dropdown {
    position: fixed !important;
    top: 140px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    background: #f1f1f1;
    box-shadow: none;
    padding: 40px 30px 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
    text-align: center;
}

.jj-currency-switcher.is-open .jj-currency-dropdown {
    opacity: 1;
    visibility: visible;
}

.jj-currency-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.jj-currency-option {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4f4e4e;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.jj-currency-option:hover {
    color: #3b6286;
}

.jj-currency-option.active {
    color: #0a0a0a;
    font-weight: 500;
}

/* Currency dropdown title uses same Spectral styling */
.jj-currency-dropdown .jj-dropdown-title {
    font-family: 'Spectral', serif;
    font-size: 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    color: #0a0a0a;
    margin: 0 auto 15px;
    text-align: center;
    line-height: 1.6;
}

/* Mobile Menu Toggle */
.jj-mobile-toggle {
    display: none;
}

.jj-mobile-left {
    display: none;
}

.jj-mobile-currency-toggle {
    display: none;
}

.menu-toggle-open {
    color: var(--jj-black);
}

/* Mobile Header Responsive */
@media (max-width: 1024px) {
    .jj-header-nav {
        display: none;
    }
    
    /* Show mobile left section */
    .jj-mobile-left {
        display: flex;
        align-items: center;
        gap: 0;
    }
    
    .jj-mobile-toggle {
        display: flex;
    }
    
    .jj-mobile-currency-toggle {
        display: flex;
    }
    
    /* Hide desktop currency button on mobile but keep the dropdown functional */
    .jj-currency-switcher .jj-currency-btn {
        display: none;
    }
    
    /* Hide account link on mobile (it's in the drawer) */
    .jj-account-link {
        display: none;
    }
    
    /* Reorganize header container for mobile */
    .jj-header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    
    /* Mobile left section (burger + currency) */
    .jj-mobile-left {
        justify-self: start;
    }
    
    /* Center logo */
    .jj-header-logo {
        justify-self: center;
        order: 0;
    }
    
    /* Right section (search + cart) */
    .jj-header-actions {
        justify-self: end;
    }
}

@media (max-width: 768px) {
    .jj-header-container {
        padding: 0 15px;
    }
    
    .jj-header-actions {
        gap: 2px;
    }
    
    .jj-header-icon {
        width: 38px;
        height: 38px;
    }
    
    .jj-header-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .jj-search-dropdown {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    /* Make logo smaller on small screens */
    .jj-header-logo img {
        max-height: 40px;
        width: auto;
    }
    
    .jj-header-logo .site-title {
        font-size: 18px;
    }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section,
.jj-hero,
.jj-hero-section {
    position: relative;
    min-height: calc(100vh - 140px); /* Account for top bar (~40px) + header (~100px) */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

/* Homepage - remove any gaps before hero */
.jj-homepage,
.home .site-main,
.page-template-page-home .site-main,
.page-template-page-home-php .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Homepage entry-content should have no top padding when hero is first */
.home .entry-content,
.page-template-page-home .entry-content,
.page-template-page-home-php .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Pull hero sections up into the fixed header space */
.jj-homepage .jj-hero-section,
.jj-homepage .jj-hero-banner:first-child,
.home .entry-content > .jj-hero-banner:first-child,
.home .entry-content > .wp-block-cover.jj-hero:first-child,
.home .entry-content > .wp-block-group:first-child > .jj-hero-banner:first-child {
    margin-top: -140px; /* Pull up into the header space */
    padding-top: 140px; /* Add back padding so content isn't hidden */
}

/* Also handle block editor pages with hero as first element */
.entry-content > .jj-hero-banner:first-child,
.entry-content > .wp-block-cover.jj-hero:first-child {
    margin-top: 0;
}

.hero-section .hero-background,
.jj-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-section .hero-overlay,
.jj-hero-overlay {
    display: none;
}

.hero-section .hero-content,
.jj-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--jj-white);
    padding: var(--jj-spacing-lg);
    max-width: 800px;
}

.hero-section .hero-content h1,
.jj-hero-content h1 {
    color: var(--jj-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    margin-bottom: var(--jj-spacing-md);
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-section .hero-content p,
.jj-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--jj-spacing-md);
}
.jj-block-homepage > * {
    max-width: none !important;
} 

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.button,
.btn,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 15px 35px;
    border: 1px solid var(--jj-black);
    background-color: var(--jj-black);
    color: var(--jj-white);
    cursor: pointer;
    transition: var(--jj-transition);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.button:hover,
.btn:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--jj-white);
    color: var(--jj-black);
    border-color: var(--jj-black);
}

/* Outline Button */
.button-outline,
.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: var(--jj-black);
    border: 1px solid var(--jj-black);
}

.button-outline:hover,
.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--jj-black);
    color: var(--jj-white);
}

/* White Button (for dark backgrounds) */
.button-white,
.btn-white {
    background-color: var(--jj-white);
    color: var(--jj-black);
    border-color: var(--jj-white);
}

.button-white:hover,
.btn-white:hover {
    background-color: transparent;
    color: var(--jj-white);
    border-color: var(--jj-white);
}

/* --------------------------------------------------------------------------
   Section Styling
   -------------------------------------------------------------------------- */
.section,
.jj-section {
    padding: var(--jj-spacing-xl) 0;
}

.section-sm {
    padding: var(--jj-spacing-lg) 0;
}

.section-lg {
    padding: var(--jj-spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--jj-spacing-lg);
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jj-light-gray);
    margin-bottom: var(--jj-spacing-sm);
    display: block;
}

.section-title {
    font-family: 'Spectral', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-sm);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--jj-gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* Alternating Background Sections */
.section-alt,
.bg-cream {
    background-color: var(--jj-cream);
}

.bg-light {
    background-color: var(--jj-off-white);
}

.bg-dark {
    background-color: var(--jj-black);
    color: var(--jj-white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
    color: var(--jj-white);
}

.bg-dark p {
    color: rgba(255,255,255,0.8);
}

/* --------------------------------------------------------------------------
   WooCommerce - Product Grid
   -------------------------------------------------------------------------- */
.woocommerce ul.products,
.wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.woocommerce ul.products li.product,
.wc-block-grid__product {
    text-align: center;
    margin-bottom: var(--jj-spacing-md);
    background: transparent;
}

/* Product Image */
.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: var(--jj-transition-slow);
    margin-bottom: 15px;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-black);
    margin-bottom: 8px;
    padding: 0;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.wc-block-grid__product-price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--jj-gray);
    margin-bottom: 10px;
}

.woocommerce ul.products li.product .price del {
    color: var(--jj-light-gray);
    margin-right: 10px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--jj-black);
}

/* Product Short Description */
.woocommerce ul.products li.product .product-excerpt {
    font-size: 13px;
    color: var(--jj-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Add to Cart Button in Grid */
.woocommerce ul.products li.product .button,
.wc-block-grid__product .wp-block-button__link {
    font-size: 11px;
    padding: 12px 25px;
    margin-top: 10px;
}

/* Sale Badge */
.woocommerce span.onsale,
.wc-block-grid__product-onsale {
    background-color: var(--jj-black);
    color: var(--jj-white);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 15px;
    border-radius: 0;
    min-height: auto;
    min-width: auto;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   WooCommerce - Single Product
   -------------------------------------------------------------------------- */
.single-product .product {
    margin-top: var(--jj-spacing-lg);
}

.single-product .product .woocommerce-product-gallery {
    margin-bottom: var(--jj-spacing-md);
}

.single-product .product .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

.single-product .product .product_title {
    font-family: 'Spectral', serif;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 400;
    color: var(--jj-black);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-product .product .price {
    font-size: 1.25rem;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-md);
}

.single-product .product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--jj-gray);
    margin-bottom: var(--jj-spacing-md);
    padding-bottom: var(--jj-spacing-md);
    border-bottom: 1px solid var(--jj-warm-beige);
}

/* Variations / Options */
.single-product .variations {
    margin-bottom: var(--jj-spacing-md);
}

.single-product .variations th,
.single-product .variations td {
    padding: 10px 0;
}

.single-product .variations th label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-black);
}

.single-product .variations select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    background-color: var(--jj-white);
    min-width: 200px;
}

/* Quantity */
.single-product .quantity {
    margin-right: 15px;
}

.single-product .quantity input.qty {
    width: 80px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    font-size: 14px;
}

/* Single Product Add to Cart */
.single-product .single_add_to_cart_button {
    font-size: 12px;
    padding: 15px 40px;
}

/* Product Tabs */
.woocommerce-tabs {
    margin-top: var(--jj-spacing-lg);
    border-top: 1px solid var(--jj-warm-beige);
    padding-top: var(--jj-spacing-lg);
}

.woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 var(--jj-spacing-md) 0;
    list-style: none;
    display: flex;
    gap: 30px;
    border: none;
}

.woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.woocommerce-tabs ul.tabs li a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-light-gray);
    padding: 10px 0;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: var(--jj-transition);
}

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

/* Related Products */
.related.products,
.upsells.products {
    margin-top: var(--jj-spacing-xl);
    padding-top: var(--jj-spacing-lg);
    border-top: 1px solid var(--jj-warm-beige);
}

.related.products h2,
.upsells.products h2 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: var(--jj-spacing-lg);
}

/* --------------------------------------------------------------------------
   WooCommerce - Cart
   -------------------------------------------------------------------------- */
.woocommerce-cart .woocommerce {
    padding: var(--jj-spacing-lg) 0;
}

.woocommerce table.cart {
    border: none;
}

.woocommerce table.cart th {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-gray);
    border-bottom: 1px solid var(--jj-warm-beige);
    padding: 15px 10px;
}

.woocommerce table.cart td {
    border-bottom: 1px solid var(--jj-warm-beige);
    padding: 20px 10px;
    vertical-align: middle;
}

.woocommerce table.cart .product-thumbnail img {
    width: 100px;
    height: auto;
}

.woocommerce table.cart .product-name a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Cart Totals */
.woocommerce .cart-collaterals .cart_totals {
    background-color: var(--jj-cream);
    padding: var(--jj-spacing-md);
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--jj-spacing-md);
}

.woocommerce .cart-collaterals .cart_totals table {
    border: none;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
    border: none;
    padding: 12px 0;
}

/* --------------------------------------------------------------------------
   WooCommerce - Checkout
   -------------------------------------------------------------------------- */
.woocommerce-checkout .woocommerce {
    padding: var(--jj-spacing-lg) 0;
}

.woocommerce form.checkout h3 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-md);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--jj-warm-beige);
}

.woocommerce form .form-row label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jj-gray);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    background-color: var(--jj-white);
    transition: var(--jj-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--jj-black);
    outline: none;
}

/* Order Review */
.woocommerce-checkout #order_review {
    background-color: var(--jj-cream);
    padding: var(--jj-spacing-md);
}

.woocommerce-checkout #order_review_heading {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background-color: var(--jj-cream);
    border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: var(--jj-spacing-md);
}

.woocommerce-checkout #payment ul.payment_methods li {
    margin-bottom: 15px;
}

.woocommerce-checkout #payment ul.payment_methods li label {
    font-size: 14px;
    font-weight: 400;
    color: var(--jj-black);
}

.woocommerce-checkout #payment #place_order {
    width: 100%;
    font-size: 13px;
    padding: 18px 40px;
    margin-top: var(--jj-spacing-md);
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section,
.jj-newsletter {
    background-color: var(--jj-cream);
    padding: var(--jj-spacing-xl) 0;
    text-align: center;
}

.newsletter-section .section-subtitle,
.jj-newsletter .section-subtitle {
    font-size: 14px;
    letter-spacing: 0;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-sm);
}

.newsletter-section h2,
.jj-newsletter h2 {
    font-family: 'Spectral', serif;
    letter-spacing: 0;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: var(--jj-spacing-sm);
}

.newsletter-section p,
.jj-newsletter p {
    max-width: 500px;
    margin: 0 auto var(--jj-spacing-md);
    color: var(--jj-gray);
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    background-color: var(--jj-white);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--jj-black);
}

.newsletter-form button {
    padding: 15px 30px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Trust Badges / Features Bar
   -------------------------------------------------------------------------- */
.trust-badges,
.jj-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--jj-spacing-lg);
    padding: var(--jj-spacing-lg) var(--jj-spacing-md);
    border-top: 1px solid var(--jj-warm-beige);
    border-bottom: 1px solid var(--jj-warm-beige);
}

.trust-badge,
.jj-feature {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.trust-badge-icon,
.jj-feature-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--jj-black);
}

.trust-badge-title,
.jj-feature-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-black);
    margin-bottom: 5px;
}

.trust-badge-text,
.jj-feature-text {
    font-size: 13px;
    color: var(--jj-gray);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--jj-white);
    border-top: 1px solid var(--jj-warm-beige);
}

.site-footer-wrap {
    padding: var(--jj-spacing-xl) 0 var(--jj-spacing-lg);
}

/* Footer Columns */
.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--jj-spacing-lg);
}

.footer-widget-area .widget {
    margin-bottom: var(--jj-spacing-md);
}

.footer-widget-area .widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-md);
}

.footer-widget-area .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area .widget ul li {
    margin-bottom: 10px;
}

.footer-widget-area .widget ul li a {
    font-size: 14px;
    color: var(--jj-gray);
    transition: var(--jj-transition);
}

.footer-widget-area .widget ul li a:hover {
    color: var(--jj-black);
}

/* Footer Contact Info */
.footer-contact-info p {
    font-size: 14px;
    color: var(--jj-gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact-info a {
    color: var(--jj-gray);
}

.footer-contact-info a:hover {
    color: var(--jj-black);
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: var(--jj-spacing-md);
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--jj-gray);
    font-size: 18px;
    transition: var(--jj-transition);
}

.footer-social-links a:hover {
    color: var(--jj-black);
}

/* Footer Bottom / Copyright */
.site-footer-bottom,
.footer-bottom {
    text-align: center;
    padding: var(--jj-spacing-md) 0;
    border-top: 1px solid var(--jj-warm-beige);
}

.site-footer-bottom p,
.footer-bottom p {
    font-size: 13px;
    color: var(--jj-light-gray);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Collection / Category Header
   -------------------------------------------------------------------------- */
.woocommerce-products-header,
.archive-header {
    text-align: center;
    padding: var(--jj-spacing-xl) 0;
    background-color: var(--jj-cream);
    margin-bottom: var(--jj-spacing-lg);
}

.woocommerce-products-header__title,
.archive-title {
    font-family: 'Spectral', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--jj-black);
    margin-bottom: var(--jj-spacing-sm);
}

.term-description,
.archive-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--jj-gray);
}

/* --------------------------------------------------------------------------
   About / Content Pages
   -------------------------------------------------------------------------- */
.page-template-default .entry-content,
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--jj-spacing-xl) var(--jj-spacing-md);
}

.page-template-default .entry-content h1,
.page-template-default .entry-content h2 {
    text-align: center;
    margin-bottom: var(--jj-spacing-md);
}

.page-template-default .entry-content p {
    font-size: 1.0625rem;
    line-height: 1.9;
    text-align: center;
}

.page-template-default .entry-content img {
    margin: var(--jj-spacing-lg) auto;
    display: block;
}

/* Quote / Callout */
.wp-block-quote,
blockquote {
    font-family: 'Spectral', serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--jj-black);
    border-left: none;
    padding: var(--jj-spacing-md) 0;
    margin: var(--jj-spacing-lg) 0;
    text-align: center;
}

.wp-block-quote cite,
blockquote cite {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-light-gray);
    display: block;
    margin-top: var(--jj-spacing-sm);
}

/* --------------------------------------------------------------------------
   Image Galleries
   -------------------------------------------------------------------------- */
.wp-block-gallery {
    margin: var(--jj-spacing-lg) 0;
}

.wp-block-gallery .wp-block-image img {
    border-radius: 0;
}

/* --------------------------------------------------------------------------
   Split Content Sections (Image + Text)
   -------------------------------------------------------------------------- */
.split-section,
.jj-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

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

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

.split-section-image {
    position: relative;
    min-height: 500px;
}

.split-section-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-section-content,
.jj-split-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--jj-spacing-xl);
    background-color: var(--jj-cream);
}

.split-section-content .section-subtitle,
.jj-split-content .section-subtitle {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jj-light-gray);
    margin-bottom: var(--jj-spacing-sm);
}

.split-section-content h2,
.jj-split-content h2 {
    font-family: 'Spectral', serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 400;
    margin-bottom: var(--jj-spacing-md);
}

.split-section-content p,
.jj-split-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--jj-gray);
    margin-bottom: var(--jj-spacing-md);
}

/* --------------------------------------------------------------------------
   Forms (General)
   -------------------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 15px;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    background-color: var(--jj-white);
    transition: var(--jj-transition);
    width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--jj-black);
    outline: none;
}

label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jj-gray);
    display: block;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.woocommerce-breadcrumb,
.breadcrumb {
    font-size: 12px;
    color: var(--jj-light-gray);
    margin-bottom: var(--jj-spacing-md);
}

.woocommerce-breadcrumb a,
.breadcrumb a {
    color: var(--jj-light-gray);
}

.woocommerce-breadcrumb a:hover,
.breadcrumb a:hover {
    color: var(--jj-black);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.woocommerce-pagination,
.pagination {
    text-align: center;
    margin-top: var(--jj-spacing-xl);
}

.woocommerce-pagination ul,
.pagination ul {
    display: flex;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.pagination ul li a,
.pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    font-size: 13px;
    color: var(--jj-gray);
    border: 1px solid var(--jj-silver);
    transition: var(--jj-transition);
}

.woocommerce-pagination ul li a:hover,
.pagination ul li a:hover {
    background-color: var(--jj-black);
    color: var(--jj-white);
    border-color: var(--jj-black);
}

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

/* --------------------------------------------------------------------------
   Loading / Spinner
   -------------------------------------------------------------------------- */
.woocommerce .blockUI.blockOverlay::before,
.woocommerce .loader::before {
    border-color: var(--jj-black) transparent transparent transparent;
}

/* --------------------------------------------------------------------------
   Messages & Notices
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top-color: var(--jj-black);
    background-color: var(--jj-cream);
    color: var(--jj-black);
    font-size: 14px;
    border-radius: 0;
}

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

.woocommerce-error {
    border-top-color: #cc0000;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .split-section,
    .jj-split {
        grid-template-columns: 1fr;
    }
    
    .split-section-image {
        min-height: 400px;
    }
    
    .split-section-content,
    .jj-split-content {
        padding: var(--jj-spacing-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --jj-spacing-lg: 3rem;
        --jj-spacing-xl: 4rem;
        --jj-spacing-xxl: 5rem;
    }
    
    .section,
    .jj-section {
        padding: var(--jj-spacing-lg) 0;
    }
    
    .hero-section .hero-content h1,
    .jj-hero-content h1 {
        font-size: 2rem;
    }
    
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .trust-badges,
    .jj-features {
        flex-direction: column;
        align-items: center;
        gap: var(--jj-spacing-md);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .header-navigation .menu > li > a,
    .primary-menu > li > a {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
    
    .site-title {
        font-size: 1.25rem;
    }
    
    .button,
    .btn,
    .woocommerce a.button {
        padding: 12px 25px;
        font-size: 11px;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--jj-spacing-sm); }
.mb-md { margin-bottom: var(--jj-spacing-md); }
.mb-lg { margin-bottom: var(--jj-spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--jj-spacing-sm); }
.mt-md { margin-top: var(--jj-spacing-md); }
.mt-lg { margin-top: var(--jj-spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* --------------------------------------------------------------------------
   Mobile Menu Drawer
   -------------------------------------------------------------------------- */
   
/* Body class when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

.jj-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.jj-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.jj-mobile-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.jj-mobile-drawer-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: var(--jj-white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jj-mobile-drawer.is-open .jj-mobile-drawer-content {
    transform: translateX(0);
}

.jj-mobile-drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--jj-warm-beige);
}

.jj-mobile-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--jj-black);
    padding: 5px;
}

.jj-mobile-drawer-close:hover {
    color: var(--jj-gray);
}

.jj-mobile-drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.jj-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jj-mobile-menu > li {
    border-bottom: 1px solid var(--jj-warm-beige);
}

.jj-mobile-menu > li > a {
    display: block;
    padding: 18px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--jj-black);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.jj-mobile-menu > li > a:hover {
    background-color: var(--jj-cream);
}

/* Mobile submenu */
.jj-mobile-has-submenu {
    position: relative;
}

.jj-mobile-has-submenu > a {
    padding-right: 60px;
}

.jj-mobile-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-left: 1px solid var(--jj-warm-beige);
    cursor: pointer;
    color: var(--jj-gray);
    transition: all 0.2s ease;
}

.jj-mobile-submenu-toggle:hover {
    background-color: var(--jj-cream);
    color: var(--jj-black);
}

.jj-mobile-has-submenu.submenu-open .jj-mobile-submenu-toggle svg {
    transform: rotate(180deg);
}

.jj-mobile-submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: var(--jj-cream);
}

.jj-mobile-submenu li a {
    display: block;
    padding: 14px 25px 14px 40px;
    font-size: 13px;
    font-weight: 400;
    color: var(--jj-gray);
    text-decoration: none;
    border-top: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.jj-mobile-submenu li a:hover {
    color: var(--jj-black);
    background-color: rgba(0,0,0,0.02);
}

.jj-mobile-drawer-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--jj-warm-beige);
    background-color: var(--jj-cream);
}

.jj-mobile-currency-select label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jj-gray);
    margin-bottom: 10px;
}

.jj-mobile-currency-select select {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid var(--jj-silver);
    border-radius: 0;
    background-color: var(--jj-white);
    cursor: pointer;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Animation Classes
   -------------------------------------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.woocommerce ul.products li.product.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.woocommerce ul.products li.product.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.woocommerce ul.products li.product.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.woocommerce ul.products li.product.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.trust-badge.animate-on-scroll:nth-child(1),
.jj-feature.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.trust-badge.animate-on-scroll:nth-child(2),
.jj-feature.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.trust-badge.animate-on-scroll:nth-child(3),
.jj-feature.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .woocommerce-breadcrumb {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ==========================================================================
   CUSTOM FOOTER STYLES
   ========================================================================== */

.jj-footer {
    width: 100%;
}

/* Newsletter Section - 75% background split layout */
.jj-footer-newsletter {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
    overflow: visible;
    background-color: #fff;
}

.jj-newsletter-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background-color: var(--jj-svaeria-blue);
    pointer-events: none;
    z-index: 0;
}

.jj-newsletter-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 50px;
    gap: 40px;
    z-index: 1;
}

.jj-newsletter-content {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 0 0 0 50px;
}

.jj-newsletter-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.jj-newsletter-title {
    font-family: 'Spectral', serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    letter-spacing: 0;
}

.jj-newsletter-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.jj-newsletter-form {
    max-width: 350px;
}

.jj-form-field {
    margin-bottom: 15px;
}

.jj-form-field input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #888;
    background: transparent;
    color: #1a1a1a;
}

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

.jj-form-checkbox {
    margin-bottom: 20px;
}

.jj-form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.jj-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #1a1a1a;
}

.jj-newsletter-submit {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 35px;
    background: transparent;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jj-newsletter-submit:hover {
    background: #1a1a1a;
    color: #fff;
}

.jj-newsletter-button,
input.jj-newsletter-button,
input[type="submit"].jj-newsletter-button {
    display: inline-block;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    padding: 6px 30px 5px 30px !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    background-color: transparent !important;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.jj-newsletter-button:hover,
input.jj-newsletter-button:hover,
input[type="submit"].jj-newsletter-button:hover {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.jj-newsletter-spam-notice {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: italic;
    color: #555;
    margin-top: 15px;
    line-height: 1.5;
}

.jj-newsletter-image-col {
    flex: 0 0 55%;
    max-width: 55%;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.jj-newsletter-image {
    width: 90%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-left: auto;
    margin-right: calc(-12.5vw + 275px);
}

.jj-newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Newsletter Responsive */
@media (min-width: 1600px) {
    .jj-newsletter-image {
        margin-right: calc(-12.5vw + 275px);
    }
}

@media (max-width: 1400px) {
    .jj-newsletter-image {
        width: 85%;
        max-width: 480px;
        margin-right: calc(-10vw + 200px);
    }
}

@media (max-width: 1200px) {
    .jj-newsletter-image {
        width: 80%;
        max-width: 400px;
        margin-right: calc(-5vw + 100px);
    }
}

@media (max-width: 1024px) {
    .jj-newsletter-container {
        padding: 60px 30px;
        gap: 30px;
    }
    
    .jj-newsletter-content {
        flex: 0 0 50%;
        max-width: 50%;
        padding-left: 30px;
    }
    
    .jj-newsletter-image-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .jj-newsletter-image {
        width: 90%;
        max-width: 350px;
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .jj-newsletter-bg-wrapper {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .jj-footer-newsletter {
        background-color: var(--jj-svaeria-blue);
    }
    
    .jj-newsletter-container {
        flex-direction: column;
        padding: 50px 20px;
        gap: 40px;
    }
    
    .jj-newsletter-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .jj-newsletter-form {
        margin: 0 auto;
    }
    
    .jj-newsletter-image-col {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .jj-newsletter-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Features Section */
.jj-footer-features {
    background-color: #fff;
    padding: 50px 30px;
}

.jj-features-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.jj-feature {
    text-align: center;
    max-width: 280px;
}

.jj-feature-icon {
    margin-bottom: 15px;

}

.jj-feature-icon img {
    height: 50px !important;
    width: auto;
    display: inline;
}

.jj-feature-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.jj-feature-text strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

/* Main Footer */
.jj-footer-main {
    background-color: var(--jj-section-grey);
    padding: 60px 50px 40px;
}

.jj-footer-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.jj-footer-logo {
    flex: 0 0 180px;
}

/* Override WooCommerce default image styles for footer logo */
.woocommerce .jj-footer-logo img,
.woocommerce-page .jj-footer-logo img,
.jj-footer-logo img {
    width: 80px !important;
    height: auto !important;
    max-width: none !important;
}

.jj-footer-menus {
    flex: 1;
    display: flex;
    gap: 40px;
}

.jj-footer-menu {
    flex: 1;
}

.jj-footer-menu h4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.jj-footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jj-footer-menu ul li {
    margin-bottom: 10px;
}

.jj-footer-menu ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jj-footer-menu ul li a:hover {
    color: #1a1a1a;
}

.jj-footer-contact p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.jj-footer-contact p strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 3px;
}

.jj-footer-contact a {
    color: #555;
    text-decoration: none;
}

.jj-footer-contact a:hover {
    color: #1a1a1a;
}

.jj-footer-address {
    font-size: 12px !important;
}

/* Social Icons */
.jj-footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.jj-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.jj-footer-social a:hover {
    opacity: 1;
}

/* Override WooCommerce default image styles for social icons */
.woocommerce .jj-footer-social img,
.woocommerce-page .jj-footer-social img,
.jj-footer-social img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
}

/* Copyright */
.jj-footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.jj-footer-copyright p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #7c7c7c;
    margin: 0;
}

/* Back to Top Button */
.jj-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    color: #1a1a1a;
}

.jj-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.jj-back-to-top:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .jj-newsletter-content {
        padding: 40px 40px 60px 50px;
    }
    
    .jj-features-container {
        gap: 40px;
    }
    
    .jj-footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .jj-footer-logo {
        text-align: center;
    }
    
    .jj-footer-menus {
        flex-wrap: wrap;
    }
    
    .jj-footer-menu {
        flex: 0 0 calc(50% - 20px);
    }

    .jj-payments-container {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .jj-newsletter-container {
        flex-direction: column;
    }
    
    .jj-newsletter-content {
        flex: 0 0 auto;
        padding: 40px 30px;
        text-align: center;
    }
    
    .jj-newsletter-form {
        margin: 0 auto;
    }
    
    .jj-newsletter-image {
        flex: 0 0 auto;
        height: 300px;
    }
    
    .jj-features-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .jj-footer-main {
        padding: 50px 30px 30px;
    }
    
    .jj-footer-menus {
        gap: 30px;
    }
    
    .jj-footer-menu {
        flex: 0 0 calc(50% - 15px);
        text-align: center;
    }
}

@media (max-width: 550px) {
    .jj-newsletter-title {
        font-size: 26px;
    }
    
    .jj-footer-menu {
        flex: 0 0 100%;
    }
    
    .jj-payments-container img {
        height: 22px;
    }

    .jj-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* --------------------------------------------------------------------------
   Social Media Block (50/50 split with text and image)
   -------------------------------------------------------------------------- */
.jj-social-block {
    width: 100%;
    background-color: #ffffff;
}

.jj-social-block:first-of-type {
    padding-top: 40px;
}

.jj-social-container {
    display: flex;
    align-items: stretch;
}

.jj-social-content-col {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background-color: #ffffff;
}

.jj-social-content-inner {
    max-width: 72%;
    text-align: center;
}

.jj-social-title {
    font-family: 'Spectral', serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.jj-social-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 30px;
}

/* Hide hero section on social-media page */
.page-slug-social-media .entry-hero,
.page-slug-social-media .page-hero-section {
    display: none !important;
}

.jj-social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.jj-social-button {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    padding: 5px 30px 6px 30px;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.jj-social-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.jj-social-image-col {
    flex: 0 0 50%;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding: 0 40px 40px 40px;
}

.jj-social-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Creates a wider banner shape */
    overflow: hidden;
}

.jj-social-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Reversed layout - image on left, text on right */
.jj-social-reverse .jj-social-container {
    flex-direction: row-reverse;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .jj-social-container {
        flex-direction: column;
    }
    
    .jj-social-reverse .jj-social-container {
        flex-direction: column;
    }
    
    .jj-social-content-col,
    .jj-social-image-col {
        flex: 0 0 100%;
    }
    
    .jj-social-content-col {
        padding: 40px 20px;
        order: 1;
    }
    
    .jj-social-image-col {
        order: 2;
    }
    
    .jj-social-content-inner {
        max-width: 100%;
    }
    
    .jj-social-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   GALLERY PAGE STYLES
   ========================================================================== */

/* Hide hero section on gallery page (page-id-89) */
.page-id-89 .entry-hero,
.page-id-89 .page-hero-section,
.page-slug-gallery .entry-hero,
.page-slug-gallery .page-hero-section {
    display: none !important;
}

/* Gallery page container - add class "jj-gallery-page" to a Group block */
.jj-gallery-page {
    padding: 60px 0;
    background-color: #ffffff;
}

/* Gallery page header */
.jj-gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.jj-gallery-header h1 {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.jj-gallery-header p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
}

/* WordPress Gallery Block Styling - works with jj-gallery class on gallery block */
.jj-gallery,
.jj-gallery-page .wp-block-gallery,
.page-slug-gallery .wp-block-gallery,
body[class*="gallery"] .wp-block-gallery {
    gap: 15px !important;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

.jj-gallery .wp-block-image,
.jj-gallery-page .wp-block-gallery .wp-block-image,
.page-slug-gallery .wp-block-gallery .wp-block-image,
body[class*="gallery"] .wp-block-gallery .wp-block-image {
    margin: 0 !important;
    overflow: hidden;
}

.jj-gallery .wp-block-image img,
.jj-gallery-page .wp-block-gallery .wp-block-image img,
.page-slug-gallery .wp-block-gallery .wp-block-image img,
body[class*="gallery"] .wp-block-gallery .wp-block-image img {
    transition: transform 0.5s ease, opacity 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jj-gallery .wp-block-image:hover img,
.jj-gallery-page .wp-block-gallery .wp-block-image:hover img,
.page-slug-gallery .wp-block-gallery .wp-block-image:hover img,
body[class*="gallery"] .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Gallery figure captions */
.jj-gallery figcaption,
.jj-gallery-page .wp-block-gallery figcaption,
.page-slug-gallery .wp-block-gallery figcaption,
body[class*="gallery"] .wp-block-gallery figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px 15px 15px;
    margin: 0;
}

/* Masonry-style gallery option - add class "jj-masonry" to gallery block */
.wp-block-gallery.jj-masonry,
.jj-gallery.jj-masonry {
    display: block;
    column-count: 3;
    column-gap: 15px;
}

.wp-block-gallery.jj-masonry .wp-block-image,
.jj-gallery.jj-masonry .wp-block-image {
    break-inside: avoid;
    margin-bottom: 15px;
}

@media screen and (max-width: 900px) {
    .wp-block-gallery.jj-masonry,
    .jj-gallery.jj-masonry {
        column-count: 2;
    }
}

@media screen and (max-width: 550px) {
    .wp-block-gallery.jj-masonry,
    .jj-gallery.jj-masonry {
        column-count: 1;
    }
}

/* Grid gallery styling - default WordPress gallery */
.jj-gallery.has-nested-images,
.jj-gallery-page .wp-block-gallery.has-nested-images,
.page-slug-gallery .wp-block-gallery.has-nested-images,
body[class*="gallery"] .wp-block-gallery.has-nested-images {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
}

@media screen and (max-width: 900px) {
    .jj-gallery.has-nested-images,
    .jj-gallery-page .wp-block-gallery.has-nested-images,
    .page-slug-gallery .wp-block-gallery.has-nested-images,
    body[class*="gallery"] .wp-block-gallery.has-nested-images {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 550px) {
    .jj-gallery-page .wp-block-gallery.has-nested-images,
    .page-slug-gallery .wp-block-gallery.has-nested-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .jj-gallery-header h1 {
        font-size: 28px;
    }
}

/* Featured/Large image - add class "jj-featured" to an image block */
.wp-block-image.jj-featured {
    grid-column: span 2;
    grid-row: span 2;
}

@media screen and (max-width: 550px) {
    .wp-block-image.jj-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Gallery category filters - optional */
.jj-gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.jj-gallery-filter {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #666666;
    background: transparent;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jj-gallery-filter:hover,
.jj-gallery-filter.active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

/* Simple lightbox overlay when clicking images */
.jj-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.jj-lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.jj-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.jj-lightbox-close:hover {
    opacity: 0.7;
}

/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

/* Hide hero on about-us page */
.page-slug-about-us .entry-hero,
.page-slug-about-us .page-hero-section,
body[class*="about"] .entry-hero,
body[class*="about"] .page-hero-section {
    display: none !important;
}

/* --------------------------------------------------------------------------
   About Page Sections - Use these classes on Group blocks
   -------------------------------------------------------------------------- */

/* Intro Section - White background, centered text */
.jj-about-intro {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

@media screen and (min-width: 550px) {
    .jj-about-intro {
        padding: 80px 40px;
    }
}

.jj-about-intro .wp-block-group__inner-container {
    max-width: 700px;
    margin: 0 auto;
}

.jj-about-intro h2 {
    font-family: 'Spectral', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: #999999;
    line-height: 1.5;
    margin-bottom: 30px;
}

@media screen and (min-width: 550px) {
    .jj-about-intro h2 {
        font-size: 36px;
    }
}

.jj-about-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #999999;
    text-align: left;
}

/* --------------------------------------------------------------------------
   About Section - Cream/beige background with 50/50 layout
   -------------------------------------------------------------------------- */
.jj-about-section {
    background-color: #f4f0ed;
    padding: 30px 20px;
}

@media screen and (min-width: 550px) {
    .jj-about-section {
        padding: 50px 40px;
    }
}

@media screen and (min-width: 850px) {
    .jj-about-section {
        padding: 70px 60px;
    }
}

/* Section title - centered uppercase heading */
.jj-about-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.jj-about-section-title h1,
.jj-about-section-title h2 {
    font-family: 'Spectral', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
}

@media screen and (min-width: 550px) {
    .jj-about-section-title h1,
    .jj-about-section-title h2 {
        font-size: 32px;
    }
}

/* --------------------------------------------------------------------------
   Two Column Layout - Add to Columns block
   -------------------------------------------------------------------------- */
.jj-about-columns {
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px !important;
}

.jj-about-columns .wp-block-column {
    padding: 0;
}

/* Text column styling */
.jj-about-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jj-about-text-col p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a1a;
    margin-bottom: 20px;
}

@media screen and (min-width: 850px) {
    .jj-about-text-col p {
        font-size: 18px;
    }
}

/* Image column - banner style */
.jj-about-image-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.jj-about-image-col .wp-block-image {
    margin: 0;
}

/* Square image style */
.jj-about-image-square img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* Banner image style (landscape) */
.jj-about-image-banner img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Video Embed Section
   -------------------------------------------------------------------------- */
.jj-about-video {
    background-color: #ffffff;
    padding: 0;
}

.jj-about-video .wp-block-embed {
    margin: 0;
    max-width: 100%;
}

.jj-about-video .wp-block-embed__wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.jj-about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   Gray Background Section
   -------------------------------------------------------------------------- */
.jj-about-gray {
    background-color: #f5f5f5;
    padding: 50px 20px;
}

@media screen and (min-width: 550px) {
    .jj-about-gray {
        padding: 60px 40px;
    }
}

@media screen and (min-width: 850px) {
    .jj-about-gray {
        padding: 80px 60px;
    }
}

/* --------------------------------------------------------------------------
   White Background Section
   -------------------------------------------------------------------------- */
.jj-about-white {
    background-color: #ffffff;
    padding: 50px 20px;
}

@media screen and (min-width: 550px) {
    .jj-about-white {
        padding: 60px 40px;
    }
}

@media screen and (min-width: 850px) {
    .jj-about-white {
        padding: 80px 60px;
    }
}

/* --------------------------------------------------------------------------
   Text Styling Classes
   -------------------------------------------------------------------------- */
/* Italic quote text */
.jj-quote-text {
    font-family: 'Spectral', serif !important;
    font-style: italic;
    font-size: 20px !important;
    line-height: 1.6 !important;
    color: #1a1a1a;
}

@media screen and (min-width: 550px) {
    .jj-quote-text {
        font-size: 24px !important;
    }
}

/* Subheading style */
.jj-about-subheading {
    font-family: 'Spectral', serif !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 20px !important;
}

/* --------------------------------------------------------------------------
   Image Grid - For jewelry/art showcase
   -------------------------------------------------------------------------- */
.jj-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 1200px;
    margin: 30px auto;
}

@media screen and (min-width: 550px) {
    .jj-about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 850px) {
    .jj-about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jj-about-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Large featured item in grid */
.jj-about-grid-large {
    grid-column: span 1;
    grid-row: span 1;
}

@media screen and (min-width: 550px) {
    .jj-about-grid-large {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* --------------------------------------------------------------------------
   Album/Card Row - 3 columns
   -------------------------------------------------------------------------- */
.jj-about-albums {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

@media screen and (min-width: 550px) {
    .jj-about-albums {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jj-about-albums img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.jj-about-albums img:hover {
    transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Buttons for About Page
   -------------------------------------------------------------------------- */
.jj-about-button,
.jj-about-section .wp-block-button__link {
    display: inline-block;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a !important;
    text-decoration: none;
    padding: 12px 30px !important;
    border: 2px solid #1a1a1a !important;
    border-radius: 50px !important;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.jj-about-button:hover,
.jj-about-section .wp-block-button__link:hover {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Button group */
.jj-about-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

/* --------------------------------------------------------------------------
   Spacer/Gap utility classes
   -------------------------------------------------------------------------- */
.jj-gap-sm {
    height: 30px !important;
}

.jj-gap-md {
    height: 50px !important;
}

.jj-gap-lg {
    height: 80px !important;
}

/* --------------------------------------------------------------------------
   Divider line
   -------------------------------------------------------------------------- */
.jj-divider {
    max-width: 750px;
    margin: 40px auto;
    border: none;
    border-top: 2px solid #e0e0e0;
}

/* --------------------------------------------------------------------------
   Shop Categories Grid (for /shop page)
   -------------------------------------------------------------------------- */
.jj-shop-categories {
    padding: 40px 40px 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #fff;
}

.jj-shop-categories-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: #0a0a0a;
    margin-bottom: 40px;
}

.jj-shop-categories-grid {
    display: grid;
    gap: 30px;
}

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

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

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

.jj-shop-category-card {
    text-align: center;
}

.jj-shop-category-image-link {
    display: block;
    text-decoration: none;
}

.jj-shop-category-image {
    position: relative;
    width: 100%;
    padding-top: 133%; /* 3:4 aspect ratio */
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.jj-shop-category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.jj-shop-category-card:hover .jj-shop-category-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

.jj-shop-category-content {
    padding: 0 10px;
    text-align: left;
}

.jj-shop-category-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.jj-shop-category-name a {
    color: #0a0a0a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jj-shop-category-name a:hover {
    color: #666;
}

.jj-shop-subcategories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jj-shop-subcategories li {
    margin-bottom: 6px;
}

.jj-shop-subcategories a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jj-shop-subcategories a:hover {
    color: #0a0a0a;
}

/* Shop Categories Responsive */
@media (max-width: 1024px) {
    .jj-shop-categories {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .jj-shop-categories-grid.jj-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .jj-shop-categories {
        padding: 40px 20px;
    }
    
    .jj-shop-categories-grid.jj-grid-4,
    .jj-shop-categories-grid.jj-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .jj-shop-category-image {
        margin-bottom: 15px;
    }
    
    .jj-shop-category-name {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .jj-shop-subcategories a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .jj-shop-categories-grid.jj-grid-4,
    .jj-shop-categories-grid.jj-grid-3,
    .jj-shop-categories-grid.jj-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* --------------------------------------------------------------------------
   Shop Page - All Products Section Title
   -------------------------------------------------------------------------- */
.jj-all-products-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: #0a0a0a;
    margin: 60px 0 40px;
}

/* WooCommerce Products Block Styling */
.wc-block-grid.has-4-columns .wc-block-grid__products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wc-block-grid .wc-block-grid__product {
    text-align: center;
}

.wc-block-grid .wc-block-grid__product-image {
    margin-bottom: 15px;
}

.wc-block-grid .wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.wc-block-grid .wc-block-grid__product-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: #0a0a0a;
    margin-bottom: 8px;
}

.wc-block-grid .wc-block-grid__product-price {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0a0a0a;
}

/* WooCommerce Sort/Filter Bar */
.woocommerce-ordering {
    margin-bottom: 30px;
}

.woocommerce-ordering select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 10px 35px 10px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
}

/* WooCommerce Result Count */
.woocommerce-result-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
}

/* --------------------------------------------------------------------------
   My Account Page - Login/Register
   -------------------------------------------------------------------------- */

/* Page Header */
.woocommerce-account .entry-content,
.woocommerce-account .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* My Account Page Title */
.woocommerce-account .entry-header {
    text-align: center;
    padding: 60px 40px 40px;
}

.woocommerce-account .entry-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin: 0;
}

/* Login/Register Container - Two Column Layout */
.woocommerce-account .u-columns,
.woocommerce-account .u-columns.col2-set,
.woocommerce-account #customer_login,
.woocommerce-account #customer_login.col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    margin: 40px 0 80px !important;
    float: none !important;
    width: 100% !important;
    clear: both !important;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2,
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2,
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
    padding: 40px 50px !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .u-column1 {
    border-right: 1px solid #e5e5e5 !important;
    border-bottom: none !important;
}

/* Form Headings */
.woocommerce-account h2,
.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0a0a0a;
    margin: 0 0 30px 0;
}

/* Form Labels */
.woocommerce-account .woocommerce-form label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #0a0a0a;
    display: block;
    margin-bottom: 8px;
}

.woocommerce-account .woocommerce-form label .required {
    color: #0a0a0a;
}

/* Form Inputs */
.woocommerce-account .woocommerce-form input[type="text"],
.woocommerce-account .woocommerce-form input[type="email"],
.woocommerce-account .woocommerce-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-account .woocommerce-form input[type="text"]:focus,
.woocommerce-account .woocommerce-form input[type="email"]:focus,
.woocommerce-account .woocommerce-form input[type="password"]:focus {
    outline: none;
    border-color: #0a0a0a;
}

/* Password Field with Toggle */
.woocommerce-account .password-input {
    position: relative;
}

.woocommerce-account .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.woocommerce-account .show-password-input:hover {
    color: #0a0a0a;
}

/* Form Rows */
.woocommerce-account .woocommerce-form .form-row {
    margin-bottom: 20px;
}

/* Remember Me Checkbox */
.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 25px;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Submit Buttons */
.woocommerce-account .woocommerce-form button[type="submit"],
.woocommerce-account .woocommerce-Button {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background-color: #0a0a0a;
    border: 1px solid #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-account .woocommerce-form button[type="submit"]:hover,
.woocommerce-account .woocommerce-Button:hover {
    background-color: #333;
    border-color: #333;
}

/* Lost Password Link */
.woocommerce-account .lost_password {
    margin-top: 20px;
}

.woocommerce-account .lost_password a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.woocommerce-account .lost_password a:hover {
    color: #0a0a0a;
}

/* Register Form Info Text */
.woocommerce-account .woocommerce-form-register p:not(.form-row) {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Privacy Policy Link */
.woocommerce-account .woocommerce-privacy-policy-text {
    margin-bottom: 25px;
}

.woocommerce-account .woocommerce-privacy-policy-text p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

.woocommerce-account .woocommerce-privacy-policy-link {
    color: #666;
    text-decoration: underline;
}

/* My Account Dashboard (when logged in) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 220px;
    float: left;
    padding-right: 40px;
    border-right: 1px solid #e5e5e5;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    color: #0a0a0a;
}

.woocommerce-account .woocommerce-MyAccount-content {
    margin-left: 260px;
    padding-left: 40px;
}

/* Responsive My Account */
@media (max-width: 768px) {
    .woocommerce-account .entry-content,
    .woocommerce-account .woocommerce {
        padding: 0 20px;
    }
    
    .woocommerce-account .entry-header {
        padding: 40px 20px 30px;
    }
    
    .woocommerce-account .u-columns,
    .woocommerce-account .u-columns.col2-set,
    .woocommerce-account #customer_login,
    .woocommerce-account #customer_login.col2-set {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin: 20px 0 60px !important;
    }
    
    .woocommerce-account .u-columns .u-column1,
    .woocommerce-account .u-columns .u-column2,
    .woocommerce-account #customer_login .col-1,
    .woocommerce-account #customer_login .col-2,
    .woocommerce-account #customer_login .u-column1,
    .woocommerce-account #customer_login .u-column2 {
        padding: 30px 0 !important;
    }
    
    .woocommerce-account .u-columns .u-column1,
    .woocommerce-account #customer_login .col-1,
    .woocommerce-account #customer_login .u-column1 {
        border-right: none !important;
        border-bottom: 1px solid #e5e5e5 !important;
    }
    
    /* Dashboard responsive */
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 30px;
    }
    
    .woocommerce-account .woocommerce-MyAccount-content {
        margin-left: 0;
        padding-left: 0;
    }
}

.wp-block-woocommerce-cart {
    padding: 60px !important;
    background-color: #ffffff;
}

/* --------------------------------------------------------------------------
   WooCommerce Shop Page - Product Button Overrides
   Override WooCommerce block styles that use !important
   -------------------------------------------------------------------------- */
.woocommerce .jj-product-button,
.woocommerce-page .jj-product-button,
body.woocommerce .jj-product-button,
body.post-type-archive-product .jj-product-button,
.wp-block-woocommerce-product-collection .jj-product-button,
.wc-block-grid .jj-product-button {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    border: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    white-space: nowrap !important;
}

/* Override WooCommerce add to cart button styles */
.woocommerce .jj-product-button.add_to_cart_button,
.woocommerce-page .jj-product-button.add_to_cart_button,
.jj-product-button.add_to_cart_button.ajax_add_to_cart {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    border: none !important;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   WooCommerce Product Collection Block - Button Overrides
   Target the WooCommerce block button components
   -------------------------------------------------------------------------- */
.wc-block-components-product-button__button,
.wp-block-button__link.wc-block-components-product-button__button,
button.wc-block-components-product-button__button.add_to_cart_button,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-woocommerce-product-button .wp-block-button__link {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    padding: 2px 0 !important;
    border: none !important;
    background-color: transparent !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 auto !important;
    position: relative;
}

/* Add underline effect to WooCommerce block buttons */
.wc-block-components-product-button__button::after,
.wp-block-button__link.wc-block-components-product-button__button::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50% !important;
    height: 1px !important;
    background-color: #1a1a1a !important;
    transition: width 0.3s ease !important;
}

.wc-block-components-product-button__button:hover::after,
.wp-block-button__link.wc-block-components-product-button__button:hover::after {
    width: 100% !important;
}

.wc-block-components-product-button__button:hover,
.wp-block-button__link.wc-block-components-product-button__button:hover {
    color: #1a1a1a !important;
    background: transparent !important;
}

/* Style the View Cart link that appears after adding */
.wc-block-components-product-button .added_to_cart,
.wp-block-woocommerce-product-button .added_to_cart {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #666 !important;
    text-decoration: none !important;
    padding: 8px 0 5px 0 !important;
    position: relative !important;
    background: none !important;
    border: none !important;
}

.wc-block-components-product-button .added_to_cart::after,
.wp-block-woocommerce-product-button .added_to_cart::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 50% !important;
    height: 1px !important;
    background-color: #666 !important;
    transition: width 0.3s ease !important;
}

.wc-block-components-product-button .added_to_cart:hover::after,
.wp-block-woocommerce-product-button .added_to_cart:hover::after {
    width: 100% !important;
    background-color: #1a1a1a !important;
}

.wc-block-components-product-button .added_to_cart:hover,
.wp-block-woocommerce-product-button .added_to_cart:hover {
    color: #1a1a1a !important;
}

/* Remove box-shadow from WooCommerce Product Collection items */
.wc-block-product,
li.wc-block-product,
.wc-block-grid__product,
li.wc-block-grid__product,
.wp-block-woocommerce-product-collection li.product,
.wc-block-product.product {
    box-shadow: none !important;
}

/* ==========================================================================
   Product Category Page Styles
   ========================================================================== */

/* Category Page Layout */
.jj-category-page {
    background-color: #ffffff;
}

/* Category Hero Header (with image) */
.jj-category-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jj-category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.jj-category-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 40px;
}

.jj-category-hero .jj-category-title {
    font-family: 'Spectral', serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.jj-category-hero .jj-category-description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Category Simple Header (without image) */
.jj-category-header-simple {
    text-align: center;
    padding: 80px 40px 40px;
    background-color: #fafafa;
}

.jj-category-header-simple .jj-category-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 20px 0;
}

.jj-category-header-simple .jj-category-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumbs */
.jj-breadcrumbs {
    background-color: #ffffff;
    padding: 20px 40px;
    border-bottom: 1px solid #f0f0f0;
}

.jj-breadcrumbs-inner {
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999;
}

.jj-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jj-breadcrumbs a:hover {
    color: #1a1a1a;
}

.jj-breadcrumb-separator {
    margin: 0 10px;
    color: #ccc;
}

.jj-breadcrumb-current {
    color: #1a1a1a;
}

/* Subcategories */
.jj-subcategories {
    background-color: #ffffff;
    padding: 40px 40px 20px;
}

.jj-subcategories-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.jj-subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.jj-subcategory-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #f5f5f5;
}

.jj-subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jj-subcategory-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.jj-subcategory-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
}

/* Category Toolbar */
.jj-category-toolbar {
    background-color: #ffffff;
    padding: 20px 40px;
    border-bottom: 1px solid #f0f0f0;
}

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

.jj-product-count {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
}

.jj-sorting-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jj-sorting-form label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
}

.jj-sorting-form select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 8px 30px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.jj-sorting-form select:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* Category Products Section */
.jj-category-products {
    padding: 60px 20px 80px;
}

.jj-category-products .jj-product-grid {
    margin-bottom: 60px;
}

/* Pagination */
.jj-pagination {
    text-align: center;
    margin-top: 40px;
}

.jj-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.jj-pagination li {
    display: inline-block;
}

.jj-pagination a,
.jj-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.jj-pagination a:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.jj-pagination .current {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.jj-pagination .prev,
.jj-pagination .next {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.jj-pagination .dots {
    border: none;
    min-width: auto;
    padding: 0 5px;
}

/* No Products */
.jj-no-products {
    text-align: center;
    padding: 60px 20px;
}

.jj-no-products p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

/* Category Page Responsive */
@media (max-width: 1024px) {
    .jj-category-page .jj-product-grid.jj-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .jj-category-hero {
        height: 350px;
    }
    
    .jj-category-hero .jj-category-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .jj-category-page .jj-product-grid.jj-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .jj-category-hero {
        height: 300px;
    }
    
    .jj-category-hero .jj-category-title {
        font-size: 32px;
    }
    
    .jj-category-hero .jj-category-description {
        font-size: 14px;
    }
    
    .jj-category-header-simple {
        padding: 60px 20px 30px;
    }
    
    .jj-category-header-simple .jj-category-title {
        font-size: 32px;
    }
    
    .jj-breadcrumbs {
        padding: 15px 20px;
    }
    
    .jj-category-toolbar {
        padding: 15px 20px;
    }
    
    .jj-category-toolbar-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .jj-subcategories {
        padding: 30px 20px 10px;
    }
    
    .jj-subcategory-image {
        width: 80px;
        height: 80px;
    }
    
    .jj-category-products {
        padding: 40px 15px 60px;
    }
}

@media (max-width: 480px) {
    .jj-category-page .jj-product-grid.jj-grid-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .jj-category-hero {
        height: 250px;
    }
    
    .jj-category-hero .jj-category-title {
        font-size: 28px;
    }
    
    .jj-category-header-simple .jj-category-title {
        font-size: 28px;
    }
    
    .jj-subcategories-inner {
        gap: 15px;
    }
    
    .jj-subcategory-image {
        width: 70px;
        height: 70px;
    }
    
    .jj-subcategory-name {
        font-size: 10px;
    }
    
    .jj-pagination a,
    .jj-pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Gallery Page - Masonry Layout
   ========================================================================== */

/* Gallery Page */
.jj-gallery-page {
    background-color: #ffffff;
}

/* Gallery Header */
.jj-gallery-header {
    text-align: center;
    padding: 80px 40px 40px;
    background-color: #fafafa;
}

.jj-gallery-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.jj-gallery-title {
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.jj-gallery-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Masonry Gallery Section */
.jj-masonry-gallery {
    padding: 0px 20px 80px;
    background-color: #ffffff;
}

/* Masonry Grid - Two Column Layout */
.jj-masonry-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    grid-auto-rows: 20px;
    grid-auto-flow: row dense;
}

/* Masonry Items */
.jj-masonry-item {
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.jj-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.jj-masonry-item:hover img {
    transform: scale(1.05);
}

/* Size Variations with grid-row spans */
/* Small - 1 column width, short height (for text block) */
.jj-grid-small {
    grid-column: span 1;
    grid-row: span 10;
}

/* Medium Square - 1 column width, square aspect */
.jj-grid-medium {
    grid-column: span 1;
    grid-row: span 15;
}

/* Medium Horizontal - 1 column width, landscape */
.jj-grid-medium-h {
    grid-column: span 1;
    grid-row: span 12;
}

/* Medium Vertical - 1 column width, portrait */
.jj-grid-medium-v {
    grid-column: span 1;
    grid-row: span 18;
}

/* Large Square - 1 column width, large square */
.jj-grid-large {
    grid-column: span 1;
    grid-row: span 25;
}

/* Text Block Styling */
.jj-masonry-text {
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    border: 1px solid #e5e5e5;
}

.jj-text-content {
    text-align: left;
    max-width: 280px;
}

.jj-text-content h2 {
    font-family: 'Spectral', serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.jj-text-content p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Hover Effect for Images */
.jj-masonry-image {
    cursor: pointer;
    position: relative;
}

.jj-masonry-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.jj-masonry-image:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .jj-masonry-grid {
        gap: 15px;
        grid-auto-rows: 15px;
    }
    
    .jj-grid-large {
        grid-row: span 20;
    }
    
    .jj-grid-medium-v {
        grid-row: span 15;
    }
    
    .jj-grid-medium {
        grid-row: span 12;
    }
}

@media (max-width: 768px) {
    .jj-gallery-header {
        padding: 60px 20px 30px;
    }
    
    .jj-gallery-title {
        font-size: 32px;
    }
    
    .jj-masonry-gallery {
        padding: 0px 15px 60px;
    }
    
    .jj-masonry-grid {
        gap: 12px;
        grid-auto-rows: 12px;
    }
    
    .jj-grid-large {
        grid-row: span 18;
    }
    
    .jj-grid-medium-v {
        grid-row: span 14;
    }
    
    .jj-grid-medium {
        grid-row: span 11;
    }
    
    .jj-grid-small {
        grid-row: span 9;
    }
    
    .jj-text-content {
        padding: 30px 20px;
    }
    
    .jj-text-content h2 {
        font-size: 22px;
    }
    
    .jj-text-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Single column on mobile */
    .jj-masonry-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        grid-auto-rows: 10px;
    }
    
    .jj-gallery-title {
        font-size: 28px;
    }
    
    .jj-grid-small {
        grid-row: span 12;
    }
    
    .jj-grid-large {
        grid-row: span 30;
    }
    
    .jj-grid-medium-v {
        grid-row: span 25;
    }
    
    .jj-grid-medium-h {
        grid-row: span 18;
    }
    
    .jj-grid-medium {
        grid-row: span 20;
    }
}