:root {
    --bg: #ffffff;
    --bg-soft: #fbf8f4;
    --surface: #ffffff;
    --surface-soft: #f7f1e9;
    --surface-dark: #161616;
    --text: #171717;
    --muted: #756d66;
    --accent: #bd8d55;
    --accent-dark: #9e7242;
    --border: rgba(23, 23, 23, 0.09);
    --border-strong: rgba(189, 141, 85, 0.26);
    --shadow: 0 18px 44px rgba(24, 17, 10, 0.06);
    --shadow-soft: 0 12px 30px rgba(24, 17, 10, 0.04);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(189, 141, 85, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}

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

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

.form-control,
.form-select {
    min-height: 50px;
    border-radius: 14px;
    border-color: rgba(23, 23, 23, 0.12);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(189, 141, 85, 0.55);
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    padding: 12px 22px;
}

.btn-dark,
.btn-luxury {
    background: #191919;
    border-color: #191919;
}

.btn-dark:hover,
.btn-luxury:hover {
    background: #000000;
    border-color: #000000;
}

.btn-outline-dark,
.btn-luxury-light {
    border-color: rgba(189, 141, 85, 0.45);
    color: var(--accent-dark);
}

.btn-outline-dark:hover,
.btn-luxury-light:hover {
    background: #191919;
    border-color: #191919;
    color: #ffffff;
}

.site-shell {
    overflow: hidden;
}

.floating-toast {
    position: fixed;
    top: 100px;
    left: 24px;
    z-index: 1200;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(20, 20, 20, 0.96);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(-10px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-socials {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-socials a {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 22, 22, 0.95);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.navbar {
    min-height: 86px;
}

.brand-mark {
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #111111;
    letter-spacing: -0.04em;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 10px 0 !important;
    color: #222222;
    font-size: 1.02rem;
    font-weight: 500;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: -10px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateX(50%);
    transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 42px;
}

.navbar-nav .nav-link.active {
    color: var(--accent-dark);
}

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

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    color: #111111;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(23, 23, 23, 0.08);
    background: rgba(251, 248, 244, 0.9);
}

.icon-btn-soft {
    background: rgba(248, 242, 234, 0.9);
    border-color: rgba(189, 141, 85, 0.18);
}

.cart-badge {
    position: relative;
}

.cart-badge span {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.67rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reseller-banner {
    background: #161616;
    color: #f3e7d5;
    padding: 12px 0;
    font-size: 0.95rem;
}

.hero-section {
    padding: 0 0 20px;
}

.hero-stage {
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.05);
    box-shadow: var(--shadow);
}

.hero-stage .row {
    direction: ltr;
}

.hero-copy {
    padding: 58px 56px;
    direction: rtl;
}

.hero-subtitle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--accent-dark);
    font-size: 1rem;
    margin-bottom: 22px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: "";
    width: 42px;
    height: 1px;
    background: rgba(189, 141, 85, 0.75);
}

.hero-copy h1 {
    font-size: clamp(3.7rem, 8vw, 6rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 18px;
}

.hero-copy p {
    max-width: 420px;
    color: #2a2623;
    font-size: 1.2rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.hero-signature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.hero-signature strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

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

.hero-media {
    min-height: 520px;
    background: #f7f2eb;
}

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

.features-strip {
    padding: 0 0 16px;
}

.features-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-top: 1px solid rgba(23, 23, 23, 0.06);
    border-bottom: 1px solid rgba(23, 23, 23, 0.06);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 22px;
    position: relative;
}

.feature-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: rgba(23, 23, 23, 0.08);
}

.feature-item i {
    font-size: 1.6rem;
    color: var(--accent);
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.feature-item span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
}

.category-section,
.products-showcase,
.offers-section,
.page-section {
    padding: 50px 0;
}

.section-heading,
.catalog-hero {
    text-align: center;
    margin-bottom: 30px;
}

.section-heading span,
.catalog-hero span {
    display: block;
    color: var(--accent-dark);
    font-size: 0.96rem;
    margin-bottom: 8px;
}

.section-heading h2,
.catalog-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.catalog-hero p {
    max-width: 720px;
    margin: 14px auto 0;
    color: var(--muted);
    line-height: 1.9;
}

.catalog-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 26px;
    align-items: stretch;
    margin-bottom: 28px;
}

