    
        :root {
      --brand-red: #c0392b;
      --border-color: #e0e0e0;
      /* Single source of truth for the site's typeface — change these two lines
         (and the Google Fonts <link> in links.blade.php) to swap fonts everywhere. */
      --tk-font-heading: 'Poppins', 'Lato', sans-serif;
      --tk-font-body: 'Poppins', 'Lato', sans-serif;
    }

    /* Site-wide size bump. Most text on this site uses fixed px font-sizes scattered
       across many files rather than rem/em, so a plain html{font-size} change wouldn't
       reach most of it. `zoom` scales the whole rendered page uniformly instead — the
       one place to make everything bigger (or smaller) at once. Adjust this one value. */
    html {
        zoom: 1.1;
    }

    body {
        font-family: var(--tk-font-body);
    }

    h1, h2, h3, h4, h5, h6,
    .navbar-brand, .ul-brand-name, .ul-logo-text,
    .tk-heading, .tk-hero-headline, .tk-pdp-title,
    .card-title, .modal-title,
    .form-heading, .brand-tagline, .brand-name {
        font-family: var(--tk-font-heading);
    }

    /* Reference typography (ueirorganic.com home banner): Poppins, weight 600,
       line-height 1.4, no letter-spacing. Plain element selectors here so any
       class-based heading (.tk-heading, .tk-pdp-title, etc.) still wins on
       specificity and keeps its own tuned size. */
    h1, h2, h3, h4, h5, h6 {
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0;
    }
    h1 { font-size: 37px; }
    h2 { font-size: 29px; }
    h3 { font-size: 23px; }
    h4 { font-size: 18px; }
    h5 { font-size: 17px; }
    h6 { font-size: 15.5px; }

    /* ============================================================
       SCROLL REVEAL — fade + slide up as elements enter the viewport
       (user-facing pages only; classes applied automatically via JS)
       ============================================================ */
    .tk-reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity .7s ease, transform .7s ease;
        will-change: opacity, transform;
    }

    .tk-reveal.tk-reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
        .tk-reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
    }

    /* ============================================================
       BRAND LOGO — round badge mark used in header & footer
       ============================================================ */
    .navbar-brand-logo {
        height: 52px;
        width: 52px;
        object-fit: cover;
        border-radius: 50%;
        background: #fff;
        border: 1px solid #F0E3D0;
        padding: 2px;
        display: block;
    }

    .navbar-brand-logo.footer-logo-img {
        height: 68px;
        width: 68px;
    }

    /* ============================================================
       PAGE PRELOADER — shown on every page until it finishes loading
       ============================================================ */
    #page-preloader {
        position: fixed;
        inset: 0;
        z-index: 99999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #FDF6EC;
        transition: opacity .4s ease, visibility .4s ease;
    }

    #page-preloader.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    #page-preloader .preloader-ring {
        position: relative;
        width: 128px;
        height: 128px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
    }

    #page-preloader .preloader-ring::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 3px solid #F5E6D3;
        border-top-color: #8B3A2F;
        animation: preloaderSpin 0.9s linear infinite;
    }

    #page-preloader .preloader-img {
        width: 96px;
        height: 96px;
        object-fit: contain;
        border-radius: 50%;
        animation: preloaderPulse 1.4s ease-in-out infinite;
    }

    #page-preloader .preloader-text {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: #8B3A2F;
    }

    @keyframes preloaderSpin {
        to { transform: rotate(360deg); }
    }

    @keyframes preloaderPulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(0.88); opacity: .8; }
    }

    @media (prefers-reduced-motion: reduce) {
        #page-preloader .preloader-ring::before,
        #page-preloader .preloader-img {
            animation: none;
        }
    }

    /* ── NAVBAR ── */
   /* Background image handler */
.set-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

