/* ==========================================================================
   Home2 - Premium Ecommerce Storefront Styling
   Attitude Spices (Scoped strictly to .home2-page)
   Exact Color Combination & Styling from Reference:
   https://attitude-spices-fresh.pchaubey007.chatgpt.site/
   ========================================================================== */

:root {
    --h2-red: #942b25;
    --h2-red-dark: #71221e;
    --h2-red-light: #fbeee9;
    --h2-red-glow: rgba(148, 43, 37, 0.16);
    --h2-ink: #302b23;
    --h2-dark: #302b23;
    --h2-dark-soft: #423b32;
    --h2-cream: #faf7ef;
    --h2-bg-warm: #f2ecdf;
    --h2-card-bg: #eee8db;
    --h2-photo-bg: #f2efe6;
    --h2-ribbon-bg: #e8dfc9;
    --h2-line: #ded9cb;
    --h2-border: #ded9cb;
    --h2-border-light: #e8e2d4;
    --h2-muted: #766f62;
    --h2-text-body: #544e43;
    --h2-gold: #bc7826;
    --h2-gold-light: #fdf5ea;
    --h2-green: #2e6b3e;
    --h2-green-light: #edf5ef;
    --h2-radius-sm: 4px;
    --h2-radius-md: 8px;
    --h2-radius-lg: 14px;
    --h2-radius-pill: 999px;
    --h2-shadow-sm: 0 4px 14px rgba(48, 43, 35, 0.05);
    --h2-shadow-md: 0 8px 24px rgba(48, 43, 35, 0.08);
    --h2-shadow-hover: 0 16px 36px rgba(148, 43, 37, 0.12);
    --h2-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Home2 Scoped Page Container */
.home2-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--h2-ink);
    background-color: var(--h2-cream);
    overflow-x: hidden;
    line-height: 1.6;
    font-size: 15px;
}

.home2-page * {
    box-sizing: border-box;
}

.home2-page a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home2-page a:hover {
    color: var(--h2-red);
}

.home2-page h1,
.home2-page h2,
.home2-page h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.1;
    color: var(--h2-ink);
    letter-spacing: -0.025em;
    margin-top: 0;
}

.home2-page em,
.home2-page .h2-text-highlight {
    font-style: italic;
    font-weight: 400;
    color: var(--h2-red);
}

/* Eyebrows (12px uppercase with 7px red dot) */
.h2-eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--h2-ink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
}

.h2-eyebrow::before,
.h2-eyebrow span.dot {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--h2-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.h2-eyebrow--gold::before {
    background: var(--h2-gold);
}

.h2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    border-radius: var(--h2-radius-pill);
    background: #e9dfca;
    color: var(--h2-ink);
    border: 1px solid var(--h2-line);
    margin-bottom: 14px;
    font-family: Arial, sans-serif;
}

.h2-badge--red {
    background: var(--h2-red-light);
    color: var(--h2-red);
    border-color: rgba(148, 43, 37, 0.2);
}

.h2-badge--green {
    background: var(--h2-green-light);
    color: var(--h2-green);
    border-color: rgba(46, 107, 62, 0.2);
}

/* Section Header Typography */
.h2-section-head {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 46px;
}

.h2-section-title {
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 400;
    line-height: 1.12;
    color: var(--h2-ink);
    letter-spacing: -1.2px;
    margin-bottom: 12px;
}

.h2-section-title span,
.h2-section-title em {
    color: var(--h2-red);
    font-style: italic;
}

.h2-section-desc {
    font-size: 16px;
    color: var(--h2-muted);
    line-height: 1.6;
    margin: 8px 0 0;
    max-width: 760px;
}

.h2-section-head .h2-section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Split Section Header (Reference Style) */
.h2-cat-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--h2-line);
    padding-bottom: 20px;
}

.h2-cat-main-title {
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--h2-ink);
    margin: 0;
}

.h2-textlink {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--h2-ink);
    border-bottom: 1px solid var(--h2-ink);
    padding-bottom: 4px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.h2-textlink:hover {
    color: var(--h2-red);
    border-bottom-color: var(--h2-red);
    transform: translateX(2px);
}

