/* =========================================================
   ECOHAAT â€” DESIGN TOKENS
   ========================================================= */
:root {
    /* Palette */
    --cream: #FAF6ED;
    --cream-deep: #F1E9D6;
    --paper: #FFFDF8;
    --navy: #17242C;
    --green: #1E4A3B;
    --green-deep: #143329;
    --green-soft: #E4EDE6;
    --gold: #B8874A;
    --gold-soft: #EADFC4;
    --terracotta-line: #C97D5D;
    /* used sparingly, only for rating stars/discount */
    --ink: #24211B;
    --ink-muted: #6E6659;
    --line: #E4DAC5;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px -14px rgba(23, 36, 44, .18);
    --shadow-card: 0 6px 18px -10px rgba(23, 36, 44, .22);

    /* Type */
    --font-display: 'Tiro Bangla', 'Hind Siliguri', serif;
    --font-body: 'Hind Siliguri', 'Inter', sans-serif;

    /* Layout */
    --max-width: 1400px;
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --header-h: 116px;
}

/* =========================================================
   RESET
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    margin: 0;
    color: var(--green-deep);
    font-weight: 400;
}

p {
    margin: 0;
}

input,
select,
textarea {
    font-family: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.icon {
    width: 22px;
    height: 22px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(.97);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--green-deep);
    box-shadow: var(--shadow-card);
}

.btn-outline {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
    background: var(--navy);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 8px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-links {
    display: flex;
    gap: 20px;
}

.topbar-link:hover,
.topbar-links a:hover {
    color: var(--gold-soft);
}

/* =========================================================
   MAIN HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line);
}

.main-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green-deep);
    flex-shrink: 0;
}

.logo-mark {
    width: 42px;
    height: 42px;
    color: var(--gold);
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 30px;
    letter-spacing: .3px;
}

.logo-text em {
    font-style: normal;
    color: var(--gold);
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 400px;
    display: flex;
}

.header-search input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--cream);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.header-search input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px var(--green-soft);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease;
}

.search-btn:hover {
    background: var(--green-deep);
}

.search-btn .icon {
    width: 18px;
    height: 18px;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    max-height: 360px;
    overflow-y: auto;
    z-index: 40;
    border: 1px solid var(--line);
}

.search-result-item {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    align-items: center;
    border-bottom: 1px solid var(--line);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--cream);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.search-result-item .sri-name {
    font-weight: 600;
    font-size: 14px;
}

.search-result-item .sri-cat {
    font-size: 12px;
    color: var(--ink-muted);
}

.search-empty {
    padding: 18px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
}

.icon-btn:hover {
    background: var(--cream-deep);
    color: var(--green);
}

.header-actions .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--white);
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
}

.mobile-search-toggle,
.hamburger {
    display: none;
}

.mobile-search-bar {
    display: none;
    padding: 0 16px 12px;
}

.mobile-search-bar input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--cream);
}

/* =========================================================
   MAIN NAV
   ========================================================= */
.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 32px;
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.main-nav a {
    display: inline-block;
    padding: 13px 2px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
    border-color: var(--gold);
}

.main-nav a.nav-offer {
    color: var(--terracotta-line);
    font-weight: 700;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 36, 44, .45);
    z-index: 55;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: var(--cream-deep);
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-track {
    display: flex;
    transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}

.hero-slide {
    min-width: 100%;
}

.hero-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    gap: 0;
    height: 560px;
}

.hero-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel--main {
    flex: 2;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
}

.hero-panel--sub {
    flex: 1.3;
    margin-left: -60px;
    clip-path: polygon(60px 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
    z-index: 2;
    border-radius: 0;
}

.hero-panel--sub2 {
    flex: 1.3;
    margin-left: -60px;
    clip-path: polygon(60px 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
    z-index: 3;
    border-radius: 0;
}

.hero-panel--story {
    flex: 1.5;
    margin-left: -60px;
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
    z-index: 4;
}


.hero-panel--story {
    background: var(--cream-deep);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 34px 40px 80px;
}

.hero-story-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-eyebrow {
    color: var(--gold);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .3px;
}

.hero-story-content h1 {
    font-size: 28px;
    line-height: 1.3;
    color: var(--navy);
    font-weight: 700;
}

.hero-story-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-feature-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.hero-feature-icon svg {
    width: 22px;
    height: 22px;
}

.hero-feature-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.hero-feature-text p {
    font-size: 13px;
    color: var(--ink-muted);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    z-index: 5;
    transition: background .2s ease;
}

.slider-arrow:hover {
    background: var(--white);
}

.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-arrow--prev {
    left: 44px;
}

.slider-arrow--next {
    right: 44px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-bottom: 22px;
}

.slider-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--line);
    padding: 0;
    transition: all .25s ease;
}

