:root {
    --brand-900: #18351a;
    --brand-800: #214c25;
    --brand-700: #2f6b34;
    --leaf-100: #eef6ea;
    --leaf-50: #f7faf3;
    --saffron-500: #dcae32;
    --saffron-100: #fff4d2;
    --brand-dark-green: var(--brand-900);
    --brand-green: var(--brand-700);
    --brand-yellow: var(--saffron-500);
    --brand-light-bg: var(--leaf-50);
    --rose-100: #faece7;
    --clay-500: #a65e3b;
    --ink: #1e2b1d;
    --muted: #657260;
    --line: rgba(24, 53, 26, 0.12);
    --line-strong: rgba(24, 53, 26, 0.2);
    --surface: #ffffff;
    --shadow-sm: 0 8px 22px rgba(24, 53, 26, 0.08);
    --shadow-md: 0 18px 45px rgba(24, 53, 26, 0.13);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 10% 0%, rgba(220, 174, 50, 0.10), transparent 28rem),
        linear-gradient(180deg, #fbfcf6 0%, #f4f7ee 48%, #fbfcf6 100%);
    color: var(--ink);
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

main {
    min-height: 62vh;
}

img {
    max-width: 100%;
}

a {
    color: var(--brand-700);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--brand-900);
}

h1,
h2,
h3,
.brand-text {
    font-family: "Cormorant Garamond", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-900);
}

::selection {
    background: var(--saffron-100);
    color: var(--brand-900);
}

.container {
    --bs-gutter-x: 1.25rem;
}

.app-header {
    background: rgba(24, 53, 26, 0.97);
    box-shadow: 0 16px 45px rgba(8, 26, 10, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-strip {
    background: rgba(0, 0, 0, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.top-strip .container {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: center;
    min-height: 32px;
}

.top-strip i {
    color: var(--saffron-500);
    margin-right: 6px;
}

.header-main {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: auto minmax(240px, 1fr) auto;
    padding: 14px 0 12px;
}

.brand-logo,
.footer-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
}

.brand-logo:hover,
.footer-brand:hover {
    color: #fff;
}

.brand-logo .saaj,
.footer-brand span span {
    color: var(--saffron-500);
}

.brand-mark {
    align-items: center;
    background: rgba(220, 174, 50, 0.13);
    border: 1px solid rgba(220, 174, 50, 0.38);
    border-radius: 50%;
    color: var(--saffron-500);
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.search-container {
    margin: 0;
    max-width: 560px;
    position: relative;
    width: 100%;
}

.search-container i {
    color: #759276;
    left: 16px;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.search-container .form-control {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    font-size: 0.92rem;
    min-height: 46px;
    padding-left: 44px;
}

.action-pills {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 0;
}

.action-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    position: relative;
    text-decoration: none;
}

.action-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-1px);
}

.action-pill .badge {
    background: var(--saffron-500) !important;
    border: 2px solid var(--brand-900);
    color: var(--brand-900) !important;
    font-size: 0.68rem;
    min-width: 22px;
    padding: 3px 6px;
    position: absolute;
    right: -8px;
    top: -9px;
}

.scrolling-nav-wrapper {
    align-items: center;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 12px;
    scrollbar-width: none;
    white-space: nowrap;
}

.scrolling-nav-wrapper::-webkit-scrollbar {
    display: none;
}

.nav-item-link,
.nav-empty {
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 14px;
}

.nav-item-link:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
}

.nav-item-link.active {
    background: var(--saffron-500);
    color: var(--brand-900);
}

.nav-empty {
    color: rgba(255, 255, 255, 0.55);
}

.hero-section {
    padding: 24px 0 10px;
}

.hero-outer-card {
    background:
        linear-gradient(90deg, rgba(24, 53, 26, 0.92), rgba(24, 53, 26, 0.80)),
        url("../../uploads/products/1776673315_69e5e2236134b.jpg") center right / cover;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.hero-outer-card::after {
    background: rgba(220, 174, 50, 0.18);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 38%;
}

.hero-inner-card {
    background: transparent;
    min-height: clamp(320px, 38vw, 470px);
    padding: clamp(34px, 7vw, 74px);
    position: relative;
    z-index: 1;
}

.hero-inner-card h2 {
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 5.25rem);
    font-weight: 700;
    line-height: 0.92;
    margin: 0 0 18px;
    max-width: 740px;
}

.hero-inner-card h2 span {
    color: var(--saffron-500) !important;
}

.hero-inner-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.98rem, 1.8vw, 1.1rem);
    margin-bottom: 28px;
    max-width: 610px;
}