/* Common Buttons */
.h2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    border-radius: 0;
    text-decoration: none;
    transition: var(--h2-transition);
    cursor: pointer;
    border: 1px solid transparent;
    line-height: 1.2;
    text-transform: uppercase;
}

.h2-btn-primary {
    background: var(--h2-red);
    color: #ffffff !important;
    border-color: var(--h2-red);
    box-shadow: 0 4px 14px var(--h2-red-glow);
}

.h2-btn-primary:hover {
    background: var(--h2-red-dark);
    border-color: var(--h2-red-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(148, 43, 37, 0.24);
}

.h2-btn-gold {
    background: var(--h2-gold);
    color: #ffffff !important;
    border-color: var(--h2-gold);
}

.h2-btn-gold:hover {
    background: #a3661e;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.h2-btn-outline {
    background: transparent;
    color: var(--h2-ink) !important;
    border: 1px solid var(--h2-ink);
}

.h2-btn-outline:hover {
    background: var(--h2-red);
    border-color: var(--h2-red);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.h2-btn-sm {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 12px;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.h2-hero {
    position: relative;
    padding: 60px 0 70px;
    background: #f2ecdf;
    border-bottom: 1px solid var(--h2-line);
    overflow: hidden;
}

.h2-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}

.h2-hero-title {
    font-size: clamp(40px, 4.4vw, 64px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--h2-ink);
    margin: 14px 0 18px;
}

.h2-hero-title em {
    color: var(--h2-red);
    font-style: italic;
}

.h2-hero-lead {
    font-size: 18px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500;
    color: var(--h2-ink);
    line-height: 1.45;
    margin-bottom: 12px;
}

.h2-hero-desc {
    font-size: 16px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--h2-muted);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 580px;
}

.h2-hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.h2-hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--h2-line);
    flex-wrap: wrap;
}

.h2-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h2-trust-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #faf7ef;
    color: var(--h2-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    border: 1px solid var(--h2-line);
}

.h2-trust-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--h2-ink);
    line-height: 1.35;
    letter-spacing: 0.3px;
}

/* Hero Visual Composition */
.h2-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.h2-hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: 0 20px 48px rgba(148, 43, 37, 0.22);
    width: 100%;
    max-width: 440px;
}

.h2-hero-card-img {
    width: 100%;
    height: auto;
    max-height: 560px;
    display: block;
    border-radius: 18px;
    object-fit: contain;
    object-position: center;
}

.h2-hero-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(235, 216, 182, 0.9);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(48, 43, 35, 0.12);
    z-index: 5;
    transition: transform 0.3s ease;
}

.h2-hero-floating-badge--top {
    top: 24px;
    left: -20px;
}

.h2-hero-floating-badge--bottom {
    bottom: 24px;
    left: -20px;
}

.h2-floating-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--h2-red-light);
    color: var(--h2-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.h2-floating-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--h2-ink);
    line-height: 1.3;
}

.h2-floating-text span {
    font-size: 12px;
    color: var(--h2-muted);
}

/* ==========================================================================
   RIBBON BANNER (Exact Reference Match)
   ========================================================================== */
/* Continuous left-to-right scroll. The track holds the items twice and moves by
   half its width, so the loop has no visible jump. */
.h2-ribbon {
    background: var(--h2-ribbon-bg);
    color: var(--h2-ink);
    padding: 16px 0;
    font-size: 12px;
    letter-spacing: 0.16em;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--h2-line);
    white-space: nowrap;
    overflow: hidden;
}

.h2-ribbon__track {
    display: flex;
    width: max-content;
    animation: h2-ribbon-scroll 40s linear infinite;
}

.h2-ribbon:hover .h2-ribbon__track {
    animation-play-state: paused;
}

.h2-ribbon span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 28px;
}

@keyframes h2-ribbon-scroll {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .h2-ribbon__track {
        animation: none;
    }
}

/* ==========================================================================
   2. SHOP BY CATEGORY SECTION (Exact Reference Layout, Cards & Styling)
   ========================================================================== */
.h2-categories {
    padding: 70px 0;
    background-color: var(--h2-cream);
    border-bottom: 1px solid var(--h2-line);
}

.h2-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;
}

.h2-cat-link {
    display: block;
    text-decoration: none;
    color: var(--h2-ink);
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    transition: transform 0.25s ease;
}

