/*
Theme Name: Semaa House
Theme URI: https://semmahouse.ca
Author: Semaa House
Author URI: https://semmahouse.ca
Description: Custom WordPress theme for Semaa House – a family-owned reservation tobacco shop. Built with WooCommerce integration for premium Canadian cigarettes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: semma-house
Tags: e-commerce, woocommerce, custom-menu, featured-images
*/

/* =========================================
   MODERN PROFESSIONAL ENTERPRISE E-COMMERCE
   ========================================= */

:root {
    /* Brand Color Palette */
    --clr-white: #FFFFFF;
    --clr-bg-light: #F4F4F4;

    --clr-slate-900: #000000;
    /* Reusing slate vars mapped to Pure Black */
    --clr-slate-600: #333333;
    /* Dark Gray secondary text */
    --clr-slate-200: #E5E5E5;
    /* Light Gray borders */
    --clr-slate-100: #F0F0F0;
    /* Soft Gray hover */

    --clr-primary-brand: #E8B931;
    /* Brand Yellow/Gold */
    --clr-primary-hover: #D4A528;

    --clr-secondary-brand: #C8102E;
    /* Brand Red */
    --clr-secondary-hover: #A00D24;

    --clr-danger: #C8102E;
    /* Brand Red */
    --clr-danger-hover: #A00D24;
    --clr-success: #E8B931;
    /* Brand Yellow used for standard success marks to fit vibe */

    /* Typography */
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Nunito Sans', sans-serif;

    /* Base Measurements (Squared Sitewide) */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --radius-xl: 0px;

    --transition-smooth: all 0.2s ease-in-out;
}

/* =========================================
   RESET & FOUNDATIONS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-white);
    color: var(--clr-slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
.logo,
.footer-logo,
.hero-title,
.section-title {
    font-family: var(--font-heading);
    color: var(--clr-slate-900);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--clr-slate-900);
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

.hidden {
    display: none !important;
}

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

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.bg-slate {
    background-color: var(--clr-slate-900);
}

.bg-slate-dark {
    background-color: #000000;
}

/* Slate 950 */

.text-white {
    color: var(--clr-white);
}

.text-secondary {
    color: var(--clr-slate-600);
}

.text-slate-muted {
    color: #999999;
}

/* Slate 400 */
.text-success {
    color: var(--clr-success);
}

.text-danger {
    color: var(--clr-danger);
}

.border-top {
    border-top: 1px solid var(--clr-slate-200);
}

.border-top-slate {
    border-top: 1px solid #222222;
}

/* Slate 800 */

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.overflow-hidden {
    overflow: hidden;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

/* =========================================
   BUTTONS — Standardized 3-Tier System
   ========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.875rem 1.75rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    line-height: 1.2;
}

.btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn:focus-visible {
    outline: 2px solid var(--clr-secondary-brand);
    outline-offset: 2px;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background-color: var(--clr-primary-brand);
    color: var(--clr-slate-900);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25);
}

.btn-secondary {
    background-color: var(--clr-white);
    color: var(--clr-slate-900);
    border-color: var(--clr-slate-200);
}

.btn-secondary:hover {
    background-color: var(--clr-slate-100);
}

.btn-danger {
    background-color: var(--clr-danger);
    color: var(--clr-white);
}

.btn-danger:hover {
    background-color: var(--clr-danger-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-slate-200);
    color: var(--clr-slate-600);
}

.btn-outline:hover {
    background-color: var(--clr-slate-100);
    color: var(--clr-slate-900);
    border-color: var(--clr-slate-600);
}

.btn-brand {
    background-color: var(--clr-secondary-brand);
    color: var(--clr-white);
}

.btn-brand:hover {
    background-color: var(--clr-secondary-hover);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.w-full {
    width: 100%;
}

/* =========================================
   AGE GATE
   ========================================= */
.age-gate {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    /* Pure Black overlay */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.age-gate.overlay-active {
    opacity: 1;
    pointer-events: auto;
}

.age-gate-content {
    background: var(--clr-white);
    padding: 3rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.shield-icon {
    width: 48px;
    height: 48px;
    color: var(--clr-secondary-brand);
    margin: 0 auto 1.5rem;
}

.age-gate-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.age-gate-content h2 {
    font-size: 1.25rem;
    color: var(--clr-secondary-brand);
    margin-bottom: 1rem;
}

.age-gate-content p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.error-msg {
    color: var(--clr-danger);
    background-color: #FEF2F2;
    /* Red 50 */
    padding: 0.75rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    font-weight: 500;
}

/* Session states */
html.verified-session .age-gate {
    display: none !important;
}

html.verified-session #main-content {
    display: block !important;
    opacity: 1 !important;
}

html.verified-session body.no-scroll {
    overflow: auto !important;
}

/* =========================================
   TRUST BAR & HEADER
   ========================================= */
.trust-bar {
    background-color: var(--clr-secondary-brand);
    color: var(--clr-white);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    gap: 1rem;
    letter-spacing: 0.025em;
    flex-wrap: wrap;
}

.trust-bar__contact,
.trust-bar__phrases {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--clr-white);
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 600;
}

.trust-bar__link:hover {
    opacity: 0.8;
    color: var(--clr-white);
}

.trust-bar__link svg {
    flex-shrink: 0;
}

.dot-separator {
    color: var(--clr-slate-600);
}

.site-header {
    background-color: var(--clr-white);
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    /* Sometimes top 0 has rendering bugs, -1px forces it */
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

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

/* WordPress menu reset */
.main-nav ul li {
    list-style: none;
}

.main-nav ul li a,
.nav-link {
    font-weight: 600;
    color: var(--clr-slate-600);
    text-transform: uppercase;
}

.nav-link:hover,
.main-nav ul li a:hover {
    color: var(--clr-slate-900);
}

/* WordPress submenu reset */
.main-nav ul ul {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-link,
.cart-link {
    color: var(--clr-slate-600);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-link:hover,
.cart-link:hover {
    color: var(--clr-slate-900);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--clr-slate-900);
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-slate-200);
    border-radius: 0;
    position: relative;
}

.cart-count {
    background: transparent;
    color: var(--clr-slate-900);
    font-size: 1rem;
    font-weight: 700;
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
}

.header-cart-wrapper {
    position: relative;
}

.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: -1rem;
    /* Adjusting for padding */
    width: 340px;
    background: var(--clr-white);
    padding: 1.5rem;
    border: 1px solid var(--clr-slate-100);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    cursor: default;
}

.header-cart-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-dropdown .widget_shopping_cart_content {
    color: var(--clr-slate-900);
    font-size: 0.95rem;
}

.mini-cart-dropdown .woocommerce-mini-cart__empty-message {
    text-align: center;
    color: var(--clr-slate-600);
    margin: 1rem 0;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button {
    text-align: center !important;
    padding: 0.8rem 1rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.checkout {
    background: var(--clr-danger) !important;
    color: var(--clr-white) !important;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
}

/* Mini Cart Items List */
.mini-cart-dropdown ul.cart_list {
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
    max-height: 400px;
    overflow-y: auto;
    border-bottom: 2px solid var(--clr-slate-100);
}

.mini-cart-dropdown ul.cart_list::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-dropdown ul.cart_list::-webkit-scrollbar-thumb {
    background: var(--clr-slate-200);
    border-radius: 4px;
}

.mini-cart-dropdown ul.cart_list li.mini_cart_item {
    display: flex;
    align-items: center;
    padding: 1rem 0 !important;
    border-bottom: 1px solid var(--clr-slate-100);
    position: relative;
    gap: 1rem;
    padding-right: 32px !important;
}

.mini-cart-dropdown ul.cart_list li.mini_cart_item:last-child {
    border-bottom: none;
}

/* Image constraints */
.mini-cart-dropdown ul.cart_list li.mini_cart_item a img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    margin: 0 !important;
    /* Override default WC margins */
    float: none !important;
    /* Override default WC float */
}

/* Product link (Image + Title wrapper) */
.mini-cart-dropdown ul.cart_list li.mini_cart_item>a:not(.remove_from_cart_button) {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
    font-weight: 600;
    color: var(--clr-slate-900);
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Quantity and Price */
.mini-cart-dropdown .quantity {
    display: block;
    font-size: 0.85rem !important;
    color: var(--clr-slate-600) !important;
    margin-top: 0.25rem;
}

/* Remove button */
.mini-cart-dropdown a.remove_from_cart_button {
    color: var(--clr-danger) !important;
    background: transparent !important;
    font-weight: bold;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    width: 24px;
    height: 24px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-decoration: none !important;
}

.mini-cart-dropdown a.remove_from_cart_button:hover {
    background: #FEF2F2 !important;
    /* light red */
    color: #A00D24 !important;
    /* dark red */
}

/* Subtotal */
.mini-cart-dropdown .total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--clr-slate-900) !important;
    border-top: none !important;
    /* Override WC default */
}

.mini-cart-dropdown .total strong {
    font-weight: 600;
    color: var(--clr-slate-600);
}

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    border-bottom: 1px solid var(--clr-slate-200);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.30) 100%);
    z-index: 1;
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-badge {
    display: inline-block;
    background-color: var(--clr-primary-brand);
    color: var(--clr-slate-900);
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.hero-slide__title {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1.25rem;
    max-width: 75%;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-slide__subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 560px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.hero-slide__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    min-height: 5rem;
}

.hero-slide__terms {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

/* -- Carousel Arrow Navigation -- */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-arrow--prev {
    left: 1.5rem;
}

.hero-arrow--next {
    right: 1.5rem;
}

/* -- Carousel Dot Indicators -- */
.hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.hero-dot.active {
    background: var(--clr-white);
    border-color: var(--clr-white);
    transform: scale(1.15);
}

/* -- Promo Badge (reused in other sections) -- */
.promo-badge {
    display: inline-block;
    background-color: var(--clr-primary-brand);
    color: var(--clr-slate-900);
    padding: 0.35rem 1rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* Header Enhancements for Layout */
.account-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--clr-slate-600);
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-slate-200);
    border-radius: 0;
}

