/*
Theme Name: Twenty Twenty-Five Child
Theme URI: http://localhost/wordpress/
Description: A premium, fast-loading, highly customized child theme for Coffe Time's specialty coffee store. Built for efficiency with zero layout bloat.
Author: Antigravity
Author URI: https://github.com/google-deepmind
Template: twentytwentyfive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   DESIGN TOKENS & SYSTEM BASE
   ========================================================================== */
:root {
    --color-dark: #1C1615;
    --color-cream: #FDFBF7;
    --color-gold: #D4A373;
    --color-gold-hover: #C59564;
    --color-accent-orange: #E76F51;
    --color-accent-green: #2A9D8F;
    --color-brand-red: #B51A1A;
    --color-white: #FFFFFF;
    --color-stone: #7A706B;
    --color-light-gray: #F4EFEA;
    --color-border: #EADDCB;
    --color-border-dark: #3A2F2C;
    
    --font-heading: 'Georgia', 'Playfair Display', serif;
    --font-body: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 10px 30px rgba(92, 72, 64, 0.05);
    --shadow-hover: 0 20px 45px rgba(92, 72, 64, 0.12);
}

body {
    background-color: var(--color-cream);
    color: var(--color-dark);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

/* ==========================================================================
   NAVIGATION & HEADER CUSTOMIZATION
   ========================================================================== */
.site-header {
    background: rgba(200, 16, 46, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.site-header-logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header-logo a span {
    color: #ffffff;
    animation: pulse-glow 2s infinite ease-in-out;
}

/* Logo image in header */
.site-logo-img {
    height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 2px 12px rgba(255, 255, 255, 0.9)) brightness(1.25);
}

.site-header-logo a:hover .site-logo-img {
    transform: scale(1.05);
}

/* Type pills row (Format / Size selectors) */
.format-type-pills {
    margin-bottom: 0.75rem;
}

.format-pill.type-pill {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}

.format-pill.type-pill.active {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-cream);
}

.site-header-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-left: auto;
    margin-right: 2rem;
}

.site-header-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition-smooth);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.site-header-nav a:hover {
    color: #FFFFFF;
    border-bottom-color: rgba(255, 255, 255, 0.45);
}

.site-header-nav a.active {
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.cart-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4px;
    color: #FFFFFF;
    transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
    transform: scale(1.05);
    color: #FFFFFF;
}

.cart-icon-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
}

.header-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-dark);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

/* ==========================================================================
   LANDING PAGE (HERO & SECTIONS)
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 8rem 2rem 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-dark);
    color: var(--color-cream);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(200, 155, 102, 0.08) 0%, rgba(30, 22, 21, 0) 70%);
    pointer-events: none;
}

.hero-badge {
    background-color: rgba(200, 155, 102, 0.15);
    border: 1px solid rgba(200, 155, 102, 0.3);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 2rem;
    display: inline-block;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    max-width: 900px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 1s ease-out;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    color: #A8A29E;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    animation: slideUp 1s ease-out 0.2s;
    animation-fill-mode: both;
}

.hero-cta-btn {
    background-color: var(--color-gold);
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(200, 155, 102, 0.3);
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.hero-cta-btn:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 102, 0.4);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-stone);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   PRODUCT SHOWCASE & CATALOG
   ========================================================================== */
.coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.coffee-card {
    background-color: var(--color-white);
    border-radius: 4px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.coffee-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-gold);
}

.coffee-img-wrap {
    background-color: #FAF6F0;
    position: relative;
    padding-top: 100%; /* Square aspect ratio */
    overflow: hidden;
}

.coffee-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.coffee-card:hover .coffee-img-wrap img {
    transform: scale(1.06);
}

/* Secondary Hover Image (For the side details) */
.coffee-img-wrap .gallery-hover-img {
    opacity: 0;
}

.coffee-card:hover .coffee-img-wrap .gallery-hover-img {
    opacity: 1;
}

.coffee-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-dark);
    color: var(--color-cream);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.coffee-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.coffee-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.coffee-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.coffee-title a:hover {
    color: var(--color-gold);
}

.coffee-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: var(--color-light-gray);
    color: var(--color-stone);
}

.meta-tag.roast {
    background-color: rgba(200, 155, 102, 0.1);
    color: var(--color-gold);
    font-weight: 600;
}

.coffee-desc {
    color: var(--color-stone);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Format Pill Selectors */
.format-selector-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-stone);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.format-pills {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.format-pill {
    background: none;
    border: 1px solid var(--color-border);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-dark);
}

.format-pill:hover {
    border-color: var(--color-gold);
    background-color: rgba(250, 247, 242, 0.5);
}

.format-pill.active {
    border-color: var(--color-dark);
    background-color: var(--color-dark);
    color: var(--color-cream);
}

.format-pill .discount-tag {
    font-size: 0.75rem;
    background-color: var(--color-brand-red);
    color: var(--color-white);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.format-pill.active .discount-tag {
    background-color: var(--color-white);
    color: var(--color-brand-red);
}

.coffee-price-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.price-display {
    display: flex;
    flex-direction: column;
}

.price-display span {
    font-size: 0.75rem;
    color: var(--color-stone);
    text-transform: uppercase;
}

.price-display strong {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-dark);
    font-weight: 500;
}

.custom-add-to-cart-btn {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent-orange) 100%);
    color: var(--color-cream);
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.15);
}

.custom-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 111, 81, 0.35);
    color: var(--color-cream);
}

.custom-add-to-cart-btn:disabled,
.custom-add-to-cart-btn.loading {
    background-color: var(--color-stone);
    cursor: not-allowed;
    opacity: 0.7;
}

/* ==========================================================================
   STORY & VALUES SECTION (JAGUAR)
   ========================================================================== */
.story-section {
    background-color: #FAF7F2;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.story-image-container {
    background-color: #1E1615;
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.story-image-container svg {
    max-width: 100%;
    height: auto;
}

/* We'll inline draw or style the jaguar design inside the story section using raw SVG */
.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--color-stone);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item h4::before {
    content: "✓";
    color: var(--color-gold);
    font-weight: 700;
}

.feature-item p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   SLIDING CART DRAWER (VANILLA CSS)
   ========================================================================== */
.custom-cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    transition: visibility 0.4s;
}

.custom-cart-drawer.is-open {
    visibility: visible;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 22, 21, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.custom-cart-drawer.is-open .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--color-cream);
    box-shadow: -10px 0 30px rgba(30, 22, 21, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.custom-cart-drawer.is-open .cart-drawer-container {
    transform: translateX(0);
}

.cart-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Header */
.cart-drawer-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    color: var(--color-stone);
    transition: var(--transition-smooth);
}

