:root {
    --text: #111;
    --muted: rgba(0, 0, 0, .45);
    --border: rgba(0, 0, 0, .70);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    /* ✅ all Nunito */
    color: var(--text);
    background: #fff;
}

/* ===================== FONT: Adobe Jenson Pro ===================== */
@font-face {
    font-family: "Adobe Jenson Pro";
    src: url("fonts/AdobeJensonPro-Regular.woff2") format("woff2"),
        url("fonts/AdobeJensonPro-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand: #8a735c;
    --navH: 80px;
    --shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

.topbar {
    height: var(--navH);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* 3-column grid => one line on desktop */
.nav-wrap {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 18px;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 90px;
    height: auto;
    display: block;
}

/* Center links */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 42px;
    font-weight: 500;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    white-space: nowrap;
}

.nav-links a {
    position: relative;
    padding: 6px 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0%;
    background: var(--brand);
    transition: .25s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Right area */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .nav-right {
        justify-content: end;
        width: 100%;
    }
}

/* Search */
.search {
    display: none;
    align-items: center;
    background: #eee;
    border-radius: 14px;
    overflow: hidden;
    height: 44px;
    width: 420px;
    max-width: 38vw;
    min-width: 240px;
}

@media (min-width: 992px) {
    .search {
        display: flex;
    }
}

.search input {
    border: none;
    outline: none;
    background: none;
    padding: 0 14px;
    width: 100%;
    font-size: 15px;
}

.search button {
    border: none;
    height: 44px;
    width: 52px;
    background: var(--brand);
    color: white;
    cursor: pointer;
}

/* Desktop icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    position: relative;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

/* ✅ click active => brown fill */
.icon-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-1px);
}

.icon-btn:active {
    transform: scale(.98);
}

/* make icons inherit color */
.icon-btn i {
    color: inherit;
}

.badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}

/* Hamburger (mobile only) */
.hamburger {
    display: none;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    font-size: 26px;
    color: var(--brand);
    cursor: pointer;
}

/* hero */
.hero {
    height: 470px;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;

    background-size: cover;
    /* important */
    background-position: center;
    /* important */
    background-repeat: no-repeat;

    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* ✅ Mobile blur menu: OFF-CANVAS from RIGHT */
.mobile-menu {
    position: fixed;
    top: var(--navH);
    right: 0;
    /* ✅ right edge */
    left: auto;

    width: 260px;
    padding: 18px 22px;

    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);

    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;

    z-index: 999;

    /* ✅ start off-screen (right side) */
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;

    transition: transform .28s ease, opacity .22s ease;
}

.mobile-menu.open {
    transform: translateX(0);
    /* ✅ slide in from right */
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    display: block;
    padding: 12px 6px;
    font-size: 18px;
    border-radius: 12px;
}

.mobile-menu a:hover {
    background: rgba(138, 115, 92, .12);
}

/* --- Optimized Professional Bottom Navigation --- */
@media (max-width: 991px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        /* Use env() to respect iPhone home bar "Safe Area" */
        bottom: calc(20px + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);

        /* Premium Glassmorphism */
        background: rgba(43, 33, 23, 0.9);
        /* Slightly more opaque for readability */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        border-radius: 50px;
        padding: 8px 12px;
        /* Increased side padding for better balance */
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        gap: 5px;
        /* Reduced gap for smaller screens */
        z-index: 2000;
        border: 1px solid rgba(255, 255, 255, 0.1);

        /* Ensure it doesn't get too wide on small screens */
        width: auto;
        max-width: 95vw;
        box-sizing: border-box;
    }

    .bottom-nav a {
        /* Use flex-shrink to prevent icons from turning into ovals */
        flex-shrink: 0;
        width: 44px;
        /* Slightly smaller to fit more screen sizes */
        height: 44px;
        border-radius: 50%;
        display: flex;
        /* Flex is often more reliable than grid for icons */
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 18px;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.2);
        position: relative;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
        /* Removes blue flash on tap */
    }

    .bottom-nav a.active {
        background: #fff;
        color: #8a735c;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
    }

    .mini-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        /* min-width is better than fixed width for double digits */
        height: 16px;
        border-radius: 10px;
        background: #c19a6b;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid #2b2117;
        /* Matches nav background for "cut-out" look */
        padding: 0 2px;
        pointer-events: none;
        /* Prevents badge from blocking the click */
    }
}

/* Extra small screens adjustment */
@media (max-width: 360px) {
    .bottom-nav {
        gap: 2px;
        padding: 5px;
    }

    .bottom-nav a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
}

/* Responsive */
@media(max-width:860px) {
    .nav-wrap {
        grid-template-columns: auto 1fr auto;
    }

    .nav-links {
        display: none;
    }

    .nav-icons {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .bottom-nav {
        display: flex;
    }
}

/* ===== Top Collection section (match image) ===== */
.top-collection {
    padding: 36px 0 60px;
    background: #fff;
}

/* ✅ margins for desktop + mobile (image style) */
.tc-container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding-left: 36px;
    padding-right: 36px;
}

@media (max-width: 560px) {
    .tc-container {
        padding-left: 36px;
        padding-right: 36px;
    }
}

.tc-heading {
    font-family: "Italiana", serif;
    /* ✅ heading Italiana */
    font-size: 42px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 26px;
}

/* ✅ horizontal scroll area (no scrollbar visible) */
.tc-scroll {
    display: flex;
    gap: 44px;

    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding: 0 0 6px;
    /* bottom small space */
}

