/*
Theme Name: Amirtha Traders
Theme URI: http://local.amirthaonline.com
Description: Custom child theme for Amirtha Traders wholesale grocery store based on Twenty Twenty-Five
Author: Amirtha Traders
Author URI: http://local.amirthaonline.com
Template: twentytwentyfive
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amirtha-traders
Tags: e-commerce, wholesale, grocery, woocommerce, food-and-drink
*/

/* ============================================================
   AMIRTHA TRADERS — HEADER & NAVIGATION
   Inspired by maduraifoods.com dropdown style
   ============================================================ */

/* ---------- Site Header wrapper ---------- */

/* Sticky on the <header> element that wraps the block template part */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.amirtha-site-header {
    background: #2d7a3e !important;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.amirtha-site-header .wp-block-group.alignwide {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 70px;
}

/* ---------- Site Logo ---------- */
.amirtha-logo.wp-block-site-logo,
.amirtha-site-header .wp-block-site-logo {
    flex-shrink: 0;
    line-height: 0;
}

.amirtha-logo.wp-block-site-logo img,
.amirtha-site-header .wp-block-site-logo img {
    width: 150px !important;
    height: auto !important;
    max-height: 54px;
    object-fit: contain;
    display: block;
    /* No filter — show the original color logo */
}

/* ---------- Header inner layout ---------- */
.amirtha-header-inner {
    gap: 0 !important;
}

/* ---------- Right-side actions (search + cart) ---------- */
.amirtha-header-actions {
    gap: 8px !important;
    flex-shrink: 0;
}

/* Search button icon */
.amirtha-search-btn .wp-block-search__button {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 6px !important;
    cursor: pointer;
}
.amirtha-search-btn .wp-block-search__button svg {
    fill: #fff !important;
}
.amirtha-search-btn .wp-block-search__input {
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 13px;
    padding: 5px 10px;
    width: 0;
    max-width: 0;
    overflow: hidden;
    transition: width 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
}
.amirtha-search-btn:focus-within .wp-block-search__input,
.amirtha-search-btn .wp-block-search__input:focus {
    width: 160px;
    max-width: 160px;
}

/* Cart icon button — PHP-rendered, always visible for guests */
.amirtha-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.amirtha-cart-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.amirtha-cart-btn svg {
    display: block;
    flex-shrink: 0;
}
.amirtha-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #f8961e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    padding: 0 4px;
}

/* ---------- Nav list reset ---------- */
.amirtha-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
}

/* ---------- Top-level items ---------- */
.amirtha-nav-list > li {
    position: relative;
}

.amirtha-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 18px;
    height: 70px;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: 3px solid transparent;
}

.amirtha-nav-list > li > a:hover,
.amirtha-nav-list > li:hover > a,
.amirtha-nav-list > li.current-menu-item > a,
.amirtha-nav-list > li.current-menu-ancestor > a {
    background: rgba(0, 0, 0, 0.18);
    border-bottom-color: #f8961e;
    color: #fff !important;
}

/* ---------- Arrow icon ---------- */
.amirtha-arrow {
    font-size: 9px;
    opacity: 0.75;
    margin-left: 2px;
    transition: transform 0.2s ease;
    display: inline-block;
}
.amirtha-nav-list > li:hover > a .amirtha-arrow {
    transform: rotate(180deg);
}

/* ---------- First-level dropdown ---------- */
.amirtha-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-top: 3px solid #2d7a3e;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 9998;
    animation: fadeDown 0.18s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.amirtha-nav-list > li:hover > .amirtha-dropdown {
    display: block;
}

/* ---------- Dropdown items ---------- */
.amirtha-dropdown > li > a {
    display: block;
    padding: 9px 20px;
    color: #1a1a1a !important;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    border-left: 3px solid transparent;
}

.amirtha-dropdown > li > a:hover {
    background: #e8f5e9;
    color: #2d7a3e !important;
    padding-left: 26px;
    border-left-color: #2d7a3e;
}

/* ---------- "Our Products" mega-menu (3-level: column layout) ---------- */
.amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown {
    /* "Our Products" — displayed as a wide panel */
    min-width: 700px;
    display: none;
    flex-wrap: wrap;
    padding: 16px 0;
}

.amirtha-nav-list > li.has-dropdown:nth-child(3):hover > .amirtha-dropdown {
    display: flex;
}

/* Each category group in Our Products */
.amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li {
    flex: 0 0 25%;
    padding: 0 0 8px;
    border-right: 1px solid #f0f0f0;
}

.amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li:last-child {
    border-right: none;
}

/* Group heading (category title) */
.amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li > a {
    font-weight: 600;
    font-size: 13px;
    color: #2d7a3e !important;
    padding: 8px 16px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: none;
    border-bottom: 1px solid #e8f5e9;
    margin-bottom: 4px;
    display: block;
}
.amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li > a:hover {
    background: transparent;
    padding-left: 16px;
    color: #f8961e !important;
}