.catalog-showcase .catalog-hero {
    text-align: right;
    margin-bottom: 0;
    padding: 28px 30px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
    border: 1px solid rgba(23, 23, 23, 0.07);
    box-shadow: var(--shadow-soft);
}

.catalog-showcase .catalog-hero p {
    margin-right: 0;
    margin-left: auto;
}

.catalog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.catalog-pills a {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(247, 241, 233, 0.92);
    border: 1px solid rgba(189, 141, 85, 0.18);
    color: var(--accent-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.catalog-feature-card {
    position: relative;
    min-height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #161616;
    box-shadow: 0 24px 54px rgba(14, 11, 7, 0.12);
}

.catalog-feature-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.catalog-feature-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 26px;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.88) 100%);
    color: #ffffff;
}

.catalog-feature-copy span {
    display: block;
    color: #d8b27d;
    margin-bottom: 8px;
}

.catalog-feature-copy h2 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 800;
}

.catalog-feature-copy p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-feature-copy.is-empty {
    position: static;
    background: transparent;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 168px;
    padding: 0;
    background: linear-gradient(180deg, #fffdfa 0%, #faf6f0 100%);
    border: 1px solid rgba(23, 23, 23, 0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card img {
    width: 46%;
    height: 168px;
    object-fit: cover;
}

.category-copy {
    width: 54%;
    padding: 22px 22px 22px 18px;
}

.category-copy h3 {
    font-size: 1.35rem;
    margin: 0 0 12px;
    font-weight: 700;
}

.category-copy span {
    color: var(--accent-dark);
    font-size: 0.95rem;
}

.product-card,
.panel-card,
.summary-card,
.toolbar-card,
.success-card,
.product-details-card {
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.panel-card,
.summary-card,
.toolbar-card,
.success-card,
.product-details-card {
    padding: 28px;
}

.panel-card-xl {
    padding: 34px;
}

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

.product-favorite {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 23, 23, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f746d;
}

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

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

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 52px rgba(20, 14, 8, 0.1);
}

.product-body {
    padding: 20px 22px 22px;
}

.product-body small {
    color: var(--accent-dark);
    font-size: 0.9rem;
}

.product-body h3 {
    margin: 10px 0 12px;
    font-size: 1.08rem;
    line-height: 1.7;
    min-height: 58px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.product-price strong {
    font-size: 1.28rem;
    font-weight: 800;
}

.product-price span {
    text-decoration: line-through;
    color: #a39891;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.product-actions form,
.product-actions a {
    flex: 1;
}

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

.offer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    background:
        linear-gradient(90deg, rgba(22, 22, 22, 0.98) 0%, rgba(26, 26, 26, 0.92) 48%, rgba(26, 26, 26, 0.72) 100%),
        url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.offer-copy span {
    display: block;
    color: #d8b27d;
    margin-bottom: 8px;
}

.offer-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
}

.offer-copy p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.85;
}

.mini-product {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: var(--shadow-soft);
}

.mini-product img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}

.mini-product h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.mini-product p {
    margin: 0;
    color: var(--accent-dark);
    font-weight: 700;
}

.site-footer {
    margin-top: 24px;
    padding: 56px 0 24px;
    background: #161616;
    color: #f3ede7;
}

.site-footer h5 {
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-brand {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.footer-copy,
.footer-links li {
    color: rgba(243, 237, 231, 0.76);
}

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

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

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 28px;
    padding-top: 18px;
    color: rgba(243, 237, 231, 0.7);
}

.toolbar-card {
    margin-bottom: 26px;
}

.catalog-toolbar {
    background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
}

.catalog-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 24px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(24, 24, 24, 0.98) 0%, rgba(34, 34, 34, 0.94) 100%);
    color: #ffffff;
}

.catalog-band span {
    display: block;
    color: #d8b27d;
    margin-bottom: 4px;
}

.catalog-band strong {
    font-size: 1.5rem;
}

.catalog-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    max-width: 580px;
}

