:root {
    --brand-white: #ffffff;
    --brand-gray-50: #f7f7f8;
    --brand-gray-100: #f0f1f3;
    --brand-gray-200: #e5e7eb;
    --brand-gray-500: #6b7280;
    --brand-black: #101010;
    --brand-green: #0f8b5b;
    --brand-green-strong: #0a6e48;
    --brand-gold: #b89534;
    --brand-red: #cc202a;
    --brand-red-strong: #a0151d;
    --shadow-soft: 0 10px 26px rgba(16, 16, 16, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 8% 10%, rgba(15, 139, 91, 0.08), transparent 35%),
        radial-gradient(circle at 92% 6%, rgba(184, 149, 52, 0.12), transparent 32%),
        var(--brand-gray-50);
    color: var(--brand-black);
    font-family: "Outfit", "Tajawal", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

[dir="rtl"] body {
    font-family: "Tajawal", "Outfit", "Segoe UI", Arial, sans-serif;
}

a {
    color: var(--brand-green);
    text-decoration: none;
}

a:hover {
    color: var(--brand-green-strong);
}

.site-container {
    width: min(1220px, 92vw);
    margin-inline: auto;
}

.main-content {
    padding: 1.4rem 0 3rem;
}

.brand-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-gray-200);
    box-shadow: 0 4px 16px rgba(16, 16, 16, 0.05);
}

.brand-announcement-bar {
    border-top: 1px solid rgba(16, 16, 16, 0.08);
    border-bottom: 1px solid rgba(16, 16, 16, 0.08);
    background: #fff7da;
    color: #6b5208;
    height: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.brand-announcement-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-width: 100%;
    gap: 2.6rem;
    font-size: 0.83rem;
    font-weight: 700;
    padding-inline: 1rem;
    animation: brand-announcement-scroll 28s linear infinite;
}

.brand-announcement-track span {
    display: inline-block;
}

@keyframes brand-announcement-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.brand-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--brand-black);
    font-weight: 700;
}

.brand-logo-image {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid var(--brand-gold);
}

.brand-logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #171717;
    position: relative;
    display: inline-block;
    border: 1px solid #0a0a0a;
}

.mark-headphone {
    position: absolute;
    inset: 11px 8px 8px;
    border: 2px solid var(--brand-green);
    border-top-width: 3px;
    border-radius: 999px;
}