/* ✅ keep side gaps when scrolling (first/last card) */
.tc-scroll::before,
.tc-scroll::after {
    content: "";
    flex: 0 0 2px;
    /* tiny, because container already has margins */
}

/* ✅ hide scrollbar (Chrome/Edge/Safari) */
.tc-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ✅ hide scrollbar (Firefox) */
.tc-scroll {
    scrollbar-width: none;
}

/* ✅ hide scrollbar (old IE/Edge) */
.tc-scroll {
    -ms-overflow-style: none;
}

/* Card */
.tc-card {
    flex: 0 0 360px;
    /* ✅ perfect like image, good for many cards */
    scroll-snap-align: start;
}

.tc-image {
    height: 250px;
    border-radius: 18px;
    overflow: hidden;
    background: #eee;
}

.tc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title & desc like image */
.tc-title {
    margin: 16px 0 6px;
    font-size: 28px;
    font-weight: 200;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    letter-spacing: .2px;
}

.tc-desc {
    margin: 0 0 18px;
    max-width: 320px;
    font-size: 12px;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.45;
    color: var(--muted);
}

/* Add to cart button (pill outline) */
.tc-btn {
    border: 1.6px solid var(--border);
    background: transparent;
    color: #111;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 500;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor: pointer;
    transition: .18s ease;
}

.tc-btn:hover {
    background: rgba(0, 0, 0, .06);
}

/* ✅ toggled state */
.tc-btn.is-added {
    background: #111;
    border-color: #111;
    color: #fff;
}

@media (max-width: 980px) {
    .tc-scroll {
        gap: 24px;
    }

    .tc-card {
        flex-basis: 320px;
    }
}

@media (max-width: 560px) {
    .tc-heading {
        font-size: 38px;
        margin-bottom: 18px;
    }

    .tc-scroll {
        gap: 16px;
    }

    .tc-card {
        flex-basis: 82vw;
    }

    /* ✅ mobile swipe nice with margins */
    .tc-image {
        height: 240px;
    }

    .tc-title {
        font-size: 28px;
    }

    .tc-desc {
        max-width: 95%;
    }
}


/* ===== Reveal animation (play when section enters viewport) ===== */
.tc-card {
    opacity: 0;
    transform: translateX(40px);
}

/* trigger */
.tc-scroll.is-ready .tc-card {
    animation: tcSlideIn .65s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: var(--delay, 0ms);
}

@keyframes tcSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tc-card {
        opacity: 1;
        transform: none;
    }

    .tc-scroll.is-ready .tc-card {
        animation: none;
    }
}

/* ===== Limited Offer Deals (Reference style) ===== */
.limited-offers {
    background: #fff;
    padding: 22px 0 70px;
    font-family: "Nunito", sans-serif;
}

.lo-top-line {
    height: 2px;
    width: 100%;
    background: rgba(0, 0, 0, .15);
    margin-bottom: 18px;
}

/* ✅ heading also Nunito (as requested) */
.lo-heading {
    text-align: center;
    font-family: "Italiana", serif;
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 22px;
    color: #111;
}

/* Desktop = 4 per row */
.lo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    justify-items: center;
}

/* Card */
.lo-card.v2 {
    width: 100%;
    max-width: 310px;
    border-radius: 34px;
    /* ✅ round like reference */
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
    overflow: hidden;
}

/* ✅ Square image (1:1) */
.lo-media.v2 {
    position: relative;
    aspect-ratio: 1 / 1;
    /* ✅ square */
    background: #eee;
}

.lo-media.v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ✅ Heart bottom-right (NO border) */
.lo-heart.v2 {
    position: absolute;
    right: 18px;
    bottom: 18px;

    width: 44px;
    height: 44px;
    border-radius: 16px;

    border: none;
    /* ✅ remove border */
    outline: none;
    background: rgba(0, 0, 0, .22);
    color: #fff;

    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease;
}

.lo-heart.v2 i {
    font-size: 18px;
}

.lo-heart.v2:active {
    transform: scale(.96);
}

/* liked = filled white like reference feel */
.lo-heart.v2.is-liked {
    background: rgba(255, 255, 255, .92);
    color: #111;
}

/* Body */
.lo-body {
    padding: 18px 18px 16px;
    font-family: "Nunito", sans-serif;
    /* ✅ ensure Nunito */
}

.lo-title.v2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    height: 50px;
}

.lo-subtitle {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(0, 0, 0, .45);
    font-weight: 500;
}

.lo-price {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
}

.lo-divider {
    height: 1px;
    background: rgba(0, 0, 0, .12);
    margin: 10px 0 12px;
}

/* Payments row */
.lo-payments {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pay-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: .95;
}

.pay-sep {
    width: 1px;
    height: 18px;
    background: rgba(0, 0, 0, .15);
    flex: 0 0 1px;
}

/* See more button */
.lo-footer {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.lo-more {
    padding: 12px 28px;
    border-radius: 999px;
    border: 1.6px solid rgba(0, 0, 0, .55);
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-family: "Nunito", sans-serif;
    transition: .18s ease;
}

.lo-more:hover {
    background: rgba(0, 0, 0, .06);
}

/* Responsive */
@media (max-width: 1100px) {
    .lo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .lo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .lo-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 18px;
    }

    .lo-card.v2 {
        max-width: 100%;
    }

    /* stays stable */
}

@media (max-width: 380px) {
    .lo-grid {
        grid-template-columns: 1fr;
    }
}


/* Card – make it wider */
.lo-card.v2 {
    width: 100%;
    max-width: 340px;
    /* ⬅️ 310px → 340px */
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
    overflow: hidden;
    cursor: pointer;
    /* ✅ clickable hint */
    transition: transform .18s ease, box-shadow .18s ease;
}