.slider-dots button.is-active {
    background: var(--green);
    width: 26px;
    border-radius: 5px;
}

.hero-strip {
    background: var(--green-deep);
    color: rgba(255, 255, 255, .9);
}

.hero-strip-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 13.5px;
    font-weight: 500;
    flex-wrap: wrap;
}

.hero-strip .dot {
    color: var(--gold);
}

/* =========================================================
   SECTIONS GENERAL
   ========================================================= */
.section {
    padding: 84px 0;
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 44px;
}

.section-head h2 {
    font-size: 34px;
    color: var(--green-deep);
}

.section-sub {
    color: var(--ink-muted);
    margin-top: 10px;
    font-size: 15.5px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 10px;
}

/* =========================================================
   CATEGORY GRID
   ========================================================= */
.category-section {
    background: var(--paper);
}

.category-slider-container {
    overflow: hidden;
    position: relative;
    margin: 0;
    padding: 20px 60px;
}

.category-slider-container .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    color: var(--ink);
}

.category-slider-container .slider-arrow:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
}

.category-grid {
    display: flex;
    gap: 22px;
    transition: transform 0.5s ease;
    flex-wrap: nowrap;
}

.category-card {
    text-align: center;
    cursor: pointer;
    flex: 0 0 calc(100% / 8 - 22px);
    min-width: 120px;
}

.category-card-img {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s ease;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.category-card:hover .category-card-img img {
    transform: scale(1.12);
}

.category-card:hover .category-card-img {
    box-shadow: var(--shadow-soft);
}

.category-card h3 {
    font-size: 15.5px;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
}

.category-card .cat-count {
    font-size: 12.5px;
    color: var(--ink-muted);
    margin-top: 2px;
    display: block;
}

/* =========================================================
   COLLECTIONS
   ========================================================= */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.collection-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-card);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.collection-card:hover img {
    transform: scale(1.08);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 51, 41, 0) 40%, rgba(20, 51, 41, .88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    color: var(--white);
}

.collection-overlay h3 {
    color: var(--white);
    font-size: 20px;
}

.collection-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-top: 4px;
}

/* =========================================================
   PRODUCT SECTION
   ========================================================= */
.product-section {
    background: var(--cream);
}

.product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: all .2s ease;
}

.chip:hover {
    border-color: var(--green);
}

.chip.is-active {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-muted);
}

.sort-select select {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--paper);
    color: var(--ink);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.product-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.product-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream-deep);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.07);
}

.product-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--terracotta-line);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

.wishlist-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: transform .15s ease, color .2s ease;
    z-index: 2;
}

.wishlist-toggle:hover {
    transform: scale(1.08);
}

.wishlist-toggle svg {
    width: 19px;
    height: 19px;
}

.wishlist-toggle.is-active {
    color: var(--terracotta-line);
}

.wishlist-toggle.is-active svg path {
    fill: var(--terracotta-line);
}

.quick-view-btn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -46px;
    margin: 0 12px;
    padding: 10px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: bottom .25s ease;
    z-index: 2;
}

.product-card:hover .quick-view-btn {
    bottom: 12px;
}

.product-info {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-cat {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    font-family: var(--font-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-muted);
}

.product-rating .stars {
    color: var(--gold);
    letter-spacing: 1px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-deep);
}

.price-old {
    font-size: 13.5px;
    color: var(--ink-muted);
    text-decoration: line-through;
}

.product-actions {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    gap: 8px;
}