.mark-crown {
    position: absolute;
    top: 3px;
    left: 8px;
    right: 8px;
    height: 10px;
    background: linear-gradient(90deg, #9f7c1f, #d7b255, #9f7c1f);
    clip-path: polygon(0 100%, 12% 28%, 29% 70%, 47% 20%, 63% 70%, 81% 28%, 100% 100%);
}

.mark-piano {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 3px;
    height: 8px;
    border-radius: 6px;
    background:
        repeating-linear-gradient(
            90deg,
            #fff 0 4px,
            #101010 4px 5px
        );
}

.brand-logo-text {
    font-size: 1.05rem;
    line-height: 1.1;
}

.brand-menu-toggle {
    border: 1px solid var(--brand-gray-200);
    background: var(--brand-white);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    display: none;
    place-items: center;
    color: var(--brand-black);
    font-size: 1.2rem;
}

.brand-nav-shell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.brand-nav a {
    color: #2c2c2c;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.brand-nav a.active,
.brand-nav a:hover {
    background: #e9f8f1;
    color: var(--brand-green-strong);
}

.brand-cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.72rem;
    display: inline-grid;
    place-items: center;
    padding-inline: 4px;
}

.brand-header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.brand-header-actions form {
    margin: 0;
}

.brand-language {
    background: var(--brand-gray-100);
    border-radius: 999px;
    padding: 3px;
    display: inline-flex;
    gap: 2px;
}

.brand-language a {
    color: #3b3b3b;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.28rem 0.52rem;
}

.brand-language a.active {
    background: var(--brand-black);
    color: #fff;
}

.brand-link-chip,
.brand-cta-mini {
    border: 1px solid var(--brand-gray-200);
    background: var(--brand-white);
    color: var(--brand-black);
    border-radius: 999px;
    padding: 0.42rem 0.8rem;
    font-size: 0.86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

button.brand-link-chip {
    cursor: pointer;
}

.brand-link-chip:hover,
.brand-cta-mini:hover {
    border-color: #c8cbcf;
    color: var(--brand-black);
}

.brand-link-chip.danger {
    border-color: #f2c5c9;
    color: var(--brand-red-strong);
}

.brand-cta-mini {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #fff;
}

.brand-section {
    margin-top: 1.1rem;
}

.home-page {
    display: grid;
    gap: 1.1rem;
}

.home-page .brand-section {
    margin-top: 0;
}

.brand-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.brand-section-head h1,
.brand-section-head h2 {
    margin: 0;
    line-height: 1.2;
    font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.brand-section-head p {
    margin: 0;
    color: var(--brand-gray-500);
}

.brand-text-link {
    color: var(--brand-green-strong);
    font-weight: 700;
}

.brand-hero {
    background: linear-gradient(130deg, #ffffff 0%, #f3f4f6 60%, #eceef1 100%);
    border: 1px solid #e4e7eb;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 3vw, 2.2rem);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.2rem;
    overflow: hidden;
}

.hero-media {
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #d7dde4;
    box-shadow: var(--shadow-soft);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-kicker {
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.brand-title-red {
    margin: 0;
    color: var(--brand-red);
    line-height: 1.1;
    font-size: clamp(1.6rem, 4vw, 2.9rem);
}

.brand-hero-subtitle {
    margin: 0.65rem 0 0;
    color: #202020;
    max-width: 56ch;
}

.brand-hero-actions {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.brand-btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.56rem 1rem;
    font-weight: 700;
    font-size: 0.93rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.brand-btn:hover {
    transform: translateY(-1px);
}

.brand-btn.red {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.brand-btn.red:hover {
    background: var(--brand-red-strong);
    border-color: var(--brand-red-strong);
    box-shadow: 0 8px 18px rgba(204, 32, 42, 0.3);
    color: #fff;
}

.brand-btn.ghost {
    border-color: #cfd3d8;
    background: #fff;
    color: #242424;
}

.brand-btn.ghost:hover {
    border-color: var(--brand-green);
    color: var(--brand-green-strong);
}

.brand-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.brand-hero-visual {
    position: relative;
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at 22% 30%, rgba(15, 139, 91, 0.16), transparent 40%),
        radial-gradient(circle at 85% 12%, rgba(184, 149, 52, 0.18), transparent 38%),
        #0f1114;
    min-height: 260px;
    padding: 1rem;
    overflow: hidden;
}

.wave-lines {
    position: absolute;
    left: 0;
    right: 0;
    top: 26px;
    height: 90px;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(15, 139, 91, 0.55) 31%, transparent 35%) 0 0 / 66px 100% repeat-x;
    opacity: 0.9;
}

.piano-keys {
    position: absolute;
    inset-inline: 18px;
    bottom: 16px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px;
}

.piano-keys span {
    height: 58px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

.piano-keys span:nth-child(even) {
    background: linear-gradient(180deg, #191919 0%, #313131 100%);
}

.audio-stack {
    position: absolute;
    inset-inline-end: 18px;
    top: 34px;
    display: grid;
    gap: 10px;
}

.audio-stack span {
    width: 12px;
    border-radius: 999px;
    background: var(--brand-green);
}

.audio-stack span:nth-child(1) {
    height: 44px;
}

.audio-stack span:nth-child(2) {
    height: 66px;
    background: var(--brand-gold);
}

.audio-stack span:nth-child(3) {
    height: 32px;
}

.brand-product-grid,
.brand-category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-product-card,
.brand-category-card,
.brand-info-card,
.brand-details-card,
.brand-content-card,
.brand-about-hero,
.brand-filter-card,
.brand-cart-summary,
.brand-cart-table-wrap {
    background: var(--brand-white);
    border: 1px solid #e3e6eb;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.brand-product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image-wrap {
    aspect-ratio: 4 / 3;
    background: #f3f5f7;
    display: block;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.brand-product-card:hover .product-image-wrap img {
    transform: scale(1.04);
}

.product-card-body {
    padding: 0.9rem;
    display: flex;
    flex-direction: column;

    height: 100%;
}

.product-card-body h3 {
    margin: 0;
    line-height: 1.25;
    font-size: 1rem;
}

.brand-wholesale-note {
    margin: 0;
    color: #596273;
    font-size: 0.83rem;
    line-height: 1.45;
    font-weight: 600;
}

.brand-wholesale-note-sm {
    font-size: 0.76rem;
}

.product-category {
    color: #5f6672;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-tag {
    margin: 0;
    color: var(--brand-green-strong);
    font-size: 1.1rem;
    font-weight: 800;
}

.product-card-actions {
    display: flex;
    gap: 0.45rem;
    margin-top: auto;
}

.product-card-actions .brand-btn {
    flex: 1;
}

.brand-no-image {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #707782;
    font-weight: 600;
}

.brand-status {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.22rem 0.62rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.brand-status.in-stock {
    background: rgba(15, 139, 91, 0.14);
    color: var(--brand-green-strong);
}

.brand-status.out-stock {
    background: rgba(107, 114, 128, 0.16);
    color: #3c4450;
}

.brand-category-card {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-category-card h2,
.brand-category-card h3 {
    margin: 0;
}

.brand-category-card p {
    margin: 0;
    color: #575f6b;
}

.cat-pill {
    align-self: flex-start;
    border: 1px solid #d1b56b;
    color: #85661e;
    border-radius: 999px;
    padding: 0.12rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.cat-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.brand-info-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-info-card {
    padding: 1rem;
}

.brand-info-card h2 {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.brand-info-card ul {
    margin: 0;
    padding-inline-start: 1rem;
}

.brand-info-card p {
    margin: 0 0 0.5rem;
}

.payment-gateway-notice-card {
    background: linear-gradient(140deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid #dfe6ee;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
}

.payment-gateway-copy h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.04rem, 1.8vw, 1.32rem);
    line-height: 1.3;
}

.payment-gateway-copy p {
    margin: 0 0 0.5rem;
    color: #334155;
}

.payment-gateway-copy p:last-child {
    margin-bottom: 0;
}

.payment-gateway-copy a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--brand-green-strong);
}

.payment-gateway-copy a:hover {
    color: var(--brand-red-strong);
}

.payment-card-icons {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.45rem;

}

.payment-card-icons img {
    width: 68px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 0.22rem 0.34rem;
    box-shadow: 0 2px 8px rgba(16, 16, 16, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.payment-card-icons img:hover {
    transform: translateY(-2px);
    border-color: #d9e1ea;
    box-shadow: 0 8px 18px rgba(16, 16, 16, 0.1);
}

@media (max-width: 575.98px) {
    .payment-card-icons {
        justify-content: center;
        gap: 0.35rem;
        padding: 0.35rem;
    }

    .payment-card-icons img {
        width: 58px;
        height: 36px;
    }
}

.home-hero {
    position: relative;
    align-items: center;
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset-inline-end: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15, 139, 91, 0.14) 0%, transparent 66%);
    pointer-events: none;
}

.home-hero-visual {
    border-radius: 28px;
    min-height: 320px;
}

.home-hero-media {
    min-height: 320px;
    border-radius: 22px;
}

.home-hero-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.95rem 0 0;
    padding: 0;
}

.home-hero-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #d8dee6;
    background: #fff;
    color: #2f3a4a;
    border-radius: 999px;
    padding: 0.26rem 0.58rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.home-hero-highlights i {
    color: var(--brand-green-strong);
}

.home-track-section .order-track-card {
    border: 1px solid #dbe3ec;
    box-shadow: var(--shadow-soft);
}

.home-categories-section .brand-section-head,
.home-featured-section .brand-section-head {
    margin-bottom: 1rem;
}

.home-info-section .brand-info-card {
    background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
}

.home-closing-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.home-closing-notice {
    margin: 0;
    height: 100%;
}

.home-payment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-bottom-photo {
    margin: 0;
    border: 1px solid #dee5ee;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(15, 139, 91, 0.08), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(184, 149, 52, 0.1), transparent 36%),
        #f8fafc;
    box-shadow: var(--shadow-soft);
    padding: 0.45rem;
}

.home-bottom-photo img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius-lg) - 7px);
    max-height: 560px;
    object-fit: cover;
    object-position: center;
}

.home-bottom-photo--large {
    height: 100%;
}

.home-bottom-photo--large img {
    height: 100%;
    min-height: 310px;
    max-height: none;
}

.brand-details-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.1fr 0.9fr;
}

.product-gallery-panel {
    min-width: 0;
}

.brand-image-stage {
    border-radius: var(--radius-md);
    border: 1px solid #e1e5e9;
    overflow: hidden;
    background: #eef1f4;
    aspect-ratio: 1 / 1;
    min-height: clamp(280px, 42vw, 520px);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(16, 16, 16, 0.08);
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: clamp(8px, 1.2vw, 14px);
    cursor: zoom-in;
}

.brand-thumb-grid {
    margin-top: 0.65rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    justify-content: center;
}

.gallery-thumb {
    border: 1px solid #d6dae0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
    flex: 0 0 84px;
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(16, 16, 16, 0.06);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    display: block;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(15, 139, 91, 0.24);
}

.related-product-card .product-image-wrap {
    aspect-ratio: 4 / 3;
}

.brand-details-card {
    padding: 1rem;
}

.brand-details-card h1 {
    margin: 0.2rem 0 0.5rem;
}

.brand-details-card h2 {
    margin-bottom: 0.45rem;
}

.brand-copy {
    color: #373f49;
}

.brand-copy-wrap {
    margin-bottom: 0.4rem;
}

.brand-copy.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brand-toggle-btn {
    border: 0;
    background: transparent;
    color: var(--brand-green-strong);
    font-weight: 700;
    padding: 0;
    cursor: pointer;
}

.brand-toggle-btn:hover {
    color: var(--brand-red-strong);
}

.brand-spec-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #e6eaef;
    border-radius: 12px;
    overflow: hidden;
}

.brand-spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.52rem 0.7rem;
    border-bottom: 1px solid #eff2f5;
    font-size: 0.92rem;
}

.brand-spec-list li:last-child {
    border-bottom: 0;
}

.brand-spec-list.show-all-specs .spec-extra {
    display: flex !important;
}

.brand-content-card,
.brand-about-hero {
    padding: 1rem;
}

.brand-filter-card {
    padding: 0.95rem;
}

.brand-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 0.7rem;
    align-items: end;
}

.brand-filter-grid label {
    display: block;
    font-size: 0.86rem;
    margin-bottom: 0.24rem;
    font-weight: 600;
    color: #3f4651;
}

.brand-filter-grid input,
.brand-filter-grid select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
textarea,
select {
    width: 100%;
    border: 1px solid #d3d8df;
    background: #fff;
    color: #151515;
    border-radius: var(--radius-sm);
    min-height: 40px;
    padding: 0.52rem 0.66rem;
    font: inherit;
}

textarea {
    min-height: 110px;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(15, 139, 91, 0.25);
    border-color: var(--brand-green);
}

.brand-empty {
    border: 1px dashed #ced4dc;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    color: #5b6471;
}

.brand-pagination-wrap {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.pagination {
    list-style: none;
    display: flex;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
}

.page-link {
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #d4dae1;
    display: inline-grid;
    place-items: center;
    color: #2e3642;
    padding: 0 0.55rem;
}

.page-item.active .page-link {
    background: var(--brand-green);
    color: #fff;
    border-color: var(--brand-green);
}

.brand-cart-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.brand-cart-table-wrap {
    overflow-x: auto;
}

#cart-table {
    width: 100%;
    border-collapse: collapse;
}

#cart-table th,
#cart-table td {
    border-bottom: 1px solid #eceff3;
    padding: 0.7rem;
    text-align: start;
}

#cart-table th {
    color: #4f5763;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#cart-table input.cart-qty {
    width: 86px;
    min-height: 38px;
}