.account-link:hover {
    color: var(--clr-slate-900);
    border-color: var(--clr-slate-600);
}

/* -- Hero Carousel Responsive -- */
@media (max-width: 992px) {
    .hero-carousel {
        height: 65vh;
        min-height: 450px;
    }

    .hero-slide__title {
        font-size: 2.5rem;
    }

    .hero-slide__subtitle {
        font-size: 1.05rem;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 50vh;
        min-height: 400px;
    }

    .hero-slide__overlay {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.15) 0%,
                rgba(0, 0, 0, 0.82) 100%);
    }

    .hero-slide__content {
        justify-content: center;
        text-align: left;
        align-items: flex-start;
        max-width: 100%;
        padding: 2rem 1.5rem 9rem;
    }

    /* Actions wrapper handles spacing above the button now */

    .hero-slide__title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-slide__subtitle {
        font-size: 0.88rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .hero-slide__actions {
        position: absolute;
        bottom: 3rem;
        left: 1.5rem;
        right: 1.5rem;
        margin-top: 0;
        align-items: flex-start;
    }

    .hero-slide__actions .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
    }

    .hero-slide__terms {
        font-size: 0.75rem;
    }

    .hero-arrow {
        display: none;
    }

    .hero-dots {
        bottom: 0.75rem;
    }
}

/* =========================================
   PRODUCT GRID
   ========================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.category-filters {
    display: flex;
    gap: 1rem;
}

.filter-tab {
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-slate-600);
    padding: 0.5rem 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.filter-tab:hover {
    color: var(--clr-slate-900);
}

.filter-tab.active {
    color: var(--clr-slate-900);
    border-bottom-color: var(--clr-primary-brand);
}

/* --- WooCommerce Shop Header --- */
.woocommerce-result-count {
    float: left;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--clr-slate-600);
}

.woocommerce-ordering {
    float: right;
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-sm);
    background-color: var(--clr-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-slate-900);
    outline: none;
    cursor: pointer;
}

.product-grid {
    clear: both;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* --- Product Card Component --- */
.product-card {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-slate-200);
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-white);
    padding: 2rem 1.5rem;
    border-bottom: 2px solid var(--clr-slate-200);
    position: relative;
    overflow: hidden;
    height: 340px;
    flex-shrink: 0;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.product-card__body {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--clr-slate-900);
    text-transform: uppercase;
}