.h2-cat-link:hover {
    text-decoration: none;
    color: var(--h2-ink);
}

/* Category Image Container */
.cat-img {
    height: 215px;
    overflow: hidden;
    background: #eee8db;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(222, 217, 203, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.5s ease;
    display: block;
}

.cat-img img.cover {
    object-fit: cover;
}

.h2-cat-link:hover .cat-img img {
    transform: scale(1.05);
}

/* Category Title & Arrow */
.h2-cat-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--h2-ink);
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.h2-cat-title i {
    float: right;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    color: var(--h2-ink);
    transition: transform 0.2s ease, color 0.2s ease;
}

.h2-cat-link:hover .h2-cat-title {
    color: var(--h2-red);
}

.h2-cat-link:hover .h2-cat-title i {
    transform: translate(3px, -3px);
    color: var(--h2-red);
}

/* Category Subtitle */
.h2-cat-desc {
    color: var(--h2-muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    display: block;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Category Editorial Poster Cards (Exact reference styling for Pickles, Whole Spices, Horeca, Ready to Cook) */
.category-type {
    height: 100%;
    width: 100%;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: filter 0.3s ease;
}

.h2-cat-link:hover .category-type {
    filter: brightness(0.97);
}

.cat-type-pickles {
    background: #e9dfca;
    color: #6e3829;
}

.cat-type-whole {
    background: #dce0cf;
    color: #424b32;
}

.cat-type-horeca {
    background: #e6d9ce;
    color: #694234;
}

.cat-type-ready {
    background: #e7d8b3;
    color: #674d25;
}

.category-type small {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: inherit;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif !important;
}

.category-type strong {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 30px;
    line-height: 1.1;
    max-width: 170px;
    font-weight: 700;
    color: inherit;
    display: block;
    margin: 12px 0;
    letter-spacing: -0.5px;
}

.category-type span {
    font: 11px Arial, sans-serif;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    color: inherit;
    display: block;
    opacity: 0.9;
}

/* ==========================================================================
   3. PRODUCT CARDS & GRID
   ========================================================================== */
.h2-products-section {
    padding: 75px 0;
    border-bottom: 1px solid var(--h2-line);
}

.h2-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.h2-product-card {
    background: #ffffff;
    border: 1px solid var(--h2-line);
    border-radius: var(--h2-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--h2-transition);
    height: 100%;
}

.h2-product-card:hover {
    border-color: var(--h2-red);
    box-shadow: 0 12px 28px rgba(48, 43, 35, 0.08);
    transform: translateY(-3px);
}

/* Card Photo Wrap */
.h2-card-thumb-wrap {
    position: relative;
    background: var(--h2-photo-bg);
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--h2-line);
    overflow: hidden;
    padding: 10px;
}

.h2-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.h2-card-img-link img {
    width: 100%;
    height: 100%;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

.h2-product-card:hover .h2-card-img-link img {
    transform: scale(1.06);
}

/* Badges */
.h2-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.h2-chip {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    line-height: 1.2;
    font-family: Arial, sans-serif;
}

.h2-chip--sale {
    background: var(--h2-red);
    color: #ffffff;
}

.h2-chip--oos {
    background: #655f51;
    color: #ffffff;
}

.h2-chip--pure {
    background: #e9dfca;
    color: var(--h2-ink);
    border: 1px solid rgba(48, 43, 35, 0.15);
}

/* Card Body */
.h2-card-body {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.h2-card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--h2-muted);
    margin-bottom: 6px;
}

.h2-card-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 0 0 8px;
    min-height: 2.5em;
}

.h2-card-title a {
    color: var(--h2-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.h2-card-title a:hover {
    color: var(--h2-red);
}

/* Rating Row */
.h2-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.h2-stars {
    color: #fab528;
    font-size: 13px;
    letter-spacing: 1px;
}

.h2-rating-count {
    font-size: 12px;
    color: var(--h2-muted);
}

/* Price Box */
.h2-card-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    margin-top: auto;
}

.h2-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--h2-ink);
}

.h2-price-old {
    font-size: 13px;
    color: var(--h2-muted);
    text-decoration: line-through;
}

