/* Sazhanem Theme */

:root {
    --background: #fff7ef;
    --surface: #ffffff;
    --surface-container-low: #f8eadc;
    --surface-container-high: #ead3bc;
    --surface-container-highest: #ffffff;
    --primary: #d9965f;
    --primary-container: #f1d0ad;
    --on-primary: #ffffff;
    --on-surface: #3b332c;
    --on-surface-variant: #766b61;
    --outline-variant: #d6bda3;
    --text-muted: #837468;
    --inverse-surface: #0b0f11;
    --shadow: rgba(138, 91, 49, 0.1);
    --radius: 1.75rem;
    --hero-dark: #0b0f11;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-primary\/10 {
    background-color: color-mix(in srgb, var(--primary) 14%, transparent) !important;
}

.hover\:text-primary:hover {
    color: var(--primary) !important;
}

.hover\:border-primary:hover {
    border-color: var(--primary) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background: var(--background);
    color: var(--on-surface);
    line-height: 1.7;
}

img,
video,
iframe {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

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

button {
    border: none;
}

.glass-navbar {
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 48px -24px var(--shadow);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.header-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(180px, 260px) auto;
    align-items: center;
    gap: 1.25rem;
}

.header-menu-wrap {
    min-width: 0;
}

.header-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary);
}

