/* 
   Zaprix Creativity - Master Stylesheet (Emerald & Gold Theme)
   Design System:
   - Primary: Deep Emerald (#0E6B4E), Darker Emerald (#0A4F3A), Emerald Ink (#0D2B21)
   - Secondary: Gold (#C6A15B), Soft Gold (#DEC48D), Light Gold (#FAF4E8)
   - Backgrounds: Pure White (#FFFFFF), Sage Tint (#F0F7F3), Sage Tint 2 (#E3F0E8)
   - Typography: Cormorant Garamond, Cormorant SC, Jost
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cormorant+SC:wght@500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --emerald-deep: #0E6B4E;
    --emerald-darker: #0A4F3A;
    --emerald-ink: #0D2B21;
    --primary: #0E6B4E;
    --primary-hover: #0A4F3A;
    --sage-tint: #F0F7F3;
    --sage-tint-2: #E3F0E8;
    --sage-border: #D2E4D9;
    --white: #FFFFFF;
    --card-bg: #FFFFFF;
    --ink: #16241D;
    --text-color: #16241D;
    --ink-soft: #4B5D54;
    --text-muted: #7A8F84;
    --gold: #C6A15B;
    --gold-soft: #DEC48D;
    --gold-light: #FAF4E8;
    --line: #D8E6DD;
    --border-color: #D8E6DD;
    --success: #2E7D32;
    --error: #D9381E;
    --shadow: 0 20px 50px -25px rgba(14,107,78,0.35);
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(14,43,33,0.12);
    --border-radius: 6px;
    --border-radius-lg: 12px;
    --max-width: 1280px;
    --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Resets */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, .font-serif, .display {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--emerald-ink);
}

.eyebrow {
    font-family: 'Cormorant SC', serif;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--emerald-deep);
    font-weight: 600;
    display: inline-block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, select, textarea, button {
    font-family: 'Jost', sans-serif;
    outline: none;
}

button {
    cursor: pointer;
}

/* Layout container */
.container {
    width: 100%;
    max-width: var(--max-width);
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
    box-sizing: border-box;
}

.text-center { text-align: center; }

.section {
    padding: 65px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 38px;
}

.section-head .eyebrow {
    margin-bottom: 8px;
}

.section-head h2, .section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    color: var(--emerald-ink);
}

.section-head p, .section-subtitle {
    color: var(--text-muted);
    font-size: 14.5px;
    margin: 6px 0 0;
}

/* Buttons */
.btn, .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: var(--emerald-deep);
    color: var(--white);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn:hover, .btn-primary:hover {
    background: var(--emerald-darker);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: transparent;
    color: var(--emerald-deep);
    border: 1px solid var(--emerald-deep);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--sage-tint);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--emerald-ink);
    border: 1px solid var(--gold);
    font-weight: 600;
}

.btn-gold:hover {
    background: var(--gold-soft);
    color: var(--emerald-ink);
}

/* Top Announcement Bar */
.promo-bar, .announce {
    background: var(--emerald-ink);
    color: var(--sage-tint);
    text-align: center;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    font-weight: 400;
    width: 100%;
    overflow: hidden;
}

.promo-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.promo-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.promo-sep {
    opacity: 0.45;
}

.promo-bar b, .announce b {
    color: var(--gold-soft);
    font-weight: 600;
}

/* HEADER & NAVBAR */
header.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
    width: 100%;
}

header.sticky-active {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-logo-wrap {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo-img {
    height: 46px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.header-logo-wrap:hover .header-logo-img {
    transform: scale(1.02);
}

.drawer-logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--emerald-ink);
    letter-spacing: 0.02em;
}

.logo-link i {
    color: var(--gold);
    font-size: 22px;
}

.logo-link span {
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
}

nav.desktop-nav {
    display: flex;
    align-items: center;
}

nav.desktop-nav > ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav.desktop-nav > ul > li {
    position: relative;
}

nav.desktop-nav > ul > li > a {
    font-size: 14.5px;
    letter-spacing: 0.02em;
    color: var(--ink);
    position: relative;
    padding: 12px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav.desktop-nav > ul > li > a i.nav-arrow {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform .2s ease;
}

nav.desktop-nav > ul > li:hover > a {
    color: var(--emerald-deep);
}

nav.desktop-nav > ul > li:hover > a i.nav-arrow {
    transform: rotate(180deg);
    color: var(--emerald-deep);
}

nav.desktop-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .25s ease;
}

nav.desktop-nav > ul > li:hover > a::after {
    width: 100%;
}

/* MEGA MENU */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 980px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 200;
}