.h2-price-saving {
    font-size: 11px;
    font-weight: 700;
    color: var(--h2-red);
    background: var(--h2-red-light);
    padding: 2px 6px;
    border-radius: 2px;
}

/* Card CTA Action */
.h2-card-footer {
    padding: 0 18px 18px;
}

.h2-cart-form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.h2-qty-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--h2-line);
    background: #faf7ef;
    height: 40px;
    padding: 2px;
    flex-shrink: 0;
}

.h2-qty-btn {
    width: 30px;
    height: 34px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--h2-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--h2-transition);
}

.h2-qty-btn:hover {
    background: var(--h2-line);
    color: var(--h2-red);
}

.h2-qty-input {
    width: 30px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--h2-ink);
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.h2-btn-atc {
    flex-grow: 1;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--h2-red);
    color: #ffffff;
    border: 1px solid var(--h2-red);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    transition: var(--h2-transition);
}

.h2-btn-atc:hover {
    background: var(--h2-red-dark);
    border-color: var(--h2-red-dark);
}

.h2-btn-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: transparent;
    color: var(--h2-ink) !important;
    border: 1px solid var(--h2-line);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    transition: var(--h2-transition);
}

.h2-btn-select:hover {
    background: var(--h2-red);
    color: #ffffff !important;
    border-color: var(--h2-red);
}

.h2-btn-disabled {
    width: 100%;
    height: 40px;
    background: #e8e3d8;
    color: #8c8577;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Quick View and Wishlist Actions */
.h2-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
    opacity: 0.9;
}

.h2-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--h2-line);
    box-shadow: 0 2px 8px rgba(48, 43, 35, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h2-ink);
    cursor: pointer;
    text-decoration: none;
    transition: var(--h2-transition);
}

.h2-action-btn:hover {
    background: var(--h2-red);
    color: #ffffff !important;
    border-color: var(--h2-red);
}

.h2-action-btn.added-to-wishlist {
    background: var(--h2-red);
    color: #ffffff;
    border-color: var(--h2-red);
}

.h2-action-btn.added-to-wishlist .svg-icon svg {
    fill: #ffffff;
}

/* ==========================================================================
   4. PROMOTIONAL BANNERS SECTION
   ========================================================================== */
.h2-promos {
    padding: 70px 0;
    background: var(--h2-cream);
    border-bottom: 1px solid var(--h2-line);
}

.h2-promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

/* Banner artwork carries its own text, so the copy sits below the image instead of on top of it */
.h2-promo-card {
    border-radius: var(--h2-radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    text-decoration: none;
    color: var(--h2-ink) !important;
    transition: var(--h2-transition);
    border: 1px solid var(--h2-line);
}

.h2-promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(48, 43, 35, 0.14);
}

.h2-promo-media {
    aspect-ratio: 2.37 / 1;
    overflow: hidden;
    background: var(--h2-photo-bg);
}

.h2-promo-bg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.h2-promo-card:hover .h2-promo-bg {
    transform: scale(1.04);
}

.h2-promo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    padding: 22px 24px 26px;
}

.h2-promo-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    background: var(--h2-gold);
    color: #ffffff;
    margin-bottom: 8px;
}

.h2-promo-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--h2-ink);
    letter-spacing: -0.5px;
}

.h2-promo-desc {
    font-size: 14px;
    color: var(--h2-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.h2-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--h2-ink);
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--h2-ink);
    padding-bottom: 2px;
}

.h2-promo-card:hover .h2-promo-link {
    color: var(--h2-red);
    border-bottom-color: var(--h2-red);
}

/* ==========================================================================
   5. WHY ATTITUDE SPICES SECTION
   ========================================================================== */
.h2-why {
    padding: 80px 0;
    background: #f2ecdf;
    border-bottom: 1px solid var(--h2-line);
}

.h2-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;
    margin-top: 40px;
}

.h2-why-card {
    background: var(--h2-cream);
    border: 1px solid var(--h2-line);
    border-radius: var(--h2-radius-sm);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: var(--h2-transition);
}

.h2-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(48, 43, 35, 0.08);
    border-color: var(--h2-red);
}

.h2-why-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #eee8db;
    color: var(--h2-red);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--h2-line);
    transition: var(--h2-transition);
}