.editorial-section {
    padding: 10px 0 22px;
}

.editorial-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.editorial-story {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(24, 24, 24, 0.92) 100%),
        url("https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(14, 11, 7, 0.12);
}

.editorial-story span {
    display: block;
    color: #d8b27d;
    margin-bottom: 10px;
}

.editorial-story h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.editorial-story p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.95;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.editorial-card {
    position: relative;
    overflow: hidden;
    min-height: 228px;
    border-radius: 24px;
    background: #f6f1ea;
    box-shadow: var(--shadow-soft);
}

.editorial-card.is-large {
    grid-row: span 2;
    min-height: 472px;
}

.editorial-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-card-copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 18, 0.82) 100%);
    color: #ffffff;
}

.editorial-card-copy small {
    display: block;
    color: #d8b27d;
    margin-bottom: 6px;
}

.editorial-card-copy h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.editorial-card-copy span {
    font-weight: 700;
}

.panel-title,
.details-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.details-main-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.details-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.gallery-thumb {
    width: 96px;
    height: 96px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 0 0 1px rgba(23, 23, 23, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.gallery-thumb.is-active {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px rgba(189, 141, 85, 0.7);
}

.details-description {
    color: var(--muted);
    line-height: 2;
    margin: 18px 0;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-dark);
}

.details-form {
    margin-top: 24px;
    display: flex;
    align-items: end;
    gap: 14px;
}

.luxury-product-details {
    position: relative;
    overflow: hidden;
}

.luxury-product-details::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(189, 141, 85, 0.12), transparent 66%);
    pointer-events: none;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 8px;
}

.detail-meta-card {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9f5ef, #ffffff);
    border: 1px solid rgba(189, 141, 85, 0.12);
}

.detail-meta-card span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.qty-box {
    width: 140px;
}

.cart-row {
    display: grid;
    grid-template-columns: 110px 1fr 160px;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.cart-row img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 16px;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.summary-line.total {
    font-size: 1.14rem;
    border-bottom: 0;
}

.success-card {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.success-card i {
    font-size: 3.4rem;
    color: #2d9f5d;
    margin-bottom: 18px;
}

.checkout-card {
    position: relative;
    overflow: hidden;
}

.checkout-card::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -120px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(189, 141, 85, 0.14), transparent 68%);
    pointer-events: none;
}

.checkout-title-wrap {
    margin-bottom: 24px;
}

.checkout-title-wrap span,
.section-intro span {
    color: var(--accent-dark);
    font-size: 0.92rem;
}

.checkout-title-wrap p,
.section-intro p {
    color: var(--muted);
    max-width: 720px;
    line-height: 1.9;
    margin-bottom: 0;
}

.section-intro {
    margin-bottom: 18px;
}

.section-intro h2 {
    font-size: 1.55rem;
    margin: 6px 0 10px;
    font-weight: 800;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-choice input {
    display: none;
}

.payment-choice-box {
    display: block;
    padding: 18px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(23, 23, 23, 0.08);
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.payment-choice-box strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.payment-choice-box small {
    color: var(--muted);
}

.payment-choice input:checked + .payment-choice-box {
    border-color: rgba(189, 141, 85, 0.85);
    box-shadow: 0 16px 34px rgba(189, 141, 85, 0.16);
    transform: translateY(-2px);
}

.payment-instructions {
    display: none;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(248, 239, 227, 0.9), #ffffff);
    border: 1px solid rgba(189, 141, 85, 0.14);
}

.payment-instructions.is-active {
    display: block;
}

.payment-proof-wrap {
    display: none;
}

.payment-proof-wrap.is-visible {
    display: block;
}

.order-summary-elevated {
    position: sticky;
    top: 110px;
}

.checkout-note {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface-soft);
    color: var(--accent-dark);
    margin-bottom: 18px;
}

.section-stack {
    padding: 26px;
    border-radius: 24px;
    border: 1px solid rgba(189, 141, 85, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 241, 0.98));
    box-shadow: var(--shadow);
}

.admin-textarea-xl {
    min-height: 390px;
}

.payment-method-builder {
    display: grid;
    gap: 16px;
}