/* Sub-items inside each group */
.amirtha-sub-dropdown {
    position: static !important;
    display: block !important;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.amirtha-sub-dropdown > li > a {
    display: block;
    padding: 5px 16px 5px 20px;
    color: #444 !important;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.amirtha-sub-dropdown > li > a:hover {
    color: #2d7a3e !important;
    padding-left: 26px;
}

/* ---------- Simple dropdowns (About, Wholesale) ---------- */
.amirtha-nav-list > li.has-dropdown:not(:nth-child(3)) > .amirtha-dropdown {
    min-width: 200px;
}

/* ---------- Cart icon ---------- */
.amirtha-header-icons .wc-block-mini-cart__button,
.amirtha-header-icons .wp-block-woocommerce-mini-cart {
    color: #fff !important;
}

/* Sub-menu toggle button: hidden on desktop, shown on mobile */
.amirtha-sub-toggle {
    display: none;
}

/* ============================================================
   HAMBURGER BUTTON (hidden on desktop)
   ============================================================ */

.amirtha-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 8px;
}

.amirtha-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Animated X when open */
.amirtha-hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.amirtha-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.amirtha-hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   MOBILE NAV (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {

    /* Header bar */
    .amirtha-site-header .wp-block-group.alignwide,
    .amirtha-header-inner {
        min-height: 60px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        flex-wrap: nowrap !important;
        position: relative;
    }

    /* Show hamburger */
    .amirtha-hamburger {
        display: flex;
    }

    /* Hide desktop search on mobile */
    .amirtha-search-btn {
        display: none;
    }

    /* Nav list: hidden by default, full-width dropdown below header */
    .amirtha-nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: #1e5c2d;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 9997;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    /* Show when JS adds the class */
    .amirtha-nav-list.amirtha-nav-open {
        display: flex;
    }

    /* Top-level items */
    .amirtha-nav-list > li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .amirtha-nav-list > li > a {
        height: auto;
        padding: 14px 18px;
        font-size: 15px;
        border-bottom: none !important;
        background: transparent !important;
    }

    .amirtha-nav-list > li > a:hover,
    .amirtha-nav-list > li > a:active {
        background: rgba(0,0,0,0.15) !important;
    }

    /* Arrow on top-level items — hide desktop arrow, use toggle button instead */
    .amirtha-nav-list > li > a .amirtha-arrow {
        display: none;
    }

    /* Sub-menu toggle button */
    .amirtha-sub-toggle {
        position: absolute;
        right: 0;
        top: 0;
        height: 50px;
        width: 52px;
        background: rgba(0,0,0,0.15);
        border: none;
        border-left: 1px solid rgba(255,255,255,0.12);
        color: #fff;
        font-size: 11px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .amirtha-sub-toggle span {
        transition: transform 0.25s ease;
        display: inline-block;
    }

    .amirtha-nav-list > li {
        position: relative;
    }

    /* Hide all dropdowns by default on mobile */
    .amirtha-dropdown,
    .amirtha-sub-dropdown {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        background: rgba(0,0,0,0.18) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        animation: none !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    /* Show when parent li has sub-open */
    .amirtha-nav-list li.sub-open > .amirtha-dropdown,
    .amirtha-nav-list li.sub-open > .amirtha-sub-dropdown {
        display: flex !important;
    }

    /* Mobile dropdown items */
    .amirtha-dropdown > li,
    .amirtha-sub-dropdown > li {
        flex: 1 1 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        position: relative;
    }

    .amirtha-dropdown > li > a,
    .amirtha-sub-dropdown > li > a {
        color: rgba(255,255,255,0.85) !important;
        font-size: 13.5px !important;
        padding: 12px 18px 12px 28px !important;
        border-left: none !important;
        background: transparent !important;
        font-weight: 400;
        text-transform: none !important;
        letter-spacing: 0 !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    .amirtha-dropdown > li > a:hover,
    .amirtha-sub-dropdown > li > a:hover {
        color: #fff !important;
        background: rgba(255,255,255,0.08) !important;
        padding-left: 34px !important;
    }

    /* Level-3 items (sub-sub) */
    .amirtha-sub-dropdown > li > a {
        padding-left: 38px !important;
        font-size: 13px !important;
        color: rgba(255,255,255,0.7) !important;
    }

    /* Mega-menu "Our Products" — override desktop flex layout */
    .amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown {
        flex-direction: column !important;
        min-width: 0 !important;
    }

    .amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li {
        flex: 1 1 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    }

    /* Category group headings on mobile */
    .amirtha-nav-list > li.has-dropdown:nth-child(3) > .amirtha-dropdown > li > a {
        color: rgba(255,255,255,0.9) !important;
        font-size: 13.5px !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        padding: 12px 18px 12px 28px !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
        background: transparent !important;
    }

    .amirtha-sub-dropdown {
        background: rgba(0,0,0,0.12) !important;
    }
}

/* ============================================================
   INNER PAGE LAYOUT — remove default WP title & spacing
   ============================================================ */

/* Kill the block post-title on inner pages (belt + suspenders) */
.page-template-default .wp-block-post-title,
.page .wp-block-post-title,
body.page h1.wp-block-post-title {
    display: none !important;
}

/* Remove margin-top on <main> and its inner group so banner touches the header */
body.page main.wp-block-group,
body.page .wp-block-group[style*="margin-top"] {
    margin-top: 0 !important;
}

body.page main.wp-block-group > .wp-block-group {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove featured image block if it slips through */
body.page .wp-block-post-featured-image {
    display: none !important;
}

/* ============================================================
   PAGE TITLE BANNER  (nandawholesalemart.com style)
   Background: page Featured Image (set in Pages → Edit → Featured Image)
   Fallback: Appearance → Customize → Banner Settings → Default Banner Image
   Fallback color: dark green gradient
   ============================================================ */

.amirtha-page-banner-wrap {
    position: relative;
    width: 100%;
    background-color: #1a3d2b;                           /* fallback solid */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 260px;
    display: flex;
    align-items: center;
}

/* Dark overlay so text is always readable over any image */
.amirtha-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 60, 35, 0.82) 0%,
        rgba(10, 35, 20, 0.72) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.amirtha-page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 20px;
    width: 100%;
}

/* Page title */
.amirtha-page-banner-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 14px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    letter-spacing: 0.5px;
}

/* Breadcrumb */
.amirtha-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.amirtha-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.amirtha-breadcrumb a:hover {
    color: #f8961e;
    text-decoration: underline;
}

.amirtha-breadcrumb-sep {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    line-height: 1;
    padding: 0 4px;
}

.amirtha-breadcrumb span:last-child {
    color: #f8961e;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
    .amirtha-page-banner-wrap {
        min-height: 180px;
    }
    .amirtha-page-banner-content {
        padding: 36px 16px;
    }
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */

.ht-ctc-chat {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

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

.whatsapp-order-button {
    background: #25D366 !important;
    border-color: #25D366 !important;
}

.whatsapp-order-button:hover {
    background: #1eb855 !important;
    border-color: #1eb855 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer.wp-block-template-part {
    background: #132b1a;
    color: #c8ddc9;
}

/* ── Top section ── */
.amirtha-footer-top {
    padding: 60px 20px 48px !important;
}

/* ── Column 1: Brand ── */
.amirtha-footer-brand .amirtha-footer-logo {
    display: inline-block;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.amirtha-footer-brand .amirtha-footer-logo img {
    max-height: 48px;
    width: auto !important;
    display: block;
}

.amirtha-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #9ebea4;
    margin-top: 16px !important;
    margin-bottom: 22px !important;
}

.amirtha-footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.amirtha-footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #aaccaf;
    line-height: 1.55;
}

.amirtha-footer-contact-icon {
    flex-shrink: 0;
    margin-top: 3px;
    color: #f8961e;
}

.amirtha-footer-contact-row address {
    font-style: normal;
    color: #aaccaf;
}

.amirtha-footer-contact-row a {
    color: #aaccaf;
    text-decoration: none;
}

.amirtha-footer-contact-row a:hover {
    color: #f8961e;
}

/* ── Section headings ── */
.amirtha-footer-heading {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #2d7a3e;
    display: inline-block;
}

/* ── Quick Links nav ── */
.amirtha-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.amirtha-footer-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ebea4;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.2s, padding-left 0.2s;
}

.amirtha-footer-menu li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #f8961e;
    border-right: 2px solid #f8961e;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.amirtha-footer-menu li a:hover {
    color: #f8961e;
    padding-left: 4px;
}

/* ── Business hours table ── */
.amirtha-footer-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    color: #9ebea4;
}