.h2-why-icon-wrap svg {
    stroke: var(--h2-red);
    transition: stroke 0.3s ease;
}

.h2-why-card:hover .h2-why-icon-wrap {
    background: var(--h2-red);
    color: #ffffff;
}

.h2-why-card:hover .h2-why-icon-wrap svg {
    stroke: #ffffff;
}

.h2-why-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: var(--h2-ink);
    margin-bottom: 8px;
}

.h2-why-text {
    font-size: 14px;
    color: var(--h2-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   6. BUSINESS / B2B PARTNER BANNER
   ========================================================================== */
.h2-b2b {
    padding: 75px 0;
    background: var(--h2-cream);
    border-bottom: 1px solid var(--h2-line);
}

.h2-b2b-box {
    background: var(--h2-red);
    border-radius: var(--h2-radius-md);
    padding: 50px 48px;
    color: #fff9ef;
    position: relative;
    overflow: hidden;
}

.h2-b2b-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.h2-b2b-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff !important;
    margin-bottom: 12px;
}

.h2-b2b-title span {
    color: #f7d59b;
    font-style: italic;
}

.h2-b2b-lead {
    font-size: 16px;
    color: #ffeccf;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 500;
    margin-bottom: 12px;
}

.h2-b2b-desc {
    font-size: 15px;
    color: rgba(255, 249, 239, 0.85);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 600px;
}

.h2-b2b-bullets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
    margin-bottom: 28px;
}

.h2-b2b-bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
}

.h2-b2b-bullet-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.h2-b2b-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.h2-b2b-actions .h2-btn-light {
    background: #fff8ea;
    color: var(--h2-red) !important;
    border-color: #fff8ea;
    font-weight: 700;
}

.h2-b2b-actions .h2-btn-light:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.h2-b2b-card-right {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--h2-radius-sm);
    padding: 28px;
    text-align: center;
}

.h2-b2b-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #f7d59b;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: var(--h2-radius-pill);
    display: inline-block;
    margin-bottom: 14px;
}

.h2-b2b-contact-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 6px;
}

.h2-b2b-contact-info strong {
    color: #ffffff;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif !important;
}

/* ==========================================================================
   7. CUSTOMER REVIEWS SECTION
   ========================================================================== */
.h2-reviews {
    padding: 75px 0 85px;
    background-color: #f2ecdf;
    border-bottom: 1px solid var(--h2-line);
}

.h2-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.h2-review-card {
    background: var(--h2-cream);
    border: 1px solid var(--h2-line);
    border-radius: var(--h2-radius-sm);
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--h2-transition);
    height: 100%;
}

.h2-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(48, 43, 35, 0.08);
    border-color: var(--h2-red);
}

.h2-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.h2-review-stars {
    color: #fab528;
    font-size: 14px;
    letter-spacing: 2px;
}

.h2-review-verified {
    font-size: 11px;
    font-weight: 600;
    color: var(--h2-green);
    background: var(--h2-green-light);
    padding: 2px 8px;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.h2-review-comment {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14.5px;
    color: var(--h2-ink);
    line-height: 1.6;
    margin-bottom: 18px;
    font-style: italic;
    flex-grow: 1;
}

.h2-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--h2-line);
}

.h2-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e9dfca;
    color: var(--h2-ink);
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 1px solid var(--h2-line);
}

.h2-review-meta strong {
    display: block;
    font-size: 14px;
    color: var(--h2-ink);
}

.h2-review-meta span {
    font-size: 12px;
    color: var(--h2-muted);
}

/* ==========================================================================
   8. RESPONSIVE SYSTEM
   ========================================================================== */
