/* ==========================================================================
   Theme 5 - Taharat Organic Food Storefront CSS
   Aesthetic: Forest green, pure creams, arched categories, direct add-to-cart
   ========================================================================== */

:root {
    --t5-green-950: #072513;
    --t5-green-900: #0a2e18;
    --t5-green-800: #0f4c27;
    --t5-green-700: #15803d;
    --t5-green-600: #16a34a;
    --t5-green-500: #22c55e;
    --t5-green-100: #dcfce7;
    --t5-green-50:  #f0fdf4;

    --t5-cream-50:  #fbf8f3;
    --t5-cream-100: #f6f2e9;
    --t5-cream-200: #ebdcc6;
    --t5-cream-300: #d8c7ad;

    --t5-amber-500: #f59e0b;
    --t5-amber-600: #d97706;

    --t5-text-main:  #1c1917;
    --t5-text-muted: #57534e;
    --t5-text-light: #78716c;

    --t5-font-main: 'Poppins', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --t5-font-bn:   'Baloo Da 2', 'Poppins', sans-serif;
}

body.theme-5 {
    font-family: var(--t5-font-main);
    color: var(--t5-text-main);
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.t5-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.t5-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s ease;
}
.t5-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.t5-mainbar {
    padding: 12px 0;
}
.t5-mainbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.t5-brand-link {
    display: inline-flex;
    align-items: center;
}
.t5-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Search Bar */
.t5-search-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.t5-search-form {
    background: #f4f7f4;
    border: 1px solid #dce4dc;
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 4px 5px 4px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.t5-search-form:focus-within {
    border-color: var(--t5-green-700);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
    background: #ffffff;
}
.t5-search-ico {
    color: var(--t5-green-700);
    font-size: 14px;
    margin-right: 10px;
}
.t5-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    color: var(--t5-text-main);
    padding: 6px 0;
}
.t5-search-form input::placeholder {
    color: #9ca3af;
}
.t5-search-submit {
    background: var(--t5-green-800);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s, transform 0.2s;
}
.t5-search-submit:hover {
    background: var(--t5-green-700);
    transform: scale(1.05);
}

.t5-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    margin-top: 8px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 1000;
}

/* Actions */
.t5-actions-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
}
.t5-action-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t5-text-main);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}
.t5-action-item:hover {
    color: var(--t5-green-700);
}
.t5-action-item > i {
    font-size: 18px;
    color: var(--t5-green-800);
}
.t5-action-icon-rel {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.t5-action-icon-rel i {
    font-size: 18px;
    color: var(--t5-green-800);
}
.t5-count-pill {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--t5-green-800);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
}

/* Sub-Navigation Bar */
.t5-subbar {
    background-color: var(--t5-green-800);
    padding: 7px 0;
    position: relative;
    z-index: 95;
}
.t5-subbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.t5-cat-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.t5-cat-item {
    position: relative;
    list-style: none;
}
.t5-cat-link {
    color: #e2ede5;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
}
.t5-cat-link:hover,
.t5-cat-item:hover > .t5-cat-link {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.t5-cat-item.t5-has-dropdown:hover > .t5-cat-link {
    color: var(--t5-amber-400, #fbbf24);
}
.t5-cat-link--highlight {
    background: var(--t5-amber-600);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}
.t5-cat-link--highlight:hover {
    background: var(--t5-amber-500);
    color: #ffffff;
}
.t5-dropdown-icon {
    font-size: 10px;
    transition: transform 0.25s ease, color 0.2s ease;
    opacity: 0.9;
}
.t5-cat-item:hover > .t5-cat-link .t5-dropdown-icon {
    transform: rotate(180deg);
    color: var(--t5-amber-400, #fbbf24);
    opacity: 1;
}

/* Level 1 Dropdown: Subcategories Box */
.t5-cat-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 215px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    pointer-events: none;
}
/* Mouse hover bridge */
.t5-cat-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.t5-cat-item:hover > .t5-cat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.t5-subcat-item {
    position: relative;
    list-style: none;
}
.t5-subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    gap: 14px;
}
.t5-subcat-link:hover,
.t5-subcat-item:hover > .t5-subcat-link {
    background: #f8fafc;
    color: #ea580c;
}
.t5-flyout-icon {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}
.t5-subcat-item:hover > .t5-subcat-link .t5-flyout-icon {
    color: #ea580c;
    transform: translateX(2px);
}

/* Level 2 Dropdown: Child Categories Flyout Box (Opens to the Right) */
.t5-childcat-dropdown {
    position: absolute;
    top: -6px;
    left: calc(100% - 2px);
    min-width: 200px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    pointer-events: none;
}
/* Mouse hover bridge between subcategory item and child dropdown */
.t5-childcat-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    bottom: 0;
    width: 12px;
}
.t5-subcat-item:hover > .t5-childcat-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}
.t5-childcat-item {
    list-style: none;
}
.t5-childcat-link {
    display: block;
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.t5-childcat-link:hover {
    background: #f8fafc;
    color: #ea580c;
}

/* Right-most categories fly out to the left to prevent viewport clipping */
.t5-cat-item:nth-last-child(-n+3) .t5-childcat-dropdown {
    left: auto;
    right: calc(100% - 2px);
    transform: translateX(-8px);
}
.t5-cat-item:nth-last-child(-n+3) .t5-childcat-dropdown::before {
    left: auto;
    right: -12px;
}
.t5-cat-item:nth-last-child(-n+3) .t5-subcat-item:hover > .t5-childcat-dropdown {
    transform: translateX(0);
}
.t5-helpline-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fef9c3;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.t5-helpline-link:hover {
    opacity: 0.9;
}

/* Mobile Top Bar */
.t5-mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
}
.t5-mobile-toggle,
.t5-icon-btn {
    background: none;
    border: none;
    font-size: 19px;
    color: var(--t5-green-900);
    padding: 6px;
    cursor: pointer;
    text-decoration: none;
    position: relative;
}
.t5-mobile-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
}
.t5-mobile-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t5-counter-badge {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--t5-green-800);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.t5-mobile-search-panel {
    display: none;
    padding: 8px 16px 12px;
    background: #ffffff;
    border-bottom: 1px solid #f0eee9;
}
.t5-mobile-search-panel.open {
    display: block;
}