.amirtha-footer-hours tr + tr td {
    padding-top: 8px;
}

.amirtha-footer-hours td:first-child {
    padding-right: 16px;
    font-weight: 500;
    color: #aaccaf;
    white-space: nowrap;
}

.amirtha-footer-hours td:last-child {
    color: #f8961e;
    font-weight: 600;
}

/* ── Payment badges ── */
.amirtha-payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.amirtha-payment-badges span {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #c8ddc9;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 4px;
}

/* ── Bottom copyright bar ── */
.amirtha-footer-bottom {
    background: #0c1f11;
    padding: 18px 20px !important;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.amirtha-copyright {
    font-size: 0.82rem !important;
    color: #6d9175 !important;
    margin: 0 !important;
}

.amirtha-copyright a {
    color: #f8961e;
    text-decoration: none;
    font-weight: 600;
}

.amirtha-copyright a:hover {
    text-decoration: underline;
}

/* ── Footer: responsive stack ── */
@media (max-width: 768px) {
    .amirtha-footer-top {
        padding: 40px 20px 32px !important;
    }

    .amirtha-footer-cols.wp-block-columns {
        flex-direction: column !important;
    }

    .amirtha-footer-cols .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

/* ============================================================
   WHY CHOOSE AMIRTHA TRADERS — ICON BOXES
   Professional card style for sections 6–8
   ============================================================ */

/* Card wrapper on each icon-box */
.elementor-icon-box-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 14px rgba(45, 122, 62, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.elementor-icon-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(45, 122, 62, 0.18);
}

/* Icon stacked circle */
.elementor-icon-box-wrapper .elementor-icon {
    margin-bottom: 18px;
}

.elementor-icon-box-wrapper .elementor-icon > * {
    border-radius: 50% !important;
}

/* Title */
.elementor-icon-box-wrapper .elementor-icon-box-title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* Description */
.elementor-icon-box-wrapper .elementor-icon-box-description {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Section 6 heading alignment */
.elementor-section[data-id="36157825"] .elementor-heading-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
}

/* Ensure columns in sections 7 & 8 have a gap for cards */
.elementor-section[data-id="711bd914"] .elementor-row,
.elementor-section[data-id="32983e14"] .elementor-row {
    gap: 20px;
}

/* ============================================================
   CONTACT FORM 7 — Professional styling
   ============================================================ */

.wpcf7 {
    font-size: 0.95rem;
}

.cf7-row {
    display: flex;
    gap: 20px;
}

.cf7-row-2col .cf7-field-wrap {
    flex: 1;
}

.cf7-field-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.cf7-field-wrap label,
.wpcf7 label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.cf7-field-wrap label abbr,
.wpcf7 label abbr {
    text-decoration: none;
    color: #e53e3e;
    margin-left: 2px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde3e8;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #2d7a3e;
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.12);
}

.wpcf7 textarea {
    min-height: 130px;
    resize: vertical;
}

.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background: #2d7a3e;
    color: #fff;
    border: none;
    padding: 13px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 6px;
    display: inline-block;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background: #1e5c2e;
    transform: translateY(-1px);
}