.product-card__desc {
    color: var(--clr-slate-600);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.product-card__pricing {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
}

.product-card__price {
    font-size: 1.35rem;
    font-weight: 800;
    display: block;
    color: var(--clr-slate-900);
}

.product-card__shipping {
    font-size: 0.8rem;
    color: var(--clr-slate-600);
    font-weight: 500;
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card__actions .btn {
    border-radius: 0;
}

.product-card__actions .btn-outline {
    display: none;
}

/* --- Legacy product card support (shop/product pages) --- */
.product-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    background-color: var(--clr-white);
    border-bottom: 2px solid var(--clr-slate-200);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.badge-sale {
    background-color: var(--clr-primary-brand);
    color: var(--clr-slate-900);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-slate-900);
}

.shipping-note {
    font-size: 0.8rem;
    color: var(--clr-slate-600);
    font-weight: 500;
}

.add-to-cart {
    margin-top: auto;
}

/* =========================================
   TRUST SECTION (INFO)
   ========================================= */
.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-image-wrapper {
    position: relative;
}

.trust-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-text .section-title {
    margin-bottom: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.check-icon {
    flex-shrink: 0;
}

/* =========================================
   OUR STORY SECTION
   ========================================= */
.our-story-section {
    position: relative;
    overflow: hidden;
    /* Base warm neutral tone */
    background-color: #F5F0E8;
    /* Layered subtle texture */
    background-image:
        /* Subtle diagonal veins */
        repeating-linear-gradient(135deg,
            transparent,
            transparent 18px,
            rgba(200, 16, 46, 0.03) 18px,
            rgba(200, 16, 46, 0.03) 19px),
        repeating-linear-gradient(45deg,
            transparent,
            transparent 24px,
            rgba(232, 185, 49, 0.03) 24px,
            rgba(232, 185, 49, 0.03) 25px),
        /* Fine horizontal fiber lines */
        repeating-linear-gradient(90deg,
            transparent,
            transparent 5px,
            rgba(200, 16, 46, 0.01) 5px,
            rgba(200, 16, 46, 0.01) 6px),
        /* Large organic blotches for depth variation */
        radial-gradient(ellipse 120px 80px at 15% 25%, rgba(200, 16, 46, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 100px 140px at 70% 60%, rgba(232, 185, 49, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 90px 60px at 50% 80%, rgba(200, 16, 46, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 150px 100px at 85% 15%, rgba(232, 185, 49, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 80px 120px at 30% 55%, rgba(200, 16, 46, 0.025) 0%, transparent 70%),
        /* Overall warm tonal wash */
        linear-gradient(180deg, rgba(200, 16, 46, 0.02) 0%, rgba(232, 185, 49, 0.015) 50%, rgba(200, 16, 46, 0.02) 100%);
}

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

.our-story-text {
    border-left: 4px solid var(--clr-primary-brand);
    padding-left: 2rem;
    position: relative;
}

.our-story-text .section-title {
    font-size: 2.25rem;
}

.our-story-promises {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.promise-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--clr-white);
    border: 1px solid var(--clr-slate-200);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
}

.promise-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-primary-brand), #D4A528);
    border-radius: 50%;
    padding: 0.7rem;
}

.promise-icon svg {
    width: 22px;
    height: 22px;
    color: var(--clr-white);
    stroke: var(--clr-white);
}

.promise-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-slate-900);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promise-text p {
    font-size: 0.92rem;
    color: var(--clr-slate-600);
    line-height: 1.55;
    font-weight: 500;
}

@media (max-width: 992px) {
    .our-story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .our-story-text {
        text-align: center;
        border-left: none;
        padding-left: 0;
        border-bottom: 4px solid var(--clr-primary-brand);
        padding-bottom: 2rem;
    }

    .our-story-text .section-title {
        text-align: center !important;
    }
}

/* =========================================
   DISCLAIMER
   ========================================= */
.disclaimer-section {
    border-top: 1px solid var(--clr-slate-200);
    padding: 1.5rem 0;
}

.disclaimer-text {
    font-size: 0.7rem;
    line-height: 1.5;
    color: #999999;
    margin-bottom: 0.5rem;
}

.disclaimer-text:last-child {
    margin-bottom: 0;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--clr-white);
    font-size: 1.75rem;
}

.footer-heading {
    color: var(--clr-white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-slate-muted, #94A3B8);
    font-size: 0.95rem;
}

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

/* WordPress footer menu reset */
.footer-links .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links .menu li {
    margin-bottom: 0.75rem;
}

.footer-links .menu a {
    color: var(--text-slate-muted, #94A3B8);
    font-size: 0.95rem;
}

.footer-links .menu a:hover {
    color: var(--clr-white);
}

.text-sm {
    font-size: 0.875rem;
}

.payment-methods {
    display: flex;
    gap: 0.75rem;
}

.pay-badge {
    background-color: #111111;
    /* Pure Black variant */
    border: 1px solid #333333;
    /* Slate 700 */
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-white);
    text-transform: uppercase;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: var(--text-slate-muted, #94A3B8);
    font-size: 0.9rem;
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-divider {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.footer-credit-link {
    color: var(--clr-white);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

.footer-credit-link:hover {
    color: var(--clr-primary-brand);
}

/* =========================================
   SEARCH INPUT FOCUS
   ========================================= */
.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3.5rem;
    border: 1px solid var(--clr-slate-200);
    background-color: var(--clr-white);
    font-size: 1.1rem;
    border-radius: 0;
    outline: none;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    border-color: var(--clr-primary-brand);
    box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.15);
}

/* =========================================
   TRUST FEATURE CARDS (Why Choose Us)
   ========================================= */
.trust-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.trust-feature-card {
    padding: 2rem;
    border: 1px solid var(--clr-slate-200);
    background: var(--clr-bg-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}

.trust-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

.trust-feature-card svg {
    color: var(--clr-secondary-brand);
    margin: 0 auto 1.5rem;
    width: 40px;
    height: 40px;
}

.trust-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.trust-feature-card p {
    font-size: 0.95rem;
    color: var(--clr-slate-600);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: 1px solid var(--clr-slate-200);
    border-bottom: none;
    background: var(--clr-white);
    transition: box-shadow 0.2s ease;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--clr-slate-200);
}

.faq-item.active {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: var(--clr-primary-brand);
    position: relative;
    z-index: 1;
}

.faq-item.active+.faq-item {
    border-top-color: transparent;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-slate-900);
    text-align: left;
    gap: 1.5rem;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--clr-primary-brand);
}

.faq-question:focus-visible {
    outline: 2px solid var(--clr-primary-brand);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--clr-slate-600);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--clr-primary-brand);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--clr-slate-600);
    line-height: 1.7;
    font-weight: 500;
    border-top: 1px solid var(--clr-slate-200);
    padding-top: 1.25rem;
}

/* =========================================
   WOOCOMMERCE OVERRIDES
   ========================================= */

/* Shop page header */
.woocommerce-products-header {
    background-color: var(--clr-bg-light);
    text-align: center;
    padding: 4rem 1.5rem;
    border-bottom: 1px solid var(--clr-slate-200);
}

.woocommerce-products-header .page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* WooCommerce product grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

/* WooCommerce single product 2-column layout */
.wc-product-detail-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.wc-product-detail-img {
    background-color: var(--clr-bg-light);
    padding: 3rem;
    display: flex;
    justify-content: center;
    border: 1px solid var(--clr-slate-200);
}

.wc-product-detail-img img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

.wc-product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-slate-900);
}

.wc-product-detail-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-slate-900);
}

.wc-product-detail-info .shipping-info {
    font-size: 0.95rem;
    color: var(--clr-slate-600);
    margin-bottom: 2rem;
    font-weight: 500;
}

.wc-product-detail-info .variations select {
    width: 100%;
    padding: 1rem;
    background-color: var(--clr-white);
    color: var(--clr-slate-900);
    border: 1px solid var(--clr-slate-200);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
    outline: none;
}

.wc-product-detail-info .single_add_to_cart_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--clr-primary-brand);
    color: var(--clr-white);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.wc-product-detail-info .single_add_to_cart_button:hover {
    background-color: var(--clr-primary-hover);
}

@media (max-width: 768px) {
    .wc-product-detail-section {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 2rem;
    }

    .wc-product-detail-img {
        padding: 2rem;
    }
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
    background-color: var(--clr-bg-light);
    color: var(--clr-slate-900);
    border: 1px solid var(--clr-slate-200);
    border-top: 3px solid var(--clr-primary-brand) !important;
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem 1.25rem 3.5rem !important;
    font-size: 1rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: none;
}

