/* ============================================================================
   Ajanta Builders Mart — Home + Footer refresh
   Loaded after main.css so the storefront refresh stays isolated from inner pages.
   ============================================================================ */

/* ============================ Home hero ============================ */
.home-hero-v4 {
    height: 620px;
    background: #220b0e;
    isolation: isolate;
}
.home-hero-v4 .hero-slides { height: 100%; }
.home-hero-v4 .hero-slide {
    display: block;
    height: 100%;
    min-height: 620px;
    overflow: hidden;
}
.home-hero-v4 .home-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .62;
    filter: saturate(.92) contrast(1.05);
}
.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 560px at 82% 48%, rgba(82, 31, 37, .3), transparent 70%),
        linear-gradient(90deg, rgba(34, 11, 14, .97) 0%, rgba(56, 21, 25, .91) 38%, rgba(56, 21, 25, .6) 72%, rgba(34, 11, 14, .45) 100%),
        linear-gradient(180deg, rgba(34, 11, 14, .35), rgba(34, 11, 14, .65));
    z-index: 0;
}
.home-hero-frame {
    height: 100%;
    min-height: 620px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: center;
    gap: clamp(30px, 6vw, 100px);
    padding-top: 34px;
    padding-bottom: 58px;
}
.home-hero-copy { max-width: 680px; }
.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #FFD5B0;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(255, 190, 137, .34);
    background: rgba(249, 115, 22, .13);
    border-radius: 999px;
    padding: 10px 14px;
}
.home-hero-eyebrow i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FB923C;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .2);
}
.home-hero-copy h1 {
    color: #fff;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
    max-width: 700px;
    margin-top: 21px;
    text-wrap: balance;
}
.home-hero-copy p {
    color: rgba(231, 239, 249, .84);
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.7;
    max-width: 610px;
    margin-top: 17px;
}
.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 27px;
}
.home-hero-actions .btn-primary { min-width: 164px; }
.home-hero-link {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}
.home-hero-link strong { color: #FDBA74; font-weight: 800; }
.home-hero-link:hover strong { color: #fff; }
.home-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 30px;
    color: rgba(219, 231, 245, .7);
    font-size: 13px;
    font-weight: 600;
}
.home-hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.home-hero-proof b { color: #86EFAC; font-size: 13px; }

.home-hero-showcase {
    position: relative;
    width: min(100%, 410px);
    justify-self: end;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.showcase-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; padding: 0 3px; }
.showcase-heading span { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.showcase-heading b { color: #FDBA74; font-size: 13px; font-weight: 800; }
.showcase-photo-grid { display: grid; grid-template-columns: 1.22fr .78fr; gap: 10px; height: 255px; }
.showcase-photo { position: relative; overflow: hidden; border-radius: 19px; background: #183554; border: 1px solid rgba(255,255,255,.18); }
.showcase-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-hero-showcase:hover .showcase-photo img { transform: scale(1.045); }
.showcase-photo::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(4,16,31,.76)); }
.showcase-photo-label { position: absolute; z-index: 1; left: 12px; bottom: 11px; color: #fff; font-size: 13px; font-weight: 700; }
.showcase-photo-small { transform: translateY(24px); }
.showcase-order-card {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 33px;
    padding: 12px 13px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(4, 16, 31, .31);
}
.showcase-order-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #FDBA74; background: rgba(249,115,22,.18); }
.showcase-order-card span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.showcase-order-card strong { color: #fff; font-size: 12px; font-weight: 700; }
.showcase-order-card small { color: rgba(231,239,249,.67); font-size: 12.5px; }
.home-hero-v4 .slider-arrow { display: flex; background: rgba(255,255,255,.13); color: #fff; border: 1px solid rgba(255,255,255,.25); box-shadow: none; }
.home-hero-v4 .slider-arrow:hover { background: rgba(255,255,255,.24); }
.home-hero-v4 .slider-arrow.prev { left: 24px; }
.home-hero-v4 .slider-arrow.next { right: 24px; }
.home-hero-v4 .slider-dots { bottom: 18px; }
.home-hero-v4 .slider-dot { background: rgba(255,255,255,.38); }
.home-hero-v4 .slider-dot.active { background: #FB923C; }

/* ============================ Promise rail ============================ */
.home-promise-rail {
    position: relative;
    z-index: 4;
    margin-top: -31px;
}
.home-promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #E8EDF3;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(16,24,40,.11);
    overflow: hidden;
}
.home-promise-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 18px 20px;
    border-right: 1px solid #EEF1F5;
}
.home-promise-item:last-child { border-right: 0; }
.promise-icon {
    width: 40px; height: 40px; flex: 0 0 auto;
    display: grid; place-items: center;
    border-radius: 12px;
    color: var(--orange-600);
    background: #FFF4E9;
    border: 1px solid #FFE1C6;
}
.home-promise-item span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.home-promise-item strong { color: var(--navy-900); font-family: var(--font-display); font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.home-promise-item small { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ============================ Homepage sections ============================ */
.home-section { padding-top: 76px; padding-bottom: 76px; }
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.home-section-head h2 { color: var(--ink); font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; letter-spacing: -.035em; margin-top: 7px; }
.home-section-head p { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-top: 7px; }
.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-600);
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
}
.home-section-kicker::before { content: ''; width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
.home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    border: 1px solid #DCE3EB;
    border-radius: 999px;
    background: #fff;
    color: var(--navy-900);
    padding: 10px 15px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    transition: color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.home-view-all span { color: var(--orange-600); font-size: 16px; line-height: 1; }
.home-view-all:hover { color: var(--orange-600); border-color: #FDBA74; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.home-category-section { background: #F7F9FC; }

/* ============================ Visual categories ============================ */
.visual-category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.visual-category-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E5EAF0;
    border-radius: 17px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(16,24,40,.035);
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.visual-category-card:hover { transform: translateY(-5px); border-color: #FFC99E; box-shadow: 0 14px 30px rgba(16,24,40,.11); }
.visual-category-media { position: relative; overflow: hidden; aspect-ratio: 1.12; background: #E9EEF3; }
.visual-category-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.visual-category-card:hover .visual-category-media > img { transform: scale(1.08); }
.visual-category-media::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(5,19,37,.34)); pointer-events: none; }
.visual-category-icon {
    position: absolute; left: 10px; bottom: 10px; z-index: 1;
    display: grid; place-items: center;
    width: 33px; height: 33px;
    border-radius: 10px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.visual-category-icon img { width: 23px; height: 23px; }
.visual-category-arrow {
    position: absolute; right: 10px; bottom: 10px; z-index: 1;
    display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    color: #fff; background: rgba(7,21,40,.48);
    font-size: 15px; line-height: 1;
}
.visual-category-body { padding: 12px 12px 13px; min-width: 0; }
.visual-category-body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.visual-category-body span { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); font-size: 12.5px; font-weight: 600; }
.visual-category-body i { font-style: normal; color: #D0D5DD; padding: 0 3px; }

/* ============================ Product shelves ============================ */
.home-product-section { background: #fff; }
.home-product-shelf { gap: 16px; padding: 4px 3px 14px; }
.home-product-shelf .product-card { border-color: #E5EAF0; box-shadow: 0 3px 10px rgba(16,24,40,.045); }
.home-product-shelf .product-card:hover { box-shadow: 0 15px 30px rgba(16,24,40,.13); }
.home-product-shelf .pc-media { aspect-ratio: 1.08; }
.home-latest-section { background: #F7F9FC; }

/* ============================ Quote spotlights ============================ */
.home-spotlight-section { padding-top: 0; padding-bottom: 76px; background: #fff; }
.home-spotlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-spotlight-card {
    position: relative;
    min-height: 238px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 27px 29px;
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(16,24,40,.15);
    transition: transform .22s, box-shadow .22s;
}
.home-spotlight-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,24,40,.21); }
.spotlight-navy { background: linear-gradient(135deg, #170709 0%, #220b0e 56%, #381519 100%); }
.spotlight-orange { background: linear-gradient(135deg, #220b0e 0%, #381519 54%, #521f25 100%); }
.home-spotlight-card > div { position: relative; z-index: 2; max-width: 430px; }
.spotlight-number { position: absolute; z-index: 1; right: 23px; top: 16px; color: rgba(255,255,255,.22); font-family: var(--font-display); font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.spotlight-kicker { display: block; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.home-spotlight-card h3 { color: #fff; font-size: 23px; line-height: 1.18; letter-spacing: -.035em; margin-top: 8px; }
.home-spotlight-card p { color: rgba(255,255,255,.75); font-size: 13.5px; line-height: 1.55; margin-top: 8px; }
.spotlight-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; color: #FDBA74; font-size: 12.5px; font-weight: 800; }
.spotlight-orange .spotlight-link { color: #FFEDD5; }
.spotlight-link span { font-size: 18px; transition: transform .18s; }
.home-spotlight-card:hover .spotlight-link span { transform: translateX(4px); }
.spotlight-orb { position: absolute; width: 260px; height: 260px; right: -80px; bottom: -125px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.035), 0 0 0 54px rgba(255,255,255,.025); }

/* ============================ Brands + final CTA ============================ */
.home-brands-section { padding: 36px 0 40px; background: #fff; border-top: 1px solid #E9EDF2; border-bottom: 1px solid #E9EDF2; text-align: center; }
.home-brand-row { display: flex; align-items: center; justify-content: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 22px; }
.home-brand-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    min-width: 130px;
    max-width: 180px;
    padding: 8px 18px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.home-brand-tile:hover {
    background: #FFFFFF;
    border-color: #FDBA74;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.home-brand-tile img {
    max-height: 40px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.92;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
.home-brand-tile:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}
.home-brand-row span { color: #B3BCC8; font-family: var(--font-display); font-size: clamp(15px, 2vw, 21px); font-weight: 800; letter-spacing: -.025em; }
.home-brand-row span:hover { color: var(--orange-600); }
.home-final-section { padding-top: 54px; padding-bottom: 78px; background: #F7F9FC; }
.home-final-cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 37px 43px;
    border-radius: 23px;
    color: #fff;
    background: radial-gradient(600px 260px at 90% 0%, rgba(120,43,52,.35), transparent 65%), linear-gradient(115deg, #170709, #381519);
    box-shadow: 0 18px 42px rgba(23,7,9,.25);
}
.home-final-cta::after { content: ''; position: absolute; right: 13%; bottom: -130px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 52px rgba(255,255,255,.02); }
.home-final-cta > div:first-child { position: relative; z-index: 1; }
.home-final-cta .home-section-kicker { color: #FDBA74; }
.home-final-cta h2 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.04em; margin-top: 8px; }
.home-final-cta p { color: #C9D6EA; font-size: 14px; margin-top: 8px; }
.home-final-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.home-final-actions .btn { min-height: 46px; font-size: 13px; }

/* ============================ Footer refresh ============================ */
.site-footer-v4 {
    position: relative;
    overflow: hidden;
    background: #F8FAFC;
    color: #64748B;
    border-top: 1px solid #E2E8F0;
    padding-top: 0.75rem;
    padding-bottom: 56px;
}
.site-footer-v4::before { content: ''; position: absolute; top: 0; right: 7%; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(18,58,102,.05); box-shadow: 0 0 0 25px rgba(18,58,102,.025), 0 0 0 51px rgba(18,58,102,.018); pointer-events: none; }
.footer-intro-v4 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-radius: 14px;
    background: linear-gradient(120deg, #170709, #381519 70%, #521f25);
    box-shadow: 0 10px 25px rgba(23,7,9,.2);
}
.footer-intro-copy { min-width: 0; }
.footer-kicker { color: #FDBA74; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-intro-copy h2 { color: #fff; font-size: clamp(17px, 1.8vw, 22px); line-height: 1.25; letter-spacing: -.02em; margin-top: 4px; font-weight: 700; }
.footer-intro-copy p { color: #CBD5E1; font-size: 13.5px; margin-top: 4px; line-height: 1.45; }
.footer-intro-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: 0 0 auto; }
.footer-action {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 170px;
    border-radius: 10px;
    padding: 8px 12px;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.footer-action:hover { transform: translateY(-2px); }
.footer-action-primary { color: #fff; background: #381519; box-shadow: 0 4px 14px rgba(56,21,25,.35); }
.footer-action-primary:hover { background: #4a1c21; box-shadow: 0 8px 20px rgba(56,21,25,.45); }
.footer-action-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.footer-action-ghost:hover { background: rgba(255,255,255,.14); }
.footer-action-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: inherit; background: rgba(255,255,255,.14); }
.footer-action-icon svg { width: 15px; height: 15px; }
.footer-action span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.footer-action strong { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.footer-action small { color: rgba(255,255,255,.8); font-size: 12.5px; white-space: nowrap; }
.footer-grid-v4 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.55fr .75fr .95fr 1.1fr;
    gap: 36px;
    padding-top: 36px;
    padding-bottom: 24px;
}
.footer-brand-v4 { min-width: 0; }
.footer-brand-v4 .brand { width: max-content; max-width: 100%; }
.footer-brand-v4 .brand-text strong { font-size: 17px; }
.footer-brand-v4 .brand-text small,
.footer-brand-tagline {
    display: block;
    font-size: 11px !important;
    font-weight: 600;
    color: #94A3B8 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 2px;
}
.footer-brand-v4 p { max-width: 320px; color: #64748B; font-size: 13.5px; line-height: 1.6; margin-top: 12px; }
.footer-proof-row { display: flex; gap: 14px; margin-top: 14px; }
.footer-proof-row span { display: flex; flex-direction: column; gap: 1px; padding-left: 9px; border-left: 2px solid #FED7AA; }
.footer-proof-row strong { color: #0F172A; font-family: var(--font-display); font-size: 13.5px; font-weight: 800; }
.footer-proof-row small { color: #64748B; font-size: 12.5px; white-space: nowrap; }
.footer-social-v4 { margin-top: 16px; }
.footer-social-v4 a { width: 32px; height: 32px; border-radius: 8px; background: #fff; border-color: #E2E8F0; color: #475569; }
.footer-social-v4 a:hover { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.footer-links-v4, .footer-contact-v4 { min-width: 0; }
.footer-links-v4 h4, .footer-contact-v4 h4 { color: #0F172A; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 3px 0 10px; }
.footer-links-v4 h4::after, .footer-contact-v4 h4::after { content: ''; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--orange-500); margin-top: 6px; }
.footer-links-v4 a { display: flex; align-items: center; gap: 5px; width: max-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #475569; font-size: 13.5px; font-weight: 500; text-decoration: none; padding: 4px 0; transition: color .16s, transform .16s; }
.footer-links-v4 a::before { content: '›'; color: #F97316; opacity: .7; font-size: 14px; }
.footer-links-v4 a:hover { color: var(--orange-600); transform: translateX(2px); }
.footer-contact-v4 { display: flex; flex-direction: column; }
.footer-contact-line-v4 { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.footer-contact-icon-v4 { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; color: var(--orange-600); background: #FFF7ED; border: 1px solid #FFEDD5; border-radius: 7px; }
.footer-contact-icon-v4 svg { width: 13px; height: 13px; }
.footer-contact-line-v4 span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.footer-contact-line-v4 strong { color: #1E293B; font-size: 13.5px; font-weight: 700; }
.footer-contact-line-v4 small { color: #64748B; font-size: 13px; line-height: 1.4; }
.footer-map-link-v4 { display: inline-flex; align-items: center; gap: 5px; width: max-content; color: var(--orange-600); font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 1px; }
.footer-map-link-v4:hover { color: #0F172A; }
.footer-map-link-v4 span { font-size: 14px; }
.site-footer-v4 ~ .site-footer-v4 {
    display: none !important;
}

.site-footer-v4 .footer-bottom-v4 { position: relative; z-index: 1; margin-top: 0.5rem; padding: 12px 0 0; background: transparent; border-top: 1px solid #E2E8F0; }
.site-footer-v4 .footer-bottom-inner { min-height: 32px; font-size: 13px; color: #64748B; }
.site-footer-v4 .chip { background: #fff; border-color: #E2E8F0; padding: 3px 10px; font-size: 12.5px; }

/* ============================ Responsive home/footer ============================ */
@media (max-width: 1099px) {
    .home-hero-frame { gap: 34px; }
    .home-hero-showcase { max-width: 370px; }
    .visual-category-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid-v4 { gap: 28px; }
}

@media (max-width: 767px) {
    .home-hero-v4 { height: 685px; }
    .home-hero-v4 .hero-slide { min-height: 685px; }
    .home-hero-bg { object-position: 63% center !important; opacity: .48 !important; }
    .home-hero-overlay { background: linear-gradient(180deg, rgba(5,19,37,.82) 0%, rgba(5,19,37,.9) 54%, rgba(5,19,37,.98) 100%); }
    .home-hero-frame { min-height: 685px; height: auto; grid-template-columns: 1fr; align-content: center; gap: 21px; padding: 30px 16px 52px; }
    .home-hero-copy h1 { font-size: clamp(26px, 7vw, 34px); line-height: 1.06; margin-top: 16px; }
    .home-hero-copy p { font-size: 13px; line-height: 1.55; margin-top: 12px; max-width: 470px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .home-hero-actions { gap: 13px; margin-top: 19px; }
    .home-hero-actions .btn { min-height: 45px; font-size: 13px; padding: 0 16px; }
    .home-hero-link { font-size: 13px; }
    .home-hero-proof { gap: 8px 13px; margin-top: 19px; font-size: 12.5px; }
    .home-hero-proof span:last-child { display: none; }
    .home-hero-showcase { justify-self: stretch; width: 100%; max-width: 420px; padding: 11px; border-radius: 20px; }
    .showcase-heading { margin-bottom: 8px; }
    .showcase-heading span, .showcase-heading b { font-size: 13px; }
    .showcase-photo-grid { height: 121px; gap: 7px; }
    .showcase-photo { border-radius: 13px; }
    .showcase-photo-small { transform: translateY(11px); }
    .showcase-photo-label { left: 8px; bottom: 7px; font-size: 13px; }
    .showcase-order-card { margin-top: 17px; padding: 8px; border-radius: 11px; gap: 8px; }
    .showcase-order-icon { width: 28px; height: 28px; border-radius: 8px; }
    .showcase-order-icon svg { width: 15px; height: 15px; }
    .showcase-order-card strong { font-size: 12px; }
    .showcase-order-card small { font-size: 13px; }
    .home-hero-v4 .slider-arrow { display: none; }
    .home-hero-v4 .slider-dots { bottom: 14px; }

    .home-promise-rail { margin-top: -17px; }
    .home-promise-grid { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
    .home-promise-item { padding: 12px 10px; gap: 8px; }
    .home-promise-item:nth-child(2) { border-right: 0; }
    .home-promise-item:nth-child(-n+2) { border-bottom: 1px solid #EEF1F5; }
    .promise-icon { width: 33px; height: 33px; border-radius: 10px; }
    .promise-icon svg { width: 16px; height: 16px; }
    .home-promise-item strong { font-size: 13px; }
    .home-promise-item small { font-size: 13px; white-space: normal; line-height: 1.25; }

    .home-section { padding-top: 49px; padding-bottom: 49px; }
    .home-section-head { align-items: flex-start; gap: 14px; margin-bottom: 19px; }
    .home-section-head h2 { font-size: 24px; }
    .home-section-head p { font-size: 12px; max-width: 300px; }
    .home-view-all { padding: 8px 10px; font-size: 12.5px; gap: 5px; }
    .home-view-all span { font-size: 14px; }
    .visual-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .visual-category-card { border-radius: 14px; }
    .visual-category-media { aspect-ratio: 1.18; }
    .visual-category-body { padding: 9px 9px 10px; }
    .visual-category-body strong { font-size: 13px; }
    .visual-category-body span { font-size: 12px; }
    .visual-category-icon { width: 29px; height: 29px; left: 8px; bottom: 8px; border-radius: 8px; }
    .visual-category-icon img { width: 20px; height: 20px; }
    .visual-category-arrow { width: 24px; height: 24px; right: 8px; bottom: 8px; font-size: 13px; }

    /* Product shelves become a true two-column mobile catalogue instead of a clipped desktop row. */
    .home-product-shelf {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        margin-left: 0;
        margin-right: 0;
        padding: 3px 0 10px;
    }
    .home-product-shelf .product-card {
        width: auto;
        min-width: 0;
        flex: none;
        border-radius: 14px;
    }
    .home-product-shelf .pc-media { aspect-ratio: 1 / 1.02; }
    .home-product-shelf .pc-body { padding: 10px 9px 5px; gap: 3px; }
    .home-product-shelf .pc-cat { font-size: 12px; letter-spacing: .06em; }
    .home-product-shelf .pc-name { font-size: 13.5px; line-height: 1.3; min-height: 2.6em; }
    .home-product-shelf .pc-price-row { gap: 4px; margin-top: 3px; }
    .home-product-shelf .pc-price { font-size: 15.5px; }
    .home-product-shelf .pc-mrp, .home-product-shelf .pc-unit { font-size: 12.5px; }
    .home-product-shelf .pc-add { padding: 5px 8px 9px; }
    .home-product-shelf .pc-add-btn { min-height: 35px; border-radius: 9px; font-size: 12.5px; gap: 4px; }
    .home-product-shelf .pc-add-btn svg { width: 13px; height: 13px; }
    .home-product-shelf .pc-off { top: 7px; left: 7px; font-size: 13px; padding: 3px 6px; }
    .home-product-shelf .pc-flag { top: 7px; right: 7px; font-size: 13px; padding: 3px 6px; }
    .home-spotlight-section { padding-top: 0; padding-bottom: 49px; }
    .home-spotlight-grid { grid-template-columns: 1fr; gap: 11px; }
    .home-spotlight-card { min-height: 194px; padding: 21px 20px; border-radius: 17px; }
    .home-spotlight-card h3 { font-size: 18px; max-width: 290px; }
    .home-spotlight-card p { font-size: 13px; max-width: 295px; }
    .spotlight-link { margin-top: 13px; font-size: 13px; }
    .spotlight-number { font-size: 30px; right: 17px; }
    .home-brands-section { padding: 23px 0 25px; }
    .home-brand-row { justify-content: center; gap: 13px 20px; margin-top: 16px; }
    .home-brand-row span { font-size: 15px; }
    .home-final-section { padding-top: 35px; padding-bottom: 55px; }
    .home-final-cta { display: block; padding: 27px 21px; border-radius: 18px; }
    .home-final-cta h2 { font-size: 22px; }
    .home-final-cta p { font-size: 12px; line-height: 1.55; max-width: 330px; }
    .home-final-actions { margin-top: 19px; gap: 8px; }
    .home-final-actions .btn { min-height: 42px; padding: 0 13px; font-size: 13px; }

    .site-footer-v4 { padding-bottom: 76px; }
    .footer-intro-v4 { display: block; padding: 16px 14px; border-radius: 12px; }
    .footer-intro-copy h2 { font-size: 18px; }
    .footer-intro-copy p { font-size: 13px; line-height: 1.45; }
    .footer-intro-actions { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 14px; }
    .footer-action { min-width: 0; padding: 7px 10px; }
    .footer-action strong { font-size: 13px; }
    .footer-action small { font-size: 12px; }
    .footer-grid-v4 { grid-template-columns: 1fr 1fr; gap: 22px 14px; padding-top: 26px; padding-bottom: 18px; }
    .footer-brand-v4 { grid-column: 1 / -1; }
    .footer-brand-v4 p { font-size: 13px; max-width: 360px; margin-top: 10px; }
    .footer-proof-row { gap: 10px; margin-top: 12px; }
    .footer-proof-row strong { font-size: 13px; }
    .footer-proof-row small { font-size: 12px; }
    .footer-social-v4 { margin-top: 12px; }
    .footer-links-v4 h4, .footer-contact-v4 h4 { font-size: 12.5px; margin-bottom: 8px; }
    .footer-links-v4 a { font-size: 13px; padding: 3px 0; }
    .footer-contact-line-v4 { gap: 6px; margin-bottom: 8px; }
    .footer-contact-icon-v4 { width: 24px; height: 24px; }
    .footer-contact-icon-v4 svg { width: 12px; height: 12px; }
    .footer-contact-line-v4 strong { font-size: 13px; }
    .footer-contact-line-v4 small { font-size: 12px; }
    .footer-map-link-v4 { font-size: 12.5px; }
    .site-footer-v4 .footer-bottom-v4 { margin-top: 0.5rem; padding-top: 10px; }
    .site-footer-v4 .footer-bottom-inner { align-items: flex-start; text-align: left; gap: 8px; font-size: 12.5px; }
    .site-footer-v4 .pay-chips { justify-content: flex-start; gap: 4px; }
    .site-footer-v4 .chip { padding: 2px 8px; font-size: 12px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .home-hero-v4 { height: 590px; }
    .home-hero-v4 .hero-slide, .home-hero-frame { min-height: 590px; }
    .home-hero-frame { grid-template-columns: 1.1fr .9fr; gap: 26px; }
    .home-hero-copy h1 { font-size: 38px; }
    .home-hero-showcase { padding: 13px; }
    .showcase-photo-grid { height: 205px; }
    .visual-category-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid-v4 { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-brand-v4 { grid-row: span 2; }
    .footer-contact-v4 { grid-column: 2 / -1; }
}

@media (min-width: 1024px) {
    .home-hero-v4 .hero-slide.active .home-hero-copy > * { animation: homeRise .65s both; }
    .home-hero-v4 .hero-slide.active .home-hero-copy > :nth-child(1) { animation-delay: .1s; }
    .home-hero-v4 .hero-slide.active .home-hero-copy > :nth-child(2) { animation-delay: .18s; }
    .home-hero-v4 .hero-slide.active .home-hero-copy > :nth-child(3) { animation-delay: .26s; }
    .home-hero-v4 .hero-slide.active .home-hero-copy > :nth-child(4) { animation-delay: .34s; }
    @keyframes homeRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-v4 .hero-slide.active .home-hero-copy > * { animation: none !important; }
    .visual-category-card, .home-spotlight-card, .footer-action, .home-view-all { transition: none; }
}

/* Mobile browsers keep a blue tap/focus ring after a card or button is pressed. */
@media (hover: none) and (pointer: coarse) {
    a, button { -webkit-tap-highlight-color: transparent; }
    .home-hero-v4 a:focus,
    .home-hero-v4 button:focus,
    .home-section a:focus,
    .home-section button:focus,
    .site-footer-v4 a:focus,
    .site-footer-v4 button:focus {
        outline: none;
    }
    .visual-category-card:focus,
    .home-view-all:focus,
    .home-spotlight-card:focus,
    .home-product-shelf .product-card:focus-within,
    .home-product-shelf .pc-add-btn:focus,
    .home-final-actions .btn:focus,
    .footer-action:focus {
        outline: none;
        box-shadow: none;
    }
}