.wpcf7-response-output {
    margin-top: 14px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    border-left: 4px solid #2d7a3e !important;
    background: #f0f7f1 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.8rem !important;
    color: #e53e3e !important;
    margin-top: 4px !important;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border-color: #e53e3e !important;
}

@media (max-width: 600px) {
    .cf7-row { flex-direction: column; gap: 0; }
}

/* ============================================================
   BULK ORDER TABLE
   ============================================================ */

.amirtha-bulk-order-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 40px;
}

.amirtha-bulk-intro {
    background: #f0f7f1;
    border-left: 4px solid #2d7a3e;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 0.93rem;
    color: #333;
    margin-bottom: 24px;
}

/* Scrollable wrapper for mobile */
.amirtha-bulk-table-scroll {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.amirtha-bulk-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.93rem;
}

/* ── Header ── */
.amirtha-bulk-table thead tr {
    background: #2d7a3e;
    color: #fff;
}

.amirtha-bulk-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.amirtha-bulk-table thead th.col-qty,
.amirtha-bulk-table thead th.col-price,
.amirtha-bulk-table thead th.col-subtotal {
    text-align: center;
}

/* ── Category header rows ── */
.amirtha-bulk-table .bulk-cat-header td {
    background: #f0f7f1;
    padding: 10px 16px;
    border-top: 2px solid #d4edda;
}

.amirtha-bulk-table .bulk-cat-header span {
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2d7a3e;
}

/* ── Product rows ── */
.amirtha-bulk-table .bulk-product-row {
    border-bottom: 1px solid #eef0f2;
    transition: background 0.15s;
}

.amirtha-bulk-table .bulk-product-row:hover {
    background: #fafffe;
}

.amirtha-bulk-table .bulk-product-row.bulk-row-active {
    background: #f7fcf8;
}

.amirtha-bulk-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

/* Product image column */
.amirtha-bulk-table .col-img {
    width: 76px;
    padding: 8px 12px;
}

.amirtha-bulk-table .col-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e8eaed;
    display: block;
}

/* Product title + SKU */
.amirtha-bulk-table .col-title strong {
    display: block;
    color: #1a1a1a;
    font-size: 0.94rem;
    line-height: 1.35;
}

.amirtha-bulk-table .bulk-sku {
    display: block;
    font-size: 0.76rem;
    color: #888;
    margin-top: 3px;
}

/* Price */
.amirtha-bulk-table .col-price {
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
    color: #2d7a3e;
    min-width: 90px;
}

/* Qty input */
.amirtha-bulk-table .col-qty {
    text-align: center;
    min-width: 90px;
}

.bulk-qty-input {
    width: 72px;
    padding: 7px 8px;
    text-align: center;
    border: 1.5px solid #dde3e8;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -moz-appearance: textfield;
}

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

.bulk-qty-input:focus {
    border-color: #2d7a3e;
    box-shadow: 0 0 0 3px rgba(45, 122, 62, 0.12);
}

/* Subtotal */
.amirtha-bulk-table .col-subtotal {
    text-align: center;
    white-space: nowrap;
    min-width: 100px;
    font-weight: 600;
    color: #1a1a1a;
}

.amirtha-bulk-table .bulk-row-active .col-subtotal {
    color: #f8961e;
}

/* ── Footer total row ── */
.amirtha-bulk-table .bulk-tfoot-total {
    background: #1e4d2b;
    color: #fff;
}

.amirtha-bulk-table .bulk-tfoot-total td {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 1rem;
}

.amirtha-bulk-table .bulk-tfoot-total td:first-child {
    text-align: right;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.amirtha-bulk-table .bulk-tfoot-total td:last-child {
    text-align: center;
    font-size: 1.15rem;
}

#bulkGrandTotal {
    color: #f8961e;
}

/* ── Actions bar ── */
.bulk-order-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.bulk-total-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bulk-total-bar-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bulk-total-bar-amount {
    font-size: 1.45rem;
    font-weight: 800;
    color: #2d7a3e;
}

.amirtha-bulk-add-btn {
    background: #f8961e;
    color: #fff;
    border: none;
    padding: 14px 44px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(248, 150, 30, 0.35);
}

.amirtha-bulk-add-btn:hover {
    background: #e07f10;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 150, 30, 0.4);
}