/* Mobile Drawer */
.t5-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.t5-mobile-drawer.open {
    transform: translateX(0);
}
.t5-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #f0eee9;
}
.t5-drawer-logo img {
    height: 36px;
    width: auto;
}
.t5-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--t5-text-muted);
    cursor: pointer;
}
.t5-drawer-search {
    padding: 12px 16px;
}
.t5-drawer-search form {
    display: flex;
    background: #f4f6f4;
    border-radius: 999px;
    padding: 4px 8px 4px 14px;
}
.t5-drawer-search input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
}
.t5-drawer-search button {
    border: none;
    background: none;
    color: var(--t5-green-800);
}
.t5-drawer-nav {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
}
.t5-drawer-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--t5-text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #faf8f5;
}
.t5-drawer-highlight {
    color: var(--t5-amber-600) !important;
    font-weight: 700 !important;
}
.t5-drawer-foot {
    padding: 16px 20px;
    background: #f8faf8;
    border-top: 1px solid #ede9e1;
}
.t5-drawer-foot ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.t5-drawer-foot li {
    margin-bottom: 10px;
}
.t5-drawer-foot a {
    color: var(--t5-text-main);
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */
.t5-homepage {
    padding-bottom: 40px;
}
.t5-section {
    margin-top: 40px;
}

/* Hero Banner */
.t5-hero-section {
    margin-top: 20px;
}
/* Hero Slick Slider */
.t5-hero-slider-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 46, 24, 0.08);
    background: #f1f5f9;
}
.t5-hero-slick-slider {
    margin-bottom: 0 !important;
}
.t5-hero-slide {
    outline: none;
}
.t5-hero-slide-link {
    display: block;
    width: 100%;
    outline: none;
    line-height: 0;
}
.t5-hero-slide-img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
}
.t5-hero-slider-wrap .t5-slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--t5-green-900, #062b16);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    font-size: 16px;
    opacity: 0;
}
.t5-hero-slider-wrap:hover .t5-slick-arrow {
    opacity: 1;
}
.t5-hero-slider-wrap .t5-slick-prev {
    left: 20px;
}
.t5-hero-slider-wrap .t5-slick-next {
    right: 20px;
}
.t5-hero-slider-wrap .t5-slick-arrow:hover {
    background: var(--t5-green-800, #0f5128);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}
.t5-hero-slider-wrap .slick-dots {
    position: absolute;
    bottom: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 10;
}
.t5-hero-slider-wrap .slick-dots li {
    margin: 0;
    padding: 0;
    line-height: 0;
}
.t5-hero-slider-wrap .slick-dots li button {
    border: none;
    background: rgba(255, 255, 255, 0.65);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    font-size: 0;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}
.t5-hero-slider-wrap .slick-dots li.slick-active button {
    width: 26px;
    border-radius: 999px;
    background: var(--t5-amber-500, #f59e0b);
}
@media (max-width: 767px) {
    .t5-hero-slider-wrap {
        border-radius: 14px;
    }
    .t5-hero-slider-wrap .t5-slick-arrow {
        display: none !important;
    }
    .t5-hero-slide-img {
        max-height: 220px;
    }
}
.t5-hero-card {
    background: linear-gradient(135deg, #0e4b25 0%, #0d4021 55%, #072b15 100%);
    border-radius: 24px;
    padding: 48px 52px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(10, 46, 24, 0.16);
}
.t5-hero-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.t5-hero-title {
    font-family: var(--t5-font-bn);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #ffffff;
}
.t5-hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #d1fae5;
    max-width: 440px;
    margin: 0 0 28px;
}
.t5-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.t5-btn {
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    cursor: pointer;
}
.t5-btn--primary {
    background: var(--t5-amber-500);
    color: #1c1917;
    padding: 12px 28px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.t5-btn--primary:hover {
    background: var(--t5-amber-600);
    color: #ffffff;
    transform: translateY(-2px);
}
.t5-btn--outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding: 11px 24px;
}
.t5-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    transform: translateY(-2px);
}
.t5-hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}
.t5-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
}
.t5-dot.active {
    width: 24px;
    border-radius: 999px;
    background: var(--t5-amber-500);
}
.t5-hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}
.t5-hero-tag {
    position: absolute;
    top: -16px;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    color: var(--t5-green-800);
    font-weight: 700;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}
