/**
 * Sheeel Original Site Styles
 * Enhanced CSS matching sheeel.com design
 */

/* ============================================
   CSS Variables - Brand Colors
============================================ */
/* CSS variables defined in assets/css/colors.css (single source of truth) */

/* ============================================
   Top Navigation Strip
============================================ */
.page-header {
    position: relative;
    z-index: 100;
}

.header.content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.nav-strip-wrapper {
    background: #f5f5f5;
    padding: 8px 0;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.nav-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--sheeel-primary);
}

.contact-item svg {
    opacity: 0.8;
}

.contact-item.taw9eel {
    color: var(--sheeel-success);
    font-weight: 600;
}

.header-actions-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Language Switcher */
.store-switcher-mobile .switcher-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-switcher-mobile a {
    color: #666;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    transition: var(--sheeel-transition);
    font-size: 12px;
}

.store-switcher-mobile a:hover,
.store-switcher-mobile a.active {
    color: var(--sheeel-primary);
    background: rgba(77, 63, 118, 0.15);
}

.border-separator {
    color: #ccc;
}

.account-link-mobile a {
    color: #666;
    display: flex;
    align-items: center;
}

.account-link-mobile a:hover {
    color: var(--sheeel-primary);
}

/* ============================================
   Main Header
============================================ */
/* Sticky Header Wrapper */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    /* Ensure opaque background */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-wrapper {
    /* No padding needed if using sticky instead of fixed */
    padding-top: 0;
}

.header-main {
    background: var(--sheeel-white);
    padding: 15px 0;
    /* Remove fixed/smart sticky styles */
    position: relative;
    box-shadow: none;
    /* Shadow moves to container */
}


.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.site-branding .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--sheeel-primary);
    font-family: 'Cairo', 'Tajawal', sans-serif;
    letter-spacing: -1px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--sheeel-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Search */
.block-search {
    flex: 1;
    max-width: 500px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--sheeel-white);
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    transition: var(--sheeel-transition);
    width: 100%;
    position: relative;
}

.search-wrapper:focus-within {
    border-color: var(--sheeel-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-icon {
    padding-right: 15px;
    color: #999;
    display: flex;
    align-items: center;
}

.search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 10px 10px 15px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    color: #333;
}

.search-field::placeholder {
    color: var(--sheeel-muted);
}

.search-btn {
    background: var(--sheeel-yellow);
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    color: #333;
    font-weight: 700;
    font-size: 15px;
    border-radius: 0;
    transition: var(--sheeel-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-btn:hover {
    background: var(--ds-gold);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Cart Toggle Styling */
.cart-icon.showcart {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    transition: var(--sheeel-transition);
}

.cart-icon.showcart:hover {
    background: rgba(0, 0, 0, 0.03);
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart-total {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.cart-icon-wrapper svg {
    color: #666;
}

.cart-count.counter-label {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--sheeel-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(77, 63, 118, 0.22);
}

.authorization-links {
    position: relative;
}

.authorization-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    transition: var(--sheeel-transition);
    cursor: pointer;
    min-width: 60px;
    line-height: 1;
}

.authorization-link:hover {
    color: var(--sheeel-primary);
}

.authorization-link svg {
    fill: currentColor;
    margin-bottom: 2px;
}

/* ============================================
   Login Dropdown
============================================ */
.login-dropdown-container {
    position: relative;
}

.mini-login-container {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--sheeel-white);
    border-radius: var(--sheeel-radius-lg);
    box-shadow: var(--sheeel-shadow-lg);
    padding: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--sheeel-transition);
}

.login-dropdown-container:hover .mini-login-container,
.mini-login-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.mini-login-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--sheeel-white);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

.block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--sheeel-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.fieldset.login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--sheeel-secondary);
}

.field .control {
    position: relative;
}

.input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--sheeel-border);
    border-radius: var(--sheeel-radius);
    font-size: 14px;
    transition: var(--sheeel-transition);
    font-family: inherit;
}