.eyebrow {
    align-items: center;
    color: var(--clay-500);
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-inner-card .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--saffron-100);
    padding: 7px 12px;
}

.btn,
.btn-shop-yellow,
.btn-add-cart,
.btn-buy-now {
    border-radius: var(--radius) !important;
    font-weight: 700;
    letter-spacing: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-shop-yellow {
    align-items: center;
    background: var(--saffron-500);
    border: 1px solid var(--saffron-500);
    color: var(--brand-900);
    display: inline-flex;
    gap: 9px;
    min-height: 46px;
    padding: 11px 22px;
    text-decoration: none;
}

.btn-shop-yellow:hover,
.btn-add-cart:hover {
    background: #c99924 !important;
    border-color: #c99924 !important;
    color: var(--brand-900) !important;
    box-shadow: 0 10px 20px rgba(201, 153, 36, 0.22);
    transform: translateY(-1px);
}

.btn-primary,
.btn-success {
    background-color: var(--brand-800) !important;
    border-color: var(--brand-800) !important;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: var(--brand-900) !important;
    border-color: var(--brand-900) !important;
    box-shadow: 0 10px 20px rgba(24, 53, 26, 0.16);
    transform: translateY(-1px);
}

.btn-outline-primary,
.btn-outline-success {
    border-color: var(--brand-700) !important;
    color: var(--brand-800) !important;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
    background: var(--brand-800) !important;
    color: #fff !important;
}

.custom-section-title {
    align-items: center;
    display: flex;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    gap: 10px;
    line-height: 1;
    margin-bottom: 8px;
}

.custom-section-title i {
    color: var(--brand-700);
    font-size: 0.62em;
}

.title-underline {
    background: var(--saffron-500);
    border-radius: 999px;
    height: 4px;
    margin-bottom: 26px;
    width: 76px;
}

.category-hero {
    padding: 18px 0 6px;
}

.category-hero-panel {
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(220, 174, 50, 0.22), transparent 16rem),
        linear-gradient(135deg, var(--brand-900), var(--brand-700));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(24, 53, 26, 0.14);
    color: rgba(255, 255, 255, 0.82);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 250px;
    overflow: hidden;
    padding: clamp(24px, 5vw, 42px);
    position: relative;
}

.category-hero-panel h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 0.98;
    margin-bottom: 12px;
    max-width: 680px;
}

.category-hero-panel p:not(.eyebrow) {
    max-width: 620px;
}

.category-breadcrumb {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 8px;
    margin-bottom: 14px;
}

.category-breadcrumb a {
    color: var(--saffron-100);
    font-weight: 700;
}

.category-breadcrumb span {
    color: rgba(255, 255, 255, 0.68);
}

.category-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.category-hero-actions .btn-outline-success {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

.category-hero-actions .btn-outline-success:hover {
    background: #fff !important;
    color: var(--brand-900) !important;
}

.category-stat {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 128px;
    min-width: 142px;
    padding: 18px;
    text-align: center;
}

.category-stat strong {
    color: var(--saffron-500);
    font-family: "Cormorant Garamond", serif;
    font-size: 3.1rem;
    line-height: 0.9;
}

.category-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    font-weight: 700;
}

.category-toolbar {
    align-items: flex-end;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.category-chip {
    align-items: center;
    background: var(--leaf-100);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--brand-800);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 800;
    gap: 8px;
    padding: 8px 13px;
}

.product-meta {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: -2px;
}

.product-stock-badge {
    border-radius: 999px;
    bottom: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
    font-size: 0.72rem;
    font-weight: 800;
    left: 10px;
    padding: 5px 9px;
    position: absolute;
}

.product-stock-badge.available {
    background: rgba(238, 246, 234, 0.95);
    color: var(--brand-700);
}

.product-stock-badge.sold-out {
    background: rgba(248, 215, 218, 0.96);
    color: #842029;
}

.btn-add-cart:disabled,
.btn-buy-now:disabled {
    cursor: not-allowed;
    filter: grayscale(0.3);
    opacity: 0.58;
    transform: none !important;
}