.brand-cart-summary {
    padding: 1rem;
    position: sticky;
    top: 92px;
    height: fit-content;
}

.brand-cart-summary h2 {
    margin-top: 0;
}

.order-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eceff3;
}

.order-list-item:last-of-type {
    border-bottom: 0;
}

.brand-summary-actions {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.5rem;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.product-lightbox[hidden] {
    display: none;
}

.product-lightbox img {
    max-width: min(95vw, 1200px);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 12px;
}

.lightbox-close {
    position: fixed;
    top: 16px;
    inset-inline-end: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.site-alert-stack {
    position: fixed;
    top: var(--site-alert-top-offset, 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1085;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: min(560px, calc(100vw - 1.5rem));
    max-height: min(52vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 0.15rem 0.2rem;
    pointer-events: none;
}

.cookie-consent {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 1090;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    background: rgba(16, 16, 16, 0.96);
    color: #f5f6f8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    padding: 0.75rem 0.9rem;
}

.cookie-consent.is-visible {
    display: flex;
}

.cookie-consent-copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent-copy a {
    color: #ffd670;
    text-decoration: underline;
}

.cookie-consent-copy a:hover {
    color: #ffe8ab;
}

.cookie-consent-btn {
    border: 1px solid var(--brand-red);
    background: var(--brand-red);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    background: var(--brand-red-strong);
    border-color: var(--brand-red-strong);
}

.site-alert-stack .site-alert-item {
    margin: 0;
    pointer-events: auto;
}

.site-toast {
    padding: 0.58rem 0.8rem;
    font-size: 0.84rem;
    line-height: 1.4;
    min-height: auto;
    border: 1px solid rgba(16, 16, 16, 0.08);
    backdrop-filter: blur(7px);
    box-shadow: 0 10px 22px rgba(16, 16, 16, 0.12);
    animation: site-toast-enter 0.2s ease-out;
}

.site-alert-fade-out {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

@keyframes site-toast-enter {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-alert {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.62rem 0.78rem;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: var(--shadow-soft);

}

.brand-alert.success {
    background: #ebfaf2;
    border-color: #bfe6d1;
    color: #0e6543;
}

.brand-alert.danger {
    background: #fff0f1;
    border-color: #f1c2c6;
    color: #8d1d25;
}

.brand-alert.info {
    background: #eef6ff;
    border-color: #bfd7f2;
    color: #1b527f;
}

.brand-alert-errors {
    margin: 0.35rem 0 0;
    padding-inline-start: 1rem;
}

.alert {
    margin: 0.7rem 0;
    border-radius: 12px;
    padding: 0.64rem 0.8rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #ebfaf2;
    border-color: #bfe6d1;
    color: #0e6543;
}

.alert-danger {
    background: #fff0f1;
    border-color: #f1c2c6;
    color: #8d1d25;
}

.alert-info {
    background: #eef6ff;
    border-color: #bfd7f2;
    color: #1b527f;
}

@media (max-width: 575.98px) {
    .site-alert-stack {
        top: var(--site-alert-top-offset, 0.75rem);
        width: calc(100vw - 1rem);
        max-height: 58vh;
    }
}

.brand-footer {
    margin-top: 2rem;
    border-top: 1px solid #d9dde2;
    background: linear-gradient(150deg, #101318 0%, #171a1f 60%, #1e2228 100%);
    color: #f0f1f3;
}

.brand-footer-top {
    padding: 1.5rem 0 1.1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1.1fr 0.8fr 0.9fr 0.85fr;
}

.brand-footer-brand {
    padding-inline-end: 0.7rem;
}

.brand-footer-col h3 {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    color: #fff;
}

.brand-footer-col p,
.brand-footer-col li {
    margin: 0 0 0.45rem;
    color: #cfd3d8;
    line-height: 1.45;
}

.brand-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-footer-col a {
    color: #e0e4e9;
}

.brand-footer-col a:hover {
    color: #fff;
}

.brand-contact-list i {
    color: var(--brand-gold);
    margin-inline-end: 0.35rem;
}

.brand-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.8rem 0 3rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    color: #c8cdd4;
    font-size: 0.85rem;
}

.brand-footer-hotlines {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.brand-footer-hotline-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.8rem;
}

.brand-footer-hotline-card h4 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-size: 0.95rem;
}

.brand-footer-hotline-card p {
    margin: 0 0 0.6rem;
    color: #cfd3d8;
    line-height: 1.5;
}

.brand-footer-social-links {
    display: grid;
    gap: 0.45rem;
}

.brand-footer-social-links a,
.brand-footer-wa-link {
    color: #e9edf3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
}

.brand-footer-social-links a:hover,
.brand-footer-wa-link:hover {
    color: #fff;
}

.brand-footer-wa-link {
    margin-bottom: 0;
    padding: 0.28rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.brand-footer-wa-link i {
    color: #3ddc84;
}

.brand-info-card .brand-footer-social-links a,
.brand-info-card .brand-footer-wa-link {
    color: #1f2b3a;
    border-color: #d6dce4;
    background: #f8fafc;
}

.brand-info-card .brand-footer-social-links a:hover,
.brand-info-card .brand-footer-wa-link:hover {
    color: var(--brand-green-strong);
}

.leaflet-map {
    min-height: 280px;
    border-radius: 14px;
    border: 1px solid #d7dde4;
    overflow: hidden;
}

/* Utility classes used by existing non-redesigned templates */
.section-space {
    margin-top: 1rem;
}

.surface-card,
.auth-card,
.account-nav {
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.card-body {
    padding: 1rem;
}

.auth-shell {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(560px, 100%);
}

.auth-title {
    margin-top: 0;
}

.section-heading {
    margin: 0;
    line-height: 1.2;
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.section-subtitle {
    margin: 0.2rem 0 0;
    color: var(--brand-gray-500);
}

.account-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1rem;
}

.account-nav {
    padding: 0.8rem;
    position: sticky;
    top: 90px;
    height: fit-content;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    padding: 0.45rem 0.55rem;
    color: #2d3641;
    font-weight: 600;
}

.account-nav a.active,
.account-nav a:hover {
    background: #edf8f2;
    color: var(--brand-green-strong);
}

.account-content {
    min-width: 0;
}

.order-track-card {
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fb 100%);
    border: 1px solid #e2e8ef;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
}

.order-track-head h2 {
    margin: 0;
}

.order-track-head p {
    margin: 0.35rem 0 0.85rem;
    color: #5a6472;
}

.order-track-form label {
    display: block;
    margin-bottom: 0.35rem;
    color: #3f4651;
    font-weight: 700;
}

.order-track-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.65rem;
}

.order-track-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d3d9e0;
    border-radius: var(--radius-sm);
    background: #fff;
    padding-inline: 0.65rem;
}

.order-track-input-wrap:focus-within {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(15, 139, 91, 0.18);
}

.order-track-input-wrap input {
    border: 0;
    min-height: 42px;
    padding: 0.35rem 0;
}

.order-track-input-wrap input:focus {
    outline: 0;
}

.order-track-input-icon {
    color: #627082;
    font-size: 1rem;
}

.orders-filter-form {
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    background: #fff;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
}

.orders-filter-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.6rem;
    align-items: end;
}

.orders-grid {
    display: grid;
    gap: 0.8rem;
}

.order-overview-card {
    border: 1px solid #e3e8ee;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(16, 16, 16, 0.05);
    padding: 0.85rem;
}

.order-overview-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.order-overview-head h2 {
    margin: 0;
    font-size: 1rem;
}

.order-overview-date {
    margin: 0.3rem 0 0;
    color: #667385;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.order-overview-meta {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.order-overview-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #e5eaf1;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.25rem 0.55rem;
    font-size: 0.82rem;
    color: #314052;
}

.order-overview-statuses {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.order-overview-statuses .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.shipment-progress {
    margin-top: 0.7rem;
    border: 1px dashed #d7dee6;
    border-radius: 12px;
    padding: 0.7rem;
    background: #fcfdff;
}

.shipment-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}

.shipment-progress-head h3 {
    margin: 0;
    font-size: 0.95rem;
}

.shipment-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}

.shipment-step {
    text-align: center;
    position: relative;
}

.shipment-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    inset-inline-start: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: #d8e0e8;
    z-index: 1;
}

.shipment-step.is-complete:not(:last-child)::after {
    background: rgba(15, 139, 91, 0.45);
}

.shipment-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d5dce5;
    background: #fff;
    color: #667486;
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 2;
}