* Elegant Category Card */
        .elegant-category-card {
            background: #fff;
            
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            transition: box-shadow 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .elegant-category-card:hover {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        }

        /* Header Styling */
        .category-header-elegant {
            background: linear-gradient(180deg, #E8B84B, #C8860D);
            color: #fff;
            padding: 15px 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        }

        .header-icon {
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-title {
            font-size: 16px;
            font-weight: 700;
            margin: 0;
            letter-spacing: 0.3px;
        }

        /* Sidebar Container */
        .category-sidebar-elegant {
            max-height: 600px;
            overflow-y: auto;
            padding: 8px 0;
        }

        .category-sidebar-elegant::-webkit-scrollbar {
            width: 6px;
        }

        .category-sidebar-elegant::-webkit-scrollbar-track {
            background: transparent;
        }

        .category-sidebar-elegant::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 3px;
        }

        .category-sidebar-elegant::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

        /* Main Category Items */
        .category-item-elegant {
            border-bottom: 1px solid #f0f0f0;
        }

        .category-header-btn {
            padding: 14px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .category-header-btn:hover {
            background-color: #FDF6EC;
            padding-left: 20px;
        }

        .category-link-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
        }

        .category-icon {
            color: #C8860D;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
        }

        .category-name-link {
            text-decoration: none;
            color: #2c3e50;
            font-weight: 600;
            font-size: 14px;
            transition: color 0.3s ease;
            letter-spacing: 0.2px;
        }

        .category-name-link:hover {
            color: #C8860D;
        }

        .expand-toggle {
            color: #999;
            font-size: 14px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 20px;
        }

        .category-header-btn:hover .expand-toggle {
            color: #C8860D;
        }

        .expand-toggle.rotated {
            transform: rotate(90deg);
        }

        /* Subcategory Items */
        .subcategory-list-elegant {
            background-color: #FDF6EC;
            border-left: 2px solid #8B3A2F;
        }

        .subcategory-item-elegant {
            border-bottom: 1px solid rgba(61, 43, 31, 0.1);
        }

        .sub-header-btn {
            padding: 11px 16px 11px 24px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .sub-header-btn:hover {
            background-color: #fff;
            padding-left: 28px;
        }

        .subcategory-link-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
        }

        .sub-icon {
            color: #C8860D;
            font-size: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 16px;
        }

        .subcategory-name-link {
            text-decoration: none;
            color: #555;
            font-weight: 500;
            font-size: 13px;
            transition: color 0.3s ease;
        }

        .subcategory-name-link:hover {
            color: #C8860D;
        }

        .expand-toggle-sub {
            color: #ccc;
            font-size: 12px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 16px;
        }

        .sub-header-btn:hover .expand-toggle-sub {
            color: #C8860D;
        }

        .expand-toggle-sub.rotated {
            transform: rotate(90deg);
        }

        /* Third Level Items */
        .third-level-list-elegant {
            background-color: #fff;
            border-left: 2px solid #C8860D;
            margin-left: 10px;
        }

        .third-level-item-elegant {
            border-bottom: 1px solid rgba(61, 43, 31, 0.05);
        }

        .third-level-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 16px 9px 24px;
            text-decoration: none;
            color: #666;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .third-level-link:hover {
            color: #C8860D;
            padding-left: 28px;
            background-color: #FDF6EC;
        }

        .third-icon {
            color: #C8860D;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 14px;
            opacity: 0.6;
        }

        .third-level-link:hover .third-icon {
            opacity: 1;
        }

        /* Existing var-input styling */
        .var-input:checked + .var-btn {
            background: #8B3A2F;
            color: #fff;
        }

        .cursor-pointer {
            cursor: pointer;
        }
 
    /* Logo text */
  
   
        .text-h{
            color: var(--tk-primary, #8B3A2F)
        }
        
        
        .product-wrapper{
        position: relative;
        }

        /* Left & Right Buttons Common */
        .scroll-btn{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: rgba(0,0,0,0.7);
        color: #fff;
        border: none;
        font-size: 22px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 20;
        }

        /* Left Button */
        .scroll-btn:hover{
            background: #8B3A2F;

        }

        /* Left Button */
        .scroll-btn.left{
        left: -10px;
        }

        /* Right Button */
        .scroll-btn.right{
        right: -10px;
        }
        .products{
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding: 20px;
        border-radius: 20px;
        }

        .products::-webkit-scrollbar{
        display: none;
        }

        /* Card */
        .product-card {
    padding: 6px;
}
/* ============================================================
   ELEGANT PRODUCT CARD (user-facing storefront only)
   ============================================================ */
.tk-product-card {
    background: #fff;
    border: 1px solid #F0E3D0;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(61, 43, 31, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.tk-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(61, 43, 31, .13);
    border-color: #E8B84B;
}

.tk-product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    flex-shrink: 0;
    background: #FDF6EC;
    overflow: hidden;
    cursor: pointer;
}

.tk-product-img-wrap img,
.tk-product-img-wrap .carousel,
.tk-product-img-wrap .carousel-inner,
.tk-product-img-wrap .carousel-item {
    width: 100%;
    height: 100%;
}

.tk-product-img-wrap img {
    object-fit: contain;
}

/* Carousel images specifically: positioned to fill the item directly instead
   of relying on a percentage-height chain through .carousel > .carousel-inner
   > .carousel-item > img, which some browsers don't resolve reliably when the
   height ultimately comes from an aspect-ratio box rather than a fixed px
   value (this was showing product photos shrunk with padding on all sides
   whenever a product had more than one image / used the carousel markup). */
.tk-product-img-wrap .carousel-item {
    position: relative;
}

.tk-product-img-wrap .carousel-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Subtle scrim behind the quick-add pill so it reads clearly over any photo */
.tk-product-img-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52px;
    background: linear-gradient(to top, rgba(20, 15, 10, .22), rgba(20, 15, 10, 0));
    pointer-events: none;
    z-index: 4;
}