@media (max-width: 1200px) {
    .h2-categories-grid,
    .h2-products-grid,
    .h2-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .h2-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .h2-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .h2-hero-card {
        max-width: 380px;
        margin: 0 auto;
    }
    .h2-hero-card-img {
        height: auto;
        max-height: 480px;
    }
    .h2-hero-floating-badge--top {
        top: 16px;
        left: -10px;
    }
    .h2-hero-floating-badge--bottom {
        bottom: 16px;
        left: -10px;
    }
    .h2-categories-grid,
    .h2-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cat-img {
        height: 180px;
    }
    .h2-why-grid,
    .h2-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .h2-b2b-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .h2-b2b-bullets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .h2-hero {
        padding: 35px 0 45px;
    }
    .h2-hero-title {
        font-size: 38px;
        letter-spacing: -1.2px;
    }
    .h2-hero-desc,
    .h2-section-desc {
        font-size: 15px;
    }
    .h2-hero-card {
        max-width: 320px;
        margin: 0 auto;
    }
    .h2-hero-card-img {
        height: auto;
        max-height: 420px;
    }
    .h2-hero-floating-badge {
        display: none;
    }
    .h2-cat-header-split {
        display: block;
        margin-bottom: 25px;
    }
    .h2-cat-header-split .h2-textlink {
        display: inline-block;
        margin-top: 14px;
    }
    .h2-cat-main-title {
        font-size: 30px;
    }
    .h2-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }
    .cat-img {
        height: 170px;
        margin-bottom: 12px;
    }
    .h2-cat-title {
        font-size: 19px;
    }
    .category-type {
        padding: 16px;
    }
    .category-type strong {
        font-size: 24px;
    }
    .h2-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .h2-card-thumb-wrap {
        height: 190px;
    }
    .h2-card-title {
        font-size: 16px;
    }
    .h2-card-body {
        padding: 14px 12px 12px;
    }
    .h2-card-footer {
        padding: 0 12px 12px;
    }
    .h2-cart-form {
        flex-direction: column;
        align-items: stretch;
    }
    .h2-qty-group {
        justify-content: space-between;
    }
    .category-type small,
    .category-type span {
        font-size: 10px;
        letter-spacing: 0.08em;
    }
    .h2-btn-select {
        font-size: 11px;
        letter-spacing: 0.2px;
        white-space: nowrap;
        gap: 4px;
        padding: 0 6px;
    }
    .h2-promo-grid,
    .h2-why-grid,
    .h2-reviews-grid {
        grid-template-columns: 1fr;
    }
    .h2-ribbon {
        font-size: 11px;
        padding: 12px 0;
    }
    .h2-ribbon span {
        padding: 0 18px;
    }
    .h2-ribbon__track {
        animation-duration: 30s;
    }
    .h2-b2b-box {
        padding: 32px 20px;
    }
    .h2-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .h2-btn {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .home2-page *,
    .h2-product-card,
    .h2-cat-link,
    .h2-promo-card,
    .h2-why-card,
    .h2-btn,
    .h2-action-btn {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* Pack size + price-on-request states (home2-product-card) */
.h2-card-pack {
    font-size: 13px;
    color: var(--h2-muted);
    margin: -4px 0 10px;
}

.h2-card-pack span {
    color: var(--h2-muted);
    opacity: 0.85;
}

.h2-price-request {
    font-size: 15px;
    font-weight: 600;
    color: var(--h2-gold);
}

.h2-btn-enquire {
    border-color: #25d366;
    color: #1a7f42 !important;
}

.h2-btn-enquire:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff !important;
}

/* ==========================================================================
   Rounded corners: 15px on every card, image box, panel and button on the
   homepage. Circular icons keep their shape; full-width bands stay square.
   ========================================================================== */
.home2-page {
    --h2-radius-sm: 15px;
    --h2-radius-md: 15px;
    --h2-radius-lg: 15px;
}

.home2-page :is(
    .h2-hero-card,
    .h2-hero-floating-badge,
    .cat-img,
    .h2-product-card,
    .h2-promo-card,
    .h2-why-card,
    .h2-review-card,
    .h2-b2b-box,
    .h2-b2b-card-right,
    .h2-btn,
    .h2-btn-atc,
    .h2-btn-select,
    .h2-btn-disabled,
    .h2-qty-group,
    .h2-chip,
    .h2-badge,
    .h2-promo-badge,
    .h2-price-saving
) {
    border-radius: 15px !important;
}

/* Image inside the padded hero card: inner radius = outer radius minus the 10px padding gap */
.home2-page .h2-hero-card-img {
    border-radius: 6px;
}

/* Keep rounded corners clipping their contents (images, poster colours) */
.home2-page :is(.cat-img, .h2-product-card, .h2-promo-card, .h2-hero-card, .h2-b2b-box) {
    overflow: hidden;
}
