:root {
    --emerald-950: #062b22;
    --emerald-900: #073b2f;
    --emerald-800: #0b4f3d;
    --emerald-700: #0f6b51;
    --emerald-100: #e9f6f0;
    --white: #ffffff;
    --ink: #10231d;
    --muted: #64736f;
    --line: #dfe9e5;
    --gold: #f6b73c;
    --coral: #e95d42;
    --shadow: 0 18px 45px rgba(6, 43, 34, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    color: var(--ink);
    background: #f7fbf9;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

.announcement-bar {
    background: var(--emerald-950);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 9px 16px;
    text-align: center;
}

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 25px rgba(6, 43, 34, 0.06);
}

.header-main {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    padding: 18px 0 14px;
}

.brand-logo,
.footer-brand {
    align-items: center;
    color: var(--emerald-950);
    display: inline-flex;
    gap: 10px;
    min-width: 0;
}

.brand-logo:hover,
.footer-brand:hover {
    color: var(--emerald-800);
}

.brand-mark {
    align-items: center;
    background: var(--emerald-900);
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand-logo strong,
.footer-brand strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
}

.brand-logo small,
.footer-brand small {
    color: var(--muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.search-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    min-width: 0;
    min-height: 48px;
    overflow: hidden;
}

.search-form .form-control {
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding-left: 18px;
}

.search-form .btn {
    align-items: center;
    background: var(--emerald-800);
    border-radius: 0;
    color: var(--white);
    display: inline-flex;
    font-size: 1.1rem;
    justify-content: center;
    width: 54px;
}

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

.icon-action,
.navbar-toggler {
    align-items: center;
    background: var(--emerald-100);
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--emerald-900);
    display: inline-flex;
    font-size: 1.3rem;
    height: 44px;
    justify-content: center;
    position: relative;
    width: 44px;
}

.icon-action:hover,
.navbar-toggler:hover {
    background: var(--emerald-800);
    color: var(--white);
}

.navbar-toggler {
    box-shadow: none;
}

.has-badge span {
    align-items: center;
    background: var(--coral);
    border: 2px solid var(--white);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 800;
    height: 19px;
    justify-content: center;
    position: absolute;
    right: -4px;
    top: -5px;
    width: 19px;
}

.nav-menu {
    align-items: center;
    gap: 6px;
    padding: 0 0 12px;
}

.nav-menu .nav-link {
    border-radius: 8px;
    color: #24423a;
    font-size: 0.96rem;
    font-weight: 700;
    padding: 8px 14px;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    background: var(--emerald-100);
    color: var(--emerald-900);
}

.nav-menu .deal-link {
    color: var(--coral);
}

.hero-section {
    background: var(--emerald-950);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

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

.hero-media::after {
    background: linear-gradient(90deg, rgba(6, 43, 34, 0.94) 0%, rgba(6, 43, 34, 0.78) 45%, rgba(6, 43, 34, 0.24) 100%);
    content: "";
    inset: 0;
    position: absolute;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.min-vh-hero {
    min-height: 570px;
    padding: 80px 0;
}

.hero-kicker,
.section-heading span,
.deal-label {
    color: var(--gold);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-kicker {
    text-transform: none;
}

.hero-section h1 {
    font-size: clamp(2.45rem, 5vw, 4.75rem);
    font-weight: 900;
    line-height: 1.06;
    margin-bottom: 20px;
    max-width: 760px;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    margin-bottom: 28px;
    max-width: 610px;
}

.btn-brand,
.btn-outline-brand:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #2b1c02;
    font-weight: 800;
}

.btn-brand:hover {
    background: #ffd36e;
    border-color: #ffd36e;
    color: #1f1601;
}

.btn-outline-brand {
    border-color: var(--emerald-800);
    color: var(--emerald-800);
    font-weight: 800;
}

.section-gap {
    padding: 72px 0;
}

.trust-section {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
}

.trust-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    align-items: center;
    display: flex;
    gap: 14px;
}

.trust-icon {
    align-items: center;
    background: var(--emerald-100);
    border-radius: 8px;
    color: var(--emerald-800);
    display: inline-flex;
    flex: 0 0 48px;
    font-size: 1.35rem;
    height: 48px;
    justify-content: center;
}

.trust-item h2 {
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
}

.trust-item p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

.section-heading {
    margin-bottom: 28px;
    max-width: 650px;
}

.section-heading h2,
.flash-panel h2 {
    color: var(--emerald-950);
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
}

.category-card {
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: block;
    height: 245px;
    overflow: hidden;
    position: relative;
}

.category-card::after {
    background: linear-gradient(0deg, rgba(6, 43, 34, 0.82), rgba(6, 43, 34, 0.04));
    content: "";
    inset: 0;
    position: absolute;
}

.category-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.category-card span {
    bottom: 20px;
    color: var(--white);
    font-size: 1.22rem;
    font-weight: 900;
    left: 20px;
    position: absolute;
    z-index: 1;
}

.category-card:hover img {
    transform: scale(1.06);
}

.flash-section {
    background: var(--white);
    padding-top: 0;
}

.flash-panel {
    align-items: center;
    background: var(--emerald-900);
    border-radius: 8px;
    color: var(--white);
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr auto auto;
    overflow: hidden;
    padding: 34px;
    position: relative;
}

.flash-panel::after {
    background: rgba(246, 183, 60, 0.12);
    content: "";
    height: 180px;
    position: absolute;
    right: -70px;
    top: -70px;
    transform: rotate(18deg);
    width: 240px;
}

.flash-panel h2 {
    color: var(--white);
    margin-bottom: 8px;
}

.flash-panel p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 620px;
}

.deal-timer {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.deal-timer div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    min-width: 82px;
    padding: 12px;
    text-align: center;
}

.deal-timer strong {
    color: var(--white);
    display: block;
    font-size: 1.3rem;
    line-height: 1;
}

.deal-timer span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
}