.nav-link {
    color: var(--on-surface-variant) !important;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link.active {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.25rem;
}

.nav-actions .btn-outline-secondary {
    border-color: rgba(112, 118, 123, 0.18);
    color: var(--on-surface);
}

.nav-actions .btn-outline-secondary:hover {
    color: var(--primary);
    border-color: rgba(217, 150, 95, 0.45);
}

.nav-icon {
    position: relative;
    color: var(--on-surface-variant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f8eadc;
    border-radius: 14px;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-icon:hover {
    background: #e7b985;
    color: var(--on-primary);
}

.nav-icon-button {
    border: 0;
    padding: 0;
}

.nav-icon.is-active {
    background: var(--primary);
    color: var(--primary-container);
}

.badge-notification {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d65;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.search-pill {
    min-width: 0;
}

.header-search {
    display: flex;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(112, 118, 123, 0.15);
    border-radius: 999px;
    background: #f8eadc;
    padding: 0 0.35rem 0 1rem;
}

.header-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
}

.header-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    color: var(--on-surface);
    background: transparent;
}

.menu-toggle { display: none; }

.hero {
    border-radius: 2.5rem;
    padding: 3.25rem 2rem;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: var(--hero-dark);
}

.hero-home {
    height: clamp(360px, 42vw, 640px);
    min-height: unset;
}

.hero-slider {
    padding: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: absolute;
}

.hero-media,
.hero-media img,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media {
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.62;
    transition: transform 0.7s ease;
}

.hero:hover .hero-media img {
    transform: scale(1.05);
}

.hero-overlay {
    background:
        radial-gradient(circle at 78% 18%, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(90deg, rgba(11,15,17,0.92) 0%, rgba(11,15,17,0.55) 48%, rgba(11,15,17,0.2) 100%);
}

.hero-copy {
    max-width: 520px;
    position: relative;
    z-index: 1;
    padding: 0 0 2.25rem;
}

.hero-slider .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero h5,
.hero h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero h1 {
    font-size: clamp(2rem, 2.5vw, 3.4rem);
    line-height: 1.04;
    margin-bottom: 0.85rem;
}

.hero p {
    font-size: 0.9rem;
    max-width: 520px;
    color: rgba(255,255,255,0.92);
    margin-bottom: 1.2rem;
}

.hero .badge {
    font-size: 0.72rem;
    padding: 0.5rem 0.95rem;
    margin-bottom: 0.85rem !important;
}

.hero-dots {
    position: absolute;
    left: 2.5rem;
    bottom: 1.5rem;
    z-index: 3;
    display: flex;
    gap: 0.6rem;
}

.hero-product-slider { overflow:hidden; isolation:isolate; border:1px solid rgba(255,204,0,.2); background:radial-gradient(ellipse at 76% 50%,#49350e 0%,#2b210d 43%,#17150f 100%); color:#fff9e9; box-shadow:0 28px 70px -42px rgba(45,31,0,.72); }
.hero-product-slide { display:flex; align-items:stretch; padding:clamp(1.5rem,4vw,4rem); }
.hero-product-slide::after { position:absolute; z-index:1; inset:0; content:""; pointer-events:none; background:linear-gradient(90deg,rgba(20,18,13,.97) 0%,rgba(26,22,14,.88) 35%,rgba(31,25,13,.43) 68%,rgba(30,23,12,.12) 100%); }
.hero-product-copy { position:relative; z-index:2; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; width:min(58%,680px); min-width:0; padding:clamp(1rem,2.5vw,2.5rem); color:#fff9e9; }
.hero-product-eyebrow { display:inline-flex; max-width:100%; margin-bottom:1.2rem; padding:.55rem .95rem; border:1px solid rgba(255,204,0,.34); border-radius:999px; background:rgba(255,204,0,.15); color:#ffcc00; font-size:.75rem; font-weight:850; letter-spacing:.15em; text-transform:uppercase; }
.hero-product-copy h1 { max-width:14ch; margin:0 0 1rem; color:#fff9e9; font-size:clamp(2.25rem,4.4vw,4.5rem); line-height:1.04; overflow-wrap:anywhere; text-shadow:0 3px 24px rgba(0,0,0,.25); }
.hero-product-copy p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; max-width:48ch; margin:0 0 1.6rem; color:rgba(255,249,233,.8); font-size:clamp(.95rem,1.2vw,1.1rem); line-height:1.7; }
.hero-product-visual { position:absolute; z-index:0; inset:0 0 0 28%; display:flex; align-items:center; justify-content:flex-end; overflow:hidden; pointer-events:none; }
.hero-product-visual img { width:76%; height:100%; object-fit:contain; padding:clamp(1rem,3vw,3rem); opacity:.36; filter:saturate(.8) contrast(1.08); mix-blend-mode:screen; -webkit-mask-image:radial-gradient(ellipse 60% 68% at 68% 50%,#000 35%,rgba(0,0,0,.78) 58%,transparent 100%); mask-image:radial-gradient(ellipse 60% 68% at 68% 50%,#000 35%,rgba(0,0,0,.78) 58%,transparent 100%); transition:transform .7s ease,opacity .7s ease; }
.hero-product-slide.is-active .hero-product-visual img { transform:scale(1.025); opacity:.42; }
.hero-product-slider .hero-dots { left:auto; right:2rem; bottom:1.35rem; }
.hero-product-slider .hero-dot { background:rgba(255,249,233,.35); }
.hero-product-slider .hero-dot.is-active { background:#ffcc00; }

.hero-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
    background: var(--primary-container);
}

.text-primary-fixed {
    color: var(--primary-container);
}

.btn-primary {
    background: linear-gradient(135deg, #e7b985 0%, #d9965f 100%);
    border-radius: 999px;
    color: var(--on-primary);
    padding: 0.85rem 1.45rem;
    box-shadow: 0 18px 40px -24px rgba(217, 150, 95, 0.42);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px -26px rgba(217, 150, 95, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.16);
    color: white;
    border-radius: 999px;
    padding: 1rem 2rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 170px;
    font-size: 0.95rem;
    font-weight: 700;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
}

.section-header .section-link {
    color: var(--primary);
    font-weight: 700;
}

.category-filter-icon,
.category-admin-icon-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.category-filter-icon svg,
.category-admin-icon-preview svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
}

.category-filter-icon svg *,
.category-admin-icon-preview svg * {
    stroke: currentColor !important;
    fill: currentColor !important;
}

.category-admin-icon-preview {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.category-admin-icon-preview svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
    max-width: 1.35rem;
    max-height: 1.35rem;
}

.category-admin-icon-preview svg * {
    fill: currentColor !important;
    stroke: currentColor !important;
}

.category-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.75rem;
    padding: 1rem 1.125rem;
    border-radius: 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.category-main-link:hover {
    transform: translateY(-1px);
}

.category-main-link__left {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.category-main-link__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.category-main-link__icon--empty::before {
    content: "";
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: currentColor;
}

.category-main-link__icon svg {
    width: 1.9rem !important;
    height: 1.9rem !important;
    max-width: 1.9rem;
    max-height: 1.9rem;
}

.category-main-link__icon svg * {
    stroke: currentColor !important;
    fill: currentColor !important;
}

.category-main-link__label {
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-main-link__chevron {
    font-size: 1.9rem;
    line-height: 1;
    opacity: 0.58;
    flex-shrink: 0;
}

.category-main-link.bg-primary .category-main-link__icon {
    background: #ffffff;
    color: #111111;
}

.category-main-link.bg-primary\/10 .category-main-link__icon,
.category-main-link:hover .category-main-link__icon {
    background: #ffffff;
    color: #111111;
}

@media (max-width: 1024px) {
    .category-main-link {
        min-height: 4.15rem;
        padding: 0.9rem 1rem;
    }

    .category-main-link__icon {
        width: 2.7rem;
        height: 2.7rem;
    }

    .category-main-link__icon svg {
        width: 1.7rem !important;
        height: 1.7rem !important;
        max-width: 1.7rem;
        max-height: 1.7rem;
    }
}

.surface-card,
.product-card,
.sidebar-card,
.footer-panel {
    background: var(--surface);
    border-radius: 2rem;
    box-shadow: 0 20px 50px -30px var(--shadow);
}

.surface-card {
    padding: 2rem;
}

.product-card {
    border: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--surface);
    position: relative;
    cursor: pointer;
    border-radius: 1.35rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px -32px var(--shadow);
}

.product-card-media {
    height: 250px;
    min-height: 250px;
    flex: 0 0 250px;
    border-radius: 1.1rem;
    margin: 1rem 1rem 0;
    background: var(--surface-container-low);
    isolation: isolate;
}

.product-card-image {
    object-fit: contain;
    padding: 0.85rem;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card-image.is-active {
    transform: scale(1.02);
}

.product-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 1.35rem;
}

.product-card-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.product-card-slide.is-active {
    opacity: 1;
}

.product-card-dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.35rem;
    z-index: 3;
}

.product-card-dot {
    width: 0.42rem;
    height: 0.42rem;
    border: 0;
    border-radius: 999px;
    background: rgba(138, 91, 49, 0.2);
}

.product-card-dot.is-active {
    background: var(--primary);
}

.product-card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: rgba(32, 35, 38, 0.42);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.product-card:hover .product-card-arrow,
.product-card:focus-within .product-card-arrow {
    opacity: 1;
}

.product-card-arrow:hover {
    background: rgba(32, 35, 38, 0.62);
}

.product-card-prev {
    left: 1rem;
}

.product-card-next {
    right: 1rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-gallery-stage {
    aspect-ratio: 4 / 3;
    min-height: 440px;
    max-height: 520px;
}

/* Keep product detail content inside narrow mobile viewports. */
.product-detail-page {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.product-detail-layout,
.product-detail-layout > div {
    min-width: 0;
}

.product-detail-breadcrumb {
    overflow-wrap: anywhere;
}

.product-gallery-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2.5rem;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.product-gallery-slide.is-active {
    opacity: 1;
}

.product-gallery-thumbs-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    padding: 0.25rem 0.1rem;
}

.product-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery-thumb {
    flex: 0 0 84px;
    border: 0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 16px 32px -20px var(--shadow);
    overflow: hidden;
    padding: 0.3rem;
    opacity: 0.72;
}

.product-gallery-thumb.is-active {
    opacity: 1;
    box-shadow: 0 18px 36px -18px rgba(140, 91, 63, 0.28);
}

.product-gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 0.85rem;
    background: var(--surface-container-low);
    padding: 0.4rem;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: rgba(35, 38, 42, 0.44);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.product-gallery-arrow:hover,
.product-gallery-thumbs-arrow:hover {
    background: rgba(35, 38, 42, 0.62);
}

.product-gallery-prev {
    left: 1rem;
}

.product-gallery-next {
    right: 1rem;
}

.product-gallery-thumbs-arrow {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: rgba(35, 38, 42, 0.36);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    backdrop-filter: blur(6px);
}

.product-detail-description {
    overflow-wrap: anywhere;
}

.product-detail-description-content {
    max-width: 78ch;
}

.product-card .card-body,
.product-card-body {
    padding: 1.05rem 1rem 1.15rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.product-card .card-title,
.product-card h3,
.product-card h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-card .card-title,
.product-card-title {
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 800;
    margin: 0 0 0.45rem;
    min-height: 2.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-text,
.product-card-description {
    color: var(--on-surface-variant);
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0 0 0.9rem;
    min-height: 2.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-category {
    margin: 0 0 0.45rem;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 2.5rem;
    margin-top: auto;
}

.product-card .price-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #c57d45 100%);
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    box-shadow: 0 14px 28px -20px rgba(138, 91, 49, 0.65);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-card .badge-custom {
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-primary {
    background: var(--primary);
    color: var(--on-primary);
}

.badge-tertiary {
    background: var(--primary-container);
    color: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.editorial-section {
    background: #f1ede8;
    border-radius: 2.5rem;
}

.category-card {
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 1.75rem;
    color: white;
    background-position: center;
    background-size: cover;
}

.category-card h3 {
    margin: 0;
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 15%, rgba(0,0,0,0.78) 100%);
}

.category-card .category-meta {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.footer-panel {
    background: #211b10;
    padding: 3rem 0 2rem;
    color: #fff9e9;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1rem;
    color: #f4d35e;
}

.footer-copy,
.footer-links a {
    color: #d3ccbb;
}

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

.footer-links .footer-seller-login {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: .35rem;
    margin-top: .25rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #ffcc00;
    color: #332300;
    font-weight: 800;
    text-decoration: none;
}

.footer-links .footer-seller-login:hover {
    background: #ffb900;
    color: #241800;
}

.footer-title { color: #fff9e9; }

.footer-links { display: grid; gap: 0.45rem; }

.footer-newsletter input {
    background: #ffffff;
    border: 1px solid rgba(255, 204, 0, 0.22);
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
}

.footer-bottom {
    border-color: rgba(255, 249, 233, 0.18);
}

.footer-bottom .text-muted { color: #d3ccbb !important; }

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 204, 0, 0.12);
    color: #ffcc00;
    margin-left: 0.5rem;
}

.footer-newsletter {
    align-items: center;
    max-width: 460px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
}

.newsletter-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--on-surface-variant);
    font-size: 0.75rem;
    line-height: 1.4;
}

.newsletter-consent input { margin-top: 0.15rem; flex: 0 0 auto; }

.footer-newsletter .btn {
    min-height: 48px;
    padding: 0.7rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.footer-newsletter .btn-primary {
    background: linear-gradient(135deg, #ffcc00, #f5a900);
    border-color: #ffcc00;
    color: #211900;
    font-weight: 800;
}

.footer-newsletter .btn-primary:hover { color: #211900; }

.btn-input {
    background: var(--surface);
    border: 1px solid rgba(112,118,123,0.12);
    border-radius: 999px;
    padding: 1rem 1.4rem;
}

.card-glow {
    background: var(--surface);
    border-radius: 2rem;
    box-shadow: 0 22px 60px -30px var(--shadow);
}

.badge-pill {
    border-radius: 999px;
}

.icon-action {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #e7b985 0%, #d9965f 100%);
    color: var(--on-primary);
    box-shadow: 0 18px 40px -24px rgba(217, 150, 95, 0.42);
}

.cart-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cart-line-main {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    min-width: 0;
    flex: 1;
}

.cart-line-thumb {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    border-radius: 1.6rem;
    overflow: hidden;
    background: #0f1316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-line-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.cart-line-copy {
    min-width: 0;
}

.cart-line-title {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.cart-line-subtitle {
    margin-top: 0.35rem;
    color: var(--on-surface-variant);
    font-size: 0.98rem;
    font-weight: 500;
}

.cart-qty-control {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: var(--surface-container-low);
}

.cart-qty-control button,
.cart-qty-control span {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}

.cart-qty-control button {
    background: transparent;
    color: var(--on-surface-variant);
}

.cart-qty-control span {
    color: var(--on-surface);
}

.cart-line-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.25rem;
}

.cart-remove-button {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: transparent;
    color: var(--on-surface-variant);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-line-total {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.icon-action:hover {
    transform: translateY(-1px);
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-line {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-line-main {
        align-items: flex-start;
    }

    .cart-line-thumb {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .cart-line-title {
        font-size: 1.2rem;
    }

    .cart-line-side {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.65rem 0.75rem;
    }

    .header-shell .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        gap: 0.4rem;
    }

    .menu-toggle { display: inline-flex; }

    .header-search {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .header-menu-wrap {
        display: none;
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .header-menu-wrap.is-open { display: block; }

    .header-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.25rem;
        padding: 0.4rem 0 0;
        white-space: normal;
    }

    .header-menu .nav-link {
        padding: 0.65rem;
        border-radius: 0.75rem;
    }

    .header-menu .nav-link.active {
        border-bottom: 0;
        background: #f8eadc;
    }

    .hero {
        padding: 0;
        min-height: 320px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    }

    .hero-home {
        height: 520px;
    }

    .hero-copy {
        max-width: 420px;
        padding-bottom: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero.hero-product-slider {
        display: block;
        height: 460px;
        min-height: 0;
        border-radius: 1.75rem;
    }

    .hero-product-slide {
        min-height: 0;
        align-items: flex-end;
        padding: 7.5rem 1.35rem 3.5rem;
    }

    .hero-product-slide.is-active { position: absolute; height: 100%; }

    .hero-product-slide::after { background:linear-gradient(0deg,rgba(20,18,13,.99) 0%,rgba(24,21,14,.96) 35%,rgba(24,21,14,.48) 72%,rgba(24,21,14,.25) 100%); }

    .hero-product-visual { inset: 0 0 auto; height: 65%; align-items:center; justify-content:center; }

    .hero-product-visual img { width:100%; height:100%; padding:1rem 1.25rem 0; object-fit:contain; opacity:.4; mix-blend-mode:normal; -webkit-mask-image:radial-gradient(ellipse 68% 68% at 50% 42%,#000 28%,rgba(0,0,0,.7) 58%,transparent 100%); mask-image:radial-gradient(ellipse 68% 68% at 50% 42%,#000 28%,rgba(0,0,0,.7) 58%,transparent 100%); }

    .hero-product-copy { width:100%; justify-content:flex-end; padding:0; }

    .hero-product-eyebrow { margin-bottom:.65rem; padding:.4rem .7rem; font-size:.62rem; }

    .hero-product-copy h1 { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:3; max-width:100%; margin-bottom:.65rem; font-size:clamp(1.55rem,6vw,1.9rem); line-height:1.12; }

    .hero-product-copy p { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; margin-bottom:.9rem; font-size:.82rem; line-height:1.45; }

    .hero-product-copy .hero-cta-btn { min-width:0; padding:.72rem 1.1rem; font-size:.86rem; }

    .hero-product-slider .hero-dots { right:1.35rem; bottom:1.25rem; }

    .footer-panel { padding: 2.25rem 0 1.5rem; border-radius: 1.5rem 1.5rem 0 0; }

    .footer-panel > .container { padding-left: 1.1rem; padding-right: 1.1rem; }

    .footer-main-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1rem !important;
        margin: 0;
    }

    .footer-main-grid > div { min-width: 0; width: auto; padding: 0; }

    .footer-main-grid > div:first-child,
    .footer-main-grid > div:last-child { grid-column: 1 / -1; }

    .footer-main-grid > div:first-child { padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,249,233,.14); }

    .footer-main-grid .footer-title { margin-bottom: 0.55rem; }

    .footer-main-grid .footer-copy { font-size: 0.9rem; line-height: 1.6; }

    .footer-main-grid .footer-subtitle { margin-bottom: 0.7rem; font-size: 0.72rem; letter-spacing: 0.12em; }

    .footer-main-grid .footer-links { gap: 0.55rem; font-size: 0.9rem; }

    .footer-main-grid > div:last-child { padding-top: 0.35rem; }

    .footer-newsletter { grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem !important; }

    .footer-newsletter input { min-width: 0; font-size: 0.85rem; }

    .footer-newsletter .btn { padding: 0.65rem 0.8rem; font-size: 0.8rem; }

    .footer-bottom { margin-top: 1.5rem !important; padding-top: 1rem !important; }

    .footer-bottom .row { gap: 0.8rem; }

    .footer-bottom .col-md-6 { width: 100%; text-align: left !important; }

    .footer-icon { margin: 0 0.45rem 0 0; }

    .product-detail-page {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.25rem !important;
    }

    .product-detail-layout {
        gap: 1.25rem !important;
    }

    .product-gallery-stage {
        aspect-ratio: 1 / 1;
        min-height: 0;
        max-height: 72vh;
    }

    .product-gallery-slide {
        padding: 1rem;
    }

    .product-detail-page .sticky {
        position: static;
    }

    .product-detail-page h1 {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
        overflow-wrap: anywhere;
    }

    .product-detail-page .rounded-editorial {
        border-radius: 1.25rem;
    }

    .product-detail-page .product-detail-description,
    .product-detail-page > section[aria-labelledby="seller-store-heading"] {
        padding: 1.25rem !important;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-home {
        height: 420px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.84rem;
        margin-bottom: 1rem;
        max-width: 300px;
    }

    .nav-actions {
        flex-wrap: wrap;
    }

    .glass-navbar {
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }

    .header-shell { padding-top: 0.65rem !important; padding-bottom: 0.65rem !important; }

    .header-shell .navbar-brand { font-size: 1.2rem; }

    .header-actions .nav-icon { width: 38px; height: 38px; }

    .category-grid { gap: 0.65rem; }

    .category-card {
        min-height: 180px;
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .category-card h3 { font-size: 1.15rem; overflow-wrap: anywhere; }

    .product-card { min-height: 0; }

    .product-catalog-grid,
    .seller-store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .product-catalog-grid { gap: 0.75rem; }

    .product-card { border-radius: 1rem; }

    .product-card-media { height: clamp(112px, 36vw, 155px); min-height: 0; flex-basis: clamp(112px, 36vw, 155px); margin: 0.55rem 0.55rem 0; border-radius: 0.75rem; }

    .product-card-body,
    .product-card .card-body { padding: 0.75rem 0.7rem 0.85rem; }

    .product-card-category { font-size: 0.64rem; }

    .product-card-title,
    .product-card .card-title { min-height: 2.35rem; font-size: 0.88rem; line-height: 1.25; }

    .product-card-description,
    .product-card .card-text { min-height: 2.2rem; font-size: 0.74rem; }

    .product-card .price-tag { font-size: 0.9rem; padding: 0.45rem 0.65rem; }

    .seller-store-product-grid { gap: 0.75rem; }

    .seller-store-product-card { min-width: 0; padding: 0.7rem; border-radius: 1rem; }

    .seller-store-product-card > a:first-child { border-radius: 0.75rem; }

    .seller-store-product-card > a:first-child img { padding: 0.6rem; }

    .seller-store-product-card > p { margin-top: 0.65rem; font-size: 0.62rem; line-height: 1.25; overflow-wrap: anywhere; }

    .seller-store-product-card h3 { min-height: 2.4rem; margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.25; overflow-wrap: anywhere; }

    .seller-store-product-card > div:last-child { align-items: flex-start; flex-direction: column; gap: 0.55rem; margin-top: 0.65rem; }

    .seller-store-product-card > div:last-child > span { font-size: 0.95rem; overflow-wrap: anywhere; }

    .seller-store-product-card > div:last-child > a { padding: 0.4rem 0.7rem; font-size: 0.75rem; }

    .product-card .price-tag { font-size: 0.9rem; }

    .section-header .section-link { align-self: flex-start; }

    .footer-panel .footer-newsletter { max-width: 100%; }

    .footer-panel .footer-newsletter input { min-width: 0; }

    .footer-panel .footer-newsletter .btn { flex: 0 0 auto; }

    .product-card-category { white-space: normal; overflow-wrap: anywhere; }

    .product-card-title { overflow-wrap: anywhere; }

    .product-card-description { overflow-wrap: anywhere; }

    .price-tag { max-width: 100%; }

    .header-search { width: 100%; }

    .header-menu-wrap.is-open {
        border-top: 1px solid rgba(112, 118, 123, 0.15);
    }

    .hero-copy {
        max-width: 300px;
        padding: 0 0 2.8rem;
    }

    .hero-dots {
        left: 1.5rem;
        bottom: 1rem;
    }

    .hero-cta-btn {
        min-width: 148px;
        font-size: 0.9rem;
        padding: 0.78rem 1.2rem;
    }
}

/* Admin Theme */

body.admin-body {
    background: var(--background);
    color: var(--on-surface);
    font-family: 'Manrope', sans-serif;
}

body.admin-body .navbar {
    background: #1d2735;
    box-shadow: 0 16px 32px -18px rgba(0,0,0,0.6);
}

body.admin-body .navbar-brand,
body.admin-body .nav-link { color: #e7ecf2 !important; }
body.admin-body .nav-link { font-weight: 700; opacity: 0.9; }
body.admin-body .nav-link:hover,
body.admin-body .nav-link.active { color: #e0a16c !important; opacity: 1; }

body.admin-body .card,
body.admin-body .form-card,
body.admin-body .stat-card,
body.admin-body .btn-menu,
body.admin-body .welcome-card,
body.admin-body .login-container {
    border: 1px solid rgba(217, 150, 95, 0.16);
    border-radius: 1.25rem;
    box-shadow: 0 24px 48px -28px var(--shadow);
}

body.admin-body .card,
body.admin-body .form-card,
body.admin-body .stat-card,
body.admin-body .btn-menu,
body.admin-body .login-container {
    background: #ffffff;
}

body.admin-body .table-wrap {
    overflow-x: auto;
}

body.admin-body .badge-active {
    background: var(--primary);
}

body.admin-body .badge-inactive {
    background: #9a8b7d;
}

body.admin-body .category-select-note {
    border-left: 4px solid var(--primary);
    background: #fff3e7;
    color: #7a4f2a;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

body.admin-body .action-btn {
    margin-right: 0.25rem;
}

body.admin-body .badge-pending {
    background-color: #f2d98d;
    color: #3d3625;
}

body.admin-body .badge-processing {
    background-color: #a9d5bf;
    color: #244234;
}

body.admin-body .badge-shipped {
    background-color: #9ac7d8;
    color: #234050;
}

body.admin-body .badge-delivered {
    background-color: #87c995;
    color: #1f4728;
}

body.admin-body .badge-cancelled {
    background-color: #d99d9d;
    color: #5b2121;
}

body.admin-body .stat-card {
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.admin-body .stat-card:hover,
body.admin-body .btn-menu:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 50px -28px rgba(138, 91, 49, 0.24);
}

body.admin-body .stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
}

body.admin-body .stat-label {
    color: var(--text-muted);
}

body.admin-body .btn-menu {
    display: inline-block;
    width: 100%;
    padding: 1.5rem;
    color: var(--on-surface);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.admin-body .btn-menu:hover {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
}

body.admin-body .menu-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

body.admin-body .welcome-card {
    background: linear-gradient(135deg, #9bcb96, #cce4c4);
    color: #ffffff;
    padding: 2rem;
    margin-bottom: 2rem;
}

body.admin-body .welcome-card p,
body.admin-body .welcome-card h2 {
    color: #ffffff;
}

body.admin-login-body {
    background: linear-gradient(135deg, #b8d9af 0%, #ddebd6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
}

body.admin-login-body .login-container {
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

body.admin-login-body .login-header {
    text-align: center;
    margin-bottom: 2rem;
}

body.admin-login-body .login-header h1 {
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.95rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

body.admin-login-body .login-header p,
body.admin-login-body .footer-text {
    color: var(--text-muted);
}

body.admin-login-body .form-control {
    border: 1px solid rgba(217, 150, 95, 0.24);
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
}

body.admin-login-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(217, 150, 95, 0.22);
}

body.admin-login-body .form-group {
    margin-bottom: 1.25rem;
}

body.admin-login-body .form-label {
    color: var(--on-surface);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

body.admin-login-body .btn-login {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    width: 100%;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.admin-login-body .btn-login:hover {
    background-color: #c57d45;
    border-color: #c57d45;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -18px rgba(138, 91, 49, 0.42);
}

body.admin-login-body .alert {
    border-radius: 1rem;
    border: none;
    border-left: 4px solid #dc3545;
}

body.admin-login-body .footer-text a {
    color: var(--primary);
    text-decoration: none;
}

/* Shared marketplace administration shell */
body.admin-body {
    --admin-sidebar: #1d2735;
    --admin-sidebar-muted: #aab4c2;
    --admin-accent: #d9965f;
    --admin-line: rgba(255, 255, 255, 0.09);
    min-height: 100vh;
    padding-left: 264px;
    background: #f6f4f1;
}

body.admin-body .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    width: 264px;
    min-height: 0;
    padding: 1.35rem 1rem 1rem;
    overflow: hidden;
    color: #fff;
    background: var(--admin-sidebar);
    box-shadow: 10px 0 28px rgba(24, 34, 48, 0.12);
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.15rem 0.45rem 1.5rem;
    color: #fff;
    text-decoration: none;
    flex: 0 0 auto;
}

.admin-sidebar-brand:hover { color: #fff; }
.admin-brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--admin-accent);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}
.admin-sidebar-brand strong { display: block; font-size: 1.02rem; line-height: 1.1; }
.admin-sidebar-brand small { display: block; margin-top: 0.3rem; color: var(--admin-sidebar-muted); font-size: 0.61rem; letter-spacing: 0.12em; }
.admin-sidebar-nav { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 0.2rem; scrollbar-color: #536174 transparent; scrollbar-width: thin; }
.admin-sidebar-nav::-webkit-scrollbar { width: 6px; }
.admin-sidebar-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: #536174; }
.admin-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.admin-sidebar-section { margin-bottom: 1.1rem; }
.admin-sidebar-heading { display: block; padding: 0.5rem 0.7rem; color: #8290a1; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.13em; }
.admin-side-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
    margin: 0.12rem 0;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    color: #d7dee7;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}
.admin-side-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.admin-side-link.is-active { color: #fff; background: rgba(217,150,95,0.2); box-shadow: inset 3px 0 var(--admin-accent); }
.admin-side-icon { display: inline-grid; place-items: center; width: 1.4rem; color: #dca272; font-size: 1.1rem; }
.admin-nav-badge { display:inline-flex; align-items:center; justify-content:center; min-width:1.35rem; height:1.35rem; margin-left:auto; padding:0 .35rem; border-radius:999px; background:#e64b4b; color:#fff; font-size:.68rem; font-weight:800; line-height:1; }
.admin-sidebar-bottom { flex: 0 0 auto; margin-top: 0.75rem; border-top: 1px solid var(--admin-line); padding-top: 0.75rem; }
.admin-user-card { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.65rem; padding: 0.65rem 0.45rem 0.1rem; }
.admin-user-avatar { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #39485b; color: #fff; font-weight: 800; }
.admin-user-details { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.admin-user-details strong { overflow: hidden; color: #fff; font-size: 0.77rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-details small { color: var(--admin-sidebar-muted); font-size: 0.68rem; }
.admin-user-logout { color: var(--admin-sidebar-muted); font-size: 1.1rem; text-decoration: none; }
.admin-user-logout:hover { color: #fff; }
.admin-topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 1rem; min-height: 76px; padding: 0.75rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid #e9e5df; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); }
.admin-topbar-eyebrow { color: #93877c; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.13em; }
.admin-topbar h1 { margin: 0.12rem 0 0; color: #2d3540; font-size: 1.15rem; font-weight: 800; }
.admin-topbar-role { margin-left: auto; padding: 0.42rem 0.75rem; border-radius: 999px; background: #f8eadc; color: #8e5e36; font-size: 0.72rem; font-weight: 700; }
.admin-mobile-toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 0.65rem; background: #f4ece4; color: #3b332c; font-size: 1.2rem; }
.admin-sidebar-backdrop { display: none; }
body.admin-body .welcome-card { border: 0; background: linear-gradient(115deg, #fff 0%, #fff7ef 100%); color: #3b332c; }
body.admin-body .welcome-card h2, body.admin-body .welcome-card p { color: #3b332c; }
body.admin-body .welcome-card h2 { font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 800; }
body.admin-body .admin-dashboard-content { max-width: 1500px; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
body.admin-body .admin-dashboard-content.container-fluid { padding-right: clamp(1rem, 3vw, 2.5rem); padding-left: clamp(1rem, 3vw, 2.5rem); }
body.admin-body .admin-page-content { min-width: 0; padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
body.admin-body .admin-stat-card { height: 100%; padding: 1.25rem; text-align: left; }
body.admin-body .admin-stat-card .stat-number { font-size: 2rem; }
body.admin-body .admin-quick-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid #eee7df; border-radius: 1rem; background: #fff; color: #303944; font-weight: 750; text-decoration: none; box-shadow: 0 12px 30px -24px rgba(46,39,31,0.45); }
body.admin-body .admin-quick-link:hover { border-color: #e5b58c; color: #8e5e36; transform: translateY(-2px); }

/* Keep every administration screen in the same dark marketplace theme. */
body.admin-body {
    --background: #121a26;
    --surface: #1d2735;
    --surface-container-low: #263244;
    --on-surface: #edf1f6;
    --on-surface-variant: #b2bdca;
    --text-muted: #aab4c2;
    --shadow: rgba(0, 0, 0, 0.3);
    --bs-body-color: #edf1f6;
    --bs-body-bg: #121a26;
    --bs-secondary-color: #aab4c2;
    --bs-border-color: #3a4655;
    --bs-table-color: #e7ecf2;
    --bs-table-bg: #1d2735;
    color: #edf1f6;
    background: #121a26;
}

body.admin-body .admin-topbar {
    border-color: #344153;
    background: rgba(29, 39, 53, 0.96);
}
body.admin-body .admin-topbar h1 { color: #f5f7fa; }
body.admin-body .admin-topbar-eyebrow { color: #d4a276; }
body.admin-body .admin-topbar-role { background: rgba(217,150,95,0.16); color: #f0bd91; }
body.admin-body .admin-mobile-toggle { background: #303d4e; color: #f3f5f8; }
body.admin-body .welcome-card { background: linear-gradient(120deg, #202c3c, #263448); color: #f2f5f8; }
body.admin-body .welcome-card h2, body.admin-body .welcome-card p { color: #f2f5f8; }
body.admin-body .admin-sidebar .admin-side-link.is-active { background: rgba(217,150,95,0.2); }

body.admin-body .card,
body.admin-body .form-card,
body.admin-body .stat-card,
body.admin-body .btn-menu,
body.admin-body .login-container,
body.admin-body .admin-quick-link,
body.admin-body .modal-content {
    border-color: #354253;
    background: #1d2735;
    color: #e9edf3;
    box-shadow: 0 18px 42px -30px rgba(0,0,0,0.8);
}
body.admin-body .admin-quick-link { color: #edf1f6; }
body.admin-body .admin-quick-link:hover { border-color: #ba8154; color: #f2bd92; background: #263244; }
body.admin-body .card h1, body.admin-body .card h2, body.admin-body .card h3,
body.admin-body .card h4, body.admin-body .card h5, body.admin-body .card h6,
body.admin-body .form-card h1, body.admin-body .form-card h2,
body.admin-body .form-card h3, body.admin-body .form-card h4 { color: #f0f3f7; }
body.admin-body .text-dark { color: #edf1f6 !important; }
body.admin-body .text-muted { color: #aab4c2 !important; }
body.admin-body .form-label, body.admin-body label { color: #d8dee7; }
body.admin-body .form-control,
body.admin-body .form-select,
body.admin-body textarea,
body.admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.admin-body select {
    border-color: #465366;
    background-color: #141d29;
    color: #f0f3f7;
}
body.admin-body input[type="file"].form-control::file-selector-button,
body.admin-body input[type="file"].form-control::-webkit-file-upload-button {
    margin: -0.375rem 0.75rem -0.375rem -0.75rem;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-right: 1px solid #bb7542;
    background: #d9965f;
    color: #17202b;
    font-weight: 750;
    cursor: pointer;
}
body.admin-body input[type="file"].form-control::file-selector-button:hover,
body.admin-body input[type="file"].form-control::-webkit-file-upload-button:hover {
    background: #e5ad7e;
}
body.admin-body .form-control::placeholder,
body.admin-body input::placeholder,
body.admin-body textarea::placeholder { color: #8491a1; }
body.admin-body .form-control:focus,
body.admin-body .form-select:focus,
body.admin-body textarea:focus,
body.admin-body input:focus,
body.admin-body select:focus {
    border-color: #d9965f;
    background-color: #172231;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(217,150,95,0.18);
}
body.admin-body .form-check-input { border-color: #6d7b8e; background-color: #141d29; }
body.admin-body .form-check-input:checked { border-color: #d9965f; background-color: #d9965f; }
body.admin-body .table { --bs-table-color: #e7ecf2; --bs-table-bg: #1d2735; --bs-table-border-color: #394658; }
body.admin-body .table > :not(caption) > * > * { border-color: #394658; background-color: transparent; color: #e7ecf2; }
body.admin-body .table thead th { color: #d7b18f; font-size: 0.75rem; letter-spacing: 0.04em; }
body.admin-body .table-hover > tbody > tr:hover > * { color: #fff; background-color: #263244; }
body.admin-body .table-light, body.admin-body .card-header, body.admin-body .bg-light { background: #263244 !important; color: #e7ecf2 !important; }
body.admin-body hr, body.admin-body .border-top, body.admin-body .border-bottom { border-color: #394658 !important; }
body.admin-body .btn-light, body.admin-body .btn-outline-secondary { border-color: #465366; background: #293648; color: #e7ecf2; }
body.admin-body .btn-light:hover, body.admin-body .btn-outline-secondary:hover { border-color: #d9965f; background: #354357; color: #fff; }
body.admin-body .btn-primary { border-color: #d9965f; background: #d9965f; color: #17202b; font-weight: 750; }
body.admin-body .btn-primary:hover { border-color: #e5ad7e; background: #e5ad7e; color: #17202b; }
body.admin-body .dropdown-menu { border-color: #3a4655; background: #1d2735; }
body.admin-body .dropdown-item, body.admin-body .dropdown-header { color: #e7ecf2; }
body.admin-body .dropdown-item:hover { background: #2a3749; color: #fff; }
body.admin-body .admin-stat-card .stat-number { color: #e0a16c; }
body.admin-body .admin-stat-card .stat-label { color: #c0c9d4; }
body.admin-body .admin-page-content, body.admin-body .admin-dashboard-content { color: #e7ecf2; }
body.admin-body .admin-content-loading { opacity: 0.58; pointer-events: none; transition: opacity 0.12s ease; }

/* Product catalog form: collapsed entry point and a calm, three-step workflow. */
body.admin-body .product-management-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
body.admin-body .product-management-heading h1 { color:#f0f3f7; font-weight:800; }
body.admin-body .product-form-disclosure { overflow:hidden; border-radius:1rem; }
body.admin-body .product-form-summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.35rem; cursor:pointer; list-style:none; }
body.admin-body .product-form-summary::-webkit-details-marker { display:none; }
body.admin-body .product-form-summary > span:first-child { display:grid; gap:.25rem; }
body.admin-body .product-form-summary strong { color:#f0f3f7; font-size:1.05rem; }
body.admin-body .product-form-summary small { color:#aab4c2; }
body.admin-body .product-form-summary-icon { display:grid; width:2.35rem; height:2.35rem; place-items:center; border-radius:.75rem; background:rgba(217,150,95,.16); color:#e0a16c; font-size:1.45rem; transition:transform .18s ease; }
body.admin-body .product-form-disclosure[open] .product-form-summary { border-bottom:1px solid #394658; }
body.admin-body .product-form-disclosure[open] .product-form-summary-icon { transform:rotate(45deg); }
body.admin-body .product-form-content { padding:clamp(1rem,2.5vw,2rem); }
body.admin-body .product-wizard-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:0 0 1.75rem; }
body.admin-body .product-wizard-progress > div { display:flex; align-items:center; gap:.65rem; min-width:0; padding:.75rem; border:1px solid #394658; border-radius:.8rem; color:#aab4c2; }
body.admin-body .product-wizard-progress > div span { display:grid; flex:none; width:1.8rem; height:1.8rem; place-items:center; border-radius:50%; background:#293648; color:#d7dee7; font-weight:800; }
body.admin-body .product-wizard-progress > div strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.88rem; }
body.admin-body .product-wizard-progress > div.is-current { border-color:#d9965f; background:rgba(217,150,95,.1); color:#f2bd92; }
body.admin-body .product-wizard-progress > div.is-current span,
body.admin-body .product-wizard-progress > div.is-complete span { background:#d9965f; color:#17202b; }
body.admin-body .product-wizard-step { min-height:18rem; }
body.admin-body .product-wizard-step h2 { color:#f0f3f7; font-weight:750; }
body.admin-body .product-wizard-step > p { margin-bottom:1.5rem; }
body.admin-body .product-wizard-controls { display:flex; align-items:center; justify-content:flex-end; gap:.75rem; margin-top:1.75rem; padding-top:1rem; border-top:1px solid #394658; }
body.admin-body .product-wizard-controls [data-wizard-step-label] { margin-right:auto; }
body.admin-body .product-option-card { height:100%; padding:.9rem 1rem; border:1px solid #394658; border-radius:.75rem; background:#172231; }
body.admin-body .product-option-card .form-check-label { font-weight:650; }
body.admin-body .product-list-heading { display:grid; gap:1rem; }
body.admin-body .product-list-heading h5 { color:#f0f3f7; font-weight:750; }
body.admin-body .product-filter-form { display:grid; grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(145px,1fr)) auto auto; gap:.6rem; align-items:center; }
body.admin-body .product-filter-form:not(.has-seller-filter) { grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(145px,1fr)) auto auto; }
body.admin-body .product-filter-form .btn { min-height:2.55rem; white-space:nowrap; }
body.admin-body .product-list-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.8rem; margin-top:1rem; }
body.admin-body .product-list-footer .pagination { --bs-pagination-bg:#1d2735; --bs-pagination-color:#e7ecf2; --bs-pagination-border-color:#394658; --bs-pagination-hover-bg:#293648; --bs-pagination-hover-color:#fff; --bs-pagination-hover-border-color:#d9965f; --bs-pagination-active-bg:#d9965f; --bs-pagination-active-color:#17202b; --bs-pagination-active-border-color:#d9965f; --bs-pagination-disabled-bg:#172231; --bs-pagination-disabled-color:#8491a1; }
body.admin-body .hero-product-preview { width:5.5rem; height:5.5rem; flex:0 0 5.5rem; object-fit:contain; border:1px solid #394658; border-radius:.8rem; background:#fff; padding:.35rem; }
body.admin-body .hero-product-preview-name { color:#e7ecf2; font-weight:700; overflow-wrap:anywhere; }
body.admin-body [data-product-step][hidden], body.admin-body [data-wizard-prev][hidden], body.admin-body [data-wizard-next][hidden], body.admin-body [data-wizard-submit][hidden] { display:none !important; }
body.admin-body .product-wizard:not(.is-enhanced) .product-wizard-progress,
body.admin-body .product-wizard:not(.is-enhanced) .product-wizard-controls [data-wizard-prev],
body.admin-body .product-wizard:not(.is-enhanced) .product-wizard-controls [data-wizard-next] { display:none; }

@media (max-width: 575.98px) {
    body.admin-body .product-management-heading { align-items:flex-start; flex-direction:column; }
    body.admin-body .product-wizard-progress { gap:.35rem; }
    body.admin-body .product-wizard-progress > div { justify-content:center; padding:.55rem .35rem; }
    body.admin-body .product-wizard-progress > div strong { display:none; }
    body.admin-body .product-wizard-controls { flex-wrap:wrap; }
    body.admin-body .product-wizard-controls [data-wizard-step-label] { flex-basis:100%; order:-1; }
    body.admin-body .product-filter-form { grid-template-columns:1fr 1fr; }
    body.admin-body .product-filter-form input[type="search"] { grid-column:1 / -1; }
    body.admin-body .product-filter-form .btn, body.admin-body .product-filter-form a.btn { width:100%; }
    body.admin-body .product-list-footer { align-items:flex-start; flex-direction:column; }
    body.admin-body .product-list-footer nav { max-width:100%; overflow-x:auto; }
}

@media (max-width: 991.98px) {
    body.admin-body { padding-left: 0; }
    body.admin-body .admin-sidebar { transform: translateX(-105%); transition: transform 0.22s ease; }
    body.admin-body .admin-sidebar.is-open { transform: translateX(0); }
    body.admin-body .admin-sidebar-backdrop.is-visible { position: fixed; inset: 0; z-index: 1030; display: block; border: 0; background: rgba(12,18,27,0.48); }
    .admin-mobile-toggle { display: inline-grid; place-items: center; }
    .admin-topbar { min-height: 68px; padding: 0.6rem 0.85rem; }
    .admin-topbar h1 { font-size: 1rem; }
    .admin-topbar-role { padding: 0.35rem 0.55rem; font-size: 0.65rem; }
    body.admin-body .admin-page-content { padding: 1rem 0.75rem 2rem; }
    body.admin-body .admin-dashboard-content,
    body.admin-body .admin-dashboard-content.container-fluid { padding: 1rem 0.75rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.admin-body .admin-sidebar, body.admin-body .admin-side-link { transition: none; }
}

/* Mandarin yellow identity for the storefront only; administration keeps its existing palette. */
body:not(.admin-body):not(.admin-login-body) {
    --background: #fffcf2;
    --surface: #ffffff;
    --surface-container-low: #fff3c4;
    --surface-container-high: #f5e5a1;
    --surface-container-highest: #ffffff;
    --primary: #ffcc00;
    --primary-container: #ffe680;
    --on-primary: #302700;
    --on-surface: #332b15;
    --on-surface-variant: #655831;
    --outline-variant: #e5cc67;
    --text-muted: #716442;
    --shadow: rgba(132, 101, 0, 0.14);
    overflow-x: clip;
}
body:not(.admin-body):not(.admin-login-body) .text-primary {
    color: #9a5600 !important;
}

body:not(.admin-body):not(.admin-login-body) .glass-navbar {
    background: rgba(255, 252, 242, 0.95);
    border-bottom-color: rgba(229, 204, 103, 0.4);
}
body:not(.admin-body):not(.admin-login-body) .nav-icon,
body:not(.admin-body):not(.admin-login-body) .header-search {
    background: #fff3c4;
}
body:not(.admin-body):not(.admin-login-body) .nav-icon:hover {
    background: #ffe680;
    color: #332b15;
}
body:not(.admin-body):not(.admin-login-body) .nav-actions .btn-outline-secondary:hover {
    border-color: #d9a800;
}
body:not(.admin-body):not(.admin-login-body) .btn-primary {
    border-color: #ffcc00;
    background: #ffcc00;
    color: #302700;
    box-shadow: 0 14px 30px -18px rgba(163, 119, 0, 0.68);
    font-weight: 800;
}
body:not(.admin-body):not(.admin-login-body) .btn-primary:hover,
body:not(.admin-body):not(.admin-login-body) .btn-primary:focus {
    border-color: #e6ad00;
    background: #e6ad00;
    color: #302700;
    box-shadow: 0 18px 34px -18px rgba(163, 119, 0, 0.72);
}
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-r.from-primary.to-primary-container,
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-br.from-primary.to-primary-container {
    background-image: linear-gradient(135deg, #ffdc36 0%, #ffb900 100%);
    background-color: #ffcc00;
    color: #302700;
    box-shadow: 0 14px 30px -18px rgba(163, 119, 0, 0.68);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-r.from-primary.to-primary-container:hover,
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-br.from-primary.to-primary-container:hover {
    background-image: linear-gradient(135deg, #ffcf00 0%, #e6a900 100%);
    color: #302700;
    transform: translateY(-1px);
    filter: saturate(1.08);
}
body:not(.admin-body):not(.admin-login-body) .product-card .price-tag {
    background: #fff0ad;
    color: #705300;
    box-shadow: 0 12px 24px -20px rgba(132, 101, 0, 0.52);
}
body:not(.admin-body):not(.admin-login-body) .icon-action {
    background: #ffcc00;
    color: #302700;
    box-shadow: 0 14px 30px -18px rgba(163, 119, 0, 0.68);
}
body:not(.admin-body):not(.admin-login-body) .editorial-section {
    background: #fff3c4;
}
body:not(.admin-body):not(.admin-login-body) .bg-tertiary.text-white,
body:not(.admin-body):not(.admin-login-body) .bg-primary.text-white {
    background-color: #ffcc00;
    color: #302700;
}

.seller-application-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.55rem; }
.seller-application-progress span { padding:.72rem .8rem; border:1px solid #eadfc9; border-radius:.85rem; color:#756a58; font-size:.82rem; font-weight:700; text-align:center; }
.seller-application-progress span.is-active { border-color:#d89900; background:#fff2be; color:#553900; }
.seller-application-step h2 { margin-bottom:1.25rem; font-weight:800; }
.seller-application-page .surface-card { border:1px solid rgba(152,104,0,.12); border-radius:1.5rem; background:#fffdf8; }
.seller-application-admin-logo { width:4.5rem; height:4.5rem; flex:0 0 4.5rem; object-fit:contain; border:1px solid rgba(255,255,255,.16); border-radius:.8rem; background:#fff; }
.seller-application-data { height:100%; padding:.9rem 1rem; border:1px solid rgba(255,255,255,.08); border-radius:.8rem; background:rgba(255,255,255,.035); overflow-wrap:anywhere; }
.seller-application-data strong { display:block; margin-bottom:.3rem; color:#dca272; font-size:.78rem; }
.seller-application-history { display:grid; gap:.8rem; padding-left:1.25rem; }
.seller-application-history li { padding-left:.25rem; }
.seller-application-history li > div { margin:.25rem 0; white-space:pre-line; }
.seller-application-filters { display:flex; gap:.5rem; flex-wrap:wrap; }
@media (max-width: 640px) {
    .seller-application-progress { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .seller-application-progress span { padding:.65rem .4rem; font-size:.75rem; }
}
body:not(.admin-body):not(.admin-login-body) .btn-primary,
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-r.from-primary.to-primary-container,
body:not(.admin-body):not(.admin-login-body) .bg-gradient-to-br.from-primary.to-primary-container,
body:not(.admin-body):not(.admin-login-body) .bg-primary.text-white {
    color: #211900 !important;
}