.payment-method-row {
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px dashed rgba(189, 141, 85, 0.35);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #f7ecdf, #ffffff 46%);
}

.auth-card {
    width: min(460px, calc(100% - 24px));
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.auth-card-wide {
    width: min(720px, calc(100% - 24px));
}

.dashboard-body {
    background: #f5f1eb;
}

.dashboard-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px 1fr;
}

.dashboard-sidebar {
    background: #141414;
    padding: 26px;
    color: #ffffff;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.dashboard-sidebar nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #efe6da;
}

.dashboard-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-main {
    padding: 28px;
}

.dashboard-topbar {
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.stat-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stat-card span {
    color: var(--muted);
    display: block;
    margin-bottom: 10px;
}

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

.copy-box {
    display: flex;
    gap: 12px;
}

.dashboard-content .table {
    --bs-table-bg: transparent;
}

.dashboard-content .table thead th {
    color: var(--muted);
    font-weight: 700;
    border-bottom-width: 1px;
}

.dashboard-content .table tbody td,
.dashboard-content .table tbody th {
    padding-top: 14px;
    padding-bottom: 14px;
}

.reseller-dashboard-body {
    background:
        radial-gradient(circle at top right, rgba(189, 141, 85, 0.1), transparent 24%),
        linear-gradient(180deg, #f8f4ef 0%, #f2ece4 100%);
}

.dashboard-layout.reseller-layout {
    grid-template-columns: 300px 1fr;
    gap: 26px;
    padding: 10px;
    align-items: start;
}

.reseller-sidebar {
    position: sticky;
    top: 10px;
    min-height: calc(100vh - 20px);
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(22, 22, 22, 0.98) 0%, rgba(20, 20, 20, 0.94) 100%);
    box-shadow: 0 24px 54px rgba(14, 11, 7, 0.18);
}

.reseller-sidebar-inner {
    min-height: calc(100vh - 20px);
    display: flex;
    flex-direction: column;
    padding: 28px 18px 18px;
}

.reseller-sidebar .brand-mark {
    color: #ffffff;
    margin-bottom: 6px;
}

.reseller-sidebar-caption {
    color: #c9a879;
    font-size: 0.95rem;
    margin-bottom: 26px;
}

.reseller-sidebar nav {
    gap: 6px;
    margin-top: 0;
}

.reseller-sidebar nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
}

.reseller-sidebar nav a i {
    color: #e1be88;
    width: 20px;
}

.reseller-sidebar nav a.active,
.reseller-sidebar nav a:hover {
    background: rgba(189, 141, 85, 0.16);
    color: #ffffff;
}

.reseller-sidebar-visual {
    margin-top: auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #201d19;
}

.reseller-sidebar-visual img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    opacity: 0.92;
}

.reseller-main {
    padding: 0;
}

.reseller-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 10px 22px;
}

.reseller-topbar h1 {
    margin: 0 0 6px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
}

.reseller-topbar span {
    color: var(--muted);
}

.reseller-topbar-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reseller-topbar-icons {
    display: flex;
    gap: 10px;
}

.reseller-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.reseller-user-card strong {
    display: block;
}

.reseller-user-card span {
    font-size: 0.9rem;
}

.reseller-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f3e6d5, #ffffff);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reseller-dashboard-content {
    padding: 0 10px 28px;
}

.reseller-stats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reseller-stat-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(189, 141, 85, 0.12);
    box-shadow: var(--shadow-soft);
}

.reseller-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #f7eee1, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.45rem;
}

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

.reseller-stat-card small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
}

.reseller-side-card {
    overflow: hidden;
    padding: 0;
}

.reseller-link-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.reseller-link-content {
    padding: 24px;
}

.reseller-link-content p {
    color: var(--muted);
    line-height: 1.9;
}

.reseller-copy-box .form-control {
    direction: ltr;
    text-align: left;
    font-family: inherit;
}

.reseller-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.reseller-table {
    margin-bottom: 0;
}