nav.desktop-nav > ul > li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.mega-header-title {
    font-size: 13px;
    font-family: 'Cormorant SC', serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-deep);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-header-link {
    font-size: 12.5px;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mega-header-link:hover {
    color: var(--emerald-darker);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 200px;
    gap: 18px;
}

.subcat-col {
    padding: 0 6px;
    border-right: 1px solid #EEF5F1;
}

.subcat-col:nth-last-child(2) {
    border-right: none;
}

.subcat-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--emerald-ink);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1.5px solid var(--gold-soft);
}

.subcat-col-title i {
    font-size: 13px;
    color: var(--emerald-deep);
}

.subcat-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subcat-col ul li a {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all .18s ease;
}

.subcat-col ul li a:hover {
    color: var(--emerald-deep);
    background: var(--sage-tint);
    transform: translateX(3px);
}

.subcat-badge {
    font-size: 9.5px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-hot { background: #FDECE8; color: #D9381E; }
.badge-new { background: var(--gold-light); color: #967117; }
.badge-pop { background: var(--sage-tint-2); color: var(--emerald-deep); }

.mega-promo {
    background: linear-gradient(145deg, var(--emerald-ink), var(--emerald-darker));
    border-radius: 6px;
    padding: 18px 14px;
    color: var(--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mega-promo span.promo-tag {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-soft);
    font-weight: 600;
}

.mega-promo h4 {
    color: var(--white);
    font-size: 16px;
    margin: 8px 0 6px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.mega-promo p {
    font-size: 11.5px;
    color: #CFE3D8;
    line-height: 1.4;
    margin: 0 0 12px;
}

.mega-promo .btn-promo {
    display: inline-block;
    padding: 7px 12px;
    font-size: 11.5px;
    background: var(--gold);
    color: var(--emerald-ink);
    border-radius: 3px;
    font-weight: 600;
}

.mega-promo .btn-promo:hover {
    background: var(--gold-soft);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    position: relative;
    background: var(--sage-tint);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 4px 12px;
    transition: var(--transition);
}

.header-search input {
    border: none;
    background: transparent;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: var(--ink);
    width: 140px;
    outline: none;
    transition: width .25s ease;
}

.header-search input:focus {
    width: 180px;
}

.header-search button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-search button:hover {
    color: var(--emerald-deep);
}

.action-btn {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 17px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    cursor: pointer;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--sage-tint);
    color: var(--emerald-deep);
}

.mobile-search-toggle {
    display: none;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--emerald-deep);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-cart:hover {
    background: var(--emerald-darker);
    color: var(--white);
    transform: translateY(-1px);
}

.cart-count {
    background: var(--gold);
    color: var(--emerald-ink);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--emerald-ink);
    width: 38px;
    height: 38px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--sage-tint);
}

/* Mobile Slide-Down Search Bar */
.mobile-search-bar {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    width: 100%;
    box-shadow: var(--shadow-sm);
    animation: slideDown .2s ease;
}

.mobile-search-bar.active {
    display: block;
}

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

.mobile-search-form {
    display: flex;
    align-items: center;
    background: var(--sage-tint);
    border: 1.5px solid var(--sage-border);
    border-radius: 25px;
    padding: 4px 14px;
    gap: 10px;
}

.mobile-search-form .mobile-search-icon {
    color: var(--emerald-deep);
    font-size: 14px;
}

.mobile-search-form input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
    color: var(--ink);
    padding: 6px 0;
    outline: none;
}

.mobile-search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* MOBILE NAV DRAWER */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 43, 33, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--white);
    z-index: 1051;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--ink-soft);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.drawer-close:hover {
    background: var(--sage-tint);
    color: var(--error);
}

.drawer-search-wrap {
    padding: 12px 18px;
    border-bottom: 1px solid #F0F4F2;
}

.drawer-search-form {
    display: flex;
    align-items: center;
    background: var(--sage-tint);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 6px 12px;
}

.drawer-search-form input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 13.5px;
    color: var(--ink);
    outline: none;
}

.drawer-search-form button {
    background: none;
    border: none;
    color: var(--emerald-deep);
    font-size: 13px;
    cursor: pointer;
}

.drawer-nav {
    padding: 10px 18px;
    flex: 1;
}

.drawer-nav > ul > li {
    border-bottom: 1px solid #F2F6F4;
}

.drawer-nav > ul > li > a, .drawer-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