.t5-hero-jars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}
.t5-hero-jar {
    transition: transform 0.3s ease;
}
.t5-hero-jar--left,
.t5-hero-jar--right {
    width: 95px;
}
.t5-hero-jar--center {
    width: 130px;
    transform: scale(1.1) translateY(-8px);
}
.t5-jar-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 16px rgba(0,0,0,0.25));
}

/* 4-Pill Trust Bar */
.t5-trust-section {
    margin-top: 24px;
}
.t5-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.t5-trust-pill {
    background: #f4f8f4;
    border: 1px solid #dceade;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.t5-trust-pill:hover {
    background: #ebf5eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.08);
}
.t5-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--t5-green-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.t5-trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #14532d;
    margin: 0 0 2px;
}
.t5-trust-text p {
    font-size: 12px;
    color: #4b5563;
    margin: 0;
}

/* Section Header */
.t5-sec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}
.t5-sec-sub {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--t5-green-700);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.t5-sec-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--t5-text-main);
    margin: 0;
}
.t5-sec-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--t5-green-800);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.t5-sec-link:hover {
    color: var(--t5-green-600);
}

/* Featured Categories (Clean Rounded White Cards + Orange Circular Arrows) */
.t5-featured-cat-section {
    margin-top: 48px;
    margin-bottom: 24px;
    position: relative;
}
.t5-featured-cat-title {
    font-family: var(--t5-font-bn, 'Poppins', sans-serif);
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    text-align: center;
    margin: 0 0 28px;
    letter-spacing: -0.3px;
}
.t5-featured-cat-slider-wrap {
    position: relative;
    padding: 0 24px;
}
.t5-featured-cat-slider {
    margin: 0 -8px;
}
.t5-featured-cat-slider .slick-list {
    overflow: hidden;
    padding: 10px 0 16px;
}
.t5-featured-cat-item {
    padding: 0 8px;
    outline: none;
}
.t5-feat-cat-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    outline: none;
}
.t5-feat-cat-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
}
.t5-feat-cat-link:hover .t5-feat-cat-box {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(234, 88, 12, 0.12);
    border-color: rgba(234, 88, 12, 0.35);
}
.t5-feat-cat-img {
    max-width: 86%;
    max-height: 86%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}
.t5-feat-cat-link:hover .t5-feat-cat-img {
    transform: scale(1.06);
}
.t5-feat-cat-name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    text-align: center;
    margin-top: 10px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.t5-feat-cat-link:hover .t5-feat-cat-name {
    color: #ea580c;
}

/* Orange Circular Navigation Arrows */
.t5-feat-cat-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ea580c;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    transition: all 0.25s ease;
    font-size: 13px;
    z-index: 10;
    padding: 0;
    line-height: 1;
}
.t5-feat-cat-prev {
    left: -4px;
}
.t5-feat-cat-next {
    right: -4px;
}
.t5-feat-cat-arrow:hover {
    background: #c2410c;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}
.t5-feat-cat-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .t5-featured-cat-section {
        margin-top: 32px;
    }
    .t5-featured-cat-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .t5-featured-cat-slider-wrap {
        padding: 0 16px;
    }
    .t5-feat-cat-box {
        border-radius: 16px;
        padding: 10px;
    }
    .t5-feat-cat-name {
        font-size: 12px;
        margin-top: 8px;
    }
    .t5-feat-cat-arrow {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    .t5-feat-cat-prev {
        left: -2px;
    }
    .t5-feat-cat-next {
        right: -2px;
    }
}

/* Arched Categories */
.t5-arch-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}
.t5-arch-card {
    border-radius: 120px 120px 18px 18px;
    padding: 24px 10px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t5-arch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}