.product-card.compact,
.product-card {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.product-card.compact:hover,
.product-card:hover {
    border-color: rgba(47, 107, 52, 0.28) !important;
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-4px) !important;
}

.product-img {
    aspect-ratio: 1 / 1 !important;
    background: linear-gradient(135deg, var(--leaf-100), var(--rose-100)) !important;
    overflow: hidden !important;
    position: relative !important;
}

.product-card.compact .product-img img,
.product-img img {
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
    width: 100% !important;
}

.product-card:hover .product-img img {
    transform: scale(1.045);
}

.product-quick-view {
    align-items: center !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
    color: var(--brand-900) !important;
    display: inline-flex !important;
    height: 38px !important;
    justify-content: center !important;
    position: absolute !important;
    right: 11px !important;
    text-decoration: none !important;
    top: 11px !important;
    width: 38px !important;
}

.product-quick-view:hover {
    background: var(--saffron-500) !important;
    color: var(--brand-900) !important;
    transform: translateY(-1px);
}

.product-info,
.product-card.compact .product-info {
    display: flex !important;
    flex: 1 !important;
    flex-direction: column !important;
    padding: 15px !important;
    text-align: left !important;
}

.product-info h3 {
    margin: 0 0 7px !important;
}

.product-info h3 a,
.product-card.compact .product-info h3 a {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--brand-900) !important;
    display: -webkit-box;
    font-family: "Poppins", sans-serif !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    min-height: 2.6em;
    overflow: hidden;
    text-decoration: none !important;
}

.price,
.product-card.compact .price {
    color: var(--brand-700) !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    margin: 4px 0 13px !important;
}

.product-actions {
    display: grid !important;
    gap: 9px !important;
    grid-template-columns: 1fr;
    margin-top: auto !important;
}

.btn-add-cart,
.product-card.compact .btn-add-cart,
.btn-buy-now {
    align-items: center !important;
    display: inline-flex !important;
    font-size: 0.84rem !important;
    gap: 7px !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 8px 10px !important;
    width: 100%;
}

.btn-add-cart,
.product-card.compact .btn-add-cart {
    background: var(--saffron-500) !important;
    border: 1px solid var(--saffron-500) !important;
    color: var(--brand-900) !important;
}

.btn-buy-now {
    background: #fff !important;
    border: 1px solid var(--line-strong) !important;
    color: var(--brand-900) !important;
}

.btn-buy-now:hover {
    background: var(--leaf-100) !important;
    border-color: var(--brand-700) !important;
    color: var(--brand-900) !important;
    transform: translateY(-1px);
}

.cart-shell,
.checkout-shell,
.account-shell,
.contact-shell,
.policy-shell {
    margin: 0 auto;
    max-width: 1180px;
}

.checkout-panel,
.summary-panel,
.cart-table-wrap,
.empty-state,
.address-form,
.card,
.contact-card,
.account-nav,
.success-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
}

.checkout-panel,
.summary-panel,
.empty-state,
.address-form,
.contact-card,
.success-panel {
    padding: clamp(18px, 3vw, 26px);
}

.summary-panel.sticky-lg-top {
    top: 138px;
}