/* Slight hover lift (desktop only) */
@media (hover:hover) {
    .lo-card.v2:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 65px rgba(0, 0, 0, .16);
    }
}

/* Image stays square but looks bigger because card is wider */
.lo-media.v2 {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #eee;
    border-radius: 34px;
    overflow: hidden;
}



/* ===== Brand Banner Section ===== */
.brand-banner {
    background: #fff;
    padding: 5px 0 20px;
    /* 🔽 top margin reduced */
}

@media (max-width: 560px) {
    .brand-banner {
        padding-top: 6px;
        /* 🔽 mobile top space even smaller */
        padding-bottom: 28px;
    }
}

.bb-wrap {
    position: relative;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
}

/* background image */
.bb-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.02);
}

/* vignette + soft blur sides like screenshot */
.bb-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(65% 70% at 55% 45%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 100%),
        linear-gradient(to right, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
}

/* overlay content (logo + text) */
.bb-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 70px;
    /* left offset like screenshot */
}

.bb-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
}

.bb-text h3 {
    margin: 0;
    font-size: 42px;
    letter-spacing: 6px;
    font-weight: 300;
    color: rgba(212, 175, 115, .95);
    line-height: 1;
}

.bb-text h2 {
    margin: 4px 0 6px;
    font-size: 48px;
    letter-spacing: 6px;
    font-weight: 600;
    color: rgba(212, 175, 115, .95);
    line-height: 1;
}

.bb-text p {
    margin: 0;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(212, 175, 115, .80);
}

/* responsive */
@media (max-width: 900px) {
    .bb-wrap {
        height: 220px;
    }

    .bb-content {
        padding-left: 40px;
    }

    .bb-text h3 {
        font-size: 34px;
        letter-spacing: 5px;
    }

    .bb-text h2 {
        font-size: 40px;
        letter-spacing: 5px;
    }
}

@media (max-width: 560px) {
    .bb-wrap {
        height: 170px;
        border-radius: 18px;
    }

    .bb-content {
        padding-left: 18px;
        gap: 12px;
    }

    .bb-logo {
        width: 50px;
        height: 50px;
    }

    .bb-text h3 {
        font-size: 22px;
        letter-spacing: 3px;
    }

    .bb-text h2 {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .bb-text p {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/* ===== Footer ===== */
.site-footer {
    background: #111;
    color: #eee;
    padding: 60px 0 0;
    font-family: "Nunito", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.site-footer .footer-logo img {
    width: 160px !important;
    /* 🔥 control logo size */
    max-width: 100%;
    height: auto;
    display: block;
}

/* mobile */
@media (max-width: 768px) {
    .site-footer .footer-logo img {
        width: 140px !important;
        margin: 0 auto;
    }
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .65);
    max-width: 360px;
}

/* Titles */
.footer-title {
    font-size: 16px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #fff;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    transition: .2s ease;
}

.footer-links a:hover {
    color: #d4af73;
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.footer-contact li {
    margin-bottom: 8px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .2s ease;
}

.footer-social a:hover {
    background: #d4af73;
    color: #111;
}

/* Bottom bar */
.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    padding: 16px 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 18px;
        gap: 28px;
    }

    .footer-logo {
        font-size: 28px;
    }
}

/* ===== Artwork Section ===== */
/* Artwork Section */
.footer-artwork {
    position: relative;
    margin-top: 50px;
    height: 120px;
    /* 🔽 කලින් 180px → දැන් smaller */
    background: url("/images/perahara.png") center bottom no-repeat;
    background-size: contain;
    /* 🔥 important (image stretch වෙන්නේ නැහැ) */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* overlay */
.footer-artwork::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 30%,
            rgba(0, 0, 0, 0.4) 70%,
            transparent);
}

/* text container */
.footer-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.458);
    letter-spacing: 0.5px;
}

/* ✨ subtle glow highlight */
.footer-overlay p::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 8px auto 0;
    background: #d4af73;
    box-shadow: 0 0 10px #d4af73;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer-artwork {
        height: 140px;
        background-size: cover;
    }

    .footer-overlay p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-artwork {
        height: 120px;
    }
}

/* shop */
/* ===== Category Strip Section (no top margin) ===== */
.category-strip {
    margin-top: 0;
    /* ✅ no top gap */
    padding-top: 0;
    background: #fff;
}

/* Banner */
.cs-banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.cs-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Brown bar (scrollable) */
.cs-bar {
    background: #8a755e;
    /* warm brown like screenshot */
    height: 64px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox hide */
    -ms-overflow-style: none;
    /* old edge */
}

.cs-bar::-webkit-scrollbar {
    /* Chrome/Safari hide */
    width: 0;
    height: 0;
}

.cs-track {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    padding: 0 44px;
    white-space: nowrap;
    margin: 0 auto;
    /* centers when not overflowing */
}

.cs-item {
    color: #fff;
    text-decoration: none;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 500;
    opacity: .95;
    padding: 10px 0;
}

.cs-item:hover {
    opacity: 1;
}

.cs-item.is-active {
    opacity: 1;
    font-weight: 700;
}

/* Controls row */
.cs-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Advance search button */
.cs-advance {
    border: 1.6px solid rgba(0, 0, 0, .60);
    background: transparent;
    border-radius: 999px;
    padding: 12px 26px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: .18s ease;
}

.cs-advance:hover {
    background: rgba(0, 0, 0, .06);
}

/* Sort dropdown (right) */
.cs-sort {
    position: relative;
    min-width: 320px;
}