.t5-arch-media {
    width: 60px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.t5-arch-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.t5-arch-svg {
    width: 55px;
    height: 70px;
}
.t5-arch-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--t5-text-main);
    margin: 0 0 3px;
    line-height: 1.25;
}
.t5-arch-count {
    font-size: 11px;
    color: var(--t5-text-light);
    font-weight: 500;
}

/* ==========================================================================
   THEME 5 BESPOKE PRODUCT CARD (.t5-pcard)
   ========================================================================== */
.t5-prod-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.t5-pcard {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    box-sizing: border-box;
}
.t5-pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: rgba(15, 81, 40, 0.22);
}
.t5-pcard-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #ffffff;
}
.t5-pcard-badge-wrap {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
}
.t5-pbadge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: capitalize;
}
.t5-pbadge--bestseller {
    background: var(--t5-green-700);
    color: #ffffff;
}
.t5-pbadge--save {
    background: var(--t5-amber-600);
    color: #ffffff;
}
.t5-pbadge--organic {
    background: #047857;
    color: #ffffff;
}
.t5-pbadge--free {
    background: #0284c7;
    color: #ffffff;
}
.t5-pbadge--new {
    background: #059669;
    color: #ffffff;
}
.t5-pbadge--out {
    background: #dc2626;
    color: #ffffff;
}

.t5-pwish-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ebdcc6;
    color: var(--t5-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.t5-pwish-btn:hover {
    color: #e11d48;
    border-color: #fda4af;
    transform: scale(1.1);
}

.t5-pimg-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}
.t5-pimg-wrap img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}
.t5-pcard:hover .t5-pimg-wrap img {
    transform: scale(1.05);
}
.t5-card-jar-svg {
    width: 70%;
    height: 85%;
    max-width: 130px;
    transition: transform 0.3s ease;
}
.t5-pcard:hover .t5-card-jar-svg {
    transform: scale(1.06);
}

.t5-pcard-body {
    display: flex;
    flex-direction: column;
}
.t5-peyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--t5-green-700);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.t5-ptitle {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px;
    min-height: 38px;
}
.t5-ptitle a {
    color: var(--t5-text-main);
    text-decoration: none;
    transition: color 0.2s;
}
.t5-ptitle a:hover {
    color: var(--t5-green-800);
}
.t5-pmeta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--t5-text-light);
    margin-bottom: 4px;
}
.t5-prating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ca8a04;
    margin-bottom: 12px;
}
.t5-prating i {
    font-size: 11px;
}
.t5-prevcount {
    color: var(--t5-text-light);
    font-weight: 400;
}

.t5-pfoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.t5-pprice {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.t5-pcurr {
    font-size: 16px;
    font-weight: 800;
    color: var(--t5-green-800);
}
.t5-pold {
    font-size: 12px;
    color: #a8a29e;
    text-decoration: line-through;
}

.t5-patc-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--t5-green-800);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}
.t5-patc-btn:hover {
    background: var(--t5-green-700);
    transform: scale(1.12);
}
.t5-patc-btn.is-hidden {
    display: none !important;
}
.t5-patc-btn--disabled {
    background: #d6d3d1;
    color: #78716c;
    cursor: not-allowed;
}