.tk-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: #8B3A2F;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(139, 58, 47, .32);
}

/* ===== QUICK-ADD PILL — always-visible qty stepper + Add to Cart, floating over the card image ===== */
.tk-quickadd-bar {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 6;
    display: flex;
    align-items: stretch;
    height: 34px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(20, 15, 10, .25);
}

.tk-qty-stepper-mini {
    display: flex;
    align-items: center;
    background: #fff;
    flex: 0 0 auto;
    padding: 0 1px;
}

.tk-qty-btn-mini {
    width: 26px;
    height: 100%;
    border: none;
    background: transparent;
    color: #8B3A2F;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.tk-qty-btn-mini:hover {
    background: #FDF6EC;
}

.tk-qty-val {
    min-width: 18px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #3D2B1F;
}

.tk-quickadd-btn {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    background: #8B3A2F;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.tk-quickadd-btn:hover {
    background: #6E2C22;
}

.tk-quickadd-btn.tk-quickadd-full {
    flex: 1 1 100%;
}

.tk-quickadd-btn:disabled {
    opacity: .75;
    cursor: default;
}

@media (max-width: 576px) {
    .tk-quickadd-bar {
        height: 30px;
        left: 6px;
        right: 6px;
        bottom: 6px;
    }

    .tk-quickadd-bar .tk-quickadd-btn {
        font-size: 9.5px;
    }

    .tk-quickadd-bar .tk-quickadd-btn span {
        display: none;
    }
}

/* ===== VARIATION-SELECT POPUP (product cards with variations) ===== */
.tk-variation-modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.tk-modal-thumb {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #FDF6EC;
    border-radius: 10px;
    border: 1px solid #F0E3D0;
    padding: 4px;
    flex-shrink: 0;
}

.tk-modal-price {
    font-size: 18px;
    font-weight: 800;
    color: #8B3A2F;
}

.tk-modal-choice-label {
    font-weight: 700;
    color: #3D2B1F;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    display: block;
    margin-bottom: 8px;
}

.tk-modal-var-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #3D2B1F;
    background: #fff;
    border: 1.5px solid #F0E3D0;
    border-radius: 8px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all .2s ease;
}

.tk-modal-var-input:hover + .tk-modal-var-btn {
    border-color: #C8860D;
}

.tk-modal-var-input:checked + .tk-modal-var-btn {
    background: #8B3A2F;
    border-color: #8B3A2F;
    color: #fff;
}

.tk-modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.tk-modal-qty-label {
    font-weight: 700;
    color: #3D2B1F;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.tk-modal-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #F0E3D0;
    border-radius: 999px;
    overflow: hidden;
}