.amirtha-bulk-add-btn:disabled {
    background: #aaa;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* ── Notice messages ── */
.bulk-notice {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.bulk-notice-warn {
    background: #fff8e1;
    border-left: 4px solid #f8961e;
    color: #7a4f00;
}

.bulk-notice-error {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    color: #742a2a;
}

.bulk-notice-info {
    background: #f0f7f1;
    border-left: 4px solid #2d7a3e;
    color: #1e4d2b;
}

/* ── Empty state ── */
.amirtha-bulk-empty {
    padding: 40px;
    text-align: center;
    color: #666;
    background: #f9fafb;
    border-radius: 10px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .amirtha-bulk-table thead {
        display: none;
    }

    .amirtha-bulk-table .bulk-cat-header td {
        padding: 8px 12px;
    }

    .amirtha-bulk-table .bulk-product-row {
        display: grid;
        grid-template-columns: 68px 1fr;
        grid-template-rows: auto auto auto;
        padding: 12px 8px;
        gap: 4px 12px;
        border-bottom: 2px solid #eef0f2;
    }

    .amirtha-bulk-table .col-img {
        grid-row: 1 / 3;
        padding: 0;
        width: auto;
    }

    .amirtha-bulk-table .col-title {
        grid-column: 2;
        padding: 0;
    }

    .amirtha-bulk-table .col-price {
        grid-column: 2;
        text-align: left;
        padding: 0;
    }

    .amirtha-bulk-table .col-price::before { content: attr(data-label) ': '; font-weight: 400; color: #888; }

    .amirtha-bulk-table .col-qty {
        grid-column: 1 / 3;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0 0;
        text-align: left;
    }

    .amirtha-bulk-table .col-qty::before {
        content: 'Qty: ';
        font-size: 0.82rem;
        color: #666;
        font-weight: 600;
    }

    .amirtha-bulk-table .col-subtotal {
        grid-column: 1 / 3;
        text-align: left;
        padding: 2px 0 8px;
    }

    .amirtha-bulk-table .col-subtotal::before {
        content: 'Subtotal: ';
        font-size: 0.82rem;
        color: #666;
        font-weight: 600;
    }

    .amirtha-bulk-table .bulk-tfoot-total {
        display: flex;
        justify-content: space-between;
        padding: 12px;
    }

    .amirtha-bulk-table .bulk-tfoot-total td {
        display: block;
    }

    .bulk-order-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .amirtha-bulk-add-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   HERO SLIDER — true 100vw full-width breakout
   ============================================================ */

/* Viewport-width breakout: works inside any constrained parent */
.elementor-section[data-id="679f776d"] {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.elementor-section[data-id="679f776d"] > .elementor-container,
.elementor-section[data-id="679f776d"] .elementor-column,
.elementor-section[data-id="679f776d"] .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.elementor-section[data-id="679f776d"] > .elementor-container {
    display: block !important;
}

/* ── Slider wrapper ── */
.amirtha-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: stretch;
    background: #0d2b15; /* fallback while image loads */
}

.amirtha-hero-slider > .amirtha-slide {
    flex-shrink: 0;
    width: 100%;
}

/* ── Slides ── */
.amirtha-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
    z-index: 1;
    /* Image background */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Gradient fallback if no image */
    background-color: #0d2b15;
}

.amirtha-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    position: relative;
    width: 100%;
    min-width: 100%;
}

/* Gradient fallback backgrounds (show when no image) */
.amirtha-slide--1 { background-color: #0d2b15; }
.amirtha-slide--2 { background-color: #0a1e0f; }
.amirtha-slide--3 { background-color: #101e12; }

/* ── Per-slide colour overlays on top of the photo ── */
.amirtha-slide-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Slide 1 — rich green tint */
.amirtha-slide-overlay--green {
    background: linear-gradient(
        135deg,
        rgba(10, 40, 18, 0.82) 0%,
        rgba(25, 80, 38, 0.72) 50%,
        rgba(14, 55, 28, 0.68) 100%
    );
}

/* Slide 2 — deep dark (product photo needs more contrast) */
.amirtha-slide-overlay--dark {
    background: linear-gradient(
        135deg,
        rgba(5, 15, 8, 0.88) 0%,
        rgba(15, 45, 22, 0.80) 60%,
        rgba(25, 70, 35, 0.70) 100%
    );
}

/* Slide 3 — forest tint, slightly lighter on right */
.amirtha-slide-overlay--deep {
    background: linear-gradient(
        120deg,
        rgba(8, 30, 14, 0.85) 0%,
        rgba(20, 60, 30, 0.75) 55%,
        rgba(30, 80, 45, 0.60) 100%
    );
}

/* Dot pattern on top of overlay */
.amirtha-slide-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* ── Slide content ── */
.amirtha-slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 60px 24px;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}

.amirtha-slide-badge {
    display: inline-block;
    background: rgba(248, 150, 30, 0.18);
    border: 1px solid rgba(248, 150, 30, 0.5);
    color: #f8961e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.amirtha-slide-heading {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
}

.amirtha-slide-heading em {
    font-style: normal;
    color: #f8961e;
}

.amirtha-slide-sub {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #a8d5b0;
    margin: 0 0 36px;
    letter-spacing: 0.01em;
}

/* ── CTA buttons ── */
.amirtha-slide-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.amirtha-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.amirtha-btn--primary {
    background: #f8961e;
    color: #fff;
    box-shadow: 0 4px 20px rgba(248, 150, 30, 0.4);
}

.amirtha-btn--primary:hover {
    background: #e07f10;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(248, 150, 30, 0.5);
    color: #fff;
}

.amirtha-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.amirtha-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Prev / Next arrows ── */
.amirtha-slider-prev,
.amirtha-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.amirtha-slider-prev { left: 20px; }
.amirtha-slider-next { right: 20px; }

.amirtha-slider-prev:hover,
.amirtha-slider-next:hover {
    background: rgba(248, 150, 30, 0.7);
    border-color: #f8961e;
    transform: translateY(-50%) scale(1.08);
}

/* ── Dots ── */
.amirtha-slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.amirtha-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}

.amirtha-dot.is-active {
    background: #f8961e;
    transform: scale(1.35);
}

@media (max-width: 768px) {
    .amirtha-hero-slider { min-height: 80vh; }
    .amirtha-slider-prev,
    .amirtha-slider-next { width: 40px; height: 40px; font-size: 1.5rem; }
    .amirtha-slider-prev { left: 10px; }
    .amirtha-slider-next { right: 10px; }
}

/* ============================================================
   SECTION HEADINGS — shared style for all sections
   ============================================================ */

.elementor-section .elementor-heading-title {
    font-family: inherit;
    letter-spacing: -0.01em;
}

/* Decorative underline on section headings */
.amirtha-section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.amirtha-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: #f8961e;
    border-radius: 2px;
}

/* ============================================================
   SHOP BY CATEGORY
   ============================================================ */

/* Category card */
.amirtha-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 28px 20px 22px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    border: 2px solid transparent;
    height: 100%;
    margin: 0 8px;
}

.amirtha-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(45,122,62,0.15);
    border-color: #2d7a3e;
    color: inherit;
}