/* Product Card Interactive Quantity Control Box */
.t5-patc-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 34px;
}
.t5-pqty-box {
    display: none;
    align-items: center;
    background: #f0fdf4;
    border: 1.5px solid var(--t5-green-800, #0f5128);
    border-radius: 999px;
    padding: 2px 4px;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(15, 81, 40, 0.12);
    transition: all 0.2s ease;
}
.t5-pqty-box.is-active {
    display: inline-flex;
}
.t5-pqty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}
.t5-pqty-btn:active {
    transform: scale(0.92);
}
.t5-pqty-minus {
    background: #e2e8f0;
    color: #334155;
}
.t5-pqty-minus:hover {
    background: #ef4444;
    color: #ffffff;
}
.t5-pqty-plus {
    background: var(--t5-green-800, #0f5128);
    color: #ffffff;
}
.t5-pqty-plus:hover {
    background: var(--t5-green-700, #15803d);
    transform: scale(1.08);
}
.t5-pqty-num {
    min-width: 22px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--t5-green-900, #062b16);
    user-select: none;
    padding: 0 4px;
}
.t5-patc-btn.is-loading,
.t5-pqty-box.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Dual Promotional Cards */
.t5-dual-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 10px 0;
}
.t5-promo-card {
    border-radius: 20px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.t5-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}
.t5-promo-card--sand {
    background: #fbf5e8;
    border-color: #eddcc5;
}
.t5-promo-card--sage {
    background: #eaf5ec;
    border-color: #cbe5d0;
}
.t5-promo-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #78350f;
    margin-bottom: 8px;
}
.t5-promo-card--sage .t5-promo-eyebrow {
    color: #166534;
}
.t5-promo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--t5-text-main);
    line-height: 1.3;
    margin: 0 0 20px;
    max-width: 380px;
}
.t5-promo-btn {
    display: inline-block;
    align-self: flex-start;
    background: var(--t5-green-800);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.t5-promo-btn:hover {
    background: var(--t5-green-700);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Our Brands */
.t5-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.t5-brand-pill {
    background: #ffffff;
    border: 1px solid #dceade;
    border-radius: 999px;
    padding: 16px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--t5-text-main);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.t5-brand-pill:hover {
    border-color: var(--t5-green-800);
    color: var(--t5-green-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 76, 39, 0.08);
}

/* Customer Reviews */
.t5-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.t5-review-card {
    background: #f7faf7;
    border: 1px solid #e2ebe2;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.t5-review-stars {
    color: var(--t5-amber-500);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 3px;
}
.t5-review-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #292524;
    margin: 0 0 18px;
}
.t5-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.t5-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--t5-green-800);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.t5-review-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--t5-text-main);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.t5-footer {
    background-color: var(--t5-green-900);
    color: #e2ede5;
    padding: 52px 0 24px;
    margin-top: 60px;
}
.t5-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}
.t5-footer-logo {
    max-height: 44px;
    margin-bottom: 14px;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
}
.t5-footer-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #a7c9b2;
    margin-bottom: 16px;
    max-width: 280px;
}
.t5-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #e2ede5;
    margin-bottom: 8px;
}
.t5-footer-contact-item a {
    color: #e2ede5;
    text-decoration: none;
    transition: color 0.2s;
}
.t5-footer-contact-item a:hover {
    color: var(--t5-amber-500);
}
.t5-footer-socials {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}
.t5-footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}
.t5-footer-socials a:hover {
    background: var(--t5-green-700);
}

.t5-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
}
.t5-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.t5-footer-links li {
    margin-bottom: 9px;
}
.t5-footer-links a {
    color: #a7c9b2;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.t5-footer-links a:hover {
    color: #ffffff;
}

.t5-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}
.t5-copyright {
    font-size: 12.5px;
    color: #7ea88c;
    margin: 0;
}

/* ==========================================================================
   SLIDE-OVER CART DRAWER
   ========================================================================== */
.t5-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.t5-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.t5-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.t5-cart-drawer.open {
    transform: translateX(0);
}
.t5-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0eee9;
}
.t5-drawer-top h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--t5-green-900);
    display: flex;
    align-items: center;
    gap: 8px;
}
.t5-drawer-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--t5-text-muted);
    cursor: pointer;
    padding: 4px;
}
.t5-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.t5-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #faf8f5;
}
.t5-cart-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #f8faf8;
    border: 1px solid #ede9e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.t5-cart-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
.t5-cart-info {
    flex: 1;
    min-width: 0;
}
.t5-cart-name {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--t5-text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.t5-cart-meta {
    margin: 0;
    font-size: 12px;
    color: var(--t5-green-800);
    font-weight: 700;
}
.t5-cart-remove {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    padding: 6px;
    transition: color 0.2s;
}
.t5-cart-remove:hover {
    color: #ef4444;
}
.t5-cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}
.t5-cart-empty i {
    font-size: 40px;
    margin-bottom: 12px;
    color: #d1d5db;
}
.t5-cart-empty p {
    font-size: 14px;
    margin: 0;
}
.t5-drawer-bottom {
    padding: 18px 20px;
    background: #fbfbfb;
    border-top: 1px solid #f0eee9;
}
.t5-drawer-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 600;
}
.t5-drawer-subtotal strong {
    font-size: 18px;
    color: var(--t5-green-800);
}
.t5-drawer-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.t5-drawer-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.t5-drawer-btn--primary {
    background: var(--t5-green-800);
    color: #ffffff;
}
.t5-drawer-btn--primary:hover {
    background: var(--t5-green-700);
}
.t5-drawer-btn--secondary {
    background: #ffffff;
    border: 1px solid #dceade;
    color: var(--t5-green-800);
}
.t5-drawer-btn--secondary:hover {
    background: #f4f8f4;
}