.cs-sort select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    border: none;
    border-bottom: 1.6px solid rgba(0, 0, 0, .35);
    padding: 12px 40px 10px 10px;
    background: transparent;

    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(0, 0, 0, .60);
    outline: none;
}

.cs-chevron {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(0, 0, 0, .55);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .cs-banner {
        height: 240px;
    }

    .cs-track {
        gap: 40px;
        padding: 0 26px;
    }

    .cs-sort {
        min-width: 260px;
    }
}

@media (max-width: 560px) {
    .cs-banner {
        height: 210px;
    }

    .cs-track {
        gap: 32px;
        padding: 0 18px;
        margin: 0;
        /* mobile scroll always from left */
    }

    .cs-controls {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .cs-advance {
        padding: 11px 18px;
        font-size: 12px;
    }

    .cs-sort {
        min-width: 190px;
    }

    .cs-sort select {
        font-size: 13px;
    }
}

/* ===== Advance Search Modal ===== */
.as-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 18px;
}

.as-overlay.is-open {
    display: flex;
}

.as-modal {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .25);
    padding: 18px 18px 16px;
    font-family: "Nunito", sans-serif;
    animation: asPop .18s ease;
}

@keyframes asPop {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.as-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
    margin-bottom: 14px;
}

.as-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111;
}

.as-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 0, 0, .06);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: .18s ease;
}

.as-close:hover {
    background: rgba(0, 0, 0, .10);
}

.as-block {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.as-block:last-of-type {
    border-bottom: none;
}

.as-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.as-label {
    font-size: 13px;
    font-weight: 800;
    color: #111;
}

.as-value {
    font-size: 12px;
    color: rgba(0, 0, 0, .55);
    font-weight: 700;
}

/* Range slider (double) */
.as-range {
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
}

.as-range input[type="range"] {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    pointer-events: none;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    height: 38px;
}

/* track */
.as-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .12);
}

/* selected fill */
.as-fill {
    position: absolute;
    height: 6px;
    border-radius: 999px;
    background: rgba(122, 90, 67, .95);
    left: 0%;
    right: 0%;
}

/* thumbs */
.as-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(122, 90, 67, .95);
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    pointer-events: auto;
    cursor: pointer;
}

.as-range input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(122, 90, 67, .95);
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    pointer-events: auto;
    cursor: pointer;
}

/* Size select */
.as-select {
    width: 100%;
    border: 1.6px solid rgba(0, 0, 0, .18);
    border-radius: 14px;
    padding: 12px 12px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    color: rgba(0, 0, 0, .75);
    background: #fff;
    outline: none;
}

/* checkbox */
.as-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-weight: 700;
    color: rgba(0, 0, 0, .70);
    font-size: 14px;
    cursor: pointer;
}

.as-check input {
    width: 18px;
    height: 18px;
    accent-color: rgba(122, 90, 67, .95);
}

/* buttons */
.as-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 14px;
}

.as-btn {
    border-radius: 999px;
    padding: 12px 18px;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    cursor: pointer;
    border: 1.6px solid rgba(0, 0, 0, .20);
    background: transparent;
}

.as-btn-ghost:hover {
    background: rgba(0, 0, 0, .06);
}

.as-btn-primary {
    background: rgba(122, 90, 67, .95);
    border-color: rgba(122, 90, 67, .95);
    color: #fff;
}

.as-btn-primary:hover {
    filter: brightness(.96);
}

/* Mobile */
@media (max-width: 560px) {
    .as-modal {
        border-radius: 18px;
        padding: 16px 14px 14px;
    }

    .as-actions {
        flex-direction: column;
    }

    .as-btn {
        width: 100%;
        justify-content: center;
    }
}

/* login */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

/* Left image */
.auth-left {
    position: relative;
    background: #eee;
}

.auth-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right side */
.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 22px;
}

.auth-card {
    width: min(420px, 100%);
}

.auth-title {
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 700;
}

.auth-sub {
    margin: 0 0 22px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field input {
    width: 100%;
    border: none;
    outline: none;
    background: #ededed;
    /* ✅ light ash */
    border-radius: 14px;
    padding: 15px 18px;
    font-weight: 500;
    font-size: 14px;
    color: #222;
}

.field input::placeholder {
    color: #7a7a7a;
    /* softer placeholder */
    font-weight: 500;
}


/* Password field with toggle */
.field-pass {
    position: relative;
}

.pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: rgba(0, 0, 0, .55);
}

/* Remember me */
.remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: rgba(0, 0, 0, .65);
    user-select: none;
}

.remember input {
    width: 16px;
    height: 16px;
    accent-color: rgba(0, 0, 0, .75);
}

/* Buttons */
.btn-login {
    width: 100%;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    border: 1.6px solid rgba(0, 0, 0, .55);
}

/* Primary Login button */
.btn-primary-login {
    background: transparent;
    border: 1.6px solid rgba(0, 0, 0, .55);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.25s ease;
}

.btn-primary-login:hover {
    background: #00000006;
    /* dark fill */
    color: #000000;
    transform: translateY(-1px);
    /* slight lift */
}


.divider {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider span {
    width: 100%;
    height: 1px;
    background: var(--line);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background: #00000006;
    /* dark fill */
    color: #000000;
    transform: translateY(-1px);
    /* slight lift */
}

.g-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.auth-footer {
    margin: 6px 0 0;
    text-align: center;
    color: rgba(0, 0, 0, .55);
    font-weight: 500;
}

.auth-footer .link {
    color: #111;
    text-decoration: none;
    font-weight: 900;
    margin-left: 6px;
}

.auth-footer .link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .auth {
        grid-template-columns: 1fr;
    }

    .auth-left {
        height: 25vh;
        /* image height slightly reduced */
    }

    .auth-right {
        align-items: flex-start;
        /* ✅ stop vertical centering */
        padding-top: 12px;
        /* ✅ move section up */
        padding-bottom: 32px;
    }

    .auth-card {
        margin-top: 0;
        /* ensure no extra gap */
    }
}