.close-drawer-btn:hover {
    color: var(--color-dark);
}

/* Body (Items List) */
.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
}

.cart-drawer-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-drawer-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.cart-drawer-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    font-weight: 600;
    font-family: var(--font-body);
    padding-right: 1.5rem;
}

.cart-item-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.cart-item-title a:hover {
    color: var(--color-gold);
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--color-stone);
    margin-bottom: 6px;
}

.cart-item-price-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Quantity Selector inside Cart Drawer */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--color-white);
}

.qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--color-stone);
}

.qty-btn:hover {
    background-color: var(--color-light-gray);
    color: var(--color-dark);
}

.qty-input {
    width: 32px;
    height: 28px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    background-color: var(--color-white);
    pointer-events: none; /* read-only */
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.remove-cart-item {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #A8A29E;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: var(--transition-smooth);
}

.remove-cart-item:hover {
    color: var(--color-brand-red);
}

/* Empty Cart View */
.empty-cart-message {
    text-align: center;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.empty-cart-icon {
    font-size: 3rem;
    line-height: 1;
}

.empty-cart-message p {
    margin: 0;
    font-size: 1.1rem;
}

.empty-cart-message .empty-subtext {
    font-size: 0.9rem;
    color: var(--color-stone);
    margin-top: -0.5rem;
}

.shop-now-btn {
    background-color: var(--color-dark);
    color: var(--color-cream);
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.shop-now-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* Footer / Actions */
.cart-drawer-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-white);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-subtotal span {
    font-size: 1rem;
    color: var(--color-stone);
}

.cart-subtotal strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Shipping Progress Bar */
.shipping-progress {
    margin-bottom: 1.5rem;
}

.shipping-progress p {
    font-size: 0.8rem;
    margin: 0 0 6px 0;
    color: var(--color-stone);
}

.shipping-progress p strong {
    color: var(--color-dark);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--color-light-gray);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-gold);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.shipping-progress.free-shipping-unlocked p {
    color: var(--color-brand-red);
    font-weight: 600;
}

.cart-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cart-drawer-actions a {
    text-decoration: none;
    text-align: center;
    padding: 0.95rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.cart-drawer-actions .btn-secondary {
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    background-color: transparent;
}

.cart-drawer-actions .btn-secondary:hover {
    background-color: rgba(30, 22, 21, 0.04);
}

.cart-drawer-actions .btn-primary {
    background-color: var(--color-dark);
    color: var(--color-cream);
}

.cart-drawer-actions .btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* Prevent body scrolling when drawer is open */
body.cart-drawer-open {
    overflow: hidden;
}

/* ==========================================================================
   MINIMALIST CUSTOM CHECKOUT STYLING
   ========================================================================== */
.woocommerce-checkout form.checkout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.woocommerce-checkout form.checkout #customer_details {
    width: 100%;
    float: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .woocommerce-checkout form.checkout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
        align-items: start;
    }
    
    .woocommerce-checkout form.checkout #customer_details {
        margin: 0;
    }
    
    .woocommerce-checkout form.checkout #order_review,
    .woocommerce-checkout form.checkout #order_review_heading {
        grid-column: 2;
    }
    
    .woocommerce-checkout form.checkout #order_review_heading {
        margin-top: 0;
        border-bottom: 2px solid var(--color-dark);
        padding-bottom: 0.5rem;
    }
}

.woocommerce-checkout form.checkout .col-1,
.woocommerce-checkout form.checkout .col-2 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

.woocommerce-checkout form.checkout h3 {
    font-size: 1.6rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout form.checkout input[type="text"],
.woocommerce-checkout form.checkout input[type="email"],
.woocommerce-checkout form.checkout input[type="tel"],
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark);
    transition: var(--transition-smooth);
}

.woocommerce-checkout form.checkout input:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout form.checkout textarea:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 155, 102, 0.15);
}

.woocommerce-checkout form.checkout .form-row {
    padding: 0;
    margin-bottom: 1.25rem;
}

.woocommerce-checkout form.checkout label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: inline-block;
    color: var(--color-stone);
}

.woocommerce-checkout form.checkout #order_review {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium);
}

.woocommerce-checkout form.checkout table.shop_table {
    border: none;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2rem;
}

.woocommerce-checkout form.checkout table.shop_table th,
.woocommerce-checkout form.checkout table.shop_table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.woocommerce-checkout form.checkout table.shop_table th {
    font-weight: 600;
    color: var(--color-stone);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.woocommerce-checkout form.checkout table.shop_table td {
    font-size: 0.95rem;
}

.woocommerce-checkout form.checkout table.shop_table .product-name {
    font-weight: 500;
}

.woocommerce-checkout form.checkout table.shop_table .product-total,
.woocommerce-checkout form.checkout table.shop_table .cart-subtotal td,
.woocommerce-checkout form.checkout table.shop_table .order-total td {
    text-align: right;
}

.woocommerce-checkout form.checkout table.shop_table .order-total {
    border-top: 2px solid var(--color-dark);
}

.woocommerce-checkout form.checkout table.shop_table .order-total td strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-dark);
}

.woocommerce-checkout form.checkout #payment {
    background: none;
    padding: 0;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    list-style: none;
}

.woocommerce-checkout form.checkout #payment ul.payment_methods li {
    margin-bottom: 1rem;
    background-color: var(--color-light-gray);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.woocommerce-checkout form.checkout #payment ul.payment_methods li label {
    font-weight: 700;
    color: var(--color-dark);
    margin-left: 8px;
    cursor: pointer;
}

.woocommerce-checkout form.checkout #payment div.payment_box {
    background: none;
    padding: 0.5rem 0 0 24px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-stone);
    line-height: 1.5;
}

.woocommerce-checkout form.checkout #payment div.payment_box::before {
    display: none;
}

.woocommerce-checkout form.checkout #place_order {
    width: 100%;
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--color-dark);
    color: var(--color-cream);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.woocommerce-checkout form.checkout #place_order:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}