.step-title {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.step-title span {
    align-items: center;
    background: var(--brand-900);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.step-title h4,
.summary-panel h4 {
    font-family: "Poppins", sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0;
}

.address-list,
.payment-method {
    display: grid;
    gap: 11px;
}

.address-card,
.payment-option {
    background: #fbfdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.address-card:hover,
.payment-option:hover {
    background: #fff;
    border-color: rgba(47, 107, 52, 0.28);
    box-shadow: 0 10px 22px rgba(24, 53, 26, 0.07);
}

.address-card input,
.payment-option input {
    accent-color: var(--brand-700);
    margin-top: 5px;
}

.address-card small,
.payment-option small {
    color: var(--muted);
    display: block;
    line-height: 1.5;
}

.delivery-note {
    align-items: flex-start;
    background: var(--leaf-100);
    border: 1px solid rgba(47, 107, 52, 0.12);
    border-radius: var(--radius);
    color: var(--brand-900);
    display: flex;
    gap: 12px;
    padding: 14px;
}

.delivery-note i {
    color: var(--brand-700);
    margin-top: 4px;
}

.delivery-note small {
    color: #5f715d;
    display: block;
}

.summary-line,
.summary-total {
    align-items: center;
    border-bottom: 1px solid rgba(24, 53, 26, 0.08);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 11px 0;
}

.summary-total {
    border-bottom: 0;
    border-top: 2px solid rgba(24, 53, 26, 0.14);
    color: var(--brand-900);
    font-size: 1.1rem;
    margin-top: 8px;
}

.cart-table-wrap {
    overflow: hidden;
}

.cart-mobile-list {
    display: none;
}

.table {
    color: var(--ink);
}

.table thead th {
    background: var(--leaf-100);
    border-bottom: 1px solid var(--line);
    color: var(--brand-900);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(24, 53, 26, 0.08);
    padding: 14px;
}

.cart-product {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 220px;
}

.cart-product img {
    background: var(--leaf-100);
    border-radius: var(--radius);
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.qty-input {
    max-width: 90px;
}

.cart-mobile-card {
    background: #fff;
    border-bottom: 1px solid rgba(24, 53, 26, 0.08);
    padding: 14px;
}

.cart-mobile-card:last-child {
    border-bottom: 0;
}

.cart-mobile-main {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 74px 1fr;
}

.cart-mobile-main img {
    aspect-ratio: 1 / 1;
    background: var(--leaf-100);
    border-radius: var(--radius);
    object-fit: cover;
    width: 74px;
}

.cart-mobile-main h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: "Poppins", sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 4px;
    overflow: hidden;
}

.cart-mobile-price {
    color: var(--brand-700);
    font-weight: 800;
}

.cart-mobile-controls {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: 88px 1fr 40px;
    margin-top: 13px;
}

.cart-mobile-controls label {
    margin: 0;
}

.cart-mobile-controls label span,
.cart-mobile-subtotal span {
    color: var(--muted);
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.cart-mobile-controls .qty-input {
    max-width: none;
    min-height: 40px;
    text-align: center;
}

.cart-mobile-subtotal {
    text-align: right;
}

.cart-mobile-subtotal strong {
    color: var(--brand-900);
    display: block;
    font-size: 1rem;
}

.icon-button {
    align-items: center;
    background: #f8d7da;
    border: 0;
    border-radius: 50%;
    color: #842029;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.icon-button:hover {
    background: #efb8bf;
}

.empty-state i {
    color: var(--saffron-500);
    font-size: 3.2rem;
}

.product-detail-shell {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: clamp(16px, 3vw, 28px);
}

.product-detail-image {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--leaf-100), var(--rose-100));
    border-radius: var(--radius) !important;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    background: rgba(24, 53, 26, 0.5);
    border-radius: 50%;
    height: 44px;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}

.carousel-control-prev {
    left: 14px;
}

.carousel-control-next {
    right: 14px;
}

.product-detail-info {
    padding: 8px 4px;
}

.product-detail-info h1 {
    color: var(--brand-900);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 0.98;
    margin-bottom: 14px;
}

.product-description {
    color: var(--muted);
    font-size: 0.98rem;
}

.stock {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 12px;
}

.stock.in-stock {
    background: var(--leaf-100);
    color: var(--brand-700);
}

.stock.out-stock {
    background: #f8d7da;
    color: #842029;
}

.product-image-placeholder {
    align-items: center;
    aspect-ratio: 1 / 1;
    background: var(--leaf-100);
    border-radius: var(--radius);
    color: var(--muted);
    display: flex;
    justify-content: center;
}

.form-control,
.form-select {
    border-color: rgba(24, 53, 26, 0.18);
    border-radius: var(--radius);
    min-height: 46px;
}

textarea.form-control {
    min-height: 118px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 0.2rem rgba(47, 107, 52, 0.12);
}

label {
    color: var(--brand-900);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.card {
    overflow: hidden;
}

.card-header {
    background: var(--brand-800) !important;
    border-bottom: 0 !important;
    color: #fff !important;
    padding: 16px 20px;
}

.card-header h4 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.card-body {
    padding: clamp(18px, 3vw, 24px);
}

.list-group {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.list-group-item {
    border-color: rgba(24, 53, 26, 0.08);
    color: var(--ink);
    font-weight: 700;
    padding: 14px 16px;
}

.list-group-item i {
    color: var(--brand-700);
    margin-right: 8px;
    width: 18px;
}

.list-group-item.active {
    background-color: var(--brand-900);
    border-color: var(--brand-900);
}

.list-group-item.active i {
    color: var(--saffron-500);
}

.badge.bg-success,
.text-bg-success {
    background-color: var(--brand-700) !important;
}

.badge.bg-warning {
    background-color: var(--saffron-500) !important;
}

.alert {
    border-radius: var(--radius);
}

.address-item {
    background: #fbfdf8;
    border-color: var(--line) !important;
    border-radius: var(--radius) !important;
}

.contact-card .info-tile {
    background: #fbfdf8;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 100%;
    padding: 18px;
    text-align: center;
}

.contact-card .info-tile i {
    color: var(--brand-700);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-map {
    border: 0;
    border-radius: var(--radius);
    min-height: 230px;
    width: 100%;
}

.success-panel {
    margin: 0 auto;
    max-width: 760px;
    text-align: center;
}

.success-panel .status-icon {
    font-size: 4.6rem;
}

.custom-toast {
    align-items: center;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2s forwards;
    background: var(--brand-900);
    border-radius: var(--radius);
    bottom: 20px;
    box-shadow: var(--shadow-md);
    color: #fff;
    display: flex;
    font-family: "Poppins", sans-serif;
    gap: 10px;
    min-width: 250px;
    padding: 12px 18px;
    position: fixed;
    right: 20px;
    z-index: 9999;
}

.custom-toast.error {
    background: #b4232f;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.site-footer {
    background: var(--brand-900);
    color: rgba(255, 255, 255, 0.78);
    margin-top: 56px;
    padding: 44px 0 24px;
}

.footer-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
}

.site-footer p {
    margin: 14px 0 0;
    max-width: 330px;
}

.site-footer h5 {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
    color: var(--saffron-500);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.social-links a:hover {
    background: var(--saffron-500);
    color: var(--brand-900);
}

.footer-note {
    font-size: 0.86rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 34px;
    padding-top: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .product-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .header-main {
        grid-template-columns: 1fr auto;
    }

    .search-container {
        grid-column: 1 / -1;
        max-width: none;
        order: 3;
    }

    .summary-panel.sticky-lg-top {
        top: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .top-strip .container {
        justify-content: flex-start;
        overflow: hidden;
        white-space: nowrap;
    }

    .top-strip span + span {
        display: none;
    }

    .header-main {
        gap: 12px;
        padding: 12px 0 10px;
    }

    .brand-logo {
        font-size: 1.32rem;
    }

    .brand-mark {
        height: 34px;
        width: 34px;
    }

    .action-pill {
        min-height: 38px;
        padding: 0 11px;
    }

    .action-pill span:not(.badge) {
        display: none;
    }

    .scrolling-nav-wrapper {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-section {
        padding-top: 16px;
    }

    .hero-outer-card::after {
        display: none;
    }

    .hero-inner-card {
        min-height: 360px;
        padding: 30px 20px;
    }

    .hero-inner-card h2 {
        font-size: 2.55rem;
    }

    .custom-section-title {
        font-size: 1.75rem;
    }

    .product-info,
    .product-card.compact .product-info {
        padding: 12px !important;
    }

    .product-info h3 a,
    .product-card.compact .product-info h3 a {
        font-size: 0.9rem !important;
    }

    .btn-add-cart,
    .product-card.compact .btn-add-cart,
    .btn-buy-now {
        font-size: 0.78rem !important;
        min-height: 39px !important;
    }

    .table > :not(caption) > * > * {
        padding: 11px;
    }

    .cart-shell > .d-flex {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .cart-shell > .d-flex .btn {
        width: 100%;
    }

    .cart-desktop-table {
        display: none;
    }

    .cart-mobile-list {
        display: block;
    }

    .cart-layout {
        --bs-gutter-y: 1rem;
    }

    .cart-table-wrap,
    .summary-panel {
        border-radius: var(--radius) !important;
    }

    .summary-panel {
        padding: 16px;
    }

    .summary-panel .btn {
        min-height: 44px;
    }

    .cart-product {
        min-width: 178px;
    }

    .cart-product img {
        height: 54px;
        width: 54px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-top: 40px;
        padding-top: 34px;
    }
}

/* Storefront rescue pass: compact, product-first customer experience. */
.top-strip .container {
    justify-content: space-between;
    min-height: 28px;
}

.app-header {
    background: var(--brand-900);
}

.header-main {
    grid-template-columns: minmax(190px, auto) minmax(260px, 1fr) auto;
    padding: 10px 0;
}

.brand-logo {
    font-size: 1.45rem;
}

.brand-mark {
    height: 34px;
    width: 34px;
}

.search-container .form-control {
    min-height: 40px;
}

.action-pill {
    min-height: 38px;
    padding: 0 13px;
}

.scrolling-nav-wrapper {
    padding-bottom: 9px;
}

.nav-item-link,
.nav-empty {
    font-size: 0.8rem;
    padding: 6px 12px;
}

.hero-section {
    padding: 18px 0 4px;
}

.hero-outer-card {
    background:
        radial-gradient(circle at 88% 20%, rgba(220, 174, 50, 0.22), transparent 18rem),
        linear-gradient(135deg, #1d421f 0%, #28592c 58%, #f8f3df 58%, #fffaf0 100%);
    border: 1px solid rgba(24, 53, 26, 0.10);
    box-shadow: 0 12px 32px rgba(24, 53, 26, 0.12);
}

.hero-outer-card::after {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 244, 210, 0.82)),
        url("../../uploads/products/1779474240_8782e756cdc1.jpeg") center / cover;
    border: 1px solid rgba(24, 53, 26, 0.10);
    border-radius: var(--radius);
    bottom: 24px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    content: "";
    height: auto;
    max-width: 310px;
    position: absolute;
    right: 28px;
    top: 24px;
    width: 28%;
}

.hero-inner-card {
    min-height: 290px;
    padding: 38px 34px;
    width: min(100%, 720px);
}

.hero-inner-card h2 {
    font-size: clamp(2.15rem, 4.8vw, 4rem);
    max-width: 620px;
}

.hero-inner-card p {
    max-width: 540px;
}

.hero-inner-card .eyebrow {
    padding: 6px 11px;
}

.custom-section-title {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.product-card.compact,
.product-card,
.checkout-panel,
.summary-panel,
.cart-table-wrap,
.empty-state,
.address-form,
.card,
.contact-card,
.success-panel {
    box-shadow: 0 8px 24px rgba(24, 53, 26, 0.07) !important;
}

.product-img {
    aspect-ratio: 0.92 / 1 !important;
}

.product-info,
.product-card.compact .product-info {
    padding: 13px !important;
}

.btn-add-cart,
.product-card.compact .btn-add-cart,
.btn-buy-now {
    min-height: 39px !important;
}

@media (max-width: 991.98px) {
    .header-main {
        grid-template-columns: 1fr auto;
    }

    .hero-outer-card {
        background: linear-gradient(135deg, #1d421f 0%, #28592c 100%);
    }

    .hero-outer-card::after {
        opacity: 0.2;
        right: 18px;
        width: 36%;
    }

    .hero-inner-card {
        min-height: 270px;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .top-strip {
        display: none;
    }

    .header-main {
        padding: 10px 0 8px;
    }

    .brand-logo {
        font-size: 1.25rem;
    }

    .search-container .form-control {
        min-height: 39px;
    }

    .hero-section {
        padding-top: 12px;
    }

    .hero-outer-card::after {
        display: none;
    }

    .hero-inner-card {
        min-height: 245px;
        padding: 24px 18px;
    }

    .hero-inner-card h2 {
        font-size: 2.15rem;
        line-height: 0.98;
    }

    .hero-inner-card p {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    .hero-inner-card .small {
        display: none;
    }

    .btn-shop-yellow {
        min-height: 42px;
        padding: 9px 18px;
    }

    .product-img {
        aspect-ratio: 1 / 1 !important;
    }
}

@media (max-width: 991.98px) {
    .category-hero-panel {
        grid-template-columns: 1fr;
    }

    .category-stat {
        align-items: center;
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
        min-height: auto;
        min-width: 0;
        width: fit-content;
    }

    .category-stat strong {
        font-size: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .category-hero {
        padding-top: 12px;
    }

    .category-hero-panel {
        min-height: 0;
        padding: 22px 18px;
    }

    .category-hero-panel h1 {
        font-size: 2.25rem;
    }

    .category-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .category-hero-actions .btn,
    .category-hero-actions .btn-shop-yellow {
        justify-content: center;
        width: 100%;
    }

    .category-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-chip {
        font-size: 0.8rem;
    }
}