.reseller-table thead th {
    font-size: 0.95rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #f4f0ea;
    color: #5f564f;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-pending,
.status-approved,
.status-processing {
    background: #f8f1dd;
    color: #8b6b29;
}

.status-pending_review {
    background: #f8f1dd;
    color: #8b6b29;
}

.status-shipped {
    background: #e8f1fb;
    color: #386a9a;
}

.status-delivered,
.status-paid {
    background: #e8f5eb;
    color: #2f7d46;
}

.status-cancelled {
    background: #fdeaea;
    color: #b14c4c;
}

.status-rejected {
    background: #fdeaea;
    color: #b14c4c;
}

.status-pending {
    background: #f8f1dd;
    color: #8b6b29;
}

.commission-summary-card {
    min-height: 100%;
}

.reseller-commission-grid {
    margin-top: 8px;
}

.reseller-mini-stat {
    padding: 22px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfaf7 0%, #ffffff 100%);
    border: 1px solid rgba(23, 23, 23, 0.06);
}

.reseller-mini-stat span {
    display: block;
    color: var(--muted);
    margin-bottom: 10px;
}

.reseller-mini-stat strong {
    font-size: 1.7rem;
}

.reseller-promo-banner {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(20, 20, 20, 0.98) 0%, rgba(24, 24, 24, 0.82) 62%, rgba(24, 24, 24, 0.45) 100%),
        url("https://images.unsplash.com/photo-1547996160-81dfa63595aa?auto=format&fit=crop&w=1200&q=80") center/cover;
    color: #ffffff;
    box-shadow: 0 24px 54px rgba(14, 11, 7, 0.14);
}

.reseller-promo-banner span {
    display: block;
    color: #d7b27b;
    margin-bottom: 8px;
}

.reseller-promo-banner h3 {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 800;
}

.reseller-promo-banner p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.85;
}

.reseller-promo-banner img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1199px) {
    .reseller-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 18px 0;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .hero-copy {
        padding: 40px 28px;
    }

    .hero-media {
        min-height: 340px;
    }

    .features-strip .container,
    .stats-grid,
    .reseller-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-showcase,
    .editorial-shell {
        grid-template-columns: 1fr;
    }

    .feature-item:nth-child(2n)::after {
        display: none;
    }

    .detail-meta-grid,
    .payment-method-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout,
    .dashboard-layout.reseller-layout {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 0;
    }

    .reseller-sidebar {
        position: static;
        min-height: auto;
        border-radius: 0;
    }

    .reseller-sidebar-inner {
        min-height: auto;
    }

    .reseller-sidebar-visual {
        display: none;
    }

    .reseller-main,
    .dashboard-main {
        padding: 18px;
    }

    .reseller-topbar {
        margin: 0 0 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .reseller-topbar-user {
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .brand-mark {
        font-size: 1.8rem;
    }

    .header-actions {
        margin-top: 12px;
    }

    .hero-copy h1 {
        font-size: 3.4rem;
    }

    .floating-toast {
        left: 14px;
        right: 14px;
        top: 86px;
    }

    .hero-subtitle {
        gap: 10px;
    }

    .hero-subtitle::before,
    .hero-subtitle::after {
        width: 24px;
    }

    .features-strip .container,
    .stats-grid,
    .small-grid,
    .reseller-stats-grid {
        grid-template-columns: 1fr;
    }

    .feature-item::after {
        display: none;
    }

    .category-card {
        min-height: auto;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .hero-signature,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .category-card img,
    .category-copy {
        width: 100%;
    }

    .category-card img {
        height: 180px;
    }

    .offer-banner,
    .details-form,
    .copy-box,
    .reseller-promo-banner,
    .reseller-panel-head,
    .footer-bottom,
    .catalog-band {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-row {
        grid-template-columns: 1fr;
    }

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

    .details-main-image img {
        height: 340px;
    }

    .gallery-thumb {
        width: 74px;
        height: 74px;
    }

    .order-summary-elevated {
        position: static;
    }

    .section-stack,
    .panel-card,
    .toolbar-card,
    .summary-card,
    .success-card,
    .product-details-card,
    .panel-card-xl {
        padding: 20px;
    }

    .reseller-promo-banner img {
        width: 100%;
        height: 220px;
    }
}