.drawer-nav > ul > li > a i {
    color: var(--emerald-deep);
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.drawer-accordion-btn {
    justify-content: space-between;
    font-weight: 600;
    color: var(--emerald-deep);
}

.drawer-accordion-btn > span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-accordion-btn > span i {
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.drawer-accordion-content {
    display: none;
    padding: 0 0 10px 14px;
}

.drawer-accordion-content.open {
    display: block;
}

.subcat-drawer-group {
    margin-bottom: 8px;
}

.subcat-drawer-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--emerald-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    cursor: pointer;
}

.subcat-drawer-title .subsub-arrow {
    font-size: 11px;
    color: var(--text-muted);
    transition: transform .2s ease;
}

.subcat-drawer-title.open .subsub-arrow {
    transform: rotate(90deg);
    color: var(--emerald-deep);
}

.subsubcat-drawer-list {
    display: none;
    padding-left: 12px;
    border-left: 2px solid var(--sage-tint-2);
    margin: 4px 0 8px;
}

.subsubcat-drawer-list.open {
    display: block;
}

.subsubcat-drawer-list a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-soft);
}

.subsubcat-drawer-list a.all-link {
    color: var(--emerald-deep);
    font-weight: 600;
}

.drawer-footer {
    padding: 16px 18px 24px;
    border-top: 1px solid var(--line);
    background: var(--sage-tint);
}

.drawer-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 12px;
    text-decoration: none;
}

.drawer-wa-btn:hover {
    background: #1EBE5B;
    color: #FFFFFF;
}

.drawer-contact-note {
    font-size: 12px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.4;
}

/* HERO SECTION */
.hero {
    padding: 50px 0 70px;
}

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

.hero-content .eyebrow {
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-content h1 em, .hero-content h1 span {
    font-style: italic;
    color: var(--emerald-deep);
    font-weight: 400;
    display: inline;
}

.hero-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 480px;
    margin: 20px 0 28px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* Live Name Engraving Widget */
.engrave-widget {
    border: 1px solid var(--line);
    background: var(--sage-tint);
    padding: 18px 20px;
    border-radius: var(--border-radius);
    max-width: 480px;
    box-shadow: var(--shadow-sm);
}

.engrave-widget label {
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.engrave-widget input {
    width: 100%;
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    transition: border-color .2s ease;
}

.engrave-widget input:focus {
    border-color: var(--emerald-deep);
}

.engrave-preview {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 10px 6px;
    background: var(--white);
    border-radius: 4px;
    border: 1px dashed var(--line);
}

.engrave-preview text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.engrave-hint {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

.hero-image-wrapper {
    position: relative;
}

.hero-frame {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 1/1.04;
    background: linear-gradient(160deg, var(--sage-tint-2), var(--white));
}

.hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 18px;
    border-radius: 6px;
    box-shadow: 0 12px 30px -12px rgba(14, 43, 33, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.hero-badge span {
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
}

/* SUB-CATEGORIES SHOWCASE STRIP */
.cat-strip {
    background: var(--sage-tint);
}

.subcat-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.subcat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--line);
    padding: 22px 16px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.subcat-card:hover, .subcat-card.active {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-deep);
}

.subcat-card.active {
    border-color: var(--gold);
    background: var(--gold-light);
}

.subcat-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--sage-tint);
    border: 1.5px solid var(--sage-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--emerald-deep);
    font-size: 24px;
    transition: var(--transition);
}

.subcat-card:hover .subcat-icon-wrap {
    background: var(--emerald-deep);
    color: var(--white);
    border-color: var(--emerald-deep);
}

.subcat-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--emerald-ink);
}

.subcat-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.subcat-sub-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.subcat-sub-tags span {
    font-size: 10px;
    background: var(--sage-tint);
    color: var(--ink-soft);
    padding: 2px 7px;
    border-radius: 10px;
}

/* 2-TIER CATALOG FILTER BAR */
.catalog-filter-bar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-sm);
}

.filter-level-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 12px;
    font-family: 'Cormorant SC', serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-deep);
    font-weight: 700;
    min-width: 110px;
}