.shipment-step.is-complete .shipment-step-icon {
    background: rgba(15, 139, 91, 0.12);
    border-color: rgba(15, 139, 91, 0.35);
    color: var(--brand-green-strong);
}

.shipment-step.is-active .shipment-step-icon {
    background: rgba(184, 149, 52, 0.18);
    border-color: rgba(184, 149, 52, 0.46);
    color: #725510;
}

.shipment-step-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #677383;
    line-height: 1.3;
}

.shipment-step.is-complete .shipment-step-label,
.shipment-step.is-active .shipment-step-label {
    color: #2b3949;
    font-weight: 700;
}

.shipment-progress.is-canceled .shipment-step {
    opacity: 0.5;
}

.shipment-canceled-note {
    margin: 0.65rem 0 0;
    color: var(--brand-red-strong);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.shipment-progress.is-compact .shipment-progress-head h3 {
    font-size: 0.86rem;
}

.shipment-progress.is-compact .shipment-step-icon {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
}

.shipment-progress.is-compact .shipment-step:not(:last-child)::after {
    top: 14px;
}

.shipment-progress.is-compact .shipment-step-label {
    font-size: 0.7rem;
}

.order-track-result-card {
    padding: 1rem;
}

.order-track-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.product-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid #e3e7eb;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    background: #fff;
}