.flash-panel .btn {
    font-weight: 800;
    min-width: 120px;
    position: relative;
    z-index: 1;
}

.product-section {
    background: #f7fbf9;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(6, 43, 34, 0.08);
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 4 / 3;
    background: var(--emerald-100);
    overflow: hidden;
    position: relative;
}

.product-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.discount-badge {
    background: var(--coral);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    left: 12px;
    line-height: 1;
    padding: 7px 10px;
    position: absolute;
    top: 12px;
}

.product-body {
    display: flex;
    flex-direction: column;
    min-height: 252px;
    padding: 18px;
}

.product-body h3 {
    color: var(--emerald-950);
    font-size: 1.03rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 9px;
    min-height: 45px;
}

.product-description {
    color: var(--muted);
    display: -webkit-box;
    font-size: 0.92rem;
    margin-bottom: 5px;
    min-height: 66px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-description.expanded {
    display: block;
    overflow: visible;
}

.read-more-btn {
    align-self: flex-start;
    background: transparent;
    border: 0;
    color: var(--emerald-800);
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0 0 14px;
    padding: 0;
}

.read-more-link {
    align-self: flex-start;
    color: var(--emerald-800);
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.read-more-link:hover {
    color: var(--coral);
}

.product-price-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.saving-text {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
}

.product-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: auto;
}

.product-actions {
    align-items: stretch;
    flex-wrap: wrap;
}

.product-actions .price {
    flex: 0 0 100%;
}

.product-actions form {
    margin: 0;
}

.price {
    color: var(--emerald-900);
    font-size: 1.18rem;
    font-weight: 900;
    white-space: nowrap;
}

.empty-message {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    margin: 0;
    padding: 18px;
}

.breadcrumb-nav {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.92rem;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 22px;
}

.breadcrumb-nav a {
    color: var(--emerald-800);
}

.breadcrumb-nav a:hover {
    color: var(--coral);
}

.catalog-hero {
    align-items: end;
    background: var(--emerald-900);
    border-radius: 8px;
    color: var(--white);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
    overflow: hidden;
    padding: 34px;
    position: relative;
}

.catalog-hero::after {
    background: rgba(246, 183, 60, 0.12);
    content: "";
    height: 150px;
    position: absolute;
    right: -55px;
    top: -55px;
    transform: rotate(18deg);
    width: 220px;
}

.catalog-hero span,
.content-page > span {
    color: var(--gold);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.catalog-hero h1,
.content-page h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 10px;
}

.catalog-hero p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 760px;
}

.catalog-hero strong {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    flex: 0 0 auto;
    font-size: 1.1rem;
    padding: 13px 16px;
    position: relative;
    z-index: 1;
}

.catalog-toolbar {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 14px 16px;
}

.catalog-toolbar p {
    color: var(--muted);
    font-weight: 800;
    margin: 0;
}

.catalog-sort {
    align-items: center;
    display: flex;
    gap: 10px;
}

.catalog-sort label {
    color: var(--muted);
    font-weight: 900;
    white-space: nowrap;
}

.catalog-sort .form-select {
    min-width: 150px;
}

.pagination-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 34px;
}

.pagination-wrap a {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--emerald-900);
    display: inline-flex;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.pagination-wrap a.active,
.pagination-wrap a:hover {
    background: var(--emerald-800);
    color: var(--white);
}

.product-detail-layout {
    align-items: start;
    display: grid;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
}

.product-detail-image {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.product-detail-image img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-gallery-strip {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    margin-top: 12px;
}

.gallery-thumb {
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--brand);
}

.gallery-thumb img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.product-detail-content {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
}

.detail-category {
    color: var(--emerald-700);
    display: inline-block;
    font-weight: 900;
    margin-bottom: 10px;
}

.product-detail-content h1 {
    color: var(--emerald-950);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.14;
    margin-bottom: 15px;
}

.detail-short,
.stock-note,
.detail-description p {
    color: var(--muted);
}