.subcat-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-subcat-btn {
    padding: 8px 18px;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    color: var(--ink-soft);
    transition: var(--transition);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.tab-subcat-btn:hover {
    border-color: var(--emerald-deep);
    color: var(--emerald-deep);
}

.tab-subcat-btn.active {
    background: var(--emerald-deep);
    color: var(--white);
    border-color: var(--emerald-deep);
    box-shadow: 0 4px 12px rgba(14, 107, 78, 0.25);
}

.subsubcat-filter-wrapper {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.subsubcat-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.chip-btn {
    padding: 6px 14px;
    font-size: 12.5px;
    border: 1px solid var(--sage-border);
    border-radius: 15px;
    background: var(--sage-tint);
    color: var(--ink);
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chip-btn:hover {
    background: var(--sage-tint-2);
    border-color: var(--gold);
}

.chip-btn.active {
    background: var(--gold);
    color: var(--emerald-ink);
    border-color: var(--gold);
    font-weight: 600;
}

/* Active Status & Breadcrumb Bar */
.catalog-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 4px;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.catalog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-breadcrumbs span.active-crumb {
    color: var(--emerald-deep);
    font-weight: 600;
}

.catalog-count b {
    color: var(--emerald-ink);
}

/* PRODUCT GRID & CARDS */
.prod-grid, .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prod-card, .product-card {
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
}

.prod-card:hover, .product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
    border-color: var(--gold-soft);
}

.prod-thumb, .product-img-link {
    position: relative;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--sage-tint), #EBF3EE);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-thumb img, .product-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.prod-card:hover .prod-thumb img, .product-card:hover .product-img-link img {
    transform: scale(1.05);
}

.prod-tags-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.prod-tag, .product-badge {
    background: var(--emerald-deep);
    color: var(--white);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.prod-tag.tag-subsub {
    background: rgba(22, 36, 29, 0.85);
    color: var(--gold-soft);
}

.prod-tag.new, .product-badge.new {
    background: var(--gold);
    color: var(--emerald-ink);
}

.prod-tag.ready {
    background: #2E7D32;
    color: var(--white);
}

.prod-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.prod-cat-path {
    font-size: 11.5px;
    color: var(--emerald-deep);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.prod-body h3, .product-title {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 42px;
}

.prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gold);
    margin-bottom: 8px;
}

.prod-rating span {
    color: var(--text-muted);
    margin-left: 4px;
}

.prod-price, .product-price {
    font-size: 15px;
    margin-bottom: 14px;
}

.prod-price .now, .product-price .current-price {
    color: var(--emerald-deep);
    font-weight: 700;
    margin-right: 8px;
}

.prod-price .was, .product-price .original-price {
    color: #9AA79F;
    text-decoration: line-through;
    font-size: 13px;
}

.prod-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
    font-size: 13px;
    letter-spacing: 0.03em;
    border: 1px solid var(--emerald-deep);
    color: var(--emerald-deep);
    border-radius: 3px;
    background: transparent;
    transition: var(--transition);
    font-weight: 500;
}

.prod-btn:hover {
    background: var(--emerald-deep);
    color: var(--white);
}

/* Empty Catalog State */
.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--sage-tint);
    border-radius: var(--border-radius);
    border: 1px dashed var(--line);
}

.catalog-empty i {
    font-size: 40px;
    color: var(--emerald-deep);
    margin-bottom: 12px;
}

.catalog-empty h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.catalog-empty p {
    color: var(--ink-soft);
    font-size: 14px;
}

/* BRAND FEATURES */
.features {
    background: var(--emerald-ink);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding: 56px 0;
}

.feat-item {
    color: var(--sage-tint);
    text-align: center;
    padding: 0 8px;
}

.feat-item .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--gold-soft);
    font-size: 20px;
}

.feat-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.feat-item p {
    font-size: 13px;
    color: #B9CFC4;
    line-height: 1.6;
    margin: 0;
}

/* PRODUCT DETAIL PAGE */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px 0 60px;
}

.product-gallery {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--sage-tint);
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-info .price-tag {
    font-size: 26px;
    color: var(--emerald-deep);
    font-weight: 700;
    margin: 16px 0;
}

.customization-box {
    background: var(--sage-tint);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
}

.customization-box label {
    font-size: 13px;
    font-weight: 600;
    color: var(--emerald-ink);
    margin-bottom: 8px;
    display: block;
}

.customization-box input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    font-size: 14px;
}