.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after {
    content: "";
    display: table;
    clear: both;
}

.woocommerce-error {
    border-top-color: var(--clr-danger) !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    color: var(--clr-primary-brand) !important;
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
}

.woocommerce-error::before {
    color: var(--clr-danger) !important;
}

/* Button inside notices */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right;
    background-color: var(--clr-white);
    color: var(--clr-slate-900);
    border: 1px solid var(--clr-slate-200) !important;
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border-radius: var(--radius-md) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    margin-left: 1rem;
    margin-top: -0.2rem;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background-color: var(--clr-slate-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        padding: 1rem 1.5rem 1rem 3rem !important;
    }

    .woocommerce-message::before,
    .woocommerce-info::before,
    .woocommerce-error::before {
        left: 1rem;
        top: 1rem;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        float: none;
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--clr-slate-600);
}

/* =========================================
   MOBILE MENU
   ========================================= */

/* -- Hamburger Toggle Button -- */
.mobile-menu-toggle {
    display: none;
    /* hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    position: relative;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--clr-slate-900);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease;
    transform-origin: center;
}

/* Hamburger → X morphing */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* -- Full-Screen Mobile Menu Overlay -- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* dynamic viewport height for mobile browsers */
    background-color: var(--clr-white);
    z-index: 9998;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.4s;
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem 2rem 2rem;
}

/* -- Mobile Menu Header -- */
.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--clr-slate-200);
    margin-bottom: 1rem;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-slate-600);
    padding: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-menu-close:hover {
    color: var(--clr-slate-900);
    transform: rotate(90deg);
}

/* -- Mobile Menu Navigation -- */
.mobile-menu__nav {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.mobile-menu__nav ul {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu__nav li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Staggered entry animation */
.mobile-menu.active .mobile-menu__nav li:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu__nav li:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.16s;
}

.mobile-menu.active .mobile-menu__nav li:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.22s;
}

.mobile-menu.active .mobile-menu__nav li:nth-child(4) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.28s;
}

.mobile-menu.active .mobile-menu__nav li:nth-child(5) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.34s;
}

.mobile-menu.active .mobile-menu__nav li:nth-child(6) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.40s;
}

.mobile-menu__link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-slate-900);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 1rem 0;
    border-bottom: 1px solid var(--clr-slate-200);
    transition: color 0.2s ease, padding-left 0.25s ease;
    text-decoration: none;
}

.mobile-menu__link:hover {
    color: var(--clr-primary-brand);
    padding-left: 0.75rem;
}

/* -- Mobile Menu Footer -- */
.mobile-menu__footer {
    padding-top: 2rem;
    border-top: 1px solid var(--clr-slate-200);
    margin-top: auto;
}

/* -- Body Scroll Lock -- */
body.mobile-menu-open {
    overflow: hidden;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {

    .trust-container {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand,
    .footer-trust {
        grid-column: 1 / -1;
    }

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

@media (max-width: 768px) {
    .trust-bar {
        font-size: 0.7rem;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.4rem 0.75rem;
    }

    .trust-bar__divider {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

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

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

    .product-card {
        height: 100%;
    }

    .product-card__image {
        padding: 1rem;
        height: 180px;
    }

    .product-card__body {
        padding: 0.75rem;
    }

    .product-card__title {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    .product-card__desc {
        display: none;
    }

    .product-card__price {
        font-size: 1rem;
    }

    .product-card__shipping {
        font-size: 0.7rem;
    }

    .product-card__pricing {
        margin-bottom: 0.35rem;
    }

    .product-card__actions {
        gap: 0.25rem;
    }

    .product-card__actions .btn {
        padding: 0.45rem 0.5rem;
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .product-card__actions .btn-outline {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-brand,
    .footer-trust {
        grid-column: 1 / -1;
    }

    .footer-brand .footer-logo img {
        height: 90px !important;
    }

    .footer-brand p,
    .footer-divider {
        display: none;
    }

    .site-footer {
        padding: 3rem 0 1.5rem;
    }


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

    .btn-lg {
        padding: 1rem 2rem;
    }

    /* Our Guarantee section – compact on mobile */
    #info.section {
        padding: 3rem 0;
    }

    #info .trust-feature-grid {
        gap: 1rem;
    }

    #info div[style*="margin: 0 auto 4rem"] {
        margin-bottom: 2rem !important;
    }

    .trust-feature-card {
        padding: 1.25rem;
    }

    .trust-feature-card svg {
        margin-bottom: 0.75rem;
        width: 32px;
        height: 32px;
    }

    .trust-feature-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }

    .trust-feature-card p {
        font-size: 0.85rem;
    }
}

/* =========================================
   ACCESSIBILITY — Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .product-card:hover,
    .promise-card:hover,
    .trust-feature-card:hover {
        transform: none;
    }

    .product-card:hover .product-card__image img,
    .product-card:hover .product-img-wrapper img {
        transform: none;
    }

}

/* =========================================
   VISUALLY HIDDEN (Accessibility helper)
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-img {
    background-color: var(--clr-bg-light);
    padding: 3rem;
    display: flex;
    justify-content: center;
    border: 1px solid var(--clr-slate-200);
}

.product-detail-img img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--clr-slate-900);
}

.product-detail-info .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-slate-900);
    line-height: 1;
}

.shipping-info {
    font-size: 1rem;
    color: var(--clr-slate-600);
    margin-bottom: 2rem;
    font-weight: 600;
}

.variant-selector {
    margin-bottom: 2rem;
}

.variant-selector label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-slate-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.variant-selector select {
    width: 100%;
    padding: 1rem;
    background-color: var(--clr-white);
    color: var(--clr-slate-900);
    border: 1px solid var(--clr-slate-200);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.variant-selector select:focus {
    border-color: var(--clr-slate-900);
}

.features-list {
    margin-top: 3rem;
    padding-left: 0;
    list-style: none;
    color: var(--clr-slate-600);
    border-top: 1px solid var(--clr-slate-200);
    padding-top: 2rem;
}

.features-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.product-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--clr-slate-600);
}

.product-breadcrumb a {
    color: var(--clr-slate-600);
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: var(--clr-slate-900);
}

.product-breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--clr-slate-200);
}

/* Print/WP related single product overrides */
.wc-product-detail-section {
    padding-top: 4rem;
    padding-bottom: 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.wc-product-detail-img {
    background-color: var(--clr-bg-light);
    padding: 3rem;
    display: flex;
    justify-content: center;
    border: 1px solid var(--clr-slate-200);
}

.wc-product-detail-img img {
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

.wc-product-detail-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--clr-slate-900);
}

.wc-product-detail-info .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-slate-900);
    line-height: 1;
}

@media (max-width: 992px) {

    .product-detail-section,
    .wc-product-detail-section {
        gap: 2.5rem;
    }

    .product-detail-info h1,
    .wc-product-detail-info h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .product-detail-section,
    .wc-product-detail-section {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        gap: 2rem;
    }

    .product-detail-img,
    .wc-product-detail-img {
        padding: 2rem;
    }
}

/* WooCommerce Variations Table Structure */
body.woocommerce .wc-product-detail-info form.cart table.variations {
    width: 100% !important;
    margin-bottom: 2rem !important;
    border-collapse: collapse !important;
    display: block !important;
}

body.woocommerce .wc-product-detail-info form.cart table.variations tbody,
body.woocommerce .wc-product-detail-info form.cart table.variations tr,
body.woocommerce .wc-product-detail-info form.cart table.variations th,
body.woocommerce .wc-product-detail-info form.cart table.variations td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
    border: none !important;
    background: transparent !important;
}