/* ==========================================================================
   ANIMATIONS & FLOATING BUTTONS
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-dark);
    color: var(--color-cream);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7), 0 10px 25px rgba(30, 22, 21, 0.2);
    z-index: 9998;
    transition: var(--transition-smooth);
    border: 1px solid rgba(250, 247, 242, 0.1);
    animation: pulse-ring 2.5s infinite;
}

.floating-cart-btn:hover {
    transform: translateY(-5px);
    background-color: var(--color-gold);
    color: var(--color-dark);
    animation: none;
}

.floating-cart-btn svg {
    width: 24px;
    height: 24px;
}

.floating-cart-btn .header-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-brand-red);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-dark);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7), 0 10px 25px rgba(30, 22, 21, 0.2);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(212, 163, 115, 0), 0 10px 25px rgba(30, 22, 21, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0), 0 10px 25px rgba(30, 22, 21, 0.2);
    }
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 5px rgba(231, 111, 81, 0.4); }
    50% { text-shadow: 0 0 15px rgba(231, 111, 81, 0.85); }
}

/* Rotating High-Altitude Seal Badge */
.altitude-seal-container {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 10;
}

.altitude-seal {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(30, 22, 21, 0.6);
    border: 1.5px solid var(--color-gold);
    box-shadow: 0 0 25px rgba(200, 155, 102, 0.2);
}

.altitude-seal > svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin 20s linear infinite;
}

.altitude-seal > svg path {
    fill: none;
}

.seal-inner {
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    animation: float-slow 4s ease-in-out infinite;
}

/* Supporting Farmers / Direct Link Styles */
.farmers-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.farmers-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.section-subtitle {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.farmers-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.farmers-content p {
    color: var(--color-stone);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.farmers-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    border-left: 3px solid var(--color-gold);
    padding-left: 1.25rem;
}

.stat-item strong {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
    display: block;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.farmers-graphics-container {
    position: relative;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    padding: 5rem 3rem;
    text-align: center;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.farmers-graphics-container:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-hover);
}

.alliance-card {
    position: relative;
    z-index: 2;
}

.alliance-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: heartbeat 2s infinite ease-in-out;
}

.alliance-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
    font-weight: 600;
}

.alliance-card p {
    color: var(--color-stone);
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 155, 102, 0.12) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
    border-radius: 50%;
}

/* Interactive Brewing Guide Styles (CSS Accordion) */
.brewing-section {
    background-color: var(--color-dark);
    color: var(--color-cream);
}

.dark-header h2 {
    color: var(--color-cream);
}

.dark-header p {
    color: #A8A29E;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.accordion-item {
    border: 1px solid rgba(200, 155, 102, 0.25);
    border-radius: 6px;
    overflow: hidden;
    background-color: rgba(250, 247, 242, 0.02);
    transition: var(--transition-smooth);
}

.accordion-item:hover {
    border-color: var(--color-gold);
    background-color: rgba(250, 247, 242, 0.04);
}

.accordion-item input[type="radio"] {
    display: none;
}

.accordion-title {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: var(--transition-smooth);
}

.method-icon {
    font-size: 1.5rem;
    margin-right: 1.25rem;
}

.method-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
}

.accordion-title .arrow {
    position: absolute;
    right: 2rem;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--color-gold);
    border-right: 2px solid var(--color-gold);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
    border-top: 1px solid transparent;
}

/* Open state via CSS sibling selector */
.accordion-item input[type="radio"]:checked ~ .accordion-content {
    max-height: 800px;
    padding: 2rem;
    border-top: 1px solid rgba(200, 155, 102, 0.15);
    background-color: rgba(30, 22, 21, 0.3);
}

.accordion-item input[type="radio"]:checked ~ .accordion-title {
    background-color: rgba(200, 155, 102, 0.08);
}

.accordion-item input[type="radio"]:checked ~ .accordion-title .arrow {
    transform: rotate(-135deg);
    top: 55%;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-stat-box {
    background-color: rgba(250, 247, 242, 0.04);
    border: 1px solid rgba(250, 247, 242, 0.08);
    padding: 1.25rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
}

.guide-stat-box:hover {
    background-color: rgba(200, 155, 102, 0.05);
    border-color: rgba(200, 155, 102, 0.2);
}

.guide-stat-box strong {
    display: block;
    color: var(--color-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.guide-stat-box span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-cream);
}

.guide-steps h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-steps ol {
    margin: 0;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guide-steps li {
    color: #D6D3D1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.guide-steps li::marker {
    color: var(--color-gold);
    font-weight: 700;
}

/* Extra Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; transform: scale(1.02); }
}

/* Card Glow Effect on Hover */
.coffee-card:hover {
    box-shadow: 0 20px 45px rgba(200, 155, 102, 0.08);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .farmers-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   DEDICATED STORE PAGE: CAPSULE COLUMNS & WALMART BANNER
   ========================================================================== */
.store-page-wrapper {
    background-color: #F9F9F9;
    padding: 4rem 2rem;
}

.store-header-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.store-header-container h1 {
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.store-header-container p {
    color: var(--color-stone);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Capsule grid layout */
.capsule-catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Base style for capsule card */
.capsule-card {
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent !important;
    background-color: #ffffff !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-dark);
    text-decoration: none;
}

.capsule-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.18) !important;
    border-color: #C8102E !important;
}

/* Override pastel backgrounds to fit red, white & black branding */
.capsule-card.color-1,
.capsule-card.color-2,
.capsule-card.color-3,
.capsule-card.color-4,
.capsule-card.color-5,
.capsule-card.color-6,
.capsule-card.color-7 {
    background: #ffffff !important;
    border-color: transparent !important;
}

.capsule-card.color-1:hover,
.capsule-card.color-2:hover,
.capsule-card.color-3:hover,
.capsule-card.color-4:hover,
.capsule-card.color-5:hover,
.capsule-card.color-6:hover,
.capsule-card.color-7:hover {
    border-color: #C8102E !important;
}

.capsule-badge {
    background-color: #C8102E;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
    z-index: 2;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.capsule-img-container {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    z-index: 2;
    transition: var(--transition-smooth);
}

.capsule-img-container img {
    max-height: 100%;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.08));
    transition: all 0.4s ease;
}

.capsule-card:hover .capsule-img-container img {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
}

.capsule-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-decoration: none;
    z-index: 2;
    transition: var(--transition-smooth);
    color: var(--color-dark);
}

.capsule-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.capsule-title a:hover {
    color: var(--color-gold);
}

.capsule-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-stone);
    margin-bottom: 0.5rem;
    z-index: 2;
}

.capsule-notes {
    font-size: 0.7rem;
    color: var(--color-stone);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* Purchase overlay styled inline for clean technical layout */
.capsule-action-panel {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-top: none;
    padding: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    box-sizing: border-box;
    z-index: 5;
    margin-top: auto;
}

.capsule-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
}

.capsule-card .capsule-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.capsule-card .capsule-btn.btn-cart {
    background: #C8102E !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.15) !important;
}