/* CART & CHECKOUT */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.cart-table-wrapper {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.cart-table th {
    background: var(--sage-tint);
    padding: 14px 18px;
    text-align: left;
    font-family: 'Cormorant SC', serif;
    letter-spacing: 0.12em;
    font-size: 13px;
    color: var(--emerald-ink);
    border-bottom: 1px solid var(--line);
}

.cart-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.cart-summary {
    background: var(--sage-tint);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 36px;
    align-items: start;
}

.checkout-form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* TRACK ORDER */
.track-card {
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--border-radius-lg);
    padding: clamp(20px, 4vw, 36px);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.track-input-group {
    display: flex;
    gap: 10px;
    margin: 20px 0 24px;
    flex-wrap: wrap;
}

.track-input {
    flex: 1 1 200px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    font-size: 14px;
    background: var(--sage-tint);
    color: var(--ink);
    outline: none;
}

.track-input:focus {
    border-color: var(--emerald-deep);
    background: var(--white);
}

.track-btn {
    padding: 12px 24px;
    background: var(--emerald-deep);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.tracking-result-box {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.status-timeline {
    list-style: none;
    padding-left: 20px;
    position: relative;
    margin: 20px 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 4px;
    width: 2px;
    background: var(--line);
}

.status-step {
    position: relative;
    margin-bottom: 20px;
    padding-left: 15px;
}

.status-step::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--line);
}

.status-step.active::before {
    background: var(--emerald-deep);
    box-shadow: 0 0 0 2px var(--emerald-deep);
}

.status-step-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.status-step.active .status-step-title {
    color: var(--emerald-deep);
}

.status-step-time {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* FOOTER */
footer {
    background: var(--emerald-darker);
    color: #CFE3D8;
}

.foot-top {
    padding: 64px 0 40px;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr;
    gap: 30px;
}

.foot-brand h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.foot-brand h3 i {
    color: var(--gold);
}

.foot-brand p {
    font-size: 13px;
    line-height: 1.7;
    color: #AFC9BC;
    max-width: 260px;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--emerald-ink);
}

.foot-col h4 {
    font-family: 'Cormorant SC', serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--gold-soft);
    margin-bottom: 16px;
    font-weight: 700;
}

.foot-col ul li {
    margin-bottom: 9px;
}

.foot-col a {
    font-size: 13px;
    color: #CFE3D8;
}

.foot-col a:hover {
    color: var(--gold-soft);
    padding-left: 3px;
}

.foot-col.contact li {
    font-size: 13px;
    color: #CFE3D8;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
}

.foot-col.contact i {
    color: var(--gold-soft);
    margin-top: 3px;
}

.foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 18px 0;
    font-size: 12.5px;
    color: #8FAC9C;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 90vw;
}

.toast-message {
    background: var(--white);
    border-left: 4px solid var(--emerald-deep);
    padding: 14px 18px;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    animation: slideIn .3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   RESPONSIVE DESIGN BREAKPOINTS (Mobile, Tablet, Desktop)
   ============================================================ */

/* Helper to ensure no grid or flex children cause blowout */
.hero-content, .hero-image-wrapper, .prod-card, .subcat-card, .feat-item, 
.product-info, .product-gallery, .checkout-form-card, .cart-summary {
    min-width: 0;
}

/* 1. Small Desktops / Laptops (<= 1100px) */
@media (max-width: 1100px) {
    .mega-menu { 
        width: 94vw; 
        left: 3%; 
        transform: none; 
    }
    .mega-grid { 
        grid-template-columns: repeat(3, 1fr) 180px; 
    }
    .subcat-col:nth-child(3) { 
        border-right: none; 
    }
    .prod-grid, .products-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 20px; 
    }
    .foot-top { 
        grid-template-columns: 1.2fr repeat(2, 1fr) 1.2fr; 
    }
}

/* 2. Tablets & Mobile Landscape (<= 980px) */
@media (max-width: 980px) {
    nav.desktop-nav { 
        display: none !important; 
    }
    .desktop-only-search { 
        display: none !important; 
    }
    .mobile-search-toggle { 
        display: inline-flex !important; 
    }
    .menu-toggle { 
        display: inline-flex !important; 
    }
    
    .btn-cart .btn-cart-text {
        display: none;
    }

    .btn-cart {
        padding: 8px 12px;
        gap: 5px;
    }

    .hero {
        padding: 36px 0 54px;
    }
    
    .hero-grid { 
        grid-template-columns: 1fr; 
        gap: 32px; 
        padding-top: 10px; 
    }
    
    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: clamp(32px, 5.5vw, 46px);
    }
    
    .subcat-showcase-grid { 
        display: flex;
        overflow-x: auto;
        gap: 14px;
        padding: 6px 2px 16px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .subcat-card {
        min-width: 150px;
        max-width: 150px;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 18px 12px;
    }
    
    .prod-grid, .products-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 16px; 
    }
    
    .feat-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        padding: 40px 0;
    }
    
    .product-detail-layout { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        padding: 24px 0 50px;
    }
    
    .cart-layout { 
        grid-template-columns: 1fr; 
        gap: 28px; 
    }
    
    .checkout-layout { 
        grid-template-columns: 1fr; 
        gap: 28px; 
    }
    
    .foot-top { 
        grid-template-columns: 1fr 1fr; 
        gap: 28px; 
        padding: 44px 0 30px; 
    }
}