/* Error message */
.error-text {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #c0392b;
    min-height: 16px;
}

/* cart */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.cart-container {
    width: min(1200px, calc(100% - 72px));
    margin: 0 auto;
}

@media (max-width: 560px) {
    .cart-container {
        width: calc(100% - 32px);
    }
}

.cart-header {
    padding: 28px 0 10px;
}

.cart-title {
    margin: 0 0 6px;
    font-size: 38px;
    font-weight: 800;
}

.cart-sub {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.cart-content {
    padding: 14px 0 70px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 26px;
    align-items: start;
}

@media (max-width: 980px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

/* Items table */
.cart-items {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cart-row {
    display: grid;
    grid-template-columns: 2.2fr .8fr 1fr .9fr .5fr;
    gap: 14px;
    padding: 14px 16px;
    align-items: center;
}

.cart-row-head {
    background: rgba(0, 0, 0, .03);
    font-weight: 800;
    color: rgba(0, 0, 0, .60);
    font-size: 12px;
    letter-spacing: .2px;
}

.cart-item {
    border-top: 1px solid var(--line);
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

.prod {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.thumb {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
    flex: 0 0 74px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pinfo h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pinfo p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

/* Qty */
.qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qbtn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.qval {
    width: 54px;
    text-align: center;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-weight: 800;
    outline: none;
}

.icon-x {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .65);
}

.icon-x:hover {
    background: rgba(0, 0, 0, .10);
}

.money {
    font-weight: 900;
    color: rgba(0, 0, 0, .75);
}

/* Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, .02);
}

/* Summary */
.cart-summary .sum-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
}

.sum-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: rgba(0, 0, 0, .70);
    font-weight: 800;
}

.sum-row-total {
    border-bottom: none;
    padding-top: 14px;
    font-size: 16px;
}

.coupon {
    display: flex;
    gap: 10px;
    margin: 14px 0 12px;
}

.coupon input {
    flex: 1;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #ededed;
    font-weight: 500;
    outline: none;
}

.sum-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1.6px solid rgba(0, 0, 0, .55);
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    color: #111;
}

.btn:hover {
    background: rgba(0, 0, 0, .06);
}

.btn-ghost {
    border-color: rgba(0, 0, 0, .35);
    color: rgba(0, 0, 0, .80);
}

.btn-clear {
    border-color: rgba(0, 0, 0, .18);
    color: rgba(0, 0, 0, .70);
}

.btn-dark {
    border-color: rgba(0, 0, 0, .80);
    background: rgba(0, 0, 0, .86);
    color: #fff;
}

.btn-primary {
    background: black;
    border-color: black;
    color: #ffffff;
}

.btn-primary:hover {
    color: black;
}


.btn-full {
    width: 100%;
    justify-content: center;
}

/* Mobile layout */
@media (max-width: 700px) {
    .cart-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 14px 14px;
    }

    .cart-row-head {
        display: none;
    }

    .right,
    .center {
        text-align: left;
    }

    .qty {
        justify-content: flex-start;
    }

    .cart-actions {
        flex-direction: column;
    }
}

/* Pay buttons under checkout */
.pay-split {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.btn-pay {
    border-color: rgba(0, 0, 0, .55);
    background: transparent;
    color: #111;
}

.btn-pay:hover {
    background: rgba(0, 0, 0, .06);
}

/* Smaller action buttons */
.btn-sm {
    padding: 9px 12px;
    font-size: 12px;
    gap: 8px;
}

/* Pay buttons with icons */
.pay-split {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-color: rgba(0, 0, 0, .55);
    background: transparent;
    color: #111;
    font-weight: 800;
}

.btn-pay img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.btn-pay:hover {
    background: rgba(0, 0, 0, .06);
}

/* Optional: slight brand feel */
.btn-pay:active {
    transform: translateY(0);
}

/* whishlist */
.wishlist-container {
    width: min(1200px, calc(100% - 72px));
    margin: 0 auto;
}

@media (max-width:560px) {
    .wishlist-container {
        width: calc(100% - 32px);
    }
}

/* Header */
.wishlist-header {
    padding: 28px 0 10px;
}

.wishlist-title {
    margin: 0 0 6px;
    font-size: 38px;
    font-weight: 800;
}

.wishlist-sub {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    font-weight: 700;
}

/* Box */
.wishlist-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Item */
.wish-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.wish-item:first-child {
    border-top: none;
}

.wish-prod {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wish-thumb {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
}

.wish-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wish-info h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
}

.wish-info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}

.wish-price {
    font-weight: 900;
    text-align: right;
}

.wish-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-ghost {
    border-color: rgba(0, 0, 0, .35);
    color: rgba(0, 0, 0, .8);
}

.btn-sm {
    padding: 8px 12px;
    font-size: 12px;
}

/* Remove */
.icon-x {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 0, 0, .06);
    cursor: pointer;
}

.icon-x:hover {
    background: rgba(0, 0, 0, .12);
}

/* Empty */
.wishlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
}

.wishlist-empty i {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width:700px) {
    .wish-item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .wish-price {
        text-align: left;
    }

    .wish-actions {
        justify-content: flex-start;
    }
}