.capsule-card .capsule-btn.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
    background: #0b0b0b !important;
    color: #ffffff !important;
}

.capsule-card .capsule-btn.btn-walmart {
    background-color: transparent !important;
    color: #0b0b0b !important;
    border: 1.5px solid #0b0b0b !important;
    border-radius: 30px !important;
}

.capsule-card .capsule-btn.btn-walmart:hover {
    background-color: #0b0b0b !important;
    color: #ffffff !important;
}

/* Walmart Banner Section */
.walmart-banner-container {
    text-align: center;
    padding: 5rem 2rem 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.walmart-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #000000;
    color: var(--color-white);
    text-decoration: none;
    padding: 1.25rem 3.5rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.walmart-btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background-color: #121E28;
    border-color: rgba(200, 155, 102, 0.3);
}

.walmart-spark {
    color: #FFC220;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    display: inline-block;
}

/* Responsive grid adaptations */
@media (max-width: 1280px) {
    .capsule-catalog-container {
        grid-template-columns: repeat(4, 1fr);
        padding: 2rem 1rem;
    }
}

@media (max-width: 900px) {
    .capsule-catalog-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .store-header-container h1 {
        font-size: 2.2rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 580px) {
    .capsule-catalog-container,
    .coffee-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 2rem;
        gap: 1.5rem;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
        scrollbar-width: none; /* Hide scrollbar for Firefox */
    }
    
    .capsule-catalog-container::-webkit-scrollbar,
    .coffee-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome/Safari/Edge */
    }
    
    .capsule-card,
    .coffee-card {
        flex: 0 0 295px;
        scroll-snap-align: start;
        height: auto;
        min-height: 520px;
        box-sizing: border-box;
    }

    .coffee-card {
        border-radius: 4px;
    }
    
    .coffee-info {
        padding: 1.25rem !important;
    }
    
    .roast-level-container {
        margin: 0.75rem 0 !important;
    }
    
    .coffee-specs-table {
        margin: 0.75rem 0 !important;
        padding: 6px 0 !important;
    }

    .format-pills {
        margin-bottom: 0.75rem !important;
    }

    .coffee-price-buy {
        padding-top: 1rem !important;
    }
    
    .walmart-btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}


/* ==========================================================================
   BRANDED PAGE TEMPLATE (page.php)
   Styles for WooCommerce Cart, Checkout, My Account & generic pages
   ========================================================================== */

.branded-page-main {
    background-color: var(--color-cream);
    min-height: 60vh;
    padding: 4rem 2rem 6rem;
    font-family: var(--font-body);
}

.branded-page-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── WooCommerce global overrides ── */
.branded-page-main .woocommerce,
.branded-page-main .woocommerce-page {
    font-family: var(--font-body);
    color: var(--color-dark);
}

.branded-page-main h1,
.branded-page-main h2,
.branded-page-main h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

/* Page title */
.branded-page-main .woocommerce-cart h1,
.branded-page-main .woocommerce-checkout h1,
.branded-page-main .woocommerce-account h1,
.branded-page-main h1.entry-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

/* ── Cart Table ── */
.branded-page-main .woocommerce table.shop_table {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-body);
}

.branded-page-main .woocommerce table.shop_table thead th {
    background-color: var(--color-dark);
    color: var(--color-cream);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    border: none;
}

.branded-page-main .woocommerce table.shop_table td {
    padding: 1.25rem;
    border-color: var(--color-border);
    vertical-align: middle;
    font-size: 0.95rem;
}

.branded-page-main .woocommerce table.shop_table td.product-name a {
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.branded-page-main .woocommerce table.shop_table td.product-name a:hover {
    color: var(--color-brand-red);
}

/* ── Cart Totals & Checkout Boxes ── */
.branded-page-main .woocommerce .cart_totals,
.branded-page-main .woocommerce-checkout #order_review,
.branded-page-main .woocommerce .woocommerce-shipping-totals {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
}

.branded-page-main .woocommerce .cart_totals h2,
.branded-page-main .woocommerce-checkout h3 {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

/* ── Buttons (Proceed to Checkout, Place Order) ── */
.branded-page-main .woocommerce .button,
.branded-page-main .woocommerce button.button,
.branded-page-main .woocommerce input.button,
.branded-page-main .woocommerce #place_order {
    background-color: var(--color-dark) !important;
    color: var(--color-cream) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0.9rem 1.75rem !important;
    cursor: pointer !important;
    transition: var(--transition-smooth) !important;
}
.branded-page-main .woocommerce .button:hover,
.branded-page-main .woocommerce button.button:hover,
.branded-page-main .woocommerce #place_order:hover {
    background-color: var(--color-brand-red) !important;
    transform: translateY(-2px) !important;
}

/* ── Form Fields ── */
.branded-page-main .woocommerce form .form-row input.input-text,
.branded-page-main .woocommerce form .form-row select,
.branded-page-main .woocommerce form .form-row textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    color: var(--color-dark);
    transition: border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.branded-page-main .woocommerce form .form-row input.input-text:focus,
.branded-page-main .woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 102, 0.15);
}

.branded-page-main .woocommerce form .form-row label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-stone);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    display: block;
}

/* ── My Account navigation ── */
.branded-page-main .woocommerce-account .woocommerce-MyAccount-navigation {
    background-color: var(--color-dark);
    border-radius: 8px;
    padding: 1.5rem;
}
.branded-page-main .woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.branded-page-main .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    color: #A8A29E;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.branded-page-main .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.branded-page-main .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: rgba(200, 155, 102, 0.15);
    color: var(--color-gold);
}

/* ── WooCommerce notices ── */
.branded-page-main .woocommerce-message,
.branded-page-main .woocommerce-info {
    border-top-color: var(--color-gold);
    background-color: rgba(200, 155, 102, 0.08);
    color: var(--color-dark);
    font-family: var(--font-body);
}
.branded-page-main .woocommerce-error {
    border-top-color: var(--color-brand-red);
    background-color: rgba(192, 38, 33, 0.06);
    color: var(--color-dark);
    font-family: var(--font-body);
}

/* ==========================================================================
   RESPONSIVE HEADER ADJUSTMENTS
   ========================================================================== */
@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1.25rem !important;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .site-header-logo {
        flex-shrink: 0;
        order: 1;
    }
    
    .site-logo-img {
        height: 38px !important;
        max-height: 38px !important;
    }
    
    .site-header-actions {
        order: 2;
    }
    
    .site-header-nav {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center !important;
        gap: 1.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 0.5rem;
        border-top: 1px solid var(--color-border);
    }
    
    .site-header-nav a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .site-header-nav {
        gap: 1rem !important;
    }
    
    .site-header-nav a {
        font-size: 0.75rem;
    }
}


