* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    overflow-x: hidden;
    width: 100%;
}

.top-bar {
    background: #6b0f2b;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.quick-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #faf5f2;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.quick-nav::-webkit-scrollbar {
    display: none;
}

.quick-nav a {
    flex: 0 0 auto;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #6b0f2b;
    text-decoration: none;
    border: 1px solid #e3d3d8;
    background: #fff;
    transition: background 0.2s ease, color 0.2s ease;
}

.quick-nav a:hover {
    background: #f3e5e9;
}

@media (max-width: 600px) {
    .quick-nav a {
        font-size: 16px;
        padding: 10px 18px;
    }
}

.quick-nav a.active {
    background: #6b0f2b;
    color: #fff;
    border-color: #6b0f2b;
}

.left-icon,
.right-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #6b0f2b;
    text-align: center;
    flex: 1;
}

.logo span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    color: #555;
    letter-spacing: 2px;
}

.logo img {
    max-height: 60px;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #6b0f2b;
    transition: right 0.3s ease;
    padding-top: 60px;
    z-index: 999;
}

.side-menu.open {
    right: 0;
}

.side-menu a {
    display: block;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.side-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.left-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 16px;
}

.lang-text {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    min-width: 150px;
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.lang-dropdown a:hover {
    background: #f5f0f0;
    color: #6b0f2b;
}

.location-wrap {
    position: relative;
    cursor: pointer;
}

.location-dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
}

.location-dropdown.show {
    display: block;
}

.location-title {
    background: #6b0f2b;
    color: white;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
}

.location-address .pin {
    font-size: 22px;
}

.location-address strong {
    display: block;
    color: #222;
    font-size: 15px;
    margin-bottom: 3px;
}

.location-address p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.promo-banner {
    width: 100%;
    overflow: hidden;
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== HERO SLIDER (auto-sliding banner carousel) ===== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-slider .hero-slide {
    display: none;
    width: 100%;
}

.hero-slider .hero-slide.active {
    display: block;
}

.hero-slider .hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-slider .hero-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-slider .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-slider .hero-dot.active {
    background: #fff;
}

/* ===== CATEGORY NAV (Perfume / Air Freshener / Oud / Bokhoor) ===== */
.category-section {
    text-align: center;
    padding: 35px 20px 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.category-section h2 {
    font-size: 24px;
    color: #6b0f2b;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.category-card {
    flex: 0 1 220px;
}

@media (max-width: 700px) {
    .category-card {
        flex: 0 1 160px;
    }
}

.category-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(160deg, #6b0f2b, #3d0a19);
    color: #fff;
    border-radius: 14px;
    padding: 28px 12px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(107, 15, 43, 0.25);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(107, 15, 43, 0.35);
}

.category-card .cat-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 10px;
}

.category-card .cat-name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Simple header used on category pages to go back home */
.breadcrumb-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 0;
    font-size: 14px;
    color: #777;
}

.breadcrumb-bar a {
    color: #6b0f2b;
    text-decoration: none;
    font-weight: 600;
}

.category-page-title {
    text-align: center;
    padding: 20px 20px 0;
    font-size: 30px;
    color: #6b0f2b;
}

@media (max-width: 600px) {
    .category-page-title {
        font-size: 32px;
    }
}

.best-seller {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.best-seller h2 {
    font-size: 28px;
    color: #6b0f2b;
    margin-bottom: 30px;
}

.popular-week-section {
    position: relative;
    padding-top: 10px;
}

.best-seller h2.popular-week-title {
    position: relative;
    display: inline-block;
    margin: 0 auto 30px;
    padding: 14px 42px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6b0f2b 0%, #8f1a3d 45%, #6b0f2b 100%);
    box-shadow: 0 10px 25px rgba(107, 15, 43, 0.25);
    overflow: hidden;
    color: #fff;
}

.popular-week-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: popularWeekShine 4s ease-in-out infinite;
}

.popular-week-title span {
    position: relative;
    z-index: 1;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes popularWeekShine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 600px) {
    .popular-week-title {
        padding: 12px 26px;
    }

    .popular-week-title span {
        font-size: 21px;
    }
}

.section-subtitle {
    margin-top: -20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #777;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-grid .product-card {
    flex: 0 1 calc(33.333% - 14px);
}

@media (max-width: 600px) {
    .product-grid {
        gap: 8px;
    }

    .product-grid .product-card {
        flex: 0 1 calc(33.333% - 6px);
    }
}

/* Perfume category page: same 3-per-row, centered layout, filling
   the full width of the page container on both mobile and desktop. */