.add-to-cart-btn,
.buy-now-btn,
.btn-buy-now {
    flex: 1;
    padding: 11px;
    border-radius: 999px;
    border: 1.5px solid var(--green);
    background: transparent;
    color: var(--green);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.buy-now-btn,
.btn-buy-now {
    background: var(--green);
    color: var(--white);
}

.buy-now-btn:hover,
.btn-buy-now:hover {
    background: var(--green-deep);
    color: var(--white);
}

.add-to-cart-btn:hover {
    background: var(--green);
    color: var(--white);
}

.add-to-cart-btn svg,
.buy-now-btn svg,
.btn-buy-now i {
    width: 17px;
    height: 17px;
}

.add-to-cart-btn.is-added {
    background: var(--green);
    color: var(--white);
}

.no-results {
    text-align: center;
    color: var(--ink-muted);
    padding: 50px 0;
    font-size: 16px;
}

.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

/* =========================================================
   STORY SECTION
   ========================================================= */
.story-section {
    background: var(--green-deep);
    color: var(--white);
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-media {
    position: relative;
}

.story-img--main {
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.story-img--small {
    position: absolute;
    bottom: -34px;
    right: -34px;
    width: 46%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 6px solid var(--green-deep);
    box-shadow: var(--shadow-soft);
}

.story-content h2 {
    color: var(--white);
    font-size: 32px;
    margin: 6px 0 18px;
    line-height: 1.35;
}

.story-content p {
    color: rgba(255, 255, 255, .78);
    font-size: 15.5px;
    margin-bottom: 26px;
    max-width: 46ch;
}

.story-content .btn-primary {
    background: var(--gold);
}

.story-content .btn-primary:hover {
    background: var(--gold-soft);
    color: var(--green-deep);
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-section {
    background: var(--cream);
    padding-top: 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-card {
    background: var(--paper);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease;
}

.why-card:hover {
    transform: translateY(-4px);
}

.why-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--green-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--ink);
}

.why-card p {
    font-size: 13.5px;
    color: var(--ink-muted);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-section {
    background: var(--paper);
}

.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform .5s ease;
}

.testimonial-card {
    min-width: 100%;
    text-align: center;
    padding: 10px 20px 30px;
}

.testimonial-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--ink);
    max-width: 54ch;
    margin: 0 auto 16px;
    font-style: italic;
}

.testimonial-name {
    font-weight: 700;
    color: var(--green-deep);
}

.testimonial-role {
    font-size: 13px;
    color: var(--ink-muted);
}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-section {
    background: var(--gold-soft);
}

.newsletter-inner {
    text-align: center;
    padding: 74px 32px;
    max-width: 640px;
}

.newsletter-inner h2 {
    font-size: 30px;
    color: var(--green-deep);
}

.newsletter-inner p {
    margin-top: 12px;
    color: var(--ink-muted);
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--white);
    font-size: 15px;
}

.form-msg {
    margin-top: 12px;
    font-size: 14px;
    min-height: 20px;
}

.form-msg.is-error {
    color: #a33;
}

.form-msg.is-success {
    color: var(--green-deep);
    font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 50px;
}

.footer-brand p {
    margin: 14px 0 18px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 34ch;
}

.logo--footer {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
}

.social-icons a svg {
    width: 17px;
    height: 17px;
}

.social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--gold-soft);
}

.footer-contact li {
    color: rgba(255, 255, 255, .72);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* =========================================================
   MOBILE BOTTOM NAV
   ========================================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px -12px rgba(0, 0, 0, .2);
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--ink-muted);
    position: relative;
}

.mobile-bottom-nav a svg {
    width: 22px;
    height: 22px;
}

.mobile-bottom-nav a.active {
    color: var(--green);
}