/* ==========================================================================
   INNER PAGES COMPATIBILITY FOR THEME 5
   ========================================================================== */
body.theme-5 .category-sidebar,
body.theme-5 .details-page,
body.theme-5 .checkout-wrapper {
    margin-top: 24px;
}
body.theme-5 .category-product .product_item {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
body.theme-5 .btn-primary,
body.theme-5 .checkout-order-btn,
body.theme-5 .cart-summary .btn {
    background-color: var(--t5-green-800) !important;
    border-color: var(--t5-green-800) !important;
    color: #ffffff !important;
    border-radius: 999px;
}
body.theme-5 .btn-primary:hover,
body.theme-5 .checkout-order-btn:hover {
    background-color: var(--t5-green-700) !important;
}
body.theme-5 .pagination .active .page-link {
    background-color: var(--t5-green-800) !important;
    border-color: var(--t5-green-800) !important;
}

/* ==========================================================================
   RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
    .t5-arch-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .t5-prod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .t5-footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .t5-mainbar,
    .t5-subbar {
        display: none;
    }
    .t5-mobile-bar {
        display: flex;
    }
    .t5-hero-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }
    .t5-hero-title {
        font-size: 32px;
    }
    .t5-hero-desc {
        margin: 0 auto 24px;
    }
    .t5-hero-actions {
        justify-content: center;
    }
    .t5-hero-dots {
        justify-content: center;
    }
    .t5-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .t5-dual-promo-grid {
        grid-template-columns: 1fr;
    }
    .t5-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .t5-review-grid {
        grid-template-columns: 1fr;
    }
    .t5-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .t5-trust-grid {
        grid-template-columns: 1fr;
    }
    .t5-arch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .t5-prod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .t5-pcard {
        padding: 10px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }
    .t5-pcard-badge-wrap {
        top: 4px;
        left: 4px;
    }
    .t5-pwish-btn {
        top: 4px;
        right: 4px;
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .t5-pimg-wrap img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: 1 / 1;
    }
    .t5-card-jar-svg {
        width: 85px;
        height: 105px;
    }
    .t5-ptitle {
        font-size: 13px;
        min-height: auto;
    }
    .t5-pcurr {
        font-size: 15px;
    }
    .t5-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FLOATING CONTACT FAB & SOCIAL ICONS (Theme 5 Support)
   ========================================================================== */
.contact-wrapper,
body.theme-5 .contact-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
    z-index: 99999;
}

.contact-btn,
body.theme-5 .contact-btn {
    display: flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--t5-green-700, #15803d);
    color: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    padding: 0;
}

.contact-btn:hover,
body.theme-5 .contact-btn:hover {
    transform: scale(1.08);
}

.contact-btn.active,
body.theme-5 .contact-btn.active {
    background-color: #f25850 !important;
}

.contact-icons,
body.theme-5 .contact-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icons.active,
body.theme-5 .contact-icons.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.icon-item,
body.theme-5 .contact-icons .icon-item {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: #ffffff !important;
    text-decoration: none;
}