.input-text:focus {
    outline: none;
    border-color: var(--sheeel-primary);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.actions-toolbar {
    margin-top: 10px;
}

.actions-primary {
    margin-bottom: 12px;
}

.action.login,
.primary-button {
    width: 100%;
    padding: 12px 20px;
    background: var(--sheeel-primary);
    color: white;
    border: none;
    border-radius: var(--sheeel-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--sheeel-transition);
    font-family: inherit;
}

.action.login:hover,
.primary-button:hover {
    background: var(--sheeel-primary-dark);
}

.secondary-sheeel {
    background: var(--sheeel-primary);
}

.forgot-password-link {
    font-size: 12px;
    color: var(--sheeel-info);
    text-decoration: none;
    display: block;
    text-align: center;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Social Login */
.pslogin-block {
    margin-top: 20px;
}

.pslogin-spacer {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.pslogin-spacer::before,
.pslogin-spacer::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sheeel-border);
}

.pslogin-bordertext {
    padding: 0 12px;
    color: var(--sheeel-muted);
    font-size: 12px;
}

.pslogin-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pslogin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--sheeel-border);
    border-radius: var(--sheeel-radius);
    background: var(--sheeel-white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--sheeel-transition);
    font-family: inherit;
}

.pslogin-button:hover {
    background: var(--sheeel-bg);
    border-color: var(--sheeel-gray);
}

.pslogin-button.apple {
    background: #000;
    color: #fff;
    border-color: #000;
}

.pslogin-button.apple:hover {
    background: #333;
}

.pslogin-button.google {
    background: #fff;
    color: #333;
}

.pslogin-button-icon {
    display: flex;
    align-items: center;
}

/* Create Account */
.block-new-customer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--sheeel-border);
    text-align: center;
}

.actions-toolbar-create {
    font-size: 13px;
    color: var(--sheeel-gray);
}

.action-register {
    color: var(--sheeel-primary);
    font-weight: 600;
    text-decoration: none;
    margin-right: 5px;
}

.action-register:hover {
    text-decoration: underline;
}

/* ============================================
   Mini Cart
============================================ */
.minicart-wrapper {
    position: relative;
}

.cart-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--sheeel-secondary);
    font-size: 12px;
    position: relative;
    transition: var(--sheeel-transition);
}

.cart-icon:hover {
    color: var(--sheeel-primary);
}

.cart-count,
.counter-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--sheeel-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.block-minicart {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--sheeel-white);
    border-radius: var(--sheeel-radius-lg);
    box-shadow: var(--sheeel-shadow-lg);
    padding: 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--sheeel-transition);
}

.minicart-wrapper:hover .block-minicart,
.minicart-wrapper .block-minicart.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.block-minicart::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--sheeel-white);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.05));
}

/* ============================================
   Navigation
============================================ */
.nav-sections {
    background: var(--sheeel-white);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: relative;
}

.navigation-items {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: #333;
    padding: 12px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.main-categories {
    width: 100%;
}

.main-categories>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-categories .level0.top-lvl {
    position: relative;
}

.main-categories .category-link {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    border-radius: 25px;
    background: #f0f0f0;
    margin: 4px;
    transition: var(--sheeel-transition);
    white-space: nowrap;
}

.main-categories .level0.top-lvl:first-child .category-link,
.main-categories .level0.top-lvl.current-menu-item .category-link,
.main-categories .category-link:hover {
    background: var(--sheeel-primary) !important;
    color: #ffffff !important;
}

/* Category Tiles Row */
.header-category-tiles {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.category-tiles-wrapper {
    position: relative;
    padding: 0 40px;
}

.tile-item {
    padding: 10px;
}

.tile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    height: 120px;
    width: 100%;
    transition: var(--sheeel-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tile-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(77, 63, 118, 0.15);
    border-color: var(--sheeel-primary);
}

.tile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 240, 240, 1) 100%);
    z-index: 1;
}