body.woocommerce .wc-product-detail-info form.cart table.variations th.label,
body.woocommerce .wc-product-detail-info form.cart table.variations td.label {
    padding-bottom: 0.5rem !important;
    vertical-align: top !important;
    display: block !important;
    width: 100% !important;
}

body.woocommerce .wc-product-detail-info form.cart table.variations th.label label {
    margin-bottom: 0 !important;
    display: block !important;
}

body.woocommerce .wc-product-detail-info form.cart table.variations td.value {
    margin-bottom: 1.5rem !important;
    display: block !important;
    width: 100% !important;
}

body.woocommerce .wc-product-detail-info form.cart .reset_variations {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
    color: var(--clr-danger) !important;
    font-weight: 600 !important;
}

/* WooCommerce Button & Form Overrides for Single Product */
body.woocommerce #content .wc-product-detail-info form.cart .button,
body.woocommerce .wc-product-detail-info form.cart .button,
body.woocommerce-page .wc-product-detail-info form.cart .button,
body.woocommerce #respond input#submit.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body.woocommerce .wc-product-detail-info form.cart .single_add_to_cart_button.button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 1.25rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    border: 1px solid transparent !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

body.woocommerce #content .wc-product-detail-info form.cart .button:hover,
body.woocommerce .wc-product-detail-info form.cart .button:hover,
body.woocommerce-page .wc-product-detail-info form.cart .button:hover,
body.woocommerce #respond input#submit.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover,
body.woocommerce .wc-product-detail-info form.cart .single_add_to_cart_button.button:hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
    color: var(--clr-slate-900) !important;
}

body.woocommerce #content .wc-product-detail-info form.cart .button.disabled,
body.woocommerce .wc-product-detail-info form.cart .button.disabled,
body.woocommerce-page .wc-product-detail-info form.cart .button.disabled,
body.woocommerce #respond input#submit.alt.disabled,
body.woocommerce a.button.alt.disabled,
body.woocommerce button.button.alt.disabled,
body.woocommerce input.button.alt.disabled,
body.woocommerce .wc-product-detail-info form.cart .button:disabled,
body.woocommerce .wc-product-detail-info form.cart .single_add_to_cart_button.button.disabled,
body.woocommerce .wc-product-detail-info form.cart .single_add_to_cart_button.button:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
}

body.woocommerce .wc-product-detail-info form.cart .variations select {
    width: 100% !important;
    padding: 1rem !important;
    background-color: var(--clr-white) !important;
    color: var(--clr-slate-900) !important;
    border: 1px solid var(--clr-slate-200) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    outline: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
}

body.woocommerce .wc-product-detail-info form.cart .variations label {
    display: block !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--clr-slate-900) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.product-full-description,
.product-short-description {
    margin-top: 2rem !important;
    color: var(--clr-slate-600) !important;
    line-height: 1.7 !important;
}

/* Remove default quantity input styling */
body.woocommerce .wc-product-detail-info form.cart div.quantity {
    float: none !important;
    margin: 0 0 1rem 0 !important;
    display: block !important;
    /* Ensure it takes full width initially */
}

/* Add custom "Quantity" label before the input using pseudo-element */
body.woocommerce .wc-product-detail-info form.cart div.quantity::before {
    content: "Quantity";
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--clr-slate-900) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body.woocommerce .wc-product-detail-info form.cart div.quantity input.qty {
    width: 100% !important;
    padding: 1rem !important;
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    appearance: none !important;
}

/* =========================================
   WOOCOMMERCE UTILITY PAGES (Cart, Checkout, Account)
   ========================================= */

/* General Form Overrides */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 1px solid var(--clr-slate-200) !important;
    background-color: var(--clr-white) !important;
    font-size: 1rem !important;
    border-radius: var(--radius-sm) !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--clr-primary-brand) !important;
    box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.15) !important;
}

.woocommerce form .form-row label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: var(--clr-slate-900) !important;
}

/* Base Button Overrides for WooCommerce Forms */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    border: 1px solid transparent !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
}


/* --- CART PAGE --- */
.woocommerce-cart .woocommerce {
    padding: 3rem 0;
}

.woocommerce table.shop_table {
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: var(--radius-sm) !important;
    border-collapse: separate !important;
    width: 100% !important;
}

.woocommerce table.shop_table th {
    background-color: var(--clr-bg-light) !important;
    padding: 1rem 1.5rem !important;
    color: var(--clr-slate-900) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid var(--clr-slate-200) !important;
}

.woocommerce table.shop_table td {
    padding: 1.5rem !important;
    border-top: 1px solid var(--clr-slate-200) !important;
    vertical-align: middle !important;
}

.woocommerce table.shop_table td.actions {
    padding: 1.5rem !important;
    background-color: var(--clr-bg-light) !important;
}

/* Coupon Section (Cart) */
.woocommerce-cart table.cart td.actions .coupon {
    display: flex !important;
    gap: 1rem !important;
    align-items: stretch !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 250px !important;
    padding: 0.875rem 1.25rem !important;
    font-size: 1.1rem !important;
    border: 1px solid var(--clr-primary-brand) !important;
    border-radius: var(--radius-sm) !important;
    margin: 0 !important;
    height: auto !important;
    /* Let padding define height naturally */
}

.woocommerce-cart table.cart td.actions .coupon .button {
    margin: 0 !important;
    padding: 0.875rem 2rem !important;
    font-size: 1.1rem !important;
    height: auto !important;
    /* Let padding define height naturally */
    display: inline-flex !important;
    align-items: center !important;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .woocommerce-cart table.cart td.actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    .woocommerce-cart table.cart td.actions .coupon {
        width: 100% !important;
        flex-direction: column !important;
        float: none !important;
    }

    .woocommerce-cart table.cart td.actions .coupon .input-text {
        width: 100% !important;
    }

    .woocommerce-cart table.cart td.actions>.button {
        width: 100% !important;
    }
}

/* Cart Totals */
.cart-collaterals .cart_totals {
    border: 1px solid var(--clr-slate-200) !important;
    padding: 2rem !important;
    background-color: var(--clr-bg-light) !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 2rem;
}

.cart-collaterals .cart_totals h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid var(--clr-slate-200) !important;
    padding-bottom: 0.5rem !important;
}

.cart-collaterals .cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 2rem !important;
}

.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
    padding: 1rem 0 !important;
    background: transparent !important;
    border-bottom: 1px solid var(--clr-slate-200) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
    margin-top: 1.5rem !important;
    padding: 1.25rem !important;
    font-size: 1.1rem !important;
    border-radius: var(--radius-md) !important;
}