.icon-item:hover,
body.theme-5 .contact-icons .icon-item:hover {
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

.contact-btn .toggle-icon,
body.theme-5 .contact-btn .toggle-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.contact-btn .icon-plus,
body.theme-5 .contact-btn .icon-plus {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.contact-btn.active .icon-plus,
body.theme-5 .contact-btn.active .icon-plus {
    display: none !important;
    opacity: 0;
    transform: scale(0);
}

.contact-btn:not(.active) .icon-close,
body.theme-5 .contact-btn:not(.active) .icon-close {
    display: none !important;
    opacity: 0;
    transform: scale(0);
}

.contact-btn.active .icon-close,
body.theme-5 .contact-btn.active .icon-close {
    display: block !important;
    opacity: 1;
    transform: scale(1);
}

.icon-item.phone,
body.theme-5 .contact-icons .icon-item.phone {
    background-color: #ff3333 !important;
}

.icon-item.whatsapp,
body.theme-5 .contact-icons .icon-item.whatsapp {
    background-color: #25d366 !important;
}

.icon-item.messenger,
body.theme-5 .contact-icons .icon-item.messenger {
    background: #0084ff !important;
}

@media (max-width: 600px) {
    .contact-wrapper,
    body.theme-5 .contact-wrapper {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }

    .contact-btn,
    body.theme-5 .contact-btn {
        width: 44px;
        height: 44px;
    }

    .contact-btn .toggle-icon,
    body.theme-5 .contact-btn .toggle-icon {
        width: 20px;
        height: 20px;
    }

    .contact-icons,
    body.theme-5 .contact-icons {
        gap: 8px;
    }

    .icon-item,
    body.theme-5 .contact-icons .icon-item {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ==========================================================================
   THEME 5 Checkout Page Compatibility
   ========================================================================== */


.chheckout-section {
    padding: 30px 0 60px;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

/* --- Main Cards --- */
.checkout-shipping .card,
.cart_details .card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.25s ease;
}

.checkout-shipping .card:hover,
.cart_details .card:hover {
    box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.08) !important;
}

/* --- Card Headers --- */
.checkout-card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 18px 24px !important;
    color: #1e293b !important;
}

.checkout-header-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.checkout-header-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 53, 92, 0.08) 0%, rgba(15, 53, 92, 0.15) 100%);
    color: var(--t3-navy-800, #0f355c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.checkout-header-icon-box.summary-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(249, 115, 22, 0.15) 100%);
    color: var(--t3-orange-500, #f97316);
}

.checkout-header-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    font-family: var(--bn-font, inherit);
    line-height: 1.3;
}

.checkout-header-desc {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
    font-family: var(--bn-font, inherit);
}

.checkout-shipping .card-body,
.cart_details .card-body {
    padding: 24px;
}

/* --- Form Fields & Labels --- */
.customized-input-box {
    position: relative;
    margin-bottom: 18px;
}

.customized-input-box label,
.checkout-shipping label,
.form-label-shipping {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    font-family: var(--bn-font, inherit);
}