.tile-icon {
    font-size: 40px;
    margin-bottom: 10px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.tile-link:hover .tile-icon {
    transform: scale(1.1);
}

.tile-label {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    line-height: 1.2;
}

.main-categories .category-name {
    display: flex;
    align-items: center;
}

/* Dropdown Submenu */
.submenu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--sheeel-white);
    border-radius: 0 0 var(--sheeel-radius) var(--sheeel-radius);
    box-shadow: var(--sheeel-shadow-lg);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--sheeel-transition);
    z-index: 100;
}

.toggle-category:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 20px;
    color: var(--sheeel-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--sheeel-transition);
}

.submenu li a:hover {
    background: var(--sheeel-bg);
    color: var(--sheeel-primary);
}

/* ============================================
   Product Cards - Deal Styling
============================================ */
.product-item-main-deal,
.deal-card {
    background: var(--sheeel-white);
    border-radius: var(--sheeel-radius-lg);
    overflow: hidden;
    box-shadow: var(--sheeel-shadow);
    transition: var(--sheeel-transition);
    position: relative;
}

.product-item-main-deal:hover,
.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sheeel-shadow-lg);
}

.product-badge-strip {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-badge-strip .badge,
.deal-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-has-discount {
    background: var(--sheeel-success);
    color: white;
}

.express-delivery-wrapper {
    background: var(--sheeel-warning);
    color: white;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Price Box */
.price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.price-final_price .price,
.deal-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--sheeel-primary);
}

.old-price,
.sly-old-price {
    font-size: 14px;
    color: var(--sheeel-muted);
    text-decoration: line-through;
}

.discount-percent-item {
    background: var(--sheeel-success);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .product-image-photo {
    transform: scale(1.05);
}

/* Stock & Availability */
.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--sheeel-gray);
}

.availability.in-stock {
    color: var(--sheeel-success);
}

.availability.out-of-stock {
    color: var(--sheeel-primary);
}

/* ============================================
   Countdown Timer
============================================ */
.time-left-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ds-gradient-dark);
    padding: 15px 20px;
    border-radius: var(--sheeel-radius);
    color: white;
}

.timer-digits {
    display: flex;
    gap: 8px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    min-width: 50px;
}

.timer-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.timer-label {
    font-size: 10px;
    opacity: 0.8;
    text-transform: uppercase;
}

.timer-expired-label {
    background: var(--sheeel-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--sheeel-radius);
    font-weight: 600;
}

/* ============================================
   Categories Slider
============================================ */
.categories-slider-container {
    position: relative;
    padding: 0 40px;
}

.subcategories-slider {
    overflow: hidden;
}

.subcategory-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: var(--sheeel-white);
    border-radius: var(--sheeel-radius-lg);
    text-decoration: none;
    transition: var(--sheeel-transition);
    border: 1px solid var(--sheeel-border);
}

.subcategory-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--sheeel-shadow);
    border-color: var(--sheeel-primary);
}

.subcategory-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.subcategory-image .category-name-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--sheeel-secondary);
    text-align: center;
}

/* ============================================
   Product Carousel
============================================ */
.widget-product-carousel {
    position: relative;
    padding: 0 50px;
}

.product-items-slick {
    display: flex;
    gap: 20px;
}

.owl-carousel-loader,
.slick-carousel-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: var(--sheeel-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--sheeel-shadow);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    color: var(--sheeel-secondary);
}

/* ============================================
   Discount Inbox
============================================ */
.discount-inbox-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.discount-inbox {
    background: var(--sheeel-primary);
    color: #fff !important;
    padding: 15px 10px;
    border-radius: 0 var(--sheeel-radius) var(--sheeel-radius) 0;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 600;
    font-size: 12px;
    box-shadow: var(--sheeel-shadow);
}