.amirtha-cat-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.amirtha-cat-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 5px;
}

.amirtha-cat-body p {
    font-size: 0.82rem;
    color: #777;
    margin: 0;
    line-height: 1.4;
}

.amirtha-cat-arrow {
    margin-top: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f7f1;
    color: #2d7a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.amirtha-cat-card:hover .amirtha-cat-arrow {
    background: #2d7a3e;
    color: #fff;
}

/* ============================================================
   BUY IN BULK — Section 5
   ============================================================ */

/* Elementor section bg is already #0f2d19 via JSON — add text styles */
.elementor-section[data-id="3629f0e7"] .elementor-heading-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
}

.amirtha-bulk-features {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amirtha-bulk-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c8ddc9;
    font-size: 0.95rem;
}

.amirtha-bulk-features li i {
    color: #4ade80;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Stats grid */
.amirtha-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.amirtha-stat-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s;
}

.amirtha-stat-card:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(248,150,30,0.4);
}

.amirtha-stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: #f8961e;
    line-height: 1;
}

.amirtha-stat-number sup {
    font-size: 1.2rem;
    font-weight: 700;
    vertical-align: super;
}

.amirtha-stat-label {
    font-size: 0.82rem;
    color: #9dc9a5;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   FEATURED PRODUCTS — Section 4 heading refinement
   ============================================================ */

.elementor-section[data-id="55094a40"] {
    position: relative;
}

.elementor-section[data-id="55094a40"] .elementor-heading-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
    font-weight: 800 !important;
    position: relative;
    padding-bottom: 16px;
}

.elementor-section[data-id="55094a40"] .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: #f8961e;
    border-radius: 2px;
}

/* ============================================================
   WHY CHOOSE — Section heading refinement
   ============================================================ */

.elementor-section[data-id="36157825"] .elementor-heading-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem) !important;
    font-weight: 800 !important;
    position: relative;
    padding-bottom: 16px;
}

.elementor-section[data-id="36157825"] .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: #f8961e;
    border-radius: 2px;
}

/* ============================================================
   READY TO START — Section 9
   ============================================================ */

.amirtha-cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.amirtha-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.amirtha-cta-btn--white {
    background: #fff;
    color: #1a3d22;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.amirtha-cta-btn--white:hover {
    background: #f0f7f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    color: #1a3d22;
}

.amirtha-cta-btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.amirtha-cta-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}


/* ============================================================
   ABOUT US PAGE
   ============================================================ */

/* ── Stats section ── */
.about-stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1;
}

/* Counter section: center-align everything */
.elementor-section[data-id="27ef57c6"] .elementor-widget-counter,
.elementor-section[data-id="27ef57c6"] .elementor-counter {
    text-align: center;
}

.elementor-section[data-id="27ef57c6"] .elementor-counter-number-wrapper {
    font-size: 3rem !important;
}

.elementor-section[data-id="27ef57c6"] .elementor-counter-title {
    font-size: 0.88rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #777 !important;
    margin-top: 6px !important;
}

.elementor-section[data-id="27ef57c6"] .elementor-column {
    border-right: 1px solid #f0f0f0;
    padding: 0 20px !important;
}

.elementor-section[data-id="27ef57c6"] .elementor-column:last-child {
    border-right: none;
}

/* ── Our Story section ── */
.about-section-divider {
    width: 52px;
    height: 3px;
    background: #f8961e;
    border-radius: 2px;
    margin: 12px 0 24px;
}

/* Story image */
.elementor-section[data-id="e6ce362c"] .elementor-image img,
.about-story-image img {
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    width: 100%;
    object-fit: cover;
}