.tk-modal-qty-btn {
    background: #FDF6EC;
    border: none;
    width: 34px;
    height: 34px;
    font-size: 15px;
    font-weight: 700;
    color: #8B3A2F;
    cursor: pointer;
    transition: background .2s ease;
}

.tk-modal-qty-btn:hover {
    background: #F5E6D3;
}

.tk-variation-modal .tk-qty-val {
    min-width: 30px;
    font-size: 14px;
}

.tk-variation-modal .modal-footer .tk-quickadd-btn {
    border-radius: 999px;
    padding: 11px 20px;
}

.tk-product-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tk-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.tk-product-price {
    font-size: 17px;
    font-weight: 800;
    color: #8B3A2F;
}

.tk-product-price-old {
    font-size: 12.5px;
    color: #B8A88A;
    text-decoration: line-through;
}

.tk-product-name {
    font-size: 13px;
    color: #3D2B1F;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 2px;
}

.tk-product-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1.5px solid #8B3A2F;
    color: #8B3A2F !important;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 8px 10px;
    text-decoration: none;
    margin-top: auto;
    transition: background .25s ease, color .25s ease;
}

.tk-product-cta:hover {
    background: #8B3A2F;
    color: #fff !important;
}

/* ============================================================
   ELEGANT CATEGORY CARD (user-facing storefront only)
   ============================================================ */

/* Sizes itself to whatever width is actually available (the /categories page
   nests this grid inside a sidebar layout, so it can't rely on Bootstrap's
   viewport-width breakpoints — auto-fit/minmax adapts to the real container
   width at any screen size instead of a hard-coded column count). auto-fit
   (not auto-fill) so empty leftover tracks collapse and existing cards
   stretch to fill the row, instead of leaving a gap on the right. */
.tk-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: start;
    gap: 1.25rem;
}

.tk-category-grid-empty {
    grid-column: 1 / -1;
}

@media (max-width: 575px) {
    .tk-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.75rem;
    }
}

.tk-category-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 20px rgba(61, 43, 31, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.tk-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(61, 43, 31, .15);
}

.tk-category-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: #FDF6EC;
    display: block;
}

.tk-category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .5s ease;
}

.tk-category-card:hover .tk-category-img-wrap img {
    transform: scale(1.08);
}

.tk-category-body {
    padding: 18px 16px;
    text-align: center;
}

.tk-category-name {
    font-size: 15px;
    font-weight: 700;
    color: #3D2B1F;
    margin-bottom: 0;
}

.tk-category-desc {
    font-size: 12.5px;
    color: #8A7565;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tk-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #C8860D;
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}

/* ============================================================
   HOME PAGE — Shop By Category subcategory tiles
   ============================================================ */
.tk-subcat-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(61, 43, 31, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.tk-subcat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(61, 43, 31, .13);
}