/* ==========================================================================
   ONYX STYLE VISUAL PROFILE & TECHNICAL SPECS
   ========================================================================== */
.roast-level-container {
    margin: 1.25rem 0;
    text-align: left;
    width: 100%;
}

.roast-label-title {
    font-family: monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--color-stone);
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.roast-label-title strong {
    color: #C8102E !important;
    font-weight: 600;
}

.roast-bar-track {
    height: 6px;
    background-color: #E5E5E5;
    border-radius: 3px;
    position: relative;
    margin: 8px 0;
    overflow: visible;
}

.roast-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #F59E0B, #C8102E) !important;
    border-radius: 3px;
}

.roast-marker {
    width: 12px;
    height: 12px;
    background-color: #ffffff !important;
    border: 2.5px solid #C8102E !important;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.roast-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-family: monospace;
    text-transform: uppercase;
    color: #9CA3AF;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.coffee-specs-table {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    margin: 1rem 0 1.25rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1.4;
}

.spec-label {
    font-family: monospace;
    text-transform: uppercase;
    color: var(--color-stone);
    letter-spacing: 0.5px;
}

.spec-val {
    font-weight: 600;
    color: var(--color-dark);
    font-family: var(--font-body);
}

/* Adjust card pill selector for narrow capsules */
.capsule-card .format-pills {
    margin-bottom: 1rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.capsule-card .format-pill {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 30px !important;
    border: 1.5px solid #E5E5E5 !important;
    background: #ffffff !important;
    color: #444 !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    width: auto !important;
}

.capsule-card .format-pill:hover {
    border-color: #C8102E !important;
    color: #C8102E !important;
    background-color: transparent !important;
}

.capsule-card .format-pill.active {
    background: #C8102E !important;
    border-color: #C8102E !important;
    color: #ffffff !important;
}

.capsule-card .format-pill.active .discount-tag {
    background: #ffffff !important;
    color: #C8102E !important;
}

.capsule-card .discount-tag {
    font-size: 0.65rem !important;
    background: rgba(200, 16, 46, 0.1) !important;
    color: #C8102E !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    margin-left: 2px;
}

/* Extra updates for premium visual UI */
.cart-drawer-header {
    background-color: var(--color-dark) !important;
    color: var(--color-cream);
}
.cart-drawer-header h3 {
    color: var(--color-cream);
}
.close-drawer-btn {
    color: #A8A29E;
}
.close-drawer-btn:hover {
    color: var(--color-cream);
}
.cart-drawer-container {
    background-color: var(--color-cream);
}
.floating-cart-btn {
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-section {
    padding: 10rem 2rem 8rem 2rem;
    border-bottom: 1px solid var(--color-border-dark);
}
.hero-cta-btn {
    border-radius: 4px;
    background-color: var(--color-cream);
    color: var(--color-dark);
    border: 1px solid var(--color-cream);
}
.hero-cta-btn:hover {
    background-color: transparent;
    color: var(--color-cream);
    border-color: var(--color-cream);
}
.story-section {
    border-bottom: 1px solid var(--color-border);
}
.story-image-container {
    border-radius: 4px;
    border: 1px solid var(--color-border);
    background-color: #0B0B0B;
}
.alliance-card {
    border-radius: 4px;
}
.farmers-graphics-container {
    border-radius: 4px;
}
.accordion-item {
    border-radius: 4px;
    border-color: #374151;
}
.accordion-item:hover {
    border-color: var(--color-gold);
}
.guide-stat-box {
    border-radius: 4px;
    border-color: #374151;
}
.guide-stat-box:hover {
    border-color: var(--color-gold);
}

/* Brand Values Section Custom Styling */
.brand-values-section {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}
.values-grid-container {
    padding: 3rem 2rem !important;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.value-card {
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    text-align: center;
    background-color: transparent;
}
.value-card:hover {
    background-color: var(--color-light-gray);
    border-color: var(--color-border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}
.value-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    transition: var(--transition-smooth);
    display: inline-block;
}
.value-card:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}
.value-title {
    font-family: var(--font-body) !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--color-dark);
}
.value-desc {
    font-size: 0.85rem;
    color: var(--color-stone);
    margin: 0;
}


/* ==========================================================================
   HERO SPLIT-SCREEN LAYOUT (with product image)
   ========================================================================== */

/* Override old hero centering for the split layout */
.hero-section.hero-split {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0 4rem 0 5rem;
    min-height: 92vh;
    gap: 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 40%, #2a0000 100%);
}

/* Animated floating particles background */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-particles span {
    position: absolute;
    display: block;
    width: 4px;
    height: 4px;
    background: rgba(200, 16, 46, 0.5);
    border-radius: 50%;
    animation: particle-rise 8s infinite linear;
}
.hero-particles span:nth-child(1)  { left: 10%; animation-delay: 0s;    animation-duration: 9s;  width: 3px; height: 3px; }
.hero-particles span:nth-child(2)  { left: 25%; animation-delay: 2s;    animation-duration: 7s;  }
.hero-particles span:nth-child(3)  { left: 40%; animation-delay: 4s;    animation-duration: 11s; width: 2px; height: 2px; background: rgba(255,255,255,0.2); }
.hero-particles span:nth-child(4)  { left: 55%; animation-delay: 1s;    animation-duration: 8s;  }
.hero-particles span:nth-child(5)  { left: 70%; animation-delay: 3s;    animation-duration: 10s; width: 5px; height: 5px; }
.hero-particles span:nth-child(6)  { left: 85%; animation-delay: 5s;    animation-duration: 7s;  width: 2px; height: 2px; }
.hero-particles span:nth-child(7)  { left: 15%; animation-delay: 6s;    animation-duration: 12s; width: 3px; height: 3px; background: rgba(255,255,255,0.15); }
.hero-particles span:nth-child(8)  { left: 60%; animation-delay: 0.5s;  animation-duration: 9s;  width: 6px; height: 6px; opacity: 0.3; }
.hero-particles span:nth-child(9)  { left: 78%; animation-delay: 2.5s;  animation-duration: 8s;  }
.hero-particles span:nth-child(10) { left: 92%; animation-delay: 4.5s;  animation-duration: 10s; width: 3px; height: 3px; }

@keyframes particle-rise {
    0%   { bottom: -10px; opacity: 0; transform: translateX(0) scale(1); }
    10%  { opacity: 1; }
    80%  { opacity: 0.6; }
    100% { bottom: 110%; opacity: 0; transform: translateX(20px) scale(0.5); }
}

/* ── LEFT column ── */
.hero-content-col {
    flex: 0 0 50%;
    max-width: 540px;
    position: relative;
    z-index: 5;
    animation: slideUp 0.9s ease-out both;
}

/* Eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.4);
    border-radius: 30px;
    padding: 6px 16px 6px 10px;
    margin-bottom: 1.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff4466;
}
.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C8102E;
    box-shadow: 0 0 6px rgba(200,16,46,0.8);
    animation: pulse-dot 1.5s infinite ease-in-out;
    flex-shrink: 0;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 4px rgba(200,16,46,0.8); transform: scale(1); }
    50%       { box-shadow: 0 0 12px rgba(200,16,46,1);  transform: scale(1.3); }
}

/* Headline */
.hero-section.hero-split .hero-title {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    color: #ffffff;
    animation: slideUp 0.9s ease-out 0.1s both;
}
.hero-section.hero-split .hero-title em {
    font-style: normal;
    color: #C8102E;
    position: relative;
}
.hero-section.hero-split .hero-title em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #C8102E, transparent);
    border-radius: 2px;
}