.perfume-grid {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 600px) {
    .product-grid .product-card,
    .perfume-grid .product-card {
        padding: 6px;
    }

    .product-card h3,
    .perfume-grid .product-card h3 {
        font-size: 11px;
        margin-top: 6px;
    }

    .product-card .price {
        font-size: 12px;
        margin: 4px 0;
    }

    .view-details-btn {
        font-size: 10px;
        padding: 6px 4px;
    }
}


.size-tab-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px 18px;
    flex-wrap: wrap;
}

.size-tab {
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #6b0f2b;
    text-decoration: none;
    border: 1px solid #e3d3d8;
    background: #fff;
    transition: background 0.2s ease, color 0.2s ease;
}

.size-tab:hover {
    background: #f3e5e9;
}

.size-tab.active {
    background: #6b0f2b;
    color: #fff;
    border-color: #6b0f2b;
}

.category-search-wrap {
    display: flex;
    justify-content: center;
    padding: 0 20px 15px;
}

.category-search-input {
    width: 100%;
    max-width: 500px;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease;
}

.category-search-input:focus {
    border-color: #6b0f2b;
}

.no-results-msg {
    text-align: center;
    color: #777;
    padding: 40px 20px;
    width: 100%;
}

.page-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 30px 20px 10px;
}

.page-nav-btn {
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #6b0f2b;
    background: #fff;
    border: 1px solid #e3d3d8;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.page-nav-btn:hover:not(:disabled) {
    background: #f3e5e9;
}

.page-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-nav-btn.page-nav-next {
    background: #6b0f2b;
    color: #fff;
    border-color: #6b0f2b;
}

.page-nav-btn.page-nav-next:hover:not(:disabled) {
    background: #8f1a3d;
}

.page-indicator {
    font-size: 14px;
    font-weight: 600;
    color: #6b0f2b;
}