/* --- CHECKOUT PAGE --- */
.woocommerce-checkout .woocommerce {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 3rem 0;
    align-items: start;
}

@media (max-width: 992px) {
    .woocommerce-checkout .woocommerce {
        grid-template-columns: 1fr;
    }
}

.woocommerce-checkout h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid var(--clr-slate-200) !important;
    padding-bottom: 0.5rem !important;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 0 !important;
}

.woocommerce-checkout #order_review {
    border: 1px solid var(--clr-slate-200) !important;
    padding: 2rem !important;
    background-color: var(--clr-bg-light) !important;
    border-radius: var(--radius-sm) !important;
}

.woocommerce-checkout table.shop_table {
    margin-bottom: 2rem !important;
}

.woocommerce-checkout #payment {
    background-color: var(--clr-white) !important;
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: var(--radius-sm) !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--clr-slate-200) !important;
    padding: 1.5rem !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--clr-bg-light) !important;
    color: var(--clr-slate-600) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--clr-bg-light) !important;
}

.woocommerce-checkout #payment .place-order {
    padding: 1.5rem !important;
    background-color: var(--clr-bg-light) !important;
}

.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    padding: 1.25rem !important;
    font-size: 1.1rem !important;
}

/* --- MY ACCOUNT PAGE --- */
.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    align-items: start;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-sm);
    background-color: var(--clr-bg-light);
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--clr-slate-200);
}

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

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--clr-slate-600);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    color: var(--clr-slate-900);
    background-color: var(--clr-white);
    border-left: 4px solid var(--clr-primary-brand);
}

.woocommerce-MyAccount-content {
    background-color: var(--clr-white);
    padding: 2rem;
    border: 1px solid var(--clr-slate-200);
    border-radius: var(--radius-sm);
}

.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Force Cart Table to Layout Cleanly */
.woocommerce-cart table.cart {
    border: none !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-cart table.cart th {
    background-color: var(--clr-bg-light) !important;
    border-bottom: 2px solid var(--clr-slate-200) !important;
    font-family: var(--font-heading) !important;
    letter-spacing: 0.05em !important;
}

.woocommerce-cart table.cart td {
    border-top: 1px solid var(--clr-slate-100) !important;
    padding: 1.5rem !important;
}

/* Fix Cart Page Checkout Button Specifically */
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    width: 100% !important;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
    color: var(--clr-slate-900) !important;
}

/* Refine Cart Totals Card */
.woocommerce-cart .cart-collaterals .cart_totals {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-color: transparent !important;
}

/* --- CHECKOUT SPECIFIC OVERRIDES --- */
.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 3rem !important;
    align-items: start !important;
}

@media (max-width: 992px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
    }
}

.woocommerce-checkout #customer_details {
    margin-bottom: 2rem !important;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 0 !important;
    font-size: 1.5rem !important;
    border-bottom: 2px solid var(--clr-slate-200) !important;
    padding-bottom: 0.5rem !important;
}

.woocommerce-checkout #order_review {
    border: none !important;
    padding: 2rem !important;
    background-color: var(--clr-bg-light) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-checkout #order_review table.shop_table {
    border: none !important;
}

.woocommerce-checkout #order_review table.shop_table th {
    border-bottom: 2px solid var(--clr-slate-200) !important;
    background: transparent !important;
}

.woocommerce-checkout #order_review table.shop_table td {
    border-top: 1px solid var(--clr-slate-200) !important;
}

.woocommerce-checkout #payment {
    background-color: var(--clr-white) !important;
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: var(--radius-sm) !important;
    margin-top: 1.5rem !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--clr-slate-200) !important;
    padding: 1.5rem !important;
    background: transparent !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--clr-bg-light) !important;
    color: var(--clr-slate-600) !important;
    border-radius: var(--radius-sm) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: var(--clr-bg-light) !important;
}

.woocommerce-checkout #payment .place-order {
    padding: 1.5rem !important;
    background-color: var(--clr-bg-light) !important;
    border-top: 1px solid var(--clr-slate-200) !important;
}

.woocommerce-checkout #payment .place-order .button {
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    width: 100% !important;
}

.woocommerce-checkout #payment .place-order .button:hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
    color: var(--clr-slate-900) !important;
}

/* --- ACCOUNT SPECIFIC OVERRIDES --- */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 250px !important;
    margin-bottom: 2rem !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

@media (min-width: 769px) {
    .woocommerce-account .woocommerce {
        display: flex !important;
        flex-direction: row !important;
        gap: 3rem !important;
        align-items: flex-start !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        flex-grow: 1 !important;
    }
}

/* =========================================
   WOOCOMMERCE BLOCKS (Gutenberg Cart/Checkout)
   ========================================= */

/* Block Overrides for Cart and Checkout General Containers */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    padding: 3rem 0;
}

/* Block Buttons */
.wc-block-components-button:not(.is-link) {
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
    padding: 1.25rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: var(--radius-md) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
}

.wc-block-components-button:not(.is-link):hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
    color: var(--clr-slate-900) !important;
}

/* Specific Checkout Button in Cart Block */
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit-button {
    width: 100% !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
}

/* Block Inputs and Textareas */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-textarea textarea,
.wc-block-components-combobox-control__input {
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border: 1px solid var(--clr-slate-200) !important;
    background-color: var(--clr-white) !important;
    font-size: 1rem !important;
    border-radius: var(--radius-sm) !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-components-combobox-control__input:focus {
    border-color: var(--clr-primary-brand) !important;
    box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.15) !important;
}

/* Block Layout: Cart Items and Totals */
.wc-block-cart-items {
    border: none !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    background-color: var(--clr-white) !important;
    padding: 1.5rem !important;
}

.wc-block-cart-items th {
    background-color: var(--clr-bg-light) !important;
    border-bottom: 2px solid var(--clr-slate-200) !important;
    font-family: var(--font-heading) !important;
    color: var(--clr-slate-900) !important;
}

.wc-block-cart-items td {
    border-top: 1px solid var(--clr-slate-100) !important;
}

.wc-block-components-totals-wrapper,
.wc-block-components-sidebar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 2rem !important;
    background-color: var(--clr-bg-light) !important;
    border-radius: var(--radius-sm) !important;
}

/* Block Checkout: Order Review and Payment */
.wc-block-checkout__sidebar {
    background-color: var(--clr-bg-light) !important;
    padding: 2rem !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 768px) {

    .wc-block-components-totals-wrapper,
    .wc-block-components-sidebar,
    .wc-block-checkout__sidebar {
        padding: 1rem !important;
    }
}

.wc-block-components-order-summary {
    border: none !important;
}