/* =========================================================
   CART / WISHLIST DRAWER
   ========================================================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 36, 44, .5);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 92vw;
    background: var(--paper);
    z-index: 75;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.65, 0, .35, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .2);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.drawer-header h3 {
    font-size: 20px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px;
}

.drawer-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid var(--line);
}

.cart-line {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin-bottom: 10px;
    color: var(--ink-muted);
}

.cart-line.cart-total {
    font-size: 17px;
    font-weight: 700;
    color: var(--green-deep);
    margin: 14px 0;
}

.drawer-footer .btn {
    margin-bottom: 10px;
}

.drawer-footer .btn:last-child {
    margin-bottom: 0;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-item img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-name {
    font-size: 14.5px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    color: var(--green-deep);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
}

.qty-control button {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--ink);
}

.qty-control span {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
}

.remove-item-btn {
    color: var(--ink-muted);
    font-size: 13px;
    text-decoration: underline;
    background: none;
    border: none;
}

.remove-item-btn:hover {
    color: #a33;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-muted);
}

.empty-state svg {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    color: var(--line);
}

.wishlist-drawer .cart-item-controls {
    justify-content: flex-start;
    gap: 14px;
}

/* =========================================================
   MODALS
   ========================================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 36, 44, .55);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--paper);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    padding: 34px;
    transform: scale(.94);
    transition: transform .25s ease;
}

.modal-overlay.is-open .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--cream-deep);
    z-index: 2;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.qv-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
}

.qv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 6px;
}

.qv-cat {
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
}

.qv-title {
    font-size: 26px;
}

.qv-desc {
    color: var(--ink-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.qv-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.qv-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.qv-actions .btn {
    flex: 1;
    min-width: 150px;
}

.checkout-modal h3 {
    font-size: 24px;
    margin-bottom: 22px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 34px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: var(--ink-muted);
    font-weight: 500;
}

.checkout-form input,
.checkout-form select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    font-size: 14.5px;
    color: var(--ink);
    background: var(--cream);
}

.checkout-form input:focus,
.checkout-form select:focus {
    border-color: var(--green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.payment-methods {
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-methods legend {
    font-size: 13.5px;
    color: var(--ink-muted);
    font-weight: 500;
    padding: 0 4px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink);
    flex-direction: row !important;
}

.order-summary {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 22px;
    height: fit-content;
}

.order-summary h4 {
    font-size: 16px;
    margin-bottom: 14px;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 220px;
    overflow-y: auto;
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    gap: 10px;
}

.checkout-item-row span:first-child {
    color: var(--ink-muted);
}

.order-success {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--green);
    margin: 0 auto 18px;
}

.order-success h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.order-note {
    color: var(--ink-muted);
    font-size: 13px;
    margin: 10px 0 22px;
}

.login-modal {
    max-width: 420px;
    padding: 36px;
}

.login-sub {
    color: var(--ink-muted);
    font-size: 13.5px;
    margin: 8px 0 22px;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#loginForm label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: var(--ink-muted);
}

#loginForm input {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--cream);
}

/* =========================================================
   TOAST
   ========================================================= */