.detail-price-row {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 18px 0 8px;
}

.price-stack {
    display: grid;
    gap: 10px;
    margin: 20px 0 12px;
}

.price-stack div {
    align-items: center;
    background: #f7fbf9;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

.price-stack span {
    color: var(--muted);
    font-weight: 800;
}

.detail-price-row .price {
    font-size: 1.7rem;
}

.regular-price {
    color: #879590;
    font-weight: 800;
    text-decoration: line-through;
}

.detail-description {
    border-top: 1px solid var(--line);
    margin: 24px 0;
    padding-top: 22px;
}

.detail-description h2 {
    color: var(--emerald-950);
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.detail-cart-form {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 22px;
}

.quantity-row {
    display: flex;
    gap: 12px;
}

.quantity-row .form-control {
    max-width: 110px;
}

.empty-cart,
.success-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 720px;
    padding: 40px;
    text-align: center;
}

.empty-cart i,
.success-card i {
    color: var(--emerald-800);
    font-size: 3rem;
    margin-bottom: 14px;
}

.empty-cart h2,
.success-card h1 {
    color: var(--emerald-950);
    font-weight: 900;
}

.cart-layout,
.checkout-layout,
.track-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.cart-table-card,
.cart-summary,
.checkout-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(6, 43, 34, 0.08);
    padding: 22px;
}

.cart-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
    grid-template-columns: 86px minmax(0, 1fr) auto auto auto;
    padding: 16px 0;
}

.cart-row:first-child {
    padding-top: 0;
}

.cart-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-row img,
.tracking-item img {
    border-radius: 8px;
    height: 74px;
    object-fit: cover;
    width: 86px;
}