/* profile */
/* ===== Profile Hero ===== */
.profile-hero {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.ph-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.72);
}

.ph-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
}

.ph-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: "Nunito", sans-serif;
}

.ph-content h1 {
    margin: 0 0 6px;
    font-size: 44px;
    font-weight: 700;
}

.ph-content p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    opacity: .95;
}

/* ===== Container (match your site margins) ===== */
.pt-container {
    width: min(1200px, calc(100% - 72px));
    margin: 0 auto;
}

@media (max-width:560px) {
    .pt-container {
        width: calc(100% - 32px);
    }
}

/* ===== Scrollable Tabs Section ===== */
.profile-tabs-wrap {
    background: #fff;
    padding-top: 10px;
}

/* Horizontal scroll nav */
.profile-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;

    overflow-x: auto;
    /* ✅ scrollable */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* hide scrollbar */
    padding: 16px 0 16px;

    white-space: nowrap;
}

.profile-tabs::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* tabs */
.pt-tab {
    border: none;
    background: transparent;
    cursor: pointer;

    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(0, 0, 0, .75);

    padding: 10px 8px;
    position: relative;
    transition: .18s ease;
}

/* ✅ active = bold */
.pt-tab.is-active {
    font-weight: 800;
    color: #111;
}

/* subtle underline for active */
.pt-tab.is-active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 2px;
    height: 2px;
    background: rgba(0, 0, 0, .22);
    border-radius: 999px;
}

.pt-line {
    height: 2px;
    width: 100%;
    background: rgba(0, 0, 0, .12);
}

/* ===== Content Section ===== */
.profile-content {
    background: #fff;
    padding: 26px 0 70px;
    font-family: "Nunito", sans-serif;
}

.pt-panel {
    display: none;
}

.pt-panel.is-show {
    display: block;
}

.pt-muted {
    color: rgba(0, 0, 0, .55);
    font-weight: 700;
}

/* ===== Details layout like screenshot ===== */
.pd-grid {
    display: grid;
    grid-template-columns: 140px 1fr 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.pd-avatar {
    display: flex;
    justify-content: center;
}

.pd-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 3px solid rgba(122, 90, 67, .95);
    /* brown ring */
    display: grid;
    place-items: center;
    color: rgba(0, 0, 0, .45);
    background: rgba(0, 0, 0, .04);
    font-size: 34px;
}

.pd-field label {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.pd-field input {
    width: 100%;
    border: none;
    outline: none;
    background: #ededed;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
    color: rgba(0, 0, 0, .70);
}

.pd-divider {
    height: 2px;
    background: rgba(0, 0, 0, .12);
    margin: 26px 0;
}

.pd-title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 800;
    color: #111;
}

.pd-reset {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 26px;
    align-items: end;
}

.pd-btn {
    border-radius: 999px;
    border: 1.6px solid rgba(0, 0, 0, .55);
    background: transparent;
    padding: 12px 22px;
    font-weight: 900;
    cursor: pointer;
    font-family: "Nunito", sans-serif;
}

.pd-btn:hover {
    background: rgba(0, 0, 0, .06);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .pd-grid {
        grid-template-columns: 100px 1fr 1fr;
    }

    .pd-grid .pd-field:nth-child(4) {
        /* contact */
        grid-column: 2 / -1;
    }

    .profile-tabs {
        gap: 46px;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .profile-hero {
        height: 240px;
    }

    .ph-content h1 {
        font-size: 34px;
    }

    .ph-content p {
        font-size: 16px;
    }

    .profile-tabs {
        gap: 28px;
        justify-content: flex-start;
        /* easier to scroll */
    }

    .pt-tab {
        font-size: 16px;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pd-avatar {
        justify-content: flex-start;
    }

    .pd-reset {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pd-btn {
        width: fit-content;
    }
}

/* profile orders section */
/* ===== Orders Section ===== */
.orders-title {
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 800;
    color: #111;
    font-family: "Nunito", sans-serif;
}

.orders-empty {
    display: none;
    min-height: 280px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: rgba(0, 0, 0, .55);
    border-radius: 18px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Card */
.order-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
    padding: 18px;
    display: grid;
    grid-template-columns: 1.6fr .7fr 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.order-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.order-thumb {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    overflow: hidden;
    background: #eee;
    flex: 0 0 92px;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-info h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 900;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-info p {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, .55);
}

.order-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
}

/* Badge colors (match screenshot feel) */
.badge-ready {
    background: #5ea2bf;
}

/* blue */
.badge-pack {
    background: #c89c64;
}

/* brown/gold */
.badge-done {
    background: #5dbb76;
}

/* green */
.badge-transit {
    background: #9864c8;
}

/* same warm brown */

/* Middle */
.order-mid {
    display: flex;
    justify-content: center;
}

.order-price {
    font-size: 22px;
    font-weight: 900;
    color: #111;
}

/* Actions */
.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.order-btn {
    border-radius: 999px;
    padding: 12px 18px;
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    cursor: pointer;
    border: 1.6px solid rgba(0, 0, 0, .55);
    background: transparent;
}

.order-btn-dark {
    background: rgba(0, 0, 0, .92);
    border-color: rgba(0, 0, 0, .92);
    color: #fff;
}

.order-btn-dark:hover {
    filter: brightness(.96);
}

.order-btn-ghost {
    border-color: rgba(0, 0, 0, .55);
    color: rgba(0, 0, 0, .75);
}

.order-btn-ghost:hover {
    background: rgba(0, 0, 0, .06);
}

/* Responsive */
@media (max-width: 980px) {
    .order-card {
        grid-template-columns: 1fr;
    }

    .order-mid {
        justify-content: flex-start;
    }

    .order-actions {
        justify-content: flex-start;
    }
}

/* view order box */
/* ===== Modern Order Tracking Modal ===== */
.order-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 18px;
}

.order-modal.active {
    display: flex;
}

/* Glass / modern card */
.order-modal-box.modern {
    width: 100%;
    max-width: 820px;
    border-radius: 26px;
    padding: 22px 22px 18px;
    position: relative;

    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 255, 255, .35);
    font-family: "Nunito", sans-serif;

    animation: modalPop .18s ease-out;
}

@keyframes modalPop {
    from {
        transform: translateY(10px) scale(.98);
        opacity: .0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.order-modal-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    cursor: pointer;

    background: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .70);
    display: grid;
    place-items: center;
    font-size: 18px;
}

.order-modal-close:hover {
    background: rgba(0, 0, 0, .10);
}

/* Header */
.om-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 4px 14px;
}