.toast-container {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.toast {
    background: var(--navy);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: var(--shadow-soft);
    animation: toast-in .3s ease, toast-out .3s ease 2.4s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toast-out {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* =========================================================
   RESPONSIVE â€” TABLET
   ========================================================= */
@media (max-width: 1100px) {
    .category-card {
        flex: 0 0 calc(100% / 4 - 22px);
    }

    .collection-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        height: auto;
        gap: 18px;
    }

    .hero-panel {
        clip-path: none !important;
        margin-left: 0 !important;
        border-radius: var(--radius-lg) !important;
    }

    .hero-panel--story {
        padding: 40px 34px !important;
    }

    .hero-panel--sub2 {
        display: none;
    }

    .hero-panel--main {
        grid-row: span 2;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }

    .topbar-info {
        gap: 12px !important;
        font-size: 12px;
    }

    .topbar-inner {
        padding: 8px 16px;
    }
}

@media (max-width: 860px) {

    .topbar-links a:nth-child(3),
    .topbar-links a:nth-child(4) {
        display: none;
    }

    .topbar-info span:nth-child(3) {
        display: none;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-content h2 {
        font-size: 27px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .qv-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE â€” MOBILE
   ========================================================= */
@media (max-width: 720px) {
    .container {
        padding: 0 18px;
    }

    .topbar {
        display: none;
    }

    .main-header-inner {
        padding: 12px 16px;
        gap: 12px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 38px;
        height: 38px;
        border: none;
        background: none;
        padding: 0;
    }

    .hamburger span {
        width: 100%;
        height: 2px;
        background: var(--navy);
        border-radius: 2px;
        transition: transform .25s ease, opacity .25s ease;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .logo-text {
        font-size: 21px;
    }

    .header-search {
        display: none;
    }

    .mobile-search-toggle {
        display: flex;
    }

    .mobile-search-bar {
        display: block;
    }

    .header-actions .icon-btn:nth-child(2) {
        display: none;
    }

    /* wishlist/account icons hidden on mobile, in bottom nav */
    #accountBtn {
        display: none;
    }

    .account-dropdown-wrapper {
        display: none !important;
    }

    .main-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -84%;
        width: 84%;
        height: 100%;
        z-index: 1050;
        background-color: var(--paper, #fff);
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(0, 0, 0, .2);
        transition: left .3s ease;
    }

    .main-nav.is-open {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 0 16px 26px;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 13px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .hero-grid {
        padding: 18px 16px;
        gap: 12px;
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-panel--sub,
    .hero-panel--sub2 {
        display: none;
    }

    .hero-panel--main {
        aspect-ratio: 4/3;
        grid-row: auto;
    }

    .hero-panel--story {
        padding: 30px 24px !important;
        border-radius: var(--radius-md) !important;
    }

    .hero-story-content h1 {
        font-size: 25px;
    }

    .hero-story-content p {
        max-width: none;
    }

    .hero-feature-item {
        gap: 10px;
    }

    .hero-feature-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .hero-feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero-feature-text h4 {
        font-size: 13px;
    }

    .hero-feature-text p {
        font-size: 11.5px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .slider-arrow--prev {
        left: 20px;
    }

    .slider-arrow--next {
        right: 20px;
    }

    .hero-strip-inner {
        font-size: 12px;
        gap: 8px;
        padding: 10px 16px;
    }

    .section {
        padding: 54px 0;
    }

    .section-head h2 {
        font-size: 25px;
    }

    .category-grid {
        gap: 14px;
    }

    .category-card {
        flex: 0 0 calc(100% / 3 - 14px);
    }

    .category-card h3 {
        font-size: 12.5px;
    }

    .category-slider-container {
        padding: 14px 10px;
    }

    .category-slider-container .slider-arrow {
        display: none;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .why-card {
        padding: 22px 14px;
    }

    .story-img--small {
        width: 50%;
        right: -14px;
        bottom: -22px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .modal {
        padding: 22px;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 64px;
    }

    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    /* Product Details Page â€” Mobile */
    .main-image {
        height: 300px !important;
    }

    .thumb {
        width: 60px !important;
        height: 60px !important;
    }

    .description {
        padding: 18px !important;
    }

    /* Shop page mobile */
    .page-head h1 {
        font-size: 1.4rem !important;
    }

    .toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Custom Mobile Dropdown Styles */
    .custom-mobile-dropdown .dropdown-item:hover,
    .custom-mobile-dropdown .dropdown-item:focus {
        background-color: rgba(30, 74, 59, 0.1) !important;
        color: var(--green) !important;
    }
    .custom-mobile-dropdown .dropdown-item.active,
    .custom-mobile-dropdown .dropdown-item:active {
        background-color: var(--green) !important;
        color: white !important;
    }

    /* Checkout page mobile */
    .stepline {
        padding: 0 12px;
        gap: 0;
    }

    .step {
        font-size: 12px;
    }

    .step-text {
        display: none;
    }

    /* Toast on mobile â€” above bottom nav */
    .toast-container {
        bottom: 80px;
    }

    /* Quick view modal */
    .qv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qv-title {
        font-size: 20px;
    }

    .qv-actions {
        flex-direction: column;
    }

    .qv-actions .btn {
        min-width: auto;
    }

    /* Login modal */
    .login-modal {
        max-width: 100%;
        padding: 24px;
    }

    .testimonial-card {
        padding: 10px 12px 24px;
    }

    .testimonial-text {
        font-size: 15px;
    }

    .testimonial-slider {
        max-width: 100%;
    }
}

/* =========================================================
   RESPONSIVE â€” SMALL MOBILE
   ========================================================= */
@media (max-width: 420px) {
    .category-card {
        flex: 0 0 calc(100% / 2 - 14px);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px 10px 14px;
    }

    .product-name {
        font-size: 13.5px;
    }

    .price-current {
        font-size: 15px;
    }

    .price-old {
        font-size: 12px;
    }

    .product-actions {
        flex-direction: column;
        gap: 6px;
    }

    .add-to-cart-btn,
    .buy-now-btn,
    .btn-buy-now {
        padding: 9px;
        font-size: 12.5px;
    }

    .collection-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .collection-overlay h3 {
        font-size: 17px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .hero-story-content h1 {
        font-size: 20px;
    }

    .hero-panel--main {
        aspect-ratio: 16/10;
    }

    .section-head h2 {
        font-size: 21px;
    }

    .section {
        padding: 40px 0;
    }

    /* Product details on very small screens */
    .main-image {
        height: 240px !important;
    }

    .thumb {
        width: 50px !important;
        height: 50px !important;
    }

    .cart-item img {
        width: 56px;
        height: 56px;
    }

    .drawer-body {
        padding: 14px 16px;
    }

    .drawer-footer {
        padding: 14px 16px 18px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   FLASH SALE
   ========================================================= */
.flash-card {
    border: 2px solid var(--terracotta-line);
    position: relative;
}

.flash-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.15);
}

.flash-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Discount Badge (Added for Product Card) */
.prod-img-wrap {
    position: relative;
}
.badge-new-arrival {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--terracotta-line, #C97D5D);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 10;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(201, 125, 93, 0.4);
}