/* --- Order Summary Item Restyling --- */
.wc-block-components-order-summary-item {
    display: grid !important;
    /* 3 columns: Image, Details, Total */
    grid-template-columns: 65px 1fr auto !important;
    grid-template-rows: auto auto !important;
    row-gap: 0.25rem !important;
    column-gap: 1.5rem !important;
    align-items: center !important;

    /* Dedicated Container Card */
    background-color: var(--clr-white) !important;
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: var(--radius-sm) !important;
    padding: 1rem 1.5rem !important;
    margin-bottom: 1rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 1. Product Image */
.wc-block-components-order-summary-item__image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 65px !important;
    height: 65px !important;
    position: relative !important;
    margin: 0 !important;
}

.wc-block-components-order-summary-item__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm) !important;
}

/* Restore the quantity pill badge to sit on the image corner */
.wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -0.5rem !important;
    right: -0.5rem !important;
    background-color: var(--clr-bg-light) !important;
    border: 1px solid var(--clr-slate-200) !important;
    border-radius: 9999px !important;
    padding: 0.1rem 0.5rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--clr-slate-900) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    /* Unset previous grid rules */
    grid-column: unset !important;
    grid-row: unset !important;
    justify-self: unset !important;
    align-self: unset !important;
}

/* GLOBAL TYPOGRAPHY CLAMP FOR ITEMS */
.wc-block-components-order-summary-item * {
    font-family: var(--font-body) !important;
}

/* 2. Product Name & Info (Middle Column) */
.wc-block-components-order-summary-item__info {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-left: 0 !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
}

.wc-block-components-product-name,
.wc-block-components-order-summary-item__name {
    font-weight: 600 !important;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.3 !important;
    color: var(--clr-slate-900) !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* Variations formatting */
.wc-block-components-product-details {
    font-size: 0.85rem !important;
    color: var(--clr-slate-600) !important;
    margin: 0 !important;
}

/* Hide Shipping sub-lines explicitly if they appear */
.wc-block-components-product-details__shipping {
    display: none !important;
}

/* Hide unit price in this compact layout to reduce clutter (optional, usually implied by Total) */
.wc-block-components-order-summary-item__info .wc-block-components-product-price,
.wc-block-components-order-summary-item__info .wc-block-components-product-sale-price {
    display: none !important;
}

/* 3. Total Price (Far Right Column) */
.wc-block-components-order-summary-item>.wc-block-formatted-money-amount,
.wc-block-components-order-summary-item__total-price,
.wc-block-components-order-summary-item .wc-block-components-order-summary-item__total-price {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
    justify-self: end !important;
    align-self: center !important;
    display: block !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--clr-slate-900) !important;
    margin-left: 0 !important;
}

/* Mobile Small Adjustments */
/* Make it ultra thin and safe so it never breaks layout boundaries */
@media (max-width: 480px) {
    .wc-block-components-order-summary-item {
        column-gap: 0.75rem !important;
        padding: 0.75rem !important;
    }

    .wc-block-components-product-name,
    .wc-block-components-order-summary-item__name {
        font-size: 0.95rem !important;
    }

    .wc-block-components-order-summary-item>.wc-block-formatted-money-amount,
    .wc-block-components-order-summary-item__total-price,
    .wc-block-components-order-summary-item .wc-block-components-order-summary-item__total-price {
        font-size: 1rem !important;
    }
}

/* DESKTOP STACKED LAYOUT & DROPDOWN TOGGLE */
@media (min-width: 768px) {

    /* Force the two-column checkout body to stack on desktop */
    .wp-block-woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
    }

    .wc-block-checkout__sidebar {
        order: -1 !important;
        /* Force sidebar to top */
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 2rem !important;
        flex: 0 0 auto !important;
    }

    .wc-block-checkout__main {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex: 0 0 auto !important;
    }

    /* 1. Un-hide the mobile drop-down toggle button on desktop */
    .wp-block-woocommerce-checkout .wc-block-components-totals-wrapper__show-hidden-details {
        display: flex !important;
    }

    /* 2. Hide the summary content so it properly collapses when the toggle has the hidden attribute */
    .wp-block-woocommerce-checkout .wc-block-components-totals-wrapper__content[hidden] {
        display: none !important;
    }
}

/* HIDE STANDALONE ORDER SUMMARY BLOCKS (Keep only the sidebar dropdown) */
/* This targets any extra order summary blocks placed manually or duplicated */
.wp-block-woocommerce-checkout-order-summary-block {
    display: none !important;
}

/* Ensure the ONE summary inside WooCommerce's built-in sidebar is allowed to render */
.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
    display: block !important;
}

/* KILL ALL STICKY BEHAVIOR GLOBALLY */
.wc-block-checkout__sidebar,
.wc-block-components-sidebar,
.wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout {
    position: static !important;
    /* Use static over relative to completely murder sticky pinning */
    top: auto !important;
    align-self: flex-start !important;
    margin-top: 0 !important;
}

/* Block Radio Buttons / Checkboxes */
.wc-block-components-radio-control__input {
    accent-color: var(--clr-primary-brand) !important;
}

/* Form Coupon Code Blocks - V2 Aggressive Stack */
.wc-block-components-totals-coupon,
.wc-block-components-totals-coupon form,
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__content,
.wc-block-components-totals-coupon .wc-block-components-panel__content>div,
.wc-block-components-totals-coupon-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    align-items: stretch !important;
}

.wc-block-components-totals-coupon .wc-block-components-text-input,
.wc-block-components-totals-coupon__input {
    margin: 0 !important;
    /* Removes Gutenberg's spacing between elements on same line */
    width: 100% !important;
    flex: 3 1 0px !important;
    /* Force the 120px flex-basis down to 0 so it aligns to the container width */
}

.wc-block-components-totals-coupon input[type="text"] {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: 1px solid var(--clr-primary-brand) !important;
    font-size: 1.1rem !important;
    height: auto !important;
    border-radius: var(--radius-sm) !important;
}

.wc-block-components-totals-coupon .wc-block-components-button {
    width: 100% !important;
    margin: 0 !important;
    padding: 1.1rem 2rem !important;
    font-size: 1.1rem !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
}

/* Dropdown styling */
.wc-block-components-sort-select__select {
    padding: 0.875rem 1rem !important;
    border: 1px solid var(--clr-slate-200) !important;
    background-color: var(--clr-white) !important;
    border-radius: var(--radius-sm) !important;
}

/* =========================================
   GRAVITY FORMS STYLING
   ========================================= */
body .gform_wrapper,
.gform_wrapper.gravity-theme {
    margin: 0 !important;
    max-width: 100% !important;
}

body .gform_wrapper form {
    margin: 0 !important;
}

body .gform_wrapper .gform_fields,
.gform_wrapper.gravity-theme .gform_fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body .gform_wrapper .gfield,
.gform_wrapper.gravity-theme .gfield {
    margin-bottom: 0 !important;
    padding: 0 !important;
    clear: both !important;
}

body .gform_wrapper .gfield_label,
.gform_wrapper.gravity-theme .gfield_label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
    color: var(--clr-slate-900) !important;
    font-size: 1rem !important;
}

body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper textarea,
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid var(--clr-slate-300, #cbd5e1) !important;
    border-radius: 4px !important;
    font-family: inherit !important;
    background-color: var(--clr-white) !important;
    color: var(--clr-slate-900) !important;
    box-shadow: none !important;
    font-size: 1rem !important;
}