.om-kicker {
    margin: 0;
    font-weight: 900;
    letter-spacing: .2px;
    color: rgba(0, 0, 0, .55);
    font-size: 12px;
    text-transform: uppercase;
}

.om-title {
    margin: 4px 0 0;
    font-size: 26px;
    font-weight: 1000;
    color: #111;
}

/* top pill */
.om-pill {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .10);
}

.om-pill-processing {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
}

.om-pill-processing-2 {
    background: rgba(200, 127, 100, 0.18);
    color: rgba(90, 40, 25, 0.95);
}

.om-pill-deliver-1 {
    background: rgba(100, 183, 200, 0.18);
    color: rgba(25, 50, 90, 0.95);
}

.om-pill-delivered-2 {
    background: rgba(100, 200, 133, 0.18);
    color: rgba(25, 90, 26, 0.95);
}

/* Body card */
.om-card {
    background: rgba(255, 255, 255, .70);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 22px;
    padding: 14px;
}

/* Timeline rows */
.om-row {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 14px;
    padding: 14px 8px;
    align-items: center;
}

.om-row+.om-row {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

/* timeline vertical line */
.om-row::before {
    content: "";
    position: absolute;
    left: 16px;
    top: -14px;
    bottom: -14px;
    width: 2px;
    background: rgba(0, 0, 0, .10);
}

.om-row:first-child::before {
    top: 50%;
}

.om-row:last-child::before {
    bottom: 50%;
}

/* dots */
.om-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 1px;
    z-index: 2;
    background: rgba(0, 0, 0, .22);
    border: 2px solid rgba(255, 255, 255, .95);
}

.om-dot.done {
    background: #52c176;
}

.om-dot.current {
    background: #c89c64;
    box-shadow: 0 0 0 6px rgba(200, 156, 100, .20);
}

.om-dot.pending {
    background: rgba(0, 0, 0, .20);
}

.om-info h4 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 1000;
    color: #111;
}

.om-info p {
    margin: 0;
    color: rgba(0, 0, 0, .55);
    font-weight: 800;
    font-size: 13px;
}

/* status tags */
.om-status {
    padding: 9px 14px;
    border-radius: 12px;
    font-weight: 1000;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .10);
}

.om-status.done {
    background: rgba(82, 193, 118, .18);
    color: rgba(25, 110, 55, .95);
}

.om-status.processing {
    background: rgba(200, 156, 100, .22);
    color: rgba(90, 60, 25, .95);
}

.om-status.pending {
    background: rgba(122, 90, 67, .18);
    color: rgba(70, 45, 30, .95);
}

/* Footer buttons */
.om-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 14px;
}

.om-btn {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 1000;
    font-family: "Nunito", sans-serif;
    cursor: pointer;
    border: 1.6px solid rgba(0, 0, 0, .30);
    background: transparent;
}

.om-btn-ghost:hover {
    background: rgba(0, 0, 0, .06);
}

.om-btn-dark {
    background: rgba(0, 0, 0, .92);
    border-color: rgba(0, 0, 0, .92);
    color: #fff;
}

.om-btn-dark:hover {
    filter: brightness(.96);
}

/* Mobile */
@media (max-width: 620px) {
    .order-modal-box.modern {
        padding: 18px 16px 14px;
    }

    .om-row {
        grid-template-columns: 18px 1fr;
    }

    .om-status {
        grid-column: 2;
        justify-self: flex-start;
    }

    .om-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

/* profile address section */
/* ===== Addresses (Pro) ===== */
.addr-title {
    margin: 0 0 18px;
    font-size: 26px;
    font-weight: 800;
    color: #111;
    font-family: "Nunito", sans-serif;
}

.addr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(230px, 1fr));
    gap: 22px;
    align-items: start;
}

@media (max-width: 980px) {
    .addr-grid {
        grid-template-columns: repeat(2, minmax(230px, 1fr));
    }
}

@media (max-width: 640px) {
    .addr-grid {
        grid-template-columns: 1fr;
    }
}

/* premium card */
.addr-card-pro {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .12);
    padding: 18px 18px 16px;
    position: relative;
    overflow: hidden;
}

/* subtle top highlight */
.addr-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1000px 160px at 30% -20%, rgba(122, 90, 67, .18), transparent 55%);
    pointer-events: none;
}

.addr-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.addr-chip {
    font-weight: 1000;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(122, 90, 67, .14);
    color: rgba(70, 45, 30, .95);
    border: 1px solid rgba(122, 90, 67, .18);
}

.addr-edit-pro {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .78);
    font-weight: 1000;
    font-family: "Nunito", sans-serif;
}