.discount-inbox-content {
    position: absolute;
    left: 100%;
    top: 0;
    width: 300px;
    background: var(--sheeel-white);
    border-radius: 0 var(--sheeel-radius-lg) var(--sheeel-radius-lg) 0;
    box-shadow: var(--sheeel-shadow-lg);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--sheeel-transition);
}

.discount-inbox-container:hover .discount-inbox-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.discount-inbox-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--sheeel-secondary);
    margin-bottom: 15px;
}

.discount-inbox-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border: 1px dashed var(--sheeel-border);
    border-radius: var(--sheeel-radius);
    margin-bottom: 10px;
}

.discount-inbox-item-coupon {
    background: var(--sheeel-bg);
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-family: monospace;
}

.discount-copied {
    color: var(--sheeel-success);
    font-size: 12px;
}

/* ============================================
   Footer Enhancements
============================================ */

.app-stores {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-link {
    display: inline-block;
}

.app-link img {
    height: 40px;
    border-radius: 6px;
}

.payments-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.payments-footer img {
    height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payments-footer img:hover {
    opacity: 1;
}

.our-websites {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.our-websites-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.websites-container {
    display: flex;
    gap: 15px;
}

.website-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: var(--sheeel-transition);
}

.website-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 1024px) {
    .header-main-content {
        flex-wrap: wrap;
    }

    .block-search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 15px;
    }

    .main-categories>ul {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-strip .header-info {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .main-categories {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sheeel-white);
        z-index: 1001;
        overflow-y: auto;
        transition: right 0.3s ease;
    }

    .main-categories.show {
        right: 0;
    }

    .main-categories>ul {
        flex-direction: column;
    }

    .main-categories .category-link {
        color: var(--sheeel-secondary);
        border-bottom: 1px solid var(--sheeel-border);
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: var(--sheeel-bg);
    }

    .header-icons {
        gap: 15px;
    }

    .authorization-link span,
    .cart-icon span:not(.cart-count) {
        display: none;
    }

    .mini-login-container,
    .block-minicart {
        position: fixed;
        top: 60px;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }

    .search-field {
        padding: 10px 15px;
        font-size: 13px;
    }

    .price-final_price .price {
        font-size: 18px;
    }

    .timer-value {
        font-size: 18px;
    }

    .timer-unit {
        padding: 6px 8px;
        min-width: 40px;
    }
}

/* ============================================
   RTL Support
============================================ */
[dir="rtl"] .submenu {
    right: auto;
    left: 0;
}

[dir="rtl"] .mini-login-container,
[dir="rtl"] .block-minicart {
    right: auto;
    left: 0;
}

[dir="rtl"] .cart-count,
[dir="rtl"] .counter-label {
    right: auto;
    left: -8px;
}

[dir="rtl"] .discount-inbox-container {
    left: auto;
    right: 0;
}

[dir="rtl"] .discount-inbox {
    border-radius: var(--sheeel-radius) 0 0 var(--sheeel-radius);
}

[dir="rtl"] .discount-inbox-content {
    left: auto;
    right: 100%;
    border-radius: var(--sheeel-radius-lg) 0 0 var(--sheeel-radius-lg);
    transform: translateX(10px);
}

[dir="rtl"] .discount-inbox-container:hover .discount-inbox-content {
    transform: translateX(0);
}

[dir="rtl"] .main-categories {
    right: auto;
    left: -100%;
}

[dir="rtl"] .main-categories.show {
    left: 0;
}

/* ============================================
   Animations
============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.deal-card {
    animation: fadeIn 0.5s ease forwards;
}

.cart-count.updated {
    animation: pulse 0.3s ease;
}

/* ============================================
   Categories Container Stripe (Front Page)
============================================ */
.categories-container {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    overflow: hidden;
}

.categories-container .subcategories {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
}

.categories-container .subcategories-slider {
    overflow: hidden;
}

.categories-container .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 5px;
}