body .gform_wrapper input[type="text"]:focus,
body .gform_wrapper input[type="email"]:focus,
body .gform_wrapper input[type="tel"]:focus,
body .gform_wrapper textarea:focus,
.gform_wrapper.gravity-theme input[type="text"]:focus,
.gform_wrapper.gravity-theme input[type="email"]:focus,
.gform_wrapper.gravity-theme input[type="tel"]:focus,
.gform_wrapper.gravity-theme textarea:focus {
    outline: none !important;
    border-color: var(--clr-slate-600) !important;
    box-shadow: 0 0 0 1px var(--clr-slate-600) !important;
}

body .gform_wrapper textarea,
.gform_wrapper.gravity-theme textarea {
    resize: vertical !important;
}

body .gform_wrapper .gform_footer,
.gform_wrapper.gravity-theme .gform_footer {
    margin-top: 1.5rem !important;
    padding: 0 !important;
}

body .gform_wrapper input[type="submit"],
body .gform_wrapper input[type="button"],
body .gform_wrapper button,
.gform_wrapper.gravity-theme .gform_button {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.875rem 1.75rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    border: 1px solid transparent !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    line-height: 1.2 !important;
    background-color: var(--clr-primary-brand) !important;
    color: var(--clr-slate-900) !important;
    box-shadow: none !important;
    width: auto !important;
}

body .gform_wrapper input[type="submit"]:hover,
body .gform_wrapper input[type="button"]:hover,
body .gform_wrapper button:hover,
.gform_wrapper.gravity-theme .gform_button:hover {
    background-color: var(--clr-primary-hover) !important;
    box-shadow: 0 4px 12px rgba(232, 185, 49, 0.25) !important;
    color: var(--clr-slate-900) !important;
}

body .gform_wrapper .gform_validation_errors,
.gform_wrapper.gravity-theme .gform_validation_errors {
    border-color: var(--clr-danger) !important;
    background-color: #FEF2F2 !important;
    color: var(--clr-danger) !important;
    border-radius: var(--radius-md) !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
}

body .gform_wrapper .validation_message,
.gform_wrapper.gravity-theme .validation_message {
    color: var(--clr-danger) !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error textarea,
.gform_wrapper.gravity-theme .gfield_error input,
.gform_wrapper.gravity-theme .gfield_error textarea {
    border-color: var(--clr-danger) !important;
    box-shadow: 0 0 0 1px var(--clr-danger) !important;
}

body .gform_wrapper .gfield_description,
.gform_wrapper.gravity-theme .gfield_description {
    font-size: 0.9rem !important;
    color: var(--clr-slate-600) !important;
    padding: 0 !important;
    margin: -0.25rem 0 0.5rem 0 !important;
}

/* =========================================
   THANKYOU / ORDER RECEIVED PAGE
   ========================================= */
/* Hide the duplicate page title & expand container on thankyou */
.woocommerce-order-received .section-title {
    display: none !important;
}

.woocommerce-order-received .container {
    max-width: 100%;
    padding: 0;
}

.thankyou-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

/* Success / Failed Header */
.thankyou-success,
.thankyou-failed {
    text-align: center;
    margin-bottom: 3rem;
}

.thankyou-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.thankyou-icon--success {
    background-color: var(--clr-primary-brand);
    color: var(--clr-slate-900);
}

.thankyou-icon--failed {
    background-color: var(--clr-danger);
    color: var(--clr-white);
}

.thankyou-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--clr-slate-900);
    margin-bottom: 0.5rem;
}

.thankyou-subtitle {
    font-size: 1.125rem;
    color: var(--clr-slate-600);
    max-width: 460px;
    margin: 0 auto;
}

/* Summary Cards Row */
.thankyou-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.75rem;
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-slate-200);
}

.thankyou-summary__card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.thankyou-summary__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-slate-600);
}

.thankyou-summary__value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-slate-900);
    word-break: break-word;
}

.thankyou-summary__value--total {
    font-size: 1.25rem;
    color: var(--clr-slate-900);
}

/* Payment Instructions Box */
.thankyou-instructions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    background-color: #FFF9E6;
    border: 1px solid var(--clr-primary-brand);
}

.thankyou-instructions__icon {
    flex-shrink: 0;
    color: var(--clr-primary-brand);
    margin-top: 0.125rem;
}

.thankyou-instructions__content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--clr-slate-900);
}

.thankyou-instructions__content p {
    font-size: 0.95rem;
    color: var(--clr-slate-600);
    line-height: 1.7;
    margin-bottom: 0.35rem;
}

.thankyou-instructions__content p:last-child {
    margin-bottom: 0;
}

/* Order Details Table */
.thankyou-details {
    margin-bottom: 2.5rem;
}

.thankyou-details__heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--clr-slate-900);
}

.thankyou-details__table-wrap {
    border: 1px solid var(--clr-slate-200);
    overflow: hidden;
}

.thankyou-details__table {
    width: 100%;
    border-collapse: collapse;
}

.thankyou-details__table thead th {
    background-color: var(--clr-bg-light);
    padding: 0.875rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-slate-600);
    text-align: left;
    border-bottom: 1px solid var(--clr-slate-200);
}

.thankyou-details__table thead th:last-child {
    text-align: right;
}

.thankyou-details__table tbody td {
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--clr-slate-200);
    vertical-align: middle;
}

.thankyou-details__product {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thankyou-details__product-name {
    font-weight: 600;
    color: var(--clr-slate-900);
}

.thankyou-details__product-qty {
    font-weight: 700;
    color: var(--clr-slate-600);
    font-size: 0.9rem;
}

.thankyou-details__total {
    text-align: right;
    font-weight: 600;
    color: var(--clr-slate-900);
}

.thankyou-details__table tfoot tr {
    border-bottom: 1px solid var(--clr-slate-200);
}

.thankyou-details__table tfoot tr:last-child {
    border-bottom: none;
    background-color: var(--clr-bg-light);
}

.thankyou-details__table tfoot th {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-slate-600);
    text-align: left;
}

.thankyou-details__table tfoot td {
    padding: 0.875rem 1.25rem;
    text-align: right;
    font-weight: 600;
    color: var(--clr-slate-900);
}

.thankyou-details__table tfoot tr:last-child th,
.thankyou-details__table tfoot tr:last-child td {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-slate-900);
}

/* Continue Shopping */
.thankyou-actions {
    text-align: center;
    padding-top: 0.5rem;
}

/* Mobile */
@media (max-width: 768px) {
    .thankyou-page {
        padding: 2.5rem 1rem 3.5rem;
    }

    .thankyou-title {
        font-size: 1.75rem;
    }

    .thankyou-summary {
        grid-template-columns: 1fr 1fr;
        padding: 1.25rem;
    }

    .thankyou-instructions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .thankyou-details__product {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
}

@media (max-width: 480px) {
    .thankyou-summary {
        grid-template-columns: 1fr;
    }
}