/* Timeline milestones */
.about-story-milestones {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 3px solid #e8eaed;
    padding-left: 24px;
    position: relative;
}

.about-milestone {
    position: relative;
    padding: 0 0 20px;
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.about-milestone::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2d7a3e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2d7a3e;
}

.about-milestone-year {
    font-size: 0.78rem;
    font-weight: 800;
    color: #f8961e;
    letter-spacing: 0.06em;
    white-space: nowrap;
    min-width: 36px;
}

.about-milestone-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* ── Values section ── */
.elementor-section[data-id="91a56adf"] .elementor-icon-box-wrapper {
    text-align: center;
}

/* ── CTA section ── */
.about-cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .elementor-section[data-id="27ef57c6"] .elementor-column {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px !important;
    }

    .elementor-section[data-id="e6ce362c"] .elementor-column:last-child {
        margin-top: 32px;
    }

    .about-story-milestones {
        margin-top: 24px;
    }
}

/* ============================================================
   AMIRTHA TRADERS — SHOP / CATEGORY / SEARCH PRODUCT GRID
   3 rows × 4 cols (12/page), uniform card dimensions,
   professional card styling, infinite-scroll loader.
   ============================================================ */

/* --- Grid container: 4 equal columns, equal-height rows --- */
.wc-block-product-template,
.wp-block-post-template:has(li.product),
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr !important;                 /* equal height rows */
    gap: 24px !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    list-style: none !important;
    align-items: stretch !important;
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Kill any legacy flex/float layouts from WC classic */
.wc-block-product-template::before,
.wc-block-product-template::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }

/* --- Each card: uniform width + height, flex column layout --- */
.wc-block-product-template > li,
.wc-block-product-template > .wp-block-post,
.wp-block-post-template > li.product,
.wp-block-post-template > li.wp-block-post.product,
.woocommerce ul.products > li.product {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;                        /* fill grid cell */
    margin: 0 !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    float: none !important;
    clear: none !important;
}

.wc-block-product-template > li:hover,
.wc-block-product-template > .wp-block-post:hover,
.wp-block-post-template > li.product:hover,
.woocommerce ul.products > li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(45, 122, 62, 0.14),
                0 3px 8px rgba(0, 0, 0, 0.05);
    border-color: #2d7a3e !important;
}

/* --- Image zone: fixed 1:1 aspect ratio so every tile is identical --- */
.wc-block-product-template .wp-block-woocommerce-product-image,
.wc-block-product-template .wc-block-components-product-image,
.woocommerce ul.products li.product a img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background: #f9fafb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 12px 0 !important;
}

.wc-block-product-template .wp-block-woocommerce-product-image a,
.wc-block-product-template .wc-block-components-product-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.wc-block-product-template .wp-block-woocommerce-product-image img,
.wc-block-product-template .wc-block-components-product-image img,
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    transition: transform .4s ease;
}

.wc-block-product-template > li:hover .wp-block-woocommerce-product-image img,
.wc-block-product-template > .wp-block-post:hover .wp-block-woocommerce-product-image img {
    transform: scale(1.06);
}

/* --- Title: fixed 2-line height so text never shifts layout --- */
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template .wc-block-components-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1f2937 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    /* lock to exactly 2 lines, always */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: calc(1.4em * 2);
    max-height: calc(1.4em * 2);
    word-break: break-word;
    hyphens: auto;
}

.wc-block-product-template .wp-block-post-title a,
.wc-block-product-template .wc-block-components-product-title a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit !important;
    text-decoration: none !important;
}
.wc-block-product-template .wp-block-post-title a:hover,
.wc-block-product-template .wc-block-components-product-title a:hover {
    color: #2d7a3e !important;
}

/* --- Price block: fixed vertical space --- */
.wc-block-product-template .wp-block-woocommerce-product-price,
.wc-block-product-template .wc-block-components-product-price,
.woocommerce ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2d7a3e !important;
    margin: 4px 0 12px 0 !important;
    min-height: 22px;
    line-height: 1.3 !important;
}

.wc-block-product-template .wc-block-components-product-price del,
.woocommerce ul.products li.product .price del {
    color: #9ca3af !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    margin-right: 6px !important;
    opacity: 1 !important;
}
.wc-block-product-template .wc-block-components-product-price ins,
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: #dc2626 !important;
    background: transparent !important;
}

/* --- Sale badge: absolute corner --- */
.wc-block-product-template .wp-block-woocommerce-product-sale-badge,
.wc-block-product-template .wc-block-components-product-sale-badge,
.woocommerce ul.products li.product span.onsale {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    background: #dc2626 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 5px 11px !important;
    border-radius: 20px !important;
    letter-spacing: .4px !important;
    text-transform: uppercase !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    z-index: 2;
}

/* --- Button pinned to bottom — makes all cards same height --- */
.wc-block-product-template .wp-block-button,
.wc-block-product-template .wc-block-components-product-button,
.woocommerce ul.products li.product .button {
    margin-top: auto !important;
    width: 100% !important;
}

.wc-block-product-template .wp-block-button__link,
.wc-block-product-template .wc-block-components-product-button__button,
.wc-block-product-template button.wp-block-button__link,
.woocommerce ul.products li.product a.button {
    display: block !important;
    width: 100% !important;
    background: #2d7a3e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-transform: none !important;
    letter-spacing: .2px !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 6px rgba(45, 122, 62, 0.18);
}