.addr-edit-pro-2 {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: rgba(0, 0, 0, .78);
    font-weight: 1000;
    font-family: "Nunito", sans-serif;
}

.addr-edit-pro:hover {
    background: rgba(0, 0, 0, .10);
}

.addr-lines {
    position: relative;
    z-index: 1;
}

.addr-lines p {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
}

/* add tile (professional) */
.addr-add-pro {
    border: none;
    cursor: pointer;
    border-radius: 22px;
    min-height: 160px;
    background: rgba(0, 0, 0, .05);
    border: 1px dashed rgba(0, 0, 0, .18);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .10);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-family: "Nunito", sans-serif;
    font-weight: 1000;
    color: rgba(0, 0, 0, .70);
}

.addr-add-pro i {
    font-size: 46px;
    color: rgba(0, 0, 0, .55);
}

.addr-add-pro:hover {
    background: rgba(0, 0, 0, .08);
}

/* ===== Modal styles reused (your modern modal) ===== */
.addr-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.addr-modal.is-show {
    display: flex;
}

.lbl-btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.lbl-btn.is-active {
    border-color: #ff6b35;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

.addr-modal.active {
    display: flex;
}

/* Base Modal Box Styling */
.addr-modal-box.modern.wide {
    max-width: 800px;
    width: 95%;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

/* Two-Column Grid Layout */
.addr-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    gap: 25px;
    /* margin-bottom: 15px; */
}

/* Field & Input Styling */
.addr-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.addr-field input,
.addr-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    /* Light background from */
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.addr-field input:focus {
    border-color: #333;
    background-color: #fff;
    outline: none;
}

/* Label Selection Buttons */
.addr-label-sec p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #444;
}

.label-btns {
    display: flex;
    gap: 15px;
}

.lbl-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

/* Specific Label Active States */
.lbl-btn[data-value="OFFICE"].is-active {
    border-color: #00bcd4;
    /* Cyan border for Office */
    color: #00bcd4;
    background: rgba(0, 188, 212, 0.05);
}

.lbl-btn[data-value="HOME"].is-active {
    border-color: #ff6b35;
    /* Orange border for Home */
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.05);
}

/* Responsive Stack for Mobile */
@media (max-width: 768px) {
    .addr-grid-layout {
        grid-template-columns: 1fr;
    }

    .addr-modal-box.modern.wide {
        padding: 25px;
    }
}

@keyframes addrPop {
    from {
        transform: translateY(10px) scale(.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.addr-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    background: rgba(0, 0, 0, .06);
    cursor: pointer;
    color: rgba(0, 0, 0, .70);
    display: grid;
    place-items: center;
}

.addr-close:hover {
    background: rgba(0, 0, 0, .10);
}

.addr-kicker {
    margin: 0;
    font-weight: 900;
    letter-spacing: .2px;
    color: rgba(0, 0, 0, .55);
    font-size: 12px;
    text-transform: uppercase;
}

.addr-modal-title {
    margin: 6px 0 16px;
    font-size: 26px;
    font-weight: 1000;
    color: #111;
}

.addr-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.addr-field label {
    display: block;
    margin: 0 0 8px;
    font-weight: 900;
    color: #111;
}

.addr-field input {
    width: 100%;
    border: none;
    outline: none;
    background: #ededed;
    border-radius: 12px;
    padding: 12px 14px;
    color: rgba(0, 0, 0, .75);
}

.addr-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.addr-actions-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 8px;
}

.addr-btn {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 1000;
    font-family: "Nunito", sans-serif;
    cursor: pointer;
    border: 1.6px solid rgba(0, 0, 0, .30);
    background: transparent;
}

.addr-btn-ghost:hover {
    background: rgba(0, 0, 0, .06);
}

.addr-btn-dark {
    background: rgba(0, 0, 0, .92);
    border-color: rgba(0, 0, 0, .92);
    color: #fff;
}

.addr-btn-dark:hover {
    filter: brightness(.96);
}

@media (max-width: 640px) {
    .addr-2col {
        grid-template-columns: 1fr;
    }

    .addr-actions-row {
        flex-direction: column;
    }
}

/* ===== Review Form ===== */
.pv-review-form {
    border-bottom: 1px solid rgba(0, 0, 0, .10);
    padding-bottom: 16px;
    margin-bottom: 14px;
}

.rv-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 22px;
    cursor: pointer;
}

.rv-stars i {
    color: rgba(0, 0, 0, .35);
    transition: .2s;
}

.rv-stars i.active {
    color: rgba(122, 90, 67, .95);
}

.pv-review-form textarea {
    width: 100%;
    min-height: 90px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .20);
    padding: 12px;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    margin-bottom: 12px;
    resize: vertical;
}

/* review card */
.review-card {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.review-stars i {
    margin-left: 2px;
}

.review-text {
    margin: 0;
    color: rgba(0, 0, 0, .65);
    font-weight: 800;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 10px 0;
    /* Adjust spacing as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Horizontal Line */
.auth-divider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    /* Match your border color */
    z-index: 1;
}

/* The "or" text */
.auth-divider span {
    position: relative;
    background-color: #ffffff;
    /* MUST match your card's background color */
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    z-index: 2;
    /* Sits above the line */
    text-transform: lowercase;
}

/* WhatsApp Float Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 35px;
    /* Positioned above mobile bottom nav */
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* Professional Ripple Animation */
.whatsapp-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-ripple-animation 2s infinite;
}

@keyframes whatsapp-ripple-animation {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Tooltip for professionalism */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Adjust for mobile screens if your mobile menu is tall */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 100px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

.head-aaa {
    font-family: "Italiana", serif;
}