/* Description */
.hero-section.hero-split .hero-description {
    font-size: 1.05rem;
    color: #A8A29E;
    line-height: 1.7;
    margin-bottom: 2rem;
    animation: slideUp 0.9s ease-out 0.2s both;
}

/* CTA buttons group */
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: slideUp 0.9s ease-out 0.3s both;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.hero-cta-primary {
    background: #C8102E;
    color: #ffffff;
    border: 2px solid #C8102E;
    box-shadow: 0 6px 25px rgba(200, 16, 46, 0.4);
}
.hero-cta-primary:hover {
    background: #a50d26;
    border-color: #a50d26;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(200, 16, 46, 0.55);
    color: #ffffff;
}
.hero-cta-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
}
.hero-cta-secondary:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
    color: #ffffff;
}

/* Trust bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: slideUp 0.9s ease-out 0.4s both;
}
.trust-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.trust-stat strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}
.trust-stat span {
    font-size: 0.72rem;
    color: #A8A29E;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
}

/* ── RIGHT column (image) ── */
.hero-image-col {
    flex: 0 0 48%;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.15s both;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Glowing halo behind the image */
.hero-image-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(200,16,46,0.22) 0%, rgba(200,16,46,0.06) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glow-pulse 3s infinite ease-in-out;
}
@keyframes glow-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.8; }
    50%       { transform: scale(1.08); opacity: 1;   }
}

/* Image wrapper */
.hero-image-frame {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
    animation: float-slow 5s ease-in-out infinite;
}

.hero-product-img {
    display: block;
    max-width: 100%;
    width: 520px;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 0;
}

/* Rotating seal badge overlaid on the image */
.hero-badge-float {
    position: absolute;
    top: 1.5rem;
    left: 0rem;
    z-index: 6;
}
.hero-badge-float .altitude-seal {
    width: 110px;
    height: 110px;
    background-color: rgba(10,10,10,0.8);
    border: 1.5px solid rgba(200,16,46,0.6);
    box-shadow: 0 0 20px rgba(200,16,46,0.3);
}
.hero-badge-float .altitude-seal > svg {
    animation: spin 18s linear infinite;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .hero-section.hero-split {
        flex-direction: column-reverse;
        text-align: center;
        padding: 4rem 2rem 3rem;
        min-height: auto;
        gap: 2rem;
    }
    .hero-content-col {
        flex: none;
        max-width: 100%;
    }
    .hero-image-col {
        flex: none;
        width: 100%;
    }
    .hero-product-img {
        width: 320px;
        max-height: 42vh;
    }
    .hero-image-glow {
        width: 280px;
        height: 280px;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-trust-bar {
        justify-content: center;
    }
    .hero-eyebrow {
        margin: 0 auto 1.5rem auto;
    }
    .hero-badge-float {
        top: -1rem;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 580px) {
    .hero-section.hero-split {
        padding: 3rem 1.25rem 2rem;
    }
    .hero-section.hero-split .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
    .hero-product-img {
        width: 260px;
    }
    .hero-cta-btn {
        padding: 0.85rem 1.4rem;
        font-size: 0.85rem;
    }
}


/* ==========================================================================
   PRODUCT CATALOG HORIZONTAL CAROUSEL & COMPACT CARD REDESIGN
   ========================================================================== */

.catalog-section {
    background: #0B0B0B;
    padding: 5rem 0 6rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.catalog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 4rem 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.catalog-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-family: var(--font-serif, Georgia, serif);
    letter-spacing: -0.5px;
}

.catalog-subtitle {
    color: #A8A29E;
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-sans, "Manrope", sans-serif);
}

.catalog-nav-arrows {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.catalog-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.1);
    border: 1.5px solid rgba(200, 16, 46, 0.4);
    color: #C8102E;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.catalog-arrow:hover:not(:disabled) {
    background: #C8102E;
    border-color: #C8102E;
    color: #ffffff;
    transform: scale(1.05);
}

.catalog-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    background: transparent;
}

.catalog-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.coffee-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 4rem 3rem;
    max-width: 1300px;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.coffee-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Premium Compact Rounded Card Redesign */
.catalog-section .coffee-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    border-radius: 20px !important;
    background: #ffffff;
    border: 2px solid transparent !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.catalog-section .coffee-card:hover {
    transform: translateY(-8px) !important;
    border-color: #C8102E !important;
    box-shadow: 0 20px 40px rgba(200, 16, 46, 0.25) !important;
}

.catalog-section .coffee-img-wrap {
    padding-top: 72% !important;
    background: #FAF9F6;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden;
    position: relative;
}

