:root {
    --bg: #fffaf2;
    --panel: #ffffff;
    --panel-soft: #f8f4ed;
    --text: #2a1d10;
    --muted: #7c6a58;
    --accent: #f7b529;
    --accent-soft: #8a5a14;
    --border: rgba(42, 29, 16, 0.09);
    --dark-text: #21190d;
}

html,
body {
    background: #fffdf9 !important;
    color: #2a1d10;
}

body {
    font-family: 'Manrope', sans-serif;
}

html[lang="ar"] body,
html[lang="ar"] .store-shell .form-control,
html[lang="ar"] .store-shell .form-select,
html[lang="ar"] .store-shell button,
html[lang="ar"] .store-shell .btn {
    font-family: 'Cairo', sans-serif;
}

.store-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(247, 181, 41, 0.16), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #f8f1e6 100%);
    color: var(--text);
}

.store-shell header,
.store-shell footer,
.store-shell .navbar {
    background: transparent !important;
}

.store-shell .container,
.store-shell .text-secondary,
.store-shell .form-label,
.store-shell .form-control,
.store-shell .form-select {
    color: #2a1d10;
}

.admin-shell {
    background: #f4efe8;
    color: #221b12;
}

.brand-mark,
.display-title,
.section-title {
    font-family: 'Fraunces', serif;
}

html[lang="ar"] .brand-mark,
html[lang="ar"] .display-title,
html[lang="ar"] .section-title {
    font-family: 'Cairo', sans-serif;
}

.brand-mark {
    color: #2a1d10;
    font-size: 1.65rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.eyebrow {
    color: var(--accent-soft);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

html[lang="ar"] .eyebrow {
    letter-spacing: 0;
}

.display-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 0.98;
    max-width: 11ch;
}

.display-title--small {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.hero-section,
.py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-panel,
.product-card,
.product-detail-card,
.thank-you-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(80, 51, 18, 0.08);
}

.product-detail-card,
.thank-you-card,
.product-card,
.order-note,
.checkout-summary,
.summary-panel,
.locale-switcher {
    backdrop-filter: none;
}

.hero-panel {
    padding: 1.5rem;
}

.hero-stat + .hero-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(42, 29, 16, 0.08);
}

.hero-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.hero-stat strong {
    font-size: 1.15rem;
}

.product-card {
    overflow: hidden;
    height: 100%;
}

.product-card__media,
.product-card__placeholder {
    min-height: 280px;
    background: linear-gradient(135deg, rgba(247, 181, 41, 0.8), rgba(108, 66, 6, 0.7));
}

.product-card__media img,
.main-product-image,
.gallery-thumb,
.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Fraunces', serif;
    font-size: 2rem;
}

.product-card__placeholder--large {
    min-height: 460px;
    border-radius: 28px;
}

.price-tag,
.price-callout,
.reference-badge {
    background: rgba(247, 181, 41, 0.16);
    color: #7f510f;
    border: 1px solid rgba(247, 181, 41, 0.3);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
}

.price-callout {
    font-size: 1.2rem;
}

.media-stack {
    display: grid;
    gap: 1rem;
}

.main-product-image,
.gallery-thumb {
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(80, 51, 18, 0.12);
}

.product-detail-card,
.thank-you-card {
    padding: 2rem;
}

.order-note,
.checkout-summary,
.summary-panel {
    background: #fff8ec;
    border: 1px solid rgba(247, 181, 41, 0.2);
    border-radius: 20px;
    padding: 1rem 1.25rem;
}

.checkout-breakdown {
    display: grid;
    gap: 0.85rem;
}

.checkout-breakdown__row,
.checkout-breakdown__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-breakdown__row {
    color: #6c5a48;
    font-size: 1rem;
}

.checkout-breakdown__row strong {
    color: #2a1d10;
    font-weight: 700;
}

.checkout-breakdown__total {
    margin-top: 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(127, 81, 15, 0.25);
    color: #7f510f;
}

.checkout-breakdown__total span {
    font-size: 1rem;
    font-weight: 700;
}

.checkout-breakdown__total strong {
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1;
    font-weight: 800;
}

.checkout-form .form-control,
.checkout-form .form-select,
.admin-shell .form-control,
.admin-shell .form-select {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.85rem 1rem;
}

.thank-you-card {
    background: rgba(255, 255, 255, 0.95);
}

.locale-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 29, 16, 0.08);
}

.store-logo {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(42, 29, 16, 0.1);
    background: #fff;
}

.store-logo--admin,
.store-logo--preview {
    width: 56px;
    height: 56px;
}

.store-logo--placeholder {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 181, 41, 0.2);
    color: #7f510f;
    font-weight: 800;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.landing-shell {
    background: linear-gradient(180deg, #fffdf8 0%, #f7efe2 100%);
    color: #2a1d10;
    min-height: 100vh;
}

.landing-panel,
.landing-card,
.landing-cta {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(42, 29, 16, 0.08);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(80, 51, 18, 0.08);
}

.landing-panel,
.landing-cta {
    padding: 1.75rem;
}

.landing-card {
    padding: 1.5rem;
    height: 100%;
}

.landing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.landing-card p,
.landing-cta p {
    color: #745f4e;
    margin-bottom: 0;
}

.landing-metric + .landing-metric {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(42, 29, 16, 0.08);
}

.landing-metric span {
    display: block;
    color: #7c6a58;
    margin-bottom: 0.4rem;
}

.landing-metric strong {
    font-size: 1.15rem;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    background: #25d366;
    color: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover {
    color: #fff;
    background: #1fbc59;
}

.admin-sidebar {
    background: linear-gradient(180deg, #19120a, #2a1f13);
    min-height: 100vh;
}

.admin-sidebar .brand-mark {
    color: #fff2cf;
}

.admin-stat-card,
.timeline-item,
.media-item {
    border-radius: 20px;
    background: #fff;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(31, 24, 18, 0.08);
}

.admin-stat-card span {
    display: block;
    color: #7f6c5a;
    margin-bottom: 0.5rem;
}

.admin-stat-card strong {
    font-size: 2rem;
}

.media-item {
    display: grid;
    gap: 0.75rem;
}

.media-item img {
    border-radius: 14px;
    max-height: 170px;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

@media (max-width: 991.98px) {
    .hero-section,
    .py-lg-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .display-title {
        max-width: none;
    }

    .locale-switcher {
        width: 100%;
        justify-content: center;
    }
}