.wc-block-product-template .wp-block-button__link:hover,
.wc-block-product-template .wc-block-components-product-button__button:hover,
.woocommerce ul.products li.product a.button:hover {
    background: #1e5a2b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 122, 62, 0.28);
}

/* --- Responsive breakpoints: keep cards uniform at every width --- */
@media (max-width: 1199px) {
    .wc-block-product-template,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 899px) {
    .wc-block-product-template,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
    .wc-block-product-template > li,
    .wc-block-product-template > .wp-block-post,
    .woocommerce ul.products > li.product {
        padding: 12px !important;
    }
}

@media (max-width: 520px) {
    .wc-block-product-template,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .wc-block-product-template .wp-block-post-title,
    .wc-block-product-template .wc-block-components-product-title {
        font-size: 13px !important;
    }
    .wc-block-product-template .wp-block-button__link,
    .wc-block-product-template .wc-block-components-product-button__button {
        padding: 9px 12px !important;
        font-size: 12px !important;
    }
}

/* --- Archive header spacing --- */
.wp-block-query,
.woocommerce-products-header {
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Infinite scroll loader --- */
.amirtha-shop-sentinel {
    width: 100%;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.amirtha-shop-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 48px 20px;
    min-height: 120px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;
}

.amirtha-shop-loader.is-done,
.amirtha-shop-loader.is-error {
    padding: 32px 20px;
    min-height: auto;
}

.amirtha-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e5e7eb;
    border-top-color: #2d7a3e;
    border-right-color: #2d7a3e;
    border-radius: 50%;
    animation: amirtha-spin 0.75s linear infinite;
    flex: 0 0 auto;
}

@keyframes amirtha-spin {
    to { transform: rotate(360deg); }
}

.amirtha-shop-done {
    color: #2d7a3e;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 10px 20px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.amirtha-shop-retry {
    display: inline-block;
    margin-left: 8px;
    background: #2d7a3e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.amirtha-shop-retry:hover {
    background: #1e5a2b;
}

/* Hide native pagination once JS is active (class added by script too,
   but this also covers the no-JS path gracefully) */
.js .wp-block-query-pagination[hidden],
.js nav.woocommerce-pagination[hidden] { display: none !important; }

/* ============================================================
   SEARCH PAGE — make generic post-template tiles look like
   shop product tiles (same grid, same card, same button).
   ============================================================ */

/* Normalise the inner wp-block-group wrapper that search results nest
   inside — make it layout-transparent so our flex applies to li directly */
.wp-block-post-template > li.product > .wp-block-group,
.wp-block-post-template > li.wp-block-post.product > .wp-block-group {
    display: contents !important;
}

/* Kill oversized spacing from the default search.html group padding */
.wp-block-post-template > li.product .wp-block-group {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    background: transparent !important;
}

/* Featured image — force 1:1 aspect ratio to match shop tiles */
.wp-block-post-template > li.product .wp-block-post-featured-image {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    background: #f9fafb !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.wp-block-post-template > li.product .wp-block-post-featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.wp-block-post-template > li.product .wp-block-post-featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: transform .4s ease;
}

.wp-block-post-template > li.product:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

/* Title — same as shop tile */
.wp-block-post-template > li.product .wp-block-post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #1f2937 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: calc(1.4em * 2);
    max-height: calc(1.4em * 2);
    letter-spacing: 0 !important;
    text-align: left !important;
}

.wp-block-post-template > li.product .wp-block-post-title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Hide irrelevant blocks on product tiles in search results */
.wp-block-post-template > li.product .wp-block-post-date,
.wp-block-post-template > li.product .wp-block-post-excerpt,
.wp-block-post-template > li.product .wp-block-post-author,
.wp-block-post-template > li.product .wp-block-post-terms,
.wp-block-post-template > li.product time.wp-block-post-date,
.wp-block-post-template > li.product .taxonomy-category,
.wp-block-post-template > li.product .taxonomy-post_tag {
    display: none !important;
}

/* JS-injected Add-to-cart button — match shop tile button exactly */
.amirtha-add-to-cart-wrap {
    margin-top: auto !important;
    width: calc(100% + 32px) !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    margin-bottom: -16px !important;
    padding: 12px 16px 0 16px !important;
    background: transparent !important;
    flex-shrink: 0 !important;
}

a.amirtha-add-to-cart,
.amirtha-add-to-cart-wrap a.amirtha-add-to-cart {
    display: block !important;
    width: 100% !important;
    background: #2d7a3e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: .2px !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 6px rgba(45, 122, 62, 0.18);
    line-height: 1.4 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

a.amirtha-add-to-cart:hover,
.amirtha-add-to-cart-wrap a.amirtha-add-to-cart:hover {
    background: #1e5a2b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 122, 62, 0.28);
}

/* Loading state when WC AJAX is adding to cart */
a.amirtha-add-to-cart.loading,
a.amirtha-add-to-cart.added {
    opacity: .85;
    position: relative;
}

a.amirtha-add-to-cart.added::after {
    content: ' ✓';
    font-weight: 700;
}

/* Hide "View cart" link that WC auto-injects after add-to-cart */
.wp-block-post-template > li.product .added_to_cart {
    display: none !important;
}