.categories-container .subcategory-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.categories-container .subcategory-image:hover {
    border-color: var(--sheeel-primary);
    box-shadow: 0 4px 12px rgba(77, 63, 118, 0.15);
}

.categories-container .subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.categories-container .subcategory-link {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    max-width: 90px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.categories-container .subcategory-link:hover {
    color: var(--sheeel-primary);
}

.categories-container .swiper-button-next,
.categories-container .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    top: 40px;
}

.categories-container .swiper-button-next::after,
.categories-container .swiper-button-prev::after {
    font-size: 13px;
    font-weight: bold;
    color: #555;
}

@media (max-width: 768px) {
    .categories-container .subcategories {
        padding: 0 35px;
    }
    .categories-container .subcategory-image {
        width: 64px;
        height: 64px;
    }
}

/* ============================================
   Main Deal Section
============================================ */
.main-deal-section {
    padding: 20px 0;
    background: #f0f0f0;
}

.main-deal-wrapper {
    background: var(--sheeel-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Header Strip */
.main-deal-header-strip {
    background: #4D3F76;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-strip-title {
    font-size: 18px;
    font-weight: 700;
}

.header-strip-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.header-strip-timer svg {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 2px;
}

/* Content Grid */
.main-deal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    position: relative;
}

/* Info Column (Left) */
.main-deal-info-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    direction: rtl;
}

.main-deal-title {
    font-size: 32px;
    font-weight: 700;
    color: #4D3F76;
    margin: 0;
}

.main-deal-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.view-more-link {
    color: #4D3F76;
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
}