.catalog-section .coffee-badge {
    background: #C8102E !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 12px 0 !important;
    top: 0 !important;
    left: 0 !important;
    padding: 6px 14px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.catalog-section .coffee-info {
    padding: 1.5rem 1.75rem 1.75rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.catalog-section .coffee-title {
    font-size: 1.35rem !important;
    font-weight: 700;
    margin: 0 !important;
    line-height: 1.25;
    font-family: var(--font-serif, Georgia, serif);
}

.catalog-section .coffee-title a {
    color: #0b0b0b !important;
    text-decoration: none;
    transition: color 0.2s;
}

.catalog-section .coffee-title a:hover {
    color: #C8102E !important;
}

/* Hide description & specs table for clean compact layout on homepage */
.catalog-section .coffee-desc,
.catalog-section .coffee-specs-table {
    display: none !important;
}

/* Roast level bar inside carousel cards */
.catalog-section .roast-level-container {
    margin: 0.25rem 0 0.5rem !important;
    background: transparent;
    padding: 0;
    border: none;
}

.catalog-section .roast-label-title {
    font-size: 0.85rem;
    color: #555;
    display: block;
    margin-bottom: 6px;
}

.catalog-section .roast-label-title strong {
    color: #C8102E;
}

.catalog-section .roast-bar-track {
    height: 6px;
    background: #E5E5E5;
    border-radius: 3px;
    position: relative;
    margin: 8px 0;
}

.catalog-section .roast-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #F59E0B, #C8102E);
    border-radius: 3px;
}

.catalog-section .roast-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #C8102E;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.catalog-section .roast-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Format / Size / Package pills inside card */
.catalog-section .format-selector-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #777;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.catalog-section .format-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.catalog-section .format-pill {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 30px;
    border: 1.5px solid #E5E5E5;
    background: #ffffff;
    color: #444;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.catalog-section .format-pill:hover {
    border-color: #C8102E;
    color: #C8102E;
}

.catalog-section .format-pill.active {
    background: #C8102E;
    border-color: #C8102E;
    color: #ffffff;
}

.catalog-section .format-pill.active .discount-tag {
    background: #ffffff;
    color: #C8102E;
}

.catalog-section .discount-tag {
    font-size: 0.65rem;
    background: rgba(200, 16, 46, 0.1);
    color: #C8102E;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

/* Price & Buy row */
.catalog-section .coffee-price-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #F3F4F6;
}

.catalog-section .price-display {
    display: flex;
    flex-direction: column;
}

.catalog-section .price-display span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 600;
}

.catalog-section .price-display strong {
    font-size: 1.35rem;
    color: #0b0b0b;
    font-family: var(--font-serif, Georgia, serif);
    font-weight: 700;
}

.catalog-section .price-display strong .woocommerce-Price-amount {
    color: #0b0b0b;
}