@media (max-width: 600px) {
    .page-nav-wrap {
        gap: 10px;
        padding: 22px 15px 10px;
    }

    .page-nav-btn {
        font-size: 14px;
        padding: 9px 16px;
    }
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.view-details-btn {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 9px 12px;
    background: #6b0f2b;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.view-details-btn:hover {
    background: #4f0a1f;
}

.perfume-grid .product-card {
    width: 100%;
    padding: 10px;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.product-card img:not(.thumb) {
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.perfume-grid .product-card img:not(.thumb) {
    max-height: 220px;
}

.product-card h3 {
    margin-top: 12px;
    font-size: 18px;
    color: #222;
}

.perfume-grid .product-card h3 {
    font-size: 14px;
    margin-top: 8px;
}

.product-card .product-desc {
    font-size: 13px;
    color: #777;
    margin: 6px 0 10px;
    line-height: 1.4;
    text-align: left;
}

.product-card .price {
    color: #6b0f2b;
    font-weight: bold;
    margin: 8px 0;
}

.thumb-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    flex: 0 0 auto;
}

.product-card .thumb-row .thumb {
    width: 56px;
    height: 56px;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border: 2px solid #6b0f2b;
}

/* Slightly bigger thumbnails inside the full-screen product modal */
.product-modal-box .thumb {
    width: 72px;
    height: 72px;
}

.add-btn {
    background: #6b0f2b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.add-btn:hover {
    background: #520b21;
}

/* ===== PRODUCT DETAIL MODAL (opened by clicking a catalog card) ===== */
.product-modal-box {
    text-align: center;
}

.pd-main-img {
    width: 100%;
    max-height: 45vh;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 4px;
}

@media (min-width: 900px) {
    .pd-main-img {
        max-height: 55vh;
    }
}

.product-modal-box .product-desc {
    text-align: left;
    margin-top: 10px;
}

.product-modal-box .price {
    font-size: 20px;
    margin: 12px 0;
}

.pd-order-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #6b0f2b;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.cart-overlay.show {
    display: flex;
}

/* Full-screen popup: cart, product-detail and order-confirm modals all
   share this .cart-box, so making it fill the screen applies to every
   one of them, on both mobile and desktop. */
.cart-box {
    background: white;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
    border-radius: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* On wider screens, keep the box filling the whole viewport but add
   generous side padding so text/images don't stretch edge-to-edge. */
@media (min-width: 900px) {
    .cart-box {
        padding: 40px 18%;
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-close {
    font-size: 26px;
    cursor: pointer;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info {
    flex: 1;
    text-align: left;
}

.cart-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-control button {
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
}

.remove-item {
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

.cart-coupon {
    display: flex;
    gap: 8px;
    margin: 15px 0;
}

.cart-coupon input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.cart-totals {
    margin: 15px 0;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.cart-row.total {
    font-weight: bold;
    font-size: 18px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.checkout-btn {
    width: 100%;
    background: #6b0f2b;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.empty-cart-msg {
    text-align: center;
    color: #888;
    padding: 30px 0;
    font-size: 14px;
}

/* Checkout form styles */
.checkout-form {
    display: none;
}

.checkout-form.show {
    display: block;
}

.form-group {
    margin-bottom: 14px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group .error-text {
    display: none;
    color: #c0392b;
    font-size: 12px;
    margin-top: 4px;
}

/* Direct order (Cash on Delivery) modal */
.do-product-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eee;
}

.do-product-summary img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.do-product-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.do-payment-method .do-cod-badge {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    margin: 0;
}

.do-no-return-notice {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6c0;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: left;
}

.do-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.do-checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
    flex-shrink: 0;
}

.back-to-cart {
    background: none;
    border: none;
    color: #6b0f2b;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    padding: 0;
    text-decoration: underline;
}

.whatsapp-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background: #1ebe59;
}

.order-summary-mini {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #555;
}

.order-summary-mini .cart-row {
    padding: 3px 0;
}

/* Added-to-cart confirmation popup */
.added-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2100;
    justify-content: center;
    align-items: center;
}

.added-overlay.show {
    display: flex;
}

.added-box {
    background: white;
    width: 90%;
    max-width: 360px;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.added-check {
    font-size: 40px;
    margin-bottom: 8px;
}

.added-title {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.added-product img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.added-product h4 {
    font-size: 16px;
    color: #222;
    margin-bottom: 4px;
}

.added-product .price {
    color: #6b0f2b;
    font-weight: bold;
    margin-bottom: 20px;
}

.added-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-cart-btn {
    width: 100%;
    background: #6b0f2b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

.continue-shopping-btn {
    width: 100%;
    background: none;
    color: #6b0f2b;
    border: 1px solid #6b0f2b;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
}

/* ===== FOOTER ===== */
footer.site-footer {
    background: #1a1a1a;
    color: #cfcfcf;
    margin-top: 40px;
    padding: 50px 20px 20px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    color: #d4a94d;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-col p,
.footer-col a {
    display: block;
    color: #bbbbbb;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.7;
}

.footer-col a:hover {
    color: #d4a94d;
}

.footer-address-block {
    margin-bottom: 22px;
}

.footer-links a {
    padding: 3px 0;
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    border-top: 1px solid #333;
    padding-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* ===== RTL SUPPORT (Arabic) ===== */
[dir="rtl"] body {
    direction: rtl;
}

[dir="rtl"] .side-menu {
    right: auto;
    left: -250px;
    transition: left 0.3s ease;
}

[dir="rtl"] .side-menu.open {
    left: 0;
    right: auto;
}

[dir="rtl"] .close-btn {
    right: auto;
    left: 20px;
}

[dir="rtl"] .lang-dropdown {
    left: auto;
    right: 0;
}

[dir="rtl"] .location-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .breadcrumb-bar,
[dir="rtl"] .footer-col p,
[dir="rtl"] .footer-col a,
[dir="rtl"] .form-group label,
[dir="rtl"] .cart-item-info,
[dir="rtl"] .order-summary-mini {
    text-align: right;
}

[dir="rtl"] .back-to-cart {
    text-align: right;
}

/* ===== STATIC CONTENT PAGES (About, Terms, Privacy, Return, Shipping) ===== */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    color: #333;
    line-height: 1.7;
}

.content-page h2 {
    color: #6b0f2b;
    font-size: 20px;
    margin: 28px 0 10px;
}

.content-page h2:first-of-type {
    margin-top: 10px;
}

.content-page p,
.content-page li {
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
}

.content-page ul {
    padding-left: 22px;
}

.content-page .updated-note {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.about-hero {
    text-align: center;
    padding: 10px 20px 0;
}

.about-hero img {
    max-height: 70px;
    margin-bottom: 10px;
}

/* ===== CONTACT / LOGIN PAGE FORM CARD ===== */
.form-page {
    max-width: 480px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.form-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.form-card h2 {
    color: #6b0f2b;
    font-size: 22px;
    margin-bottom: 6px;
    text-align: center;
}

.form-card .form-subtitle {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
}

.submit-btn {
    width: 100%;
    background: #6b0f2b;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 6px;
}

.submit-btn:hover {
    background: #520b21;
}

.form-success {
    display: none;
    text-align: center;
    color: #1e8e3e;
    font-size: 14px;
    margin-top: 12px;
}

.form-switch {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 16px;
}

.form-switch a {
    color: #6b0f2b;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    border-bottom: 2px solid transparent;
}

.login-tab.active {
    color: #6b0f2b;
    border-bottom: 2px solid #6b0f2b;
}

.login-panel {
    display: none;
}

.login-panel.active {
    display: block;
}