/* Product Options */
.product-options {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

.color-swatches {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: var(--sheeel-transition);
}

.swatch.white {
    background: #fff;
}

.swatch.black {
    background: #000;
}

.swatch.active {
    border-color: #4D3F76;
    box-shadow: 0 0 0 2px rgba(77, 63, 118, 0.20);
}

.qty-select {
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}

/* Purchase Zone */
.main-deal-purchase-zone {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.price-label {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

.inline-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #4D3F76;
    font-weight: 700;
    font-size: 14px;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.price-display .old-price {
    font-size: 22px;
    color: #999;
    text-decoration: line-through;
}

.price-display .price {
    font-size: 42px;
    font-weight: 800;
    color: #333;
}

/* Ribbon Button */
.btn-ribbon {
    display: inline-flex;
    position: relative;
    background: #4D3F76;
    color: #333;
    padding: 12px 60px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    border-radius: 4px;
    /* Minor rounding for the base */
    transition: all 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

.btn-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: #4D3F76;
    transform: skewX(-20deg);
    z-index: -1;
}

.btn-ribbon:hover {
    transform: scale(1.05);
    background: var(--ds-gold);
}

.btn-ribbon:hover::before {
    background: var(--ds-gold);
}

/* Gallery Column (Right) */
.main-deal-gallery-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-deal-gallery-wrapper {
    position: relative;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumbs .thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: var(--sheeel-transition);
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs .thumb.active,
.gallery-thumbs .thumb:hover {
    opacity: 1;
    border-color: #4D3F76;
}

/* Badges */
.product-badge-strip-floating {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.badge-vibrant {
    background: #fff;
    border: 1.5px solid #4D3F76;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.badge-vibrant.discount-badge {
    color: #4D3F76;
}

.purchase-badge {
    border-color: #333;
}

/* Fallback Hero Refinements */
.fallback-hero-image svg {
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.main-deal-content-grid .fallback-hero-image {
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%) !important;
}

/* ============================================
   Categories Slider Section
============================================ */
/* ============================================
   Category Product Carousels
============================================ */
.category-carousels-section {
    padding: 30px 0;
    background: #f8f8f8;
}

.category-row-wrapper {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #4D3F76;
    margin: 0;
    position: relative;
    padding-bottom: 5px;
}

.view-all-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--sheeel-transition);
}

.view-all-link:hover {
    color: #4D3F76;
    text-decoration: underline;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: var(--sheeel-transition);
    border: 1px solid #eee;
    margin: 10px 5px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.product-image-link {
    display: block;
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #f9f9f9;
    overflow: hidden;
}

.product-card-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-card-badges {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: 10px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.card-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-badge.discount-badge {
    color: #4D3F76;
    border-color: #4D3F76;
}

.product-card-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    direction: rtl;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-title a {
    color: #333;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #4D3F76;
}

.product-card-meta {
    margin-bottom: 15px;
}

.card-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4D3F76;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-card-price .current-price {
    font-size: 18px;
    font-weight: 800;
    color: #4D3F76;
}

.product-card-price .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.btn-card-buy {
    background: #4D3F76;
    color: #333;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-card-buy:hover {
    background: var(--ds-gold);
}

/* Category Swiper Navigation */
.category-products-swiper {
    padding-bottom: 20px;
}

.category-products-swiper .swiper-button-next,
.category-products-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.category-products-swiper .swiper-button-next::after,
.category-products-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* ============================================
   Deals Section
============================================ */
.deals-section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--sheeel-secondary);
    margin: 0;
}

.section-subtitle {
    color: var(--sheeel-muted);
    margin-top: 5px;
}

.section-link {
    color: var(--sheeel-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--sheeel-transition);
}

.section-link:hover {
    color: var(--sheeel-primary-dark);
}

.section-footer {
    text-align: center;
    margin-top: 30px;
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product Swiper Container */
.product-swiper-container {
    position: relative;
}

.product-swiper {
    padding: 10px 0;
}

.product-swiper .swiper-slide {
    height: auto;
}

/* Category Sections */
.category-deals-section {
    background: var(--sheeel-bg);
}

.category-deals-section:nth-child(even) {
    background: var(--sheeel-white);
}

/* ============================================
   Promo Banner
============================================ */
.promo-banner-section {
    padding: 40px 0;
    background: var(--sheeel-white);
}

.promo-banner {
    background: var(--sheeel-gradient);
    border-radius: var(--sheeel-radius-lg);
    padding: 50px;
    text-align: center;
    color: white;
}

.promo-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.promo-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.promo-banner .app-stores {
    justify-content: center;
}

/* ============================================
   Stats Section
============================================ */
.stats-section {
    padding: 50px 0;
    background: var(--ds-gradient-dark);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 36px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   Newsletter Section
============================================ */
.newsletter-section {
    padding: 60px 0;
    background: var(--sheeel-primary);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--sheeel-radius);
    font-size: 14px;
    font-family: inherit;
}

.newsletter-form .btn {
    background: var(--sheeel-secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--sheeel-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--sheeel-transition);
}

.newsletter-form .btn:hover {
    background: var(--sheeel-dark);
}

/* ============================================
   Footer Styles
============================================ */
.site-footer {
    background: var(--ds-gradient-dark);
    color: rgba(255, 255, 255, 0.85);
}

.footer-services-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 24px 32px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    cursor: default;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.service-card-visible {
    animation: serviceCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-card:nth-child(1).service-card-visible { animation-delay: 0s; }
.service-card:nth-child(2).service-card-visible { animation-delay: 0.1s; }
.service-card:nth-child(3).service-card-visible { animation-delay: 0.2s; }
.service-card:nth-child(4).service-card-visible { animation-delay: 0.3s; }

@keyframes serviceCardReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.service-card[data-color="delivery"]:hover {
    box-shadow: 0 20px 60px rgba(6, 214, 160, 0.15), 0 0 0 1px rgba(6, 214, 160, 0.1);
}
.service-card[data-color="payment"]:hover {
    box-shadow: 0 20px 60px rgba(17, 138, 178, 0.15), 0 0 0 1px rgba(17, 138, 178, 0.1);
}
.service-card[data-color="support"]:hover {
    box-shadow: 0 20px 60px rgba(255, 209, 102, 0.15), 0 0 0 1px rgba(255, 209, 102, 0.1);
}
.service-card[data-color="returns"]:hover {
    box-shadow: 0 20px 60px rgba(239, 71, 111, 0.15), 0 0 0 1px rgba(239, 71, 111, 0.1);
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .icon-circle {
    transform: scale(1.1);
}

.icon-circle::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .icon-circle::after {
    opacity: 1;
}

.icon-circle svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .icon-circle svg {
    animation: serviceIconBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes serviceIconBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.2) rotate(-5deg); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.service-card[data-color="delivery"] .icon-circle {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(6, 214, 160, 0.05));
}
.service-card[data-color="delivery"] .icon-circle svg { fill: #06d6a0; }
.service-card[data-color="delivery"] .icon-circle::after {
    background: radial-gradient(circle, rgba(6, 214, 160, 0.15), transparent 70%);
}

.service-card[data-color="payment"] .icon-circle {
    background: linear-gradient(135deg, rgba(17, 138, 178, 0.2), rgba(17, 138, 178, 0.05));
}
.service-card[data-color="payment"] .icon-circle svg { fill: #118ab2; }
.service-card[data-color="payment"] .icon-circle::after {
    background: radial-gradient(circle, rgba(17, 138, 178, 0.15), transparent 70%);
}

.service-card[data-color="support"] .icon-circle {
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 209, 102, 0.05));
}
.service-card[data-color="support"] .icon-circle svg { fill: #ffd166; }
.service-card[data-color="support"] .icon-circle::after {
    background: radial-gradient(circle, rgba(255, 209, 102, 0.15), transparent 70%);
}

.service-card[data-color="returns"] .icon-circle {
    background: linear-gradient(135deg, rgba(239, 71, 111, 0.2), rgba(239, 71, 111, 0.05));
}
.service-card[data-color="returns"] .icon-circle svg { fill: #ef476f; }
.service-card[data-color="returns"] .icon-circle::after {
    background: radial-gradient(circle, rgba(239, 71, 111, 0.15), transparent 70%);
}

.service-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--sheeel-transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.footer-brand .logo-text {
    font-size: 36px;
    color: var(--sheeel-primary);
}

.footer-brand .logo-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--sheeel-transition);
}

.social-link:hover {
    background: var(--sheeel-primary);
    transform: translateY(-3px);
}

.social-link.whatsapp:hover {
    background: #25D366;
}

.app-download .app-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.app-stores {
    display: flex;
    gap: 12px;
}

.app-link img {
    height: 36px;
    border-radius: 6px;
}

.footer-contact .contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact .contact-list li svg {
    fill: var(--sheeel-primary);
    flex-shrink: 0;
}

.payment-methods {
    margin-top: 25px;
}

.payment-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.payments-footer {
    display: flex;
    gap: 10px;
}

.payment-icon {
    font-size: 24px;
}

.our-websites {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.our-websites-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.websites-container {
    display: flex;
    gap: 12px;
}

.website-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: var(--sheeel-transition);
}

.website-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Back to Top Button
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--sheeel-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--sheeel-transition);
    z-index: 999;
    box-shadow: var(--sheeel-shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--sheeel-primary-dark);
    transform: translateY(-5px);
}

[dir="rtl"] .back-to-top {
    right: auto;
    left: 30px;
}

/* ============================================
   Additional Responsive Rules
============================================ */
@media (max-width: 1024px) {
    .main-deal-content {
        grid-template-columns: 1fr;
    }

    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-deal-title {
        font-size: 22px;
    }

    .main-deal-price .price {
        font-size: 24px;
    }

    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-value {
        font-size: 24px;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .promo-banner {
        padding: 30px 20px;
    }

    .promo-title {
        font-size: 22px;
    }
}