.cart-product h2,
.checkout-card h2 {
    color: var(--emerald-950);
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.cart-product span {
    color: var(--muted);
    font-size: 0.9rem;
}

.quantity-controls {
    align-items: center;
    background: var(--emerald-100);
    border-radius: 8px;
    display: inline-flex;
    gap: 8px;
    padding: 6px;
}

.quantity-controls form {
    margin: 0;
}

.quantity-controls button {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--emerald-900);
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.cart-line-total {
    color: var(--emerald-900);
    white-space: nowrap;
}

.remove-btn {
    background: transparent;
    border: 0;
    color: var(--coral);
    font-weight: 900;
    padding: 0;
}

.cart-summary {
    position: sticky;
    top: 130px;
}

.cart-summary h2 {
    color: var(--emerald-950);
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.cart-summary div,
.summary-total {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
}

.cart-summary strong,
.summary-total strong {
    color: var(--emerald-900);
    font-size: 1.2rem;
}

.checkout-card h2 {
    font-size: 1.25rem;
    margin-bottom: 18px;
}

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

.payment-box h3 {
    color: var(--emerald-950);
    font-size: 1rem;
    font-weight: 900;
}

.payment-box label {
    align-items: center;
    background: var(--emerald-100);
    border-radius: 8px;
    display: flex;
    gap: 10px;
    font-weight: 900;
    padding: 12px;
}

.summary-item {
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 4px;
    padding: 13px 0;
}

.summary-item span {
    color: var(--ink);
    font-weight: 900;
}

.summary-item small {
    color: var(--muted);
}

.summary-item strong {
    color: var(--emerald-900);
}

.summary-line {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

.summary-line span {
    color: var(--muted);
    font-weight: 800;
}

.summary-line strong {
    color: var(--emerald-900);
}

.summary-note {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0 0 15px;
}

.content-page {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 920px;
    padding: 40px;
}

.content-page h1,
.content-page h2 {
    color: var(--emerald-950);
}

.content-page h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.content-page p {
    color: var(--muted);
    font-size: 1.02rem;
}

.contact-layout {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.support-list {
    display: grid;
    gap: 12px;
}

.support-list p {
    margin: 0;
}

.support-list i {
    color: var(--gold);
    margin-right: 8px;
}

.support-list a {
    color: var(--emerald-800);
    font-weight: 900;
}

.success-card {
    max-width: 760px;
}

.success-card p {
    color: var(--muted);
    font-size: 1.05rem;
}

.order-id-box {
    background: var(--emerald-100);
    border-radius: 8px;
    display: inline-grid;
    margin: 12px 0;
    padding: 14px 24px;
}

.order-id-box span {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.order-id-box strong {
    color: var(--emerald-950);
    font-size: 1.35rem;
    font-weight: 900;
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.track-layout {
    grid-template-columns: 380px minmax(0, 1fr);
}

.status-display {
    background: var(--emerald-100);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    margin-bottom: 18px;
    padding: 16px;
}

.status-display span,
.status-display small {
    color: var(--muted);
    font-weight: 800;
}

.status-display strong {
    color: var(--emerald-950);
    font-size: 1.6rem;
    font-weight: 900;
}

.tracking-item {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 14px;
    padding: 14px 0;
}

.tracking-item h3 {
    color: var(--emerald-950);
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.tracking-item p {
    color: var(--muted);
    margin: 0;
}

.site-footer {
    background: var(--emerald-950);
    color: rgba(255, 255, 255, 0.72);
    padding: 58px 0 24px;
}

.footer-brand {
    color: var(--white);
    margin-bottom: 18px;
}

.footer-brand small {
    color: rgba(255, 255, 255, 0.68);
}

.footer-text {
    max-width: 360px;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 16px;
}

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

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

.site-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
    color: var(--gold);
}

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

.social-links a {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.contact-list i {
    color: var(--gold);
    margin-right: 8px;
}

.payment-note {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    gap: 8px;
    margin-top: 8px;
    padding: 11px 13px;
}

.payment-note i {
    color: var(--gold);
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 42px;
    padding-top: 22px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 18px;
}

@media (max-width: 991.98px) {
    .header-main {
        grid-template-columns: 1fr auto;
    }

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

    .navbar-collapse {
        border-top: 1px solid var(--line);
    }

    .nav-menu {
        align-items: stretch;
        gap: 2px;
        padding: 12px 0;
    }

    .min-vh-hero {
        min-height: 500px;
        padding: 58px 0;
    }

    .hero-media::after {
        background: linear-gradient(90deg, rgba(6, 43, 34, 0.94), rgba(6, 43, 34, 0.68));
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flash-panel {
        grid-template-columns: 1fr;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .checkout-layout,
    .track-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-row {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .quantity-controls,
    .cart-line-total,
    .cart-row > form {
        grid-column: 2;
    }

    .deal-timer {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .announcement-bar {
        font-size: 0.82rem;
    }

    .brand-logo strong {
        font-size: 1.1rem;
    }

    .brand-mark {
        height: 38px;
        width: 38px;
    }

    .header-main {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 0 12px;
        position: relative;
    }

    .header-actions {
        gap: 6px;
        margin-left: auto;
        order: 2;
        position: absolute;
        right: 0;
        top: 14px;
    }

    .header-actions .icon-action,
    .header-actions .navbar-toggler {
        display: inline-flex !important;
    }

    .brand-logo {
        flex: 1 1 auto;
        gap: 8px;
        max-width: calc(100% - 148px);
        order: 1;
    }

    .search-form {
        flex: 0 0 100%;
        margin-top: 52px;
        order: 3;
    }

    .icon-action,
    .navbar-toggler {
        height: 40px;
        font-size: 1.15rem;
        width: 40px;
    }

    .hero-section h1 {
        font-size: 2.02rem;
        max-width: 350px;
    }

    .hero-section p {
        font-size: 1rem;
        max-width: 350px;
    }

    .section-heading h2,
    .flash-panel h2 {
        font-size: 1.75rem;
    }

    .section-gap {
        padding: 52px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 185px;
    }

    .flash-panel {
        padding: 26px 20px;
    }

    .deal-timer div {
        flex: 1 1 30%;
        min-width: 0;
    }

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

    .product-actions .price {
        flex-basis: auto;
    }

    .quantity-row,
    .success-actions {
        flex-direction: column;
    }

    .catalog-hero,
    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-sort {
        align-items: stretch;
        flex-direction: column;
    }

    .content-page {
        padding: 28px 20px;
    }

    .quantity-row .form-control {
        max-width: none;
    }

    .empty-cart,
    .success-card {
        padding: 28px 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Phase 5.5 customer frontend redesign */
:root {
    --brand: #ef5b2a;
    --brand-dark: #c94116;
    --brand-soft: #fff2ec;
    --support: #047857;
    --support-soft: #ecfdf5;
    --surface: #ffffff;
    --page: #f6f7f9;
    --ink: #1f2933;
    --muted: #667085;
    --line: #e6e8ec;
    --shadow: 0 10px 26px rgba(31, 41, 51, 0.08);
    --shadow-soft: 0 6px 18px rgba(31, 41, 51, 0.06);
}

html {
    scroll-padding-top: 150px;
}

body {
    background: var(--page);
    color: var(--ink);
    font-family: "Noto Sans Bengali", Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(239, 91, 42, 0.18);
    outline: 2px solid transparent;
}

.announcement-bar {
    background: #111827;
    color: #f9fafb;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 7px 0;
}

.announcement-bar span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.announcement-bar i {
    color: #fed7aa;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(31, 41, 51, 0.05);
}

.header-main {
    gap: 18px;
    grid-template-columns: 230px minmax(280px, 1fr) auto;
    padding: 14px 0 12px;
}

.brand-logo,
.footer-brand {
    color: var(--ink);
}

.brand-image {
    display: block;
    height: 72px;
    max-height: 72px;
    object-fit: contain;
    width: 168px;
}

.footer-brand {
    background: var(--surface);
    border-radius: 8px;
    padding: 7px 10px;
}

.footer-brand .brand-image {
    height: 82px;
    max-height: 82px;
    width: 176px;
}

.brand-mark {
    background: var(--brand);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(239, 91, 42, 0.22);
}

.brand-logo strong,
.footer-brand strong {
    color: #111827;
    font-size: 1.28rem;
    letter-spacing: 0;
}

.brand-logo small,
.footer-brand small {
    color: var(--muted);
    font-weight: 700;
}

.search-form {
    background: #f9fafb;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    min-height: 46px;
}

.search-form:focus-within {
    background: var(--surface);
    border-color: rgba(239, 91, 42, 0.55);
    box-shadow: 0 0 0 4px rgba(239, 91, 42, 0.08);
}

.search-form .btn {
    background: var(--brand);
    color: var(--surface);
    width: 56px;
}

.search-form .btn:hover,
.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--surface);
}

.header-actions {
    gap: 8px;
}

.icon-action,
.navbar-toggler {
    background: #f3f4f6;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #111827;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    width: auto;
}

.icon-action:hover,
.navbar-toggler:hover {
    background: var(--brand-soft);
    border-color: rgba(239, 91, 42, 0.25);
    color: var(--brand);
}

.icon-action i,
.navbar-toggler i {
    font-size: 1.15rem;
}

.action-text {
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 800;
}

.has-badge > span:first-of-type {
    background: var(--brand);
    border-color: var(--surface);
}

.nav-menu {
    border-top: 1px solid var(--line);
    gap: 2px;
    padding: 9px 0;
}

.nav-menu .nav-link {
    color: #344054;
    font-weight: 800;
    padding: 8px 12px;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.nav-menu .deal-link {
    color: var(--brand);
}

.marketplace-hero {
    background: var(--surface);
    color: var(--ink);
    padding: 28px 0 18px;
}

.hero-shell {
    align-items: stretch;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
}

.hero-copy {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 430px;
    padding: 42px;
}

.hero-kicker,
.section-heading span,
.deal-label {
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0;
}

.hero-section h1 {
    color: #111827;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1.12;
    margin-bottom: 14px;
    max-width: 700px;
    overflow-wrap: anywhere;
}

.hero-section h1 span {
    display: block;
}

.hero-section p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 22px;
}

.hero-banner {
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.hero-banner::after {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.46), rgba(17, 24, 39, 0.04));
    content: "";
    inset: 0;
    position: absolute;
}

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

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    bottom: auto;
    height: 42px;
    opacity: 1;
    top: 18px;
    width: 42px;
}

.hero-carousel .carousel-control-prev {
    left: auto;
    right: 68px;
}

.hero-carousel .carousel-control-next {
    right: 18px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(17, 24, 39, 0.58);
    background-size: 58%;
    border-radius: 8px;
    height: 42px;
    width: 42px;
}

.hero-carousel .carousel-indicators {
    bottom: 106px;
    margin-bottom: 0;
    z-index: 2;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--surface);
    border: 0;
    border-radius: 999px;
    height: 8px;
    opacity: 0.72;
    width: 8px;
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--brand);
    opacity: 1;
    width: 24px;
}

.hero-offer-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    bottom: 18px;
    box-shadow: var(--shadow);
    left: 18px;
    padding: 14px 16px;
    position: absolute;
    right: 18px;
    z-index: 1;
}

.hero-offer-card span {
    color: var(--brand);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-offer-card strong {
    color: #111827;
    display: block;
    font-size: 1.08rem;
    margin-top: 2px;
}

.hero-mini-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-mini-trust span {
    align-items: center;
    background: var(--support-soft);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    color: var(--support);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 900;
    gap: 7px;
    padding: 8px 12px;
}

.btn-brand,
.btn-outline-brand:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--surface);
    font-weight: 900;
}

.btn-outline-brand {
    background: var(--surface);
    border-color: #d0d5dd;
    color: #344054;
    font-weight: 900;
}

.section-gap {
    padding: 46px 0;
}

.section-title-row {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading {
    margin-bottom: 0;
}

.section-heading h2,
.flash-panel h2 {
    color: #111827;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.section-link {
    color: var(--brand);
    font-weight: 900;
    white-space: nowrap;
}

.section-link:hover {
    color: var(--brand-dark);
}

.trust-section {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.trust-grid {
    gap: 12px;
}

.trust-item {
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
}

.trust-icon {
    background: var(--brand-soft);
    color: var(--brand);
    height: 42px;
    width: 42px;
}

.trust-item h2 {
    color: #111827;
    font-size: 0.95rem;
}

.trust-item p {
    font-size: 0.82rem;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    height: 190px;
}

.category-card::after {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.04));
}

.category-card span {
    bottom: 42px;
    font-size: 1.05rem;
}

.category-card small {
    bottom: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 800;
    left: 20px;
    position: absolute;
    z-index: 1;
}

.product-section,
.new-arrivals-section,
.category-product-section {
    background: var(--page);
}

.deal-products-section,
.delivery-info {
    background: var(--surface);
}

.product-grid-tight {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.product-card {
    border-color: var(--line);
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-image {
    background: #f3f4f6;
}

.discount-badge {
    background: var(--brand);
    border-radius: 6px;
    left: 10px;
    padding: 7px 9px;
    top: 10px;
}

.product-body {
    flex: 1;
    min-height: 0;
    padding: 14px;
}

.product-body h3 {
    color: #111827;
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 7px;
    min-height: 42px;
    overflow-wrap: anywhere;
}

.product-body h3 a:hover {
    color: var(--brand);
}

.product-description {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 6px;
    min-height: 52px;
    -webkit-line-clamp: 2;
}

.read-more-link {
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.product-price-row {
    gap: 7px;
    margin-bottom: 12px;
}

.price {
    color: var(--brand);
    font-size: 1.08rem;
}

.regular-price {
    color: #98a2b3;
    font-size: 0.84rem;
}

.saving-text {
    background: var(--brand-soft);
    border-radius: 999px;
    color: var(--brand-dark);
    padding: 3px 8px;
}

.product-footer {
    gap: 8px;
}

.product-footer .btn {
    min-height: 36px;
}

.product-actions .btn-outline-brand {
    display: none;
}

.product-actions form,
.product-actions .btn-brand {
    width: 100%;
}

.delivery-band {
    background: #111827;
    border-radius: 8px;
    color: var(--surface);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 24px;
}

.delivery-band h2 {
    color: var(--surface);
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0;
}

.delivery-charge-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    min-width: 170px;
    padding: 14px;
}

.delivery-charge-card span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.86rem;
}

.delivery-charge-card strong {
    color: #fed7aa;
    display: block;
    font-size: 1.35rem;
    margin-top: 2px;
}

.catalog-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
}

.catalog-hero::after {
    background: var(--brand-soft);
}

.catalog-hero p {
    color: var(--muted);
}

.catalog-hero strong {
    background: var(--brand-soft);
    border-color: rgba(239, 91, 42, 0.18);
    color: var(--brand-dark);
}

.catalog-toolbar {
    box-shadow: var(--shadow-soft);
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.product-detail-image,
.product-detail-content,
.cart-table-card,
.cart-summary,
.checkout-card,
.content-page,
.empty-cart,
.success-card {
    box-shadow: var(--shadow-soft);
}

.product-detail-content h1 {
    color: #111827;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

.detail-category {
    color: var(--brand);
}

.price-stack div {
    background: #f9fafb;
}

.detail-trust-list {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding-top: 16px;
}

.detail-trust-list span {
    align-items: center;
    color: var(--support);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    gap: 8px;
}

.cart-row {
    grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
}

.cart-summary .btn-brand,
.order-summary-card .btn-brand {
    min-height: 46px;
}

.site-footer {
    background: #111827;
    padding-bottom: 34px;
}

.footer-brand strong,
.site-footer h2 {
    color: var(--surface);
}

.floating-whatsapp {
    align-items: center;
    background: #16a34a;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
    color: var(--surface);
    display: inline-flex;
    font-weight: 900;
    gap: 8px;
    padding: 11px 16px;
    position: fixed;
    right: 18px;
    z-index: 1040;
}

.floating-whatsapp:hover {
    background: #15803d;
    color: var(--surface);
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1199.98px) {
    .header-main {
        grid-template-columns: 200px minmax(240px, 1fr) auto;
    }

    .hero-shell {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-banner {
        min-height: 360px;
    }
}

@media (max-width: 991.98px) {
    .header-main {
        grid-template-columns: 1fr auto;
    }

    .action-text {
        display: none;
    }

    .icon-action,
    .navbar-toggler {
        height: 42px;
        padding: 0;
        width: 42px;
    }

    .delivery-band {
        grid-template-columns: 1fr 1fr;
    }

    .delivery-band > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 78px;
    }

    .section-gap {
        padding: 34px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title-row,
    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .floating-whatsapp {
        bottom: 88px;
        padding: 10px 13px;
        right: 12px;
    }

    .mobile-bottom-nav {
        align-items: center;
        background: var(--surface);
        border-top: 1px solid var(--line);
        bottom: 0;
        box-shadow: 0 -8px 24px rgba(31, 41, 51, 0.08);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        padding: 7px 6px 8px;
        position: fixed;
        right: 0;
        z-index: 1035;
    }

    .mobile-bottom-nav a {
        align-items: center;
        border-radius: 8px;
        color: #475467;
        display: inline-flex;
        flex-direction: column;
        font-size: 0.68rem;
        font-weight: 900;
        gap: 2px;
        min-height: 48px;
        justify-content: center;
    }

    .mobile-bottom-nav i {
        font-size: 1.08rem;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:focus {
        background: var(--brand-soft);
        color: var(--brand);
    }
}

@media (max-width: 575.98px) {
    .announcement-bar {
        font-size: 0.76rem;
    }

    .header-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 12px 0;
        position: static;
    }

    .brand-logo {
        max-width: none;
        order: 0;
    }

    .brand-image {
        height: 58px;
        max-height: 58px;
        width: 136px;
    }

    .header-actions {
        gap: 4px;
        margin-left: 0;
        order: 0;
        position: static;
    }

    .header-actions .icon-action:first-child {
        display: none !important;
    }

    .icon-action,
    .navbar-toggler {
        height: 38px;
        width: 38px;
    }

    .search-form {
        grid-column: 1 / -1;
        margin-top: 0;
        min-height: 44px;
        order: 2;
    }

    .hero-copy {
        min-height: auto;
        padding: 24px 18px;
    }

    .hero-banner {
        min-height: 230px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-carousel .carousel-indicators {
        bottom: 92px;
    }

    .hero-section h1 {
        font-size: 1.56rem;
        line-height: 1.22;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .hero-section p {
        font-size: 0.94rem;
    }

    .hero-actions {
        display: grid;
        gap: 10px;
    }

    .hero-actions .btn {
        font-size: 0.92rem;
        width: 100%;
    }

    .trust-grid {
        gap: 10px;
    }

    .trust-icon {
        height: 36px;
        width: 36px;
    }

    .trust-item h2 {
        font-size: 0.82rem;
    }

    .trust-item p {
        display: none;
    }

    .category-card {
        height: 150px;
    }

    .category-card span {
        bottom: 36px;
        font-size: 0.88rem;
        left: 14px;
    }

    .category-card small {
        bottom: 15px;
        font-size: 0.72rem;
        left: 14px;
    }

    .product-grid-tight {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .product-body {
        padding: 10px;
    }

    .product-body h3 {
        font-size: 0.82rem;
        min-height: 38px;
    }

    .product-description {
        font-size: 0.74rem;
        min-height: 44px;
    }

    .read-more-link,
    .saving-text {
        font-size: 0.7rem;
    }

    .price {
        font-size: 0.92rem;
    }

    .regular-price {
        font-size: 0.72rem;
    }

    .product-footer .btn {
        font-size: 0.74rem;
        min-height: 34px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .delivery-band {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .delivery-charge-card {
        min-width: 0;
    }

    .cart-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-row img,
    .tracking-item img {
        height: 62px;
        width: 64px;
    }

    .floating-whatsapp span {
        display: none;
    }
}

.theme-toggle {
    min-width: 44px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --brand: #22c55e;
    --brand-dark: #16a34a;
    --brand-soft: rgba(34, 197, 94, 0.14);
    --support: #86efac;
    --support-soft: rgba(34, 197, 94, 0.12);
    --surface: #111827;
    --page: #080f1f;
    --ink: #e5e7eb;
    --muted: #a7b0bf;
    --line: #263244;
    --shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] body,
:root[data-theme="dark"] .marketplace-hero,
:root[data-theme="dark"] .product-section,
:root[data-theme="dark"] .new-arrivals-section,
:root[data-theme="dark"] .category-product-section {
    background: var(--page);
    color: var(--ink);
}

:root[data-theme="dark"] .announcement-bar,
:root[data-theme="dark"] .site-footer,
:root[data-theme="dark"] .delivery-band {
    background: #020617;
}

:root[data-theme="dark"] .site-header,
:root[data-theme="dark"] .mobile-bottom-nav {
    background: rgba(17, 24, 39, 0.96);
    border-color: var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .brand-logo,
:root[data-theme="dark"] .footer-brand {
    background: #f8fafc;
    border-radius: 8px;
    padding: 4px 8px;
}

:root[data-theme="dark"] .search-form,
:root[data-theme="dark"] .form-control,
:root[data-theme="dark"] .form-select {
    background: #0f172a;
    border-color: var(--line);
    color: var(--ink);
}

:root[data-theme="dark"] .form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}

:root[data-theme="dark"] .search-form:focus-within {
    background: #111827;
    border-color: rgba(34, 197, 94, 0.62);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

:root[data-theme="dark"] .icon-action,
:root[data-theme="dark"] .navbar-toggler {
    background: #172033;
    border-color: var(--line);
    color: var(--ink);
}

:root[data-theme="dark"] .icon-action:hover,
:root[data-theme="dark"] .navbar-toggler:hover,
:root[data-theme="dark"] .theme-toggle[aria-pressed="true"] {
    background: var(--brand-soft);
    border-color: rgba(34, 197, 94, 0.38);
    color: var(--brand);
}

:root[data-theme="dark"] .nav-menu {
    border-color: var(--line);
}

:root[data-theme="dark"] .nav-menu .nav-link,
:root[data-theme="dark"] .btn-outline-brand,
:root[data-theme="dark"] .mobile-bottom-nav a {
    color: #cbd5e1;
}

:root[data-theme="dark"] .nav-menu .nav-link:hover,
:root[data-theme="dark"] .nav-menu .nav-link.active,
:root[data-theme="dark"] .mobile-bottom-nav a:hover,
:root[data-theme="dark"] .mobile-bottom-nav a:focus {
    background: var(--brand-soft);
    color: var(--brand);
}

:root[data-theme="dark"] .hero-copy,
:root[data-theme="dark"] .trust-item,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .catalog-hero,
:root[data-theme="dark"] .catalog-toolbar,
:root[data-theme="dark"] .product-detail-image,
:root[data-theme="dark"] .product-detail-content,
:root[data-theme="dark"] .cart-table-card,
:root[data-theme="dark"] .cart-summary,
:root[data-theme="dark"] .checkout-card,
:root[data-theme="dark"] .content-page,
:root[data-theme="dark"] .empty-cart,
:root[data-theme="dark"] .success-card {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
}

:root[data-theme="dark"] .trust-section,
:root[data-theme="dark"] .deal-products-section,
:root[data-theme="dark"] .delivery-info,
:root[data-theme="dark"] .flash-section {
    background: #0b1220;
    border-color: var(--line);
}

:root[data-theme="dark"] .product-image,
:root[data-theme="dark"] .price-stack div,
:root[data-theme="dark"] .quantity-controls,
:root[data-theme="dark"] .payment-box label,
:root[data-theme="dark"] .empty-message {
    background: #0f172a;
    border-color: var(--line);
}

:root[data-theme="dark"] .hero-section h1,
:root[data-theme="dark"] .section-heading h2,
:root[data-theme="dark"] .flash-panel h2,
:root[data-theme="dark"] .trust-item h2,
:root[data-theme="dark"] .product-body h3,
:root[data-theme="dark"] .product-body h3 a,
:root[data-theme="dark"] .catalog-hero h1,
:root[data-theme="dark"] .content-page h1,
:root[data-theme="dark"] .content-page h2,
:root[data-theme="dark"] .product-detail-content h1,
:root[data-theme="dark"] .detail-description h2,
:root[data-theme="dark"] .cart-product h2,
:root[data-theme="dark"] .checkout-card h2,
:root[data-theme="dark"] .cart-summary h2,
:root[data-theme="dark"] .empty-cart h2,
:root[data-theme="dark"] .success-card h1 {
    color: #f8fafc;
}

:root[data-theme="dark"] .hero-section p,
:root[data-theme="dark"] .trust-item p,
:root[data-theme="dark"] .product-description,
:root[data-theme="dark"] .catalog-hero p,
:root[data-theme="dark"] .catalog-toolbar p,
:root[data-theme="dark"] .content-page p,
:root[data-theme="dark"] .detail-short,
:root[data-theme="dark"] .stock-note,
:root[data-theme="dark"] .detail-description p,
:root[data-theme="dark"] .cart-product span,
:root[data-theme="dark"] .price-stack span {
    color: var(--muted);
}

:root[data-theme="dark"] .btn-outline-brand {
    background: #0f172a;
    border-color: #334155;
}

:root[data-theme="dark"] .btn-brand,
:root[data-theme="dark"] .btn-outline-brand:hover,
:root[data-theme="dark"] .search-form .btn {
    background: var(--brand);
    border-color: var(--brand);
    color: #052e16;
}

:root[data-theme="dark"] .btn-brand:hover,
:root[data-theme="dark"] .search-form .btn:hover {
    background: #4ade80;
    border-color: #4ade80;
    color: #052e16;
}

:root[data-theme="dark"] .price,
:root[data-theme="dark"] .read-more-link,
:root[data-theme="dark"] .section-link,
:root[data-theme="dark"] .detail-category,
:root[data-theme="dark"] .catalog-sort label {
    color: var(--brand);
}

:root[data-theme="dark"] .catalog-hero::after {
    background: rgba(34, 197, 94, 0.12);
}

:root[data-theme="dark"] .flash-panel {
    background: #052e16;
}

:root[data-theme="dark"] .summary-item span,
:root[data-theme="dark"] .cart-line-total,
:root[data-theme="dark"] .summary-total strong,
:root[data-theme="dark"] .cart-summary strong {
    color: #f8fafc;
}

:root[data-theme="dark"] .table {
    --bs-table-bg: var(--surface);
    --bs-table-color: var(--ink);
    --bs-table-border-color: var(--line);
    --bs-table-striped-bg: #0f172a;
    --bs-table-striped-color: var(--ink);
    --bs-table-hover-bg: #172033;
    --bs-table-hover-color: var(--ink);
}

:root[data-theme="dark"] .alert {
    background: #172033;
    border-color: var(--line);
    color: var(--ink);
}

@media (max-width: 575.98px) {
    .header-actions .icon-action.theme-toggle:first-child {
        display: inline-flex !important;
    }

    .header-actions a.icon-action:first-of-type {
        display: none !important;
    }
}