.tk-subcat-img-wrap {
    aspect-ratio: 1;
    /* background: #FDF6EC; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tk-subcat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

.tk-subcat-card:hover .tk-subcat-img-wrap img {
    transform: scale(1.08);
}

.tk-subcat-name {
    margin: 0;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #3D2B1F;
}

.tk-category-link:hover {
    gap: 10px;
    color: #8B3A2F;
}

/* Title */
.product-card .title {
    font-size: 11px;

    color: #3D2B1F;
    line-height: 1.4;
    margin-bottom: 6px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price */
.product-card .price {
    font-size: 19px;
    font-weight: 700;
    color: #3D2B1F;
}

/* Old price */
.product-card .old-price {
    font-size: 12px;
    color: #8A7565;
    text-decoration: line-through;
}



        .scroll-btn.left{
        left: 0;
        }

        .scroll-btn.right{
        right: 0;
        }
    .add-to-cart {
        margin-top: auto;
    }

    .add-to-cart button {
        background: transparent;
        border: 1px solid #C8860D;
        color: #C8860D;
        padding: 9px 22px;
        border-radius: 30px;
        font-size: 13px;
        cursor: pointer;
        transition: all .3s ease;
    }

    .add-to-cart button i {
        margin-right: 6px;
        font-size: 12px;
    }

    .add-to-cart button:hover {
        background: #C8860D;
        color: #fff;
    }
    .policy-header {
        background: linear-gradient(90deg, #8B3A2F, #C8860D);
        color: white;
        padding: 60px 20px;
        text-align: center;
        margin-bottom: 30px;
        border-radius: 0 0 20px 20px;
    }
    .section-card {
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .section-card .card-header {
        background-color: #8B3A2F;
        color: white;
        font-weight: 500;
        cursor: pointer;
    }
    .card-body p {
        margin-bottom: 10px;
    }
    .category-container {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

#categoryTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
    padding: 10px 15px;
    gap: 15px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

#categoryTabs::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Individual Tab Styling */
.category-tab {
    flex: 0 0 auto; /* CRITICAL: Prevents items from squishing */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    width: 110px; /* Fixed width for consistency */
    transition: transform 0.2s ease;
}

.category-img-wrapper {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    padding: 4px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-label {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    text-align: center;
    white-space: nowrap; /* Prevents text from breaking into two lines */
    text-transform: capitalize;
}

/* Active State - Wooden Street Style (cite: 2.1) */
.category-tab.active-tab .category-img-wrapper {
    border-color: #cb9917; /* Premium Gold/Orange */
    box-shadow: 0 4px 10px rgba(203, 153, 23, 0.2);
    transform: scale(1.05);
}

.category-tab.active-tab .category-label {
    color: #cb9917;
    font-weight: 700;
}

@media (max-width: 576px) {
    .category-img-wrapper {
        width: 78px;
        height: 78px;
    }
    .category-tab {
        width: 90px;
    }
}

.btn-primary {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary:hover {
    background-color: var(--tk-primary-dark, #6E2C22) !important;
    border: 1px solid var(--tk-primary-dark, #6E2C22) !important;
    color: #ffffff !important;
    border-color: var(--tk-primary-dark, #6E2C22) !important;
    transform: translateY(-2px);
}
 .google-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 12px;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 500;
        color: #444;
        text-decoration: none;
        transition: all 0.25s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .google-btn img {
        width: 20px;
    }

    .google-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        border-color: #d0d0d0;
        color: #222;
    }

    .google-btn:active {
        transform: scale(0.98);
    }

/* ============================================================
   SITEWIDE THEME OVERRIDES — THOKKU KADAI (traditional foods)
   Retargets Bootstrap utility/component classes used across
   every user-facing page to the terracotta/mustard/cream palette.
   ============================================================ */
.text-danger {
    color: var(--tk-primary, #8B3A2F) !important;
}

.btn-outline-dark {
    color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
}

.btn-outline-dark:hover {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
    color: #fff !important;
}

.btn-outline-secondary {
    color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-cream-dark, #F5E6D3) !important;
}

.btn-outline-secondary:hover {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
}

.btn-outline-primary:hover {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--tk-primary, #8B3A2F) !important;
}

.bg-primary {
    background-color: var(--tk-primary, #8B3A2F) !important;
}

a {
    color: var(--tk-primary, #8B3A2F);
}

a:hover {
    color: var(--tk-primary-dark, #6E2C22);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tk-primary, #8B3A2F) !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 58, 47, 0.15) !important;
}

.form-check-input:checked {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
}

.page-link {
    color: var(--tk-primary, #8B3A2F) !important;
}

.page-item.active .page-link {
    background-color: var(--tk-primary, #8B3A2F) !important;
    border-color: var(--tk-primary, #8B3A2F) !important;
    color: #fff !important;
}

.spinner-border.text-primary {
    color: var(--tk-primary, #8B3A2F) !important;
}

/* ============================================================
   HOME PAGE — THOKKU KADAI (traditional foods) theme
   ============================================================ */
:root {
    --tk-primary: #8B3A2F;
    --tk-primary-dark: #6E2C22;
    --tk-secondary: #C8860D;
    --tk-secondary-light: #E8B84B;
    --tk-cream: #FDF6EC;
    --tk-cream-dark: #F5E6D3;
    --tk-text: #3D2B1F;
    --tk-muted: #8A7565;
}

.carousel-img-wrapper {
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.carousel-img-wrapper img {
    object-fit: cover;
}

/* Bottom content */
.carousel-content-bottom {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Center arrows properly */
#ProductBannerCarousel .carousel-control-prev,
#ProductBannerCarousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    width: 80px;
}

/* Icon styling */
#ProductBannerCarousel .carousel-control-prev-icon,
#ProductBannerCarousel .carousel-control-next-icon {
    background-color: rgba(61, 43, 31, 0.55);
    border-radius: 50%;
    padding: 15px;
    background-size: 60% 60%;
}

#ProductBannerCarousel .carousel-control-prev-icon:hover,
#ProductBannerCarousel .carousel-control-next-icon:hover {
    background-color: rgba(61, 43, 31, 0.8);
}

@media (max-width: 768px) {
    .carousel-img-wrapper {
        height: 200px;
    }
}

.carousel-img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 20vh;
        width: auto;
        object-fit: cover;
        background-color: #000;
    }
}

/* ===== SECTION HEADING HELPERS ===== */
.tk-eyebrow {
    display: inline-block;
    color: var(--tk-secondary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.tk-heading {
    font-weight: 800;
    color: var(--tk-text);
}

.tk-heading small,
.tk-subtext {
    color: var(--tk-muted) !important;
}

.tk-underline {
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--tk-secondary);
    margin: 10px auto 0;
}

.tk-underline.start-align {
    margin: 10px 0 0;
}

/* ===== HERO (full-bleed, sits behind the transparent overlay header) ===== */
.tk-hero-fullbleed {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.tk-hero-fullbleed .carousel-item img:not(.tk-hero-float-jar) {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CAROUSEL SLIDE-CHANGE TRANSITION (crossfade, no zoom) =====
   Plain opacity crossfade between slides — no scale/zoom on the image.
   Bootstrap's `.carousel-fade` markup class drives which item is visible;
   this just tunes the duration/easing of that fade for a smoother, more
   premium feel (reference: ueirorganic.com home banner, a Flickity
   fade-effect slideshow with no zoom). */
#leftCarousel.carousel-fade .carousel-item,
#ProductBannerCarousel.carousel-fade .carousel-item {
    transition: opacity .7s ease-in-out;
}

#leftCarousel.carousel-fade .carousel-item.active,
#ProductBannerCarousel.carousel-fade .carousel-item.active {
    transition-duration: .7s;
}

@media (prefers-reduced-motion: reduce) {
    #leftCarousel.carousel-fade .carousel-item,
    #ProductBannerCarousel.carousel-fade .carousel-item {
        transition: none !important;
    }
}

/* Floating jar overlay, centered on the FIRST hero slide only, oscillating left/right.
   Width scales with the (full-bleed, viewport-wide) carousel via clamp() instead of a
   fixed px value, capped so it can never overwhelm the hero. */
.tk-hero-float-jar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(160px, 24vw, 380px);
    max-width: 55%;
    max-height: 85%;
    height: auto;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35));
    animation: tkJarOscillate 2.6s cubic-bezier(.45, 0, .55, 1) infinite;
    pointer-events: none;
}

@keyframes tkJarOscillate {
    0% {
        transform: translate(-50%, -50%) translateX(-22px) rotate(-16deg);
    }
    25% {
        transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1.05);
    }
    50% {
        transform: translate(-50%, -50%) translateX(22px) rotate(16deg);
    }
    75% {
        transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1.05);
    }
    100% {
        transform: translate(-50%, -50%) translateX(-22px) rotate(-16deg);
    }
}

@media (max-width: 768px) {
    @keyframes tkJarOscillate {
        0% {
            transform: translate(-50%, -50%) translateX(-12px) rotate(-12deg);
        }
        25% {
            transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1.05);
        }
        50% {
            transform: translate(-50%, -50%) translateX(12px) rotate(12deg);
        }
        75% {
            transform: translate(-50%, -50%) translateX(0) rotate(0deg) scale(1.05);
        }
        100% {
            transform: translate(-50%, -50%) translateX(-12px) rotate(-12deg);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-hero-float-jar {
        animation: none;
    }
}

.tk-shop-pill {
    background: var(--tk-primary);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 8px 22px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(139, 58, 47, .28);
    transition: transform .2s ease, background .2s ease;
}

.tk-shop-pill:hover {
    background: var(--tk-primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.tk-shop-tag {
    background: rgba(61, 43, 31, .55);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .4px;
    padding: 7px 14px;
}

/* ===== TRUST / USP STRIP ===== */
.tk-usp-strip {
    background: #fff;
    border-bottom: 1px solid var(--tk-cream-dark);
}

.tk-usp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 10px;
}

.tk-usp-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--tk-cream);
    color: var(--tk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tk-usp-item h6 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tk-text);
}

.tk-usp-item p {
    margin: 0;
    font-size: 11.5px;
    color: var(--tk-muted);
}

/* ===== CATEGORY TABS (home page overrides) ===== */
.category-tab:hover {
    color: var(--tk-primary) !important;
}

#categoryTabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
}

#categoryTabs::-webkit-scrollbar {
    display: none;
}

.active-tab {
    color: var(--tk-secondary) !important;
    font-weight: 700 !important;
}

.sub-card img:hover {
    transform: scale(1.07);
}

.sub-card.d-none {
    display: none !important;
}

.sub-card .card {
    background: #fff;
}

/* ===== BRAND STORY ===== */
.tk-story-section {
    background: var(--tk-cream);
}

.tk-story-panel {
    background: linear-gradient(150deg, var(--tk-primary) 0%, var(--tk-primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tk-story-panel::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.tk-story-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.tk-story-quote-icon {
    font-size: 28px;
    color: var(--tk-secondary-light);
    margin-bottom: 10px;
}

.tk-story-badge {
    position: absolute;
    bottom: -18px;
    right: 24px;
    background: var(--tk-secondary);
    color: #fff;
    border-radius: 50%;
    width: 92px;
    height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.15;
    box-shadow: 0 10px 20px rgba(200, 134, 13, .35);
    border: 4px solid var(--tk-cream);
}

.tk-story-badge span {
    display: block;
    font-size: 18px;
}

.tk-outline-btn {
    border: 2px solid var(--tk-primary);
    color: var(--tk-primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .4px;
    border-radius: 999px;
    padding: 9px 26px;
    text-decoration: none;
    display: inline-block;
    transition: all .2s ease;
}

.tk-outline-btn:hover {
    background: var(--tk-primary);
    color: #fff;
}

/* ===== STATS BAND ===== */
.tk-stats-band {
    background: var(--tk-text);
    color: #fff;
}

.tk-stat-num {
    font-weight: 800;
    font-size: 2rem;
    color: var(--tk-secondary-light);
}

.tk-stat-label {
    font-size: 12.5px;
    letter-spacing: .4px;
    color: rgba(255, 255, 255, .75);
    text-transform: uppercase;
}

/* ===== FLASH SALE ===== */
.flash-sale-countdown-wrapper {
    background-color: var(--tk-primary);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
}

.flash-sale-countdown {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .flash-sale-countdown-wrapper {
        padding: 0.3rem 0.75rem;
    }

    .flash-sale-countdown {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .sub-card p {
        font-size: 8px !important;
        letter-spacing: 0.3px;
    }
}

/* ===== FEATURE CARDS ("What Makes Us Different") ===== */
.tk-feature-card {
    background: #fff;
    border-radius: 14px;
    border-top: 3px solid var(--tk-secondary);
    box-shadow: 0 6px 20px rgba(61, 43, 31, .06);
    padding: 28px 20px;
    text-align: center;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tk-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(61, 43, 31, .12);
}

.tk-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--tk-cream);
    color: var(--tk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.tk-feature-card h6 {
    font-weight: 700;
    color: var(--tk-text);
}

.tk-feature-card p {
    color: var(--tk-muted);
    font-size: 13px;
    margin-bottom: 0;
}

/* ===== TESTIMONIALS ===== */
.tk-testimonial-card {
    background: var(--tk-cream);
    border: none;
}

.tk-testimonial-card .bi-star-fill,
.tk-testimonial-card .fa-star {
    color: var(--tk-secondary) !important;
}

.tk-quote-icon {
    color: var(--tk-secondary-light);
    font-size: 22px;
}

.tk-avatar {
    background: var(--tk-primary) !important;
}