.catalog-section .custom-add-to-cart-btn {
    background: #C8102E;
    color: #ffffff;
    font-weight: 700;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.catalog-section .custom-add-to-cart-btn:hover {
    background: #0b0b0b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Carousel Indicators (Dots) */
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 1rem 0;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: #C8102E;
    width: 32px;
    border-radius: 6px;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .catalog-section-header {
        padding: 0 2rem 2rem;
    }
    
    .coffee-carousel-track {
        padding: 1rem 2rem 2.5rem;
        gap: 1.5rem;
    }
}

@media (max-width: 580px) {
    .catalog-section-header {
        padding: 0 1.25rem 1.5rem;
    }
    
    .coffee-carousel-track {
        padding: 0.5rem 1.25rem 2rem;
        gap: 1.25rem;
    }
    
    .catalog-nav-arrows {
        display: none;
    }
    
    .catalog-section .coffee-card {
        flex: 0 0 240px;
    }
    
    .carousel-dots {
        margin-top: 0.5rem;
    }
}


/* Meta Tags inside capsule cards & catalog section */
.capsule-card .meta-tag,
.catalog-section .meta-tag {
    background-color: rgba(200, 16, 46, 0.06) !important;
    color: #C8102E !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.capsule-card .coffee-meta,
.catalog-section .coffee-meta {
    gap: 6px !important;
}


/* ==========================================================================
   SINGLE PRODUCT PAGE STYLING (ONYX / RED / WHITE / BLACK THEME)
   ========================================================================== */

/* Page layout container */
.single-product .store-page-wrapper {
    background-color: #F9F9F9 !important;
    padding: 4rem 2rem !important;
}

.single-product div.product {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 4rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    padding: 3rem !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
}

/* Left Column: Product Gallery */
.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.single-product div.product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    border-radius: 15px !important;
    background: #FAF9F6 !important;
    padding: 3rem !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* Right Column: Summary */
.single-product div.product .summary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    font-family: var(--font-sans, "Manrope", sans-serif) !important;
    font-size: 0.85rem !important;
    color: #888 !important;
    margin: 0 auto 2rem !important;
    max-width: 1200px !important;
    padding: 0 3rem !important;
    box-sizing: border-box !important;
}

.woocommerce-breadcrumb a {
    color: #0b0b0b !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.woocommerce-breadcrumb a:hover {
    color: #C8102E !important;
}

/* Title */
.single-product div.product .product_title {
    font-size: 2.5rem !important;
    font-family: var(--font-serif, Georgia, serif) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #0b0b0b !important;
    margin: 0 !important;
}

/* Price */
.single-product div.product .price {
    font-family: var(--font-serif, Georgia, serif) !important;
    font-size: 2rem !important;
    color: #C8102E !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.single-product div.product .price del {
    font-size: 1.3rem !important;
    color: #A8A29E !important;
    margin-right: 8px !important;
}

.single-product div.product .price ins {
    text-decoration: none !important;
}

/* Details/Short Description */
.single-product div.product .woocommerce-product-details__short-description {
    font-size: 1.05rem !important;
    color: #555 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Variation Selectors & Forms */
.single-product div.product form.cart {
    margin: 1rem 0 0 !important;
    padding: 1.5rem 0 !important;
    border-top: 1px solid #E5E5E5 !important;
    border-bottom: 1px solid #E5E5E5 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.single-product div.product table.variations {
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

.single-product div.product table.variations td {
    padding: 8px 0 !important;
    border: none !important;
    background: none !important;
}

.single-product div.product table.variations td.label {
    width: 90px !important;
    font-weight: 700 !important;
    color: #0b0b0b !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.5px !important;
}

.single-product div.product table.variations select {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 30px !important;
    font-size: 0.9rem !important;
    background-color: #ffffff !important;
    color: #333 !important;
    cursor: pointer !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

.single-product div.product table.variations select:focus {
    border-color: #C8102E !important;
}

/* Add to Cart Actions row */
.single-product div.product .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

.single-product div.product .quantity {
    display: inline-flex !important;
    align-items: center !important;
}

.single-product div.product .quantity input.qty {
    width: 65px !important;
    height: 48px !important;
    text-align: center !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    outline: none !important;
    background: #ffffff !important;
}

.single-product div.product button.single_add_to_cart_button {
    background-color: #C8102E !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 0 2.5rem !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product div.product button.single_add_to_cart_button:hover {
    background-color: #0b0b0b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Meta Data */
.single-product div.product .product_meta {
    font-size: 0.85rem !important;
    color: #777 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    padding-top: 0.5rem !important;
}

.single-product div.product .product_meta span {
    font-weight: 600 !important;
    color: #0b0b0b !important;
}

.single-product div.product .product_meta a {
    color: #C8102E !important;
    text-decoration: none !important;
}

.single-product div.product .product_meta a:hover {
    text-decoration: underline !important;
}

/* Tabs Panel (Description & Reviews) */
.single-product .woocommerce-tabs {
    max-width: 1200px !important;
    margin: 4rem auto 0 !important;
    background: #ffffff !important;
    padding: 3rem !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 0 1rem !important;
    margin: 0 0 2rem !important;
    border-bottom: 1px solid #E5E5E5 !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    color: #888 !important;
    text-decoration: none !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.2s !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #C8102E !important;
    border-bottom-color: #C8102E !important;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    font-size: 1.05rem !important;
    color: #444 !important;
    line-height: 1.65 !important;
}

/* Related Products Grid */
.single-product section.related.products {
    max-width: 1200px !important;
    margin: 4rem auto 0 !important;
    padding: 0 2rem !important;
    box-sizing: border-box !important;
}

.single-product section.related.products h2 {
    font-size: 2rem !important;
    font-family: var(--font-serif, Georgia, serif) !important;
    color: #0b0b0b !important;
    margin-bottom: 2rem !important;
    text-align: center !important;
}

.single-product section.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        padding: 2rem !important;
    }
    .woocommerce-breadcrumb {
        padding: 0 2rem !important;
    }
}

@media (max-width: 600px) {
    .single-product div.product {
        padding: 1.5rem !important;
        gap: 2rem !important;
    }
    .single-product div.product .product_title {
        font-size: 2rem !important;
    }
    .woocommerce-breadcrumb {
        padding: 0 1.5rem !important;
        font-size: 0.75rem !important;
    }
    .single-product .woocommerce-tabs {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }
    .single-product .woocommerce-tabs ul.tabs {
        gap: 1rem !important;
    }
    .single-product .woocommerce-tabs ul.tabs li {
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   SPECIALTIES MENU SHOWCASE GRID & CARDS (Mockup Style)
   ========================================================================== */
.store-specialties-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 3.5rem 3rem 5rem 3rem;
    box-sizing: border-box;
    background-image: url('assets/images/ground-coffe-3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.store-specialties-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 22, 21, 0.35); /* Lighter dark overlay to make the background photo significantly more visible */
    pointer-events: none;
    z-index: 1;
}

.specialties-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    align-items: center;
}

.specialties-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(28, 22, 21, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.specialties-carousel-arrow:hover {
    background: #C8102E; /* Brand Red */
    border-color: #C8102E;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
}

.specialties-carousel-arrow.disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.specialties-carousel-arrow.arrow-left {
    left: -20px;
}

.specialties-carousel-arrow.arrow-right {
    right: -20px;
}

/* Responsiveness for arrows */
@media (max-width: 1500px) {
    .specialties-carousel-arrow.arrow-left {
        left: 10px;
    }
    
    .specialties-carousel-arrow.arrow-right {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .specialties-carousel-arrow {
        width: 38px;
        height: 38px;
        background: rgba(28, 22, 21, 0.75); /* Darker for better visibility */
    }
    
    .specialties-carousel-arrow.arrow-left {
        left: 5px;
    }
    
    .specialties-carousel-arrow.arrow-right {
        right: 5px;
    }
}

.specialties-cards-row {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.specialties-cards-row::-webkit-scrollbar {
    display: none;
}

/* Card glassmorphic styling */
.specialty-menu-card {
    flex: 0 0 185px; /* exactly 7 columns fit nicely on 1440px screen */
    width: 185px;
    height: 480px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(20, 20, 20, 0.6) 60%, rgba(200, 16, 46, 0.45) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.25rem 1.25rem;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

/* Hover effects */
.specialty-menu-card:hover {
    transform: translateY(-16px) scale(1.03);
    border-color: rgba(200, 16, 46, 0.85);
    box-shadow: 0 20px 45px rgba(200, 16, 46, 0.35);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(20, 20, 20, 0.7) 50%, rgba(200, 16, 46, 0.65) 100%);
}

.specialty-menu-card .card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(200, 16, 46, 0.45) 0%, rgba(200, 16, 46, 0) 70%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.specialty-menu-card:hover .card-glow {
    opacity: 1;
}

/* Image styling */
.specialty-menu-card .card-img-wrap {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-menu-card:hover .card-img-wrap {
    transform: translateY(-8px) scale(1.06);
}

.specialty-menu-card .card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.5));
}

/* Text & content */
.specialty-menu-card .card-title-wrap {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.specialty-menu-card .card-title {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    display: inline-block;
}

.specialty-menu-card:hover .card-title {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.85);
}

/* Aromas row */
.specialty-menu-card .card-aromas-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0.5rem 0;
}

.specialty-menu-card .aroma-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.specialty-menu-card:hover .aroma-badge {
    background-color: rgba(200, 16, 46, 0.25);
    border-color: rgba(200, 16, 46, 0.5);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Description notes */
.specialty-menu-card .card-notes-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.specialty-menu-card .card-notes {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Thick red bottom divider line */
.specialties-menu-bottom-divider {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    height: 3px;
    background-color: var(--color-brand-red);
    margin: 1rem auto 3rem auto;
    box-shadow: 0 0 15px rgba(200, 16, 46, 0.5);
}

/* Specialties Section Header styling */
.specialties-section-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    animation: fadeIn 1.2s ease-out;
}

.specialties-tagline {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #C8102E; /* Brand Red */
    display: inline-block;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.specialties-main-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
    font-weight: 400 !important;
    color: var(--color-white) !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.15 !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.specialties-description {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsiveness overrides */
@media (max-width: 1350px) {
    .specialties-cards-row {
        justify-content: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 768px) {
    .store-specialties-wrapper {
        padding: 4rem 1.5rem;
    }
    .specialty-menu-card {
        flex: 0 0 170px;
        width: 170px;
        height: 440px;
        padding: 1.75rem 1rem;
        border-radius: 24px;
    }
    .specialty-menu-card .card-img-wrap {
        height: 170px;
    }
    .specialty-menu-card .card-title {
        font-size: 1.2rem;
    }
    .specialty-menu-card .card-notes {
        font-size: 0.65rem;
        letter-spacing: 0.8px;
    }
}