.product-meta-item span {
    color: #57606c;
    font-size: 0.9rem;
}

.product-meta-item strong {
    color: #111827;
}

.cart-summary {
    position: sticky;
    top: 92px;
}

.text-bg-success {
    background: rgba(15, 139, 91, 0.14);
    color: var(--brand-green-strong);
    border: 1px solid rgba(15, 139, 91, 0.25);
}

.text-bg-secondary {
    background: rgba(107, 114, 128, 0.16);
    color: #3c4450;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.text-bg-danger {
    background: rgba(204, 32, 42, 0.14);
    color: var(--brand-red-strong);
    border: 1px solid rgba(204, 32, 42, 0.2);
}

.text-bg-warning {
    background: rgba(184, 149, 52, 0.18);
    color: #7b5d15;
    border: 1px solid rgba(184, 149, 52, 0.25);
}

.text-bg-info {
    background: rgba(16, 125, 197, 0.16);
    color: #0d4a73;
    border: 1px solid rgba(16, 125, 197, 0.22);
}

.badge {
    border-radius: 999px;
    padding: 0.2rem 0.52rem;
    font-size: 0.76rem;
    font-weight: 700;
}

.btn {
    border-radius: 999px;
    border: 1px solid #d5dae0;
    background: #fff;
    color: #222;
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-weight: 600;
}