/* 3. Small Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section { 
        padding: 44px 0; 
    }

    .section-head {
        margin-bottom: 28px;
    }

    .hero-content h1 {
        font-size: clamp(28px, 6.2vw, 40px);
        line-height: 1.18;
    }

    .hero-content p {
        font-size: 15px;
        margin: 14px 0 22px;
    }

    .hero-ctas {
        gap: 10px;
        margin-bottom: 24px;
    }

    .engrave-widget {
        padding: 16px 14px;
        max-width: 100%;
    }
    
    .subcat-card {
        min-width: 135px;
        max-width: 135px;
        padding: 16px 10px;
    }
    
    .subcat-icon-wrap {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .subcat-card h3 {
        font-size: 14.5px;
    }

    .catalog-filter-bar {
        padding: 16px 14px;
        margin-bottom: 24px;
    }

    .filter-level-row {
        gap: 10px;
    }

    .filter-label {
        width: 100%;
        min-width: unset;
        margin-bottom: 2px;
        font-size: 11.5px;
    }

    .subcat-tabs {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
    }

    .tab-subcat-btn {
        white-space: nowrap;
        padding: 7px 14px;
        font-size: 12.5px;
        flex-shrink: 0;
    }

    .subsubcat-filter-wrapper {
        margin-top: 10px;
        padding-top: 10px;
        gap: 8px;
    }

    .subsubcat-chips {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
    }

    .chip-btn {
        white-space: nowrap;
        padding: 5px 12px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .prod-grid, .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 14px; 
    }

    .prod-thumb {
        aspect-ratio: 1/1;
    }

    .prod-body {
        padding: 12px 10px;
    }

    .prod-body h3 {
        font-size: 14px;
        line-height: 1.35;
        height: 38px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .prod-price .now {
        font-size: 15.5px;
    }

    .prod-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 5px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 4. Mobile Devices (<= 600px) */
@media (max-width: 600px) {
    .container { 
        padding-left: 14px;
        padding-right: 14px;
    }
    
    .promo-bar { 
        font-size: 11px; 
        padding: 6px 10px; 
        letter-spacing: 0.02em; 
    }

    .promo-bar-content {
        gap: 4px 10px;
    }

    .promo-sep {
        display: none;
    }

    .promo-item {
        font-size: 11px;
    }
    
    .header-container {
        padding: 10px 0;
        gap: 8px;
    }

    .header-left {
        gap: 8px;
    }

    .header-logo-img {
        height: 38px;
        max-width: 135px;
    }

    .header-actions {
        gap: 6px;
    }

    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .btn-cart {
        padding: 7px 11px;
    }

    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 9.5px;
    }

    .menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .hero {
        padding: 24px 0 40px;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero-ctas .btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
    }

    .hero-badge {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 8px 12px;
        font-size: 11.5px;
    }

    .catalog-status-bar { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 8px; 
    }

    .catalog-breadcrumbs {
        flex-wrap: wrap;
        font-size: 12.5px;
    }

    .checkout-form-card {
        padding: 20px 14px;
    }

    .cart-table-wrapper {
        margin-bottom: 20px;
    }

    .cart-summary {
        padding: 18px 14px;
    }

    .feat-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
        padding: 36px 0;
    }
    
    .foot-top { 
        grid-template-columns: 1fr; 
        gap: 24px;
        padding: 36px 0 24px;
    }

    .foot-brand p {
        max-width: 100%;
    }
}

/* 5. Extra Small Mobiles (<= 380px) */
@media (max-width: 380px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-logo-img {
        height: 32px;
        max-width: 112px;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .btn-cart {
        padding: 6px 8px;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .prod-grid, .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 8px; 
    }

    .prod-body {
        padding: 10px 8px;
    }

    .prod-body h3 {
        font-size: 13px;
        height: 34px;
    }

    .prod-price .now {
        font-size: 14.5px;
    }

    .prod-btn {
        padding: 7px 6px;
        font-size: 11px;
    }
}