.optional-pill {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.customized-input-box .input-icon-label {
    position: absolute;
    top: 31px;
    left: 14px;
    width: 24px;
    height: 48px;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.customized-input-box:focus-within .input-icon-label {
    color: var(--t3-navy-800, #0f355c);
}

.customized-input-box input,
.checkout-shipping input[type="text"],
.checkout-shipping input[type="email"],
.checkout-shipping select {
    width: 100%;
    height: 48px !important;
    padding-left: 44px !important;
    padding-right: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    color: #0f172a !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.customized-input-box input::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.customized-input-box input:focus,
.checkout-shipping input[type="text"]:focus,
.checkout-shipping input[type="email"]:focus {
    border-color: var(--t3-navy-800, #0f355c) !important;
    box-shadow: 0 0 0 3px rgba(15, 53, 92, 0.1) !important;
    outline: none !important;
    background-color: #ffffff !important;
}

.customized-input-box input.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* --- Shipping Area Selection --- */
.shipping-area-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: none !important;
    margin-top: 4px;
}

.area-item {
    position: relative;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.area-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1 !important;
}

.area-item.active {
    background: #eff6ff !important;
    border-color: var(--t3-navy-800, #0f355c) !important;
    box-shadow: 0 2px 8px rgba(15, 53, 92, 0.08) !important;
}

.area-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.area-item label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px 13px 44px !important;
    margin: 0 !important;
    cursor: pointer;
    font-weight: 600 !important;
    color: #1e293b !important;
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    position: relative;
    font-family: var(--bn-font, inherit);
}

.area-item label::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    background: #fff;
}

.area-item.active label::before {
    border-color: var(--t3-navy-800, #0f355c) !important;
}

.area-item label::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--t3-navy-800, #0f355c) !important;
    border: none !important;
    border-radius: 50%;
    top: 50%;
    left: 19px;
    transform: translateY(-50%) scale(0);
    transition: transform 0.2s ease;
}

.area-item.active label::after {
    transform: translateY(-50%) scale(1) !important;
}

.area-item.active .area-title {
    color: var(--t3-navy-800, #0f355c);
    font-weight: 700;
}

/* --- Payment Methods --- */
.radio_payment label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 10px;
    display: block;
    font-family: var(--bn-font, inherit);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.payment_method {
    position: relative;
    flex: 1;
    min-width: 90px;
    height: 58px;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 8px 12px !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.payment_method:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.payment_method.active {
    border-color: var(--t3-navy-800, #0f355c) !important;
    background: #eff6ff !important;
    box-shadow: 0 0 0 1px var(--t3-navy-800, #0f355c), 0 4px 14px rgba(15, 53, 92, 0.12) !important;
}

.payment_method.active::before {
    content: '✔' !important;
    color: #ffffff !important;
    background: var(--t3-navy-800, #0f355c) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    margin-top: 0 !important;
}

.payment_method img {
    max-height: 32px !important;
    max-width: 100% !important;
    object-fit: contain;
}

/* --- Order Button & Badges --- */
.order_place {
    background: linear-gradient(135deg, var(--t3-navy-800, #0f355c) 0%, var(--t3-navy-700, #144476) 100%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16.5px !important;
    margin-top: 14px;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px rgba(15, 53, 92, 0.28) !important;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: var(--bn-font, inherit);
}

.order_place:hover {
    background: linear-gradient(135deg, var(--t3-navy-950, #081d33) 0%, var(--t3-navy-800, #0f355c) 100%) !important;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 24px rgba(15, 53, 92, 0.35) !important;
    color: #ffffff !important;
}

.order_place:active {
    transform: translateY(0);
}

.checkout-trust-badges {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 10px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
    font-weight: 500;
    font-family: var(--bn-font, inherit);
}

.trust-badge-item i {
    color: #10b981;
    font-size: 13px;
}

/* --- Cart Details & Summary Table --- */
.cart_details table.cart_table {
    margin-bottom: 0;
    font-family: var(--bn-font, inherit);
    border-collapse: collapse;
}

.cart_details table.cart_table thead th {
    background: #f8fafc;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1.5px solid #e2e8f0;
    padding: 12px 10px;
}

.cart_details table.cart_table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

.cart_details table.cart_table tbody td {
    padding: 12px 8px;
    vertical-align: middle;
}

.cart_details table.cart_table tbody td.text-left a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.cart_details table.cart_table tbody td.text-left a:hover {
    color: var(--t3-navy-800, #0f355c);
}

.cart_details table.cart_table tbody td.text-left img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.cart_remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fef2f2 !important;
    color: #ef4444 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.cart_remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.vcart-qty .quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.vcart-qty .quantity button {
    width: 26px;
    height: 28px;
    background: transparent;
    border: none;
    color: #475569;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    cursor: pointer;
}

.vcart-qty .quantity button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.vcart-qty .quantity input {
    width: 32px;
    height: 28px;
    border: none;
    background: #ffffff;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #0f172a;
    padding: 0;
}

.cart_table tfoot tr {
    border-bottom: 1px solid #f1f5f9;
}

.cart_table tfoot th {
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    padding: 10px 16px;
}

.cart_table tfoot td {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    padding: 10px 16px;
}

.cart_table tfoot tr:last-child {
    background: #f8fafc;
    border-top: 1.5px solid #e2e8f0;
}

.cart_table tfoot tr:last-child th {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 14px 16px;
}

.cart_table tfoot tr:last-child td {
    font-size: 18px;
    font-weight: 700;
    color: var(--t3-navy-800, #0f355c);
    padding: 14px 16px;
}

/* --- Coupon Form --- */
.checkout-coupon-form {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.checkout-coupon-form .coupon {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    padding: 3px;
    transition: all 0.2s ease;
}

.checkout-coupon-form .coupon:focus-within {
    border-color: var(--t3-navy-800, #0f355c);
    box-shadow: 0 0 0 3px rgba(15, 53, 92, 0.08);
}

.checkout-coupon-form input[type="text"] {
    border: none;
    padding: 8px 14px;
    font-size: 13.5px;
    outline: none;
    flex: 1;
    background: transparent;
    color: #0f172a;
}

.checkout-coupon-form input[type="submit"] {
    background: var(--t3-navy-800, #0f355c);
    color: #ffffff;
    border: none;
    border-radius: 7px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.checkout-coupon-form input[type="submit"]:hover {
    background: var(--t3-navy-950, #081d33);
}

@media (max-width: 767px) {
    .chheckout-section {
        padding: 15px 0 35px;
    }
    .checkout-shipping .card-body,
    .cart_details .card-body {
        padding: 16px;
    }
    .checkout-card-header {
        padding: 14px 16px !important;
    }
    .checkout-trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.phone-feedback {
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    min-height: 18px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.phone-feedback.text-success {
    color: #16a34a !important;
}

.phone-feedback.text-danger {
    color: #dc2626 !important;
}

.customer-autofilled {
    animation: autofillPulse 1.5s ease-out;
}

@keyframes autofillPulse {
    0% {
        background-color: rgba(34, 197, 94, 0.18);
        border-color: #22c55e !important;
    }
    100% {
        background-color: #ffffff;
        border-color: #e2e8f0 !important;
    }
}