.btn-primary {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-dark,
.btn-outline-danger {
    background: #fff;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #3f4651;
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.text-muted,
.small {
    color: var(--brand-gray-500);
}

.w-100 {
    width: 100%;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: flex-end;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-auto {
    margin-top: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.5rem;
}

.row > [class*="col-"] {
    padding-inline: 0.5rem;
    width: 100%;
}

.col-12 {
    width: 100%;
}

.col-6 {
    width: 50%;
}

.col-4 {
    width: 33.333%;
}

.col-3 {
    width: 25%;
}

.table-responsive {
    overflow-x: auto;
}

@media (min-width: 576px) {
    .col-sm-6 {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-3 {
        width: 25%;
    }

    .col-md-4 {
        width: 33.333%;
    }

    .col-md-6 {
        width: 50%;
    }

    .col-md-8 {
        width: 66.666%;
    }
}

@media (min-width: 992px) {
    .col-lg-2 {
        width: 16.666%;
    }

    .col-lg-4 {
        width: 33.333%;
    }

    .col-lg-5 {
        width: 41.666%;
    }

    .col-lg-6 {
        width: 50%;
    }

    .col-lg-7 {
        width: 58.333%;
    }

    .col-lg-8 {
        width: 66.666%;
    }
}

@media (min-width: 1200px) {
    .col-xl-3 {
        width: 25%;
    }
}

[dir="rtl"] #cart-table th,
[dir="rtl"] #cart-table td {
    text-align: right;
}

[dir="rtl"] .brand-footer-bottom {
    flex-direction: row-reverse;
}

@media (max-width: 1199.98px) {
    .brand-product-grid,
    .brand-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-shell {
        grid-template-columns: 1fr;
    }

    .account-nav {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .brand-menu-toggle {
        display: inline-grid;
    }

    .brand-nav-shell {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        margin-inline: auto;
        width: min(1220px, 92vw);
        background: #fff;
        border: 1px solid #e3e7eb;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-soft);
        padding: 0.8rem;
        flex-direction: column;
        align-items: stretch;
        display: none;
    }

    .brand-nav-shell.open {
        display: flex;
    }

    .brand-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-nav a {
        border-radius: 10px;
    }

    .brand-header-actions {
        flex-wrap: wrap;
    }

    .brand-hero {
        grid-template-columns: 1fr;
    }

    .home-page {
        gap: 0.95rem;
    }

    .home-hero .brand-hero-content {
        order: 1;
    }

    .home-hero-visual {
        order: 2;
        min-height: 260px;
    }

    .home-hero-media {
        min-height: 260px;
    }

    .home-closing-grid {
        grid-template-columns: 1fr;
    }

    .home-bottom-photo--large img {
        min-height: 260px;
    }

    .brand-product-grid,
    .brand-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-info-grid,
    .brand-details-grid,
    .brand-cart-grid {
        grid-template-columns: 1fr;
    }

    .brand-cart-summary {
        position: static;
    }

    .brand-footer-top {
        grid-template-columns: 1fr;
    }

    .brand-footer-hotlines {
        grid-template-columns: 1fr;
    }

    .orders-filter-row {
        grid-template-columns: 1fr;
    }

    .order-track-input-row {
        grid-template-columns: 1fr;
    }

    .shipment-steps {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .shipment-step {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        text-align: start;
    }

    .shipment-step:not(:last-child)::after {
        width: 2px;
        height: calc(100% + 8px);
        top: calc(100% - 2px);
        inset-inline-start: 14px;
    }

    .shipment-step-label {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .site-container {
        width: 94vw;
    }

    .brand-product-grid,
    .brand-category-grid {
        grid-template-columns: 1fr;
    }

    .product-card-actions,
    .brand-hero-actions {
        flex-direction: column;
    }

    .brand-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-footer-bottom {
        flex-direction: column;
    }

    .brand-announcement-track {
        font-size: 0.76rem;
    }

    .cookie-consent {
        inset-inline: 0.55rem;
        bottom: 0.55rem;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-btn {
        width: 100%;
    }

    .home-hero-highlights {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-highlights li {
        justify-content: flex-start;
    }

    .home-bottom-photo--large img {
        min-height: 210px;
    }
}

@media (max-width: 767.98px) {
    .home-featured-scroll,
    .related-products-scroll {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.4rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .home-featured-scroll .brand-product-card,
    .related-products-scroll .brand-product-card {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .home-featured-scroll .brand-product-card {
        min-width: min(86vw, 340px);
        display: grid;
        grid-template-columns: 108px 1fr;
        align-items: stretch;
    }

    .home-featured-scroll .product-image-wrap {
        aspect-ratio: auto;
        height: 100%;
        min-height: 100%;
    }

    .home-featured-scroll .product-card-body {
        padding: 0.7rem;
        gap: 0.35rem;
    }

    .home-featured-scroll .product-card-body h3 {
        font-size: 0.92rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .home-featured-scroll .product-card-actions {
        flex-direction: row;
    }

    .home-featured-scroll .brand-btn {
        padding: 0.45rem 0.62rem;
        font-size: 0.78rem;
    }

    .related-products-scroll .brand-product-card {
        min-width: min(74vw, 290px);
    }

    .products-page-grid .brand-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .products-page-grid .product-card-body {
        padding: 0.65rem;
    }

    .products-page-grid .product-card-body h3 {
        font-size: 0.9rem;
    }

    .products-page-grid .product-card-actions {
        flex-direction: column;
    }

    .products-page-grid .brand-btn {
        padding: 0.43rem 0.55rem;
        font-size: 0.76rem;
    }

    .brand-image-stage {
        min-height: 0;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        max-width: min(100%, 420px);
        margin-inline: auto;
    }

    .gallery-thumb {
        flex-basis: 72px;
        border-radius: 10px;
    }
}
.product-price-display {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-price-display .price-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.discount-price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.old-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
}

.discount-badge {
    background: rgba(215, 25, 32, 0.1);
    color: #d71920;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}

.new-price,
.normal-price {
    color: #111;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.new-price {
    color: #d71920;
}

@media (max-width: 576px) {
    .new-price,
    .normal-price {
        font-size: 21px;
    }
}
/* =========================
   Home Page Professional Refresh
   ========================= */

.home-hero-v2 {
    position: relative;
    align-items: center;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 430px;
    padding: clamp(1.4rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 8% 15%, rgba(204, 32, 42, 0.08), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(184, 149, 52, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f8fa 55%, #eef1f5 100%);
}

.home-hero-v2::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(184, 149, 52, 0.22);
    border-radius: calc(var(--radius-lg) - 6px);
    pointer-events: none;
}

.home-hero-v2 .brand-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.home-hero-v2 .brand-kicker {
    width: fit-content;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: rgba(184, 149, 52, 0.12);
    border: 1px solid rgba(184, 149, 52, 0.25);
}

.home-hero-v2 .brand-title-red {
    margin-top: 0.75rem;
    font-size: clamp(2rem, 5vw, 4.2rem);
    letter-spacing: -0.04em;
}

.home-hero-v2 .brand-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #3d4450;
}

.home-hero-logo-card {
    display: grid;
    place-items: center;
    min-height: 330px;
    background:
        radial-gradient(circle at 50% 50%, rgba(204, 32, 42, 0.14), transparent 58%),
        linear-gradient(145deg, #111318 0%, #20242b 100%);
    border-radius: 32px;
    box-shadow: 0 22px 50px rgba(16, 16, 16, 0.18);
}

.home-hero-logo-media {
    width: min(300px, 70vw);
    height: min(300px, 70vw);
    min-height: unset;
    border-radius: 50%;
    background: #fff;
    padding: 0.8rem;
    border: 6px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(184, 149, 52, 0.25);
}

.home-hero-logo-media img {
    border-radius: 50%;
    object-fit: cover;
}

.order-track-card,
.brand-category-card,
.brand-product-card,
.brand-info-card,
.payment-gateway-notice-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.brand-category-card:hover,
.brand-product-card:hover,
.brand-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 149, 52, 0.35);
    box-shadow: 0 18px 38px rgba(16, 16, 16, 0.11);
}

.brand-category-card {
    min-height: 175px;
    background:
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.brand-category-card strong {
    margin-top: auto;
    color: var(--brand-red);
}

.brand-product-card {
    border-radius: 18px;
}

.product-image-wrap {
    background:
        linear-gradient(145deg, #f4f6f8 0%, #e9edf2 100%);
}

.product-card-body h3 {
    min-height: 2.5em;
}

.price-tag {
    padding-top: 0.2rem;
    border-top: 1px solid #edf0f3;
}

.product-card-actions {
    gap: 0.55rem;
}

.product-card-actions .brand-btn {
    min-height: 42px;
}

.brand-info-grid {
    align-items: stretch;
}

.brand-info-card {
    padding: clamp(1rem, 2vw, 1.35rem);
    background:
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

.payment-gateway-notice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: clamp(1rem, 2vw, 1.35rem);
}

.payment-card-icons {
    margin-top: 0;
    justify-content: flex-end;
}

.home-bottom-photo {
    padding: 0.55rem;
}

.home-bottom-photo img {
    aspect-ratio: 16 / 7;
}

/* Products page cards: show full product image without cropping */
.products-page-grid .product-image-wrap {
    aspect-ratio: 1 / 1;
    padding: 0.65rem;
    background: #ffffff;
}

.products-page-grid .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .home-hero-v2 {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-hero-logo-card {
        min-height: 280px;
    }

    .payment-gateway-notice-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-card-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .home-hero-v2 {
        padding: 1.1rem;
        border-radius: 18px;
    }

    .home-hero-v2::before {
        display: none;
    }

    .home-hero-logo-card {
        border-radius: 22px;
        min-height: 235px;
    }

    .home-hero-logo-media {
        width: 210px;
        height: 210px;
    }

    .brand-btn {
        width: 100%;
    }

    .home-bottom-photo img {
        aspect-ratio: 4 / 3;
    }
}

/* Home featured products: horizontal scroll like product cards */
.home-featured-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.85rem;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.home-featured-scroll .brand-product-card {
    flex: 0 0 clamp(240px, 28vw, 320px);
    max-width: 320px;
    min-width: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.home-featured-scroll .product-image-wrap {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    padding: 0.65rem;
    background: #ffffff;
}

.home-featured-scroll .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 767.98px) {
    .home-featured-scroll .brand-product-card {
        flex-basis: min(86vw, 320px);
    }
}

@media (max-width: 767.98px) {
    .home-featured-scroll {
        gap: 0.6rem;
    }

    .home-featured-scroll .brand-product-card {
        flex: 0 0 min(72vw, 250px);
        max-width: min(72vw, 250px);
        display: flex;
        flex-direction: column;
    }

    .home-featured-scroll .product-card-body {
        padding: 0.6rem;
    }

    .home-featured-scroll .product-card-body h3 {
        font-size: 0.88rem;
    }

    .home-featured-scroll .brand-btn {
        padding: 0.4rem 0.55rem;
        font-size: 0.74rem;
    }
}

@media (max-width: 575.98px) {
    .brand-hero .brand-hero-visual {
        margin-inline: auto;
        width: min(72vw, 240px);
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 0.6rem;
    }

    .brand-hero .hero-media {
        min-height: 0;
        height: 100%;
        border-radius: 50%;
    }

    .brand-hero .hero-media img {
        object-fit: contain;
    }
}
