/*
Theme Name: TV VIP Theme
Theme URI: https://tv-vip.net/
Description: قالب احترافي مخصص لموقع TV VIP - تصميم Neon Gold
Author: TV VIP Team
Author URI: https://tv-vip.net/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tv-vip
*/

/* ====================================
   CSS Variables - TV VIP Brand
   ==================================== */
:root {
    --tv-gold: #FACC15;
    --tv-gold-hover: #EAB308;
    --tv-gold-dim: rgba(250, 204, 21, 0.15);
    --tv-bg: #0B0B0B;
    --tv-card: #1A1A1A;
    --tv-card-elevated: #222222;
    --tv-text: #FFFFFF;
    --tv-text-muted: #A1A1AA;
    --tv-accent-green: #34D399;
    --tv-accent-red: #F87171;
    --tv-accent-blue: #60A5FA;
    --tv-border: rgba(255, 255, 255, 0.06);
    --tv-glow: 0 0 20px rgba(250, 204, 21, 0.15);
    --tv-radius: 16px;
    --tv-radius-sm: 10px;
    --tv-radius-pill: 50px;
}

/* ====================================
   Hide Astra Default Elements
   ==================================== */
#masthead,
.site-header,
.ast-header-break-point .main-header-bar,
.ast-desktop .main-header-bar {
    display: none !important;
}

.woocommerce-breadcrumb,
.breadcrumb,
.ast-breadcrumbs-wrapper,
nav.woocommerce-breadcrumb {
    display: none !important;
}

.custom-header {
    display: block !important;
}

body.tv-vip,
body {
    background: var(--tv-bg) !important;
    color: var(--tv-text) !important;
}

.ast-container,
.site-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ====================================
   Reset & Base
   ==================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    direction: rtl;
    background: var(--tv-bg);
    color: var(--tv-text);
    overflow-x: hidden;
}

/* ====================================
   Header - Glass Morphism Style
   ==================================== */
.custom-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-header.sticky {
    position: fixed;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(250, 204, 21, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    max-width: 100%;
}

.header-right,
.header-center,
.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right { justify-content: flex-start; }
.header-center { justify-content: center; }
.header-left { justify-content: flex-end; gap: 18px; }

/* Menu Toggle - Pill shape */
.menu-toggle {
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: var(--tv-gold);
    font-size: 20px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: var(--tv-radius-sm);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--tv-gold);
    color: var(--tv-bg);
    box-shadow: var(--tv-glow);
}

.custom-header.sticky .menu-toggle:hover {
    background: var(--tv-gold);
    color: var(--tv-bg);
}

/* Logo */
.site-logo img {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.2));
}

/* Header Icons */
.header-icon {
    position: relative;
    color: var(--tv-text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: var(--tv-radius-sm);
}

.header-icon:hover {
    color: var(--tv-gold);
    background: rgba(250, 204, 21, 0.08);
}

/* Cart Icon */
.cart-icon-wrapper {
    position: relative;
    display: inline-block;
}

.cart-bag-icon {
    width: 26px !important;
    height: 26px !important;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cart-icon-wrapper:hover .cart-bag-icon {
    filter: brightness(0) saturate(100%) invert(83%) sepia(46%) saturate(1000%) hue-rotate(2deg) brightness(103%) contrast(97%);
    opacity: 1;
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--tv-gold) !important;
    color: var(--tv-bg) !important;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--tv-gold);
    color: var(--tv-bg);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====================================
   Sidebar Menu - Slide Panel
   ==================================== */
.customSidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100%;
    background: var(--tv-bg);
    border-left: 1px solid var(--tv-border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
}

.customSidebar.sidebar-open {
    transform: translateX(0);
}

#blurBackground {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
    z-index: 99998;
}

/* Sidebar Icon Buttons */
.icon-btn {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    height: 44px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tv-text-muted);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background: var(--tv-gold);
    color: var(--tv-bg);
    border-color: var(--tv-gold);
    box-shadow: var(--tv-glow);
}

/* Menu Items */
.customMenuItems {
    list-style: none;
    padding: 0 16px;
}

.customMenuItems li {
    margin-bottom: 2px;
}

.customMenuItems a {
    display: flex;
    align-items: center;
    color: var(--tv-text-muted);
    padding: 14px 18px;
    font-size: 15px;
    border-radius: var(--tv-radius-sm);
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
    gap: 10px;
}

.customMenuItems a:hover {
    background: var(--tv-gold-dim);
    color: var(--tv-gold);
    border-right-color: var(--tv-gold);
}

/* Social Buttons */
.all-button-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    color: var(--tv-text-muted);
    border-radius: var(--tv-radius-sm);
    transition: all 0.3s ease;
}

.social-button:hover {
    background: var(--tv-gold-dim);
    color: var(--tv-gold);
    border-color: rgba(250, 204, 21, 0.2);
    transform: translateX(-3px);
}

.social-button i {
    font-size: 18px;
}

/* ====================================
   Search Overlay
   ==================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    max-width: 650px;
    width: 90%;
    position: relative;
}

/* ====================================
   Cart Sidebar
   ==================================== */
.cart-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 380px;
    background: var(--tv-bg);
    border-right: 1px solid var(--tv-border);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar-header h3 {
    color: var(--tv-bg);
    font-size: 18px;
    font-family: 'Cairo';
    margin: 0;
    padding: 22px;
    background: var(--tv-gold);
    text-align: center;
    font-weight: 700;
}

/* Cart Items */
.cart-items {
    flex-grow: 1;
    max-height: 400px;
    overflow-y: auto;
    padding: 18px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tv-border);
}

.cart-item img {
    object-fit: cover;
    width: 72px;
    height: 72px;
    border-radius: var(--tv-radius-sm);
    border: 1px solid var(--tv-border);
}

.all-details-cart {
    color: white;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    padding: 4px 10px;
    border-radius: var(--tv-radius-sm);
    gap: 10px;
    justify-content: space-between;
}

.cart-item-controls button {
    background: transparent;
    color: var(--tv-gold);
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 700;
}

.cart-item-controls button:hover {
    background: var(--tv-gold);
    color: var(--tv-bg);
}

.cart-item-controls span.quantity {
    font-size: 15px;
    color: white;
    min-width: 25px;
    text-align: center;
    font-weight: bold;
}

i.fa-trash-can {
    color: var(--tv-accent-red);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

i.fa-trash-can:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Cart Summary */
.cart-summary {
    background: var(--tv-card);
    margin-top: auto;
    border-top: 1px solid var(--tv-border);
}

.coupon {
    padding: 16px;
    display: flex;
    gap: 0;
}

input#coupon-input {
    flex: 1;
    background: var(--tv-bg);
    height: 44px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-left: none;
    border-radius: 0;
    padding: 0 14px;
    color: white;
    outline: none;
    font-family: 'Cairo';
    font-size: 14px;
}

button.apply_coupon {
    background: var(--tv-gold);
    font-family: 'Cairo';
    font-size: 13px;
    font-weight: 700;
    border: none;
    padding: 0 18px;
    border-radius: 10px 0px 0px 10px;
    color: var(--tv-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

button.apply_coupon:hover {
    background: var(--tv-gold-hover);
}

.summary-row {
    color: var(--tv-text-muted);
    font-family: 'Cairo';
    font-size: 14px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.summary-row .price-amount {
    font-size: 15px;
    font-weight: bold;
    color: var(--tv-gold);
}

.summary-row.total-row {
    background: var(--tv-gold-dim);
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--tv-radius-sm);
    margin: 8px 12px;
    padding: 14px 16px;
}

.summary-row.total-row span {
    color: var(--tv-gold);
}

button.checkout-btn {
    width: calc(100% - 24px);
    margin: 12px;
    background: var(--tv-gold);
    font-family: 'Cairo';
    font-size: 16px;
    font-weight: 700;
    border: none;
    padding: 16px;
    color: var(--tv-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--tv-radius-sm);
    transition: all 0.3s ease;
}

button.checkout-btn:hover {
    background: var(--tv-gold-hover);
    box-shadow: var(--tv-glow);
}

/* Price Styles */
.price-before-sale {
    color: var(--tv-accent-red);
    text-decoration: line-through;
    margin-left: 10px;
    font-size: 13px;
}

.sale-price {
    color: white;
    font-weight: bold;
    font-size: 15px;
}

.regular-price {
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
}

/* ====================================
   Hero Banner
   ==================================== */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ====================================
   Middle Banner Slider
   ==================================== */
.middle-banner-slider {
    width: 100%;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
}

.middle-banners-swiper {
    width: 100%;
    height: auto;
    border-radius: var(--tv-radius) !important;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.12) !important;
    border: 1px solid rgba(250, 204, 21, 0.08);
    position: relative;
}

.middle-banners-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--tv-card);
    border-radius: var(--tv-radius);
}

.middle-banners-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
    border-radius: var(--tv-radius);
}

/* Nav Buttons */
.middle-banners-swiper .swiper-button-next,
.middle-banners-swiper .swiper-button-prev {
    display: none !important;
}

.middle-banners-swiper .swiper-pagination {
    bottom: 12px;
    display: none;
}

.middle-banners-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.middle-banners-swiper .swiper-pagination-bullet-active {
    background: var(--tv-gold);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

/* ====================================
   Footer
   ==================================== */
.custom-footer {
    background: var(--tv-card);
    color: var(--tv-text-muted);
    padding: 60px 20px 20px;
    border-top: 1px solid var(--tv-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.15));
}

.footer-description {
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
    font-size: 14px;
    color: var(--tv-text-muted);
    text-align: center;
}

.footer-links {
    margin-bottom: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h3 {
    color: var(--tv-gold);
    font-size: 18px;
    margin-bottom: 18px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--tv-text-muted);
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--tv-gold);
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
    width: 100%;
}

.payment-icon {
    width: 56px;
    height: 38px;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.payment-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.15);
}

.footer-copyright {
    padding-top: 25px;
    border-top: 1px solid var(--tv-border);
    color: var(--tv-text-muted);
    font-size: 13px;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

/* ====================================
   Search Overlay - Enhanced
   ==================================== */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--tv-card);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: var(--tv-radius-pill);
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: var(--tv-gold);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}

.search-icon-popup {
    color: var(--tv-gold);
    font-size: 18px;
    margin-left: 12px;
    flex-shrink: 0;
}

.search-overlay .search-field,
.search-overlay input[type="search"] {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: white !important;
    font-size: 16px !important;
    padding: 16px 12px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    height: auto !important;
    font-family: 'Cairo', sans-serif !important;
}

.search-overlay .search-field::placeholder {
    color: var(--tv-text-muted) !important;
}

.search-close {
    background: rgba(248, 113, 113, 0.15);
    border: none;
    color: var(--tv-accent-red);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    flex-shrink: 0;
}

.search-close:hover {
    background: var(--tv-accent-red);
    color: white;
    transform: rotate(90deg);
}

/* Search Results */
.search-results {
    max-height: 380px;
    overflow-y: auto;
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius);
    margin-top: 16px;
    padding: 10px;
    direction: rtl;
}

.search-results:empty {
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--tv-radius-sm);
    margin-bottom: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: var(--tv-gold-dim);
    border-color: rgba(250, 204, 21, 0.15);
    transform: translateX(-3px);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 14px;
    border: 1px solid var(--tv-border);
}

.search-result-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
}

.search-result-price {
    font-size: 14px;
    color: var(--tv-gold);
    font-weight: bold;
}

.search-loading,
.search-no-results,
.search-message {
    text-align: center;
    padding: 25px 20px;
    color: var(--tv-text-muted);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
}

.search-loading {
    color: var(--tv-gold);
}

/* Scrollbar */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(250, 204, 21, 0.3);
    border-radius: 10px;
}

/* ====================================
   Homepage Products Section
   ==================================== */
.category-products-section {
    padding: 50px 20px;
    background: var(--tv-bg);
}

.category-products-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.category-title {
    color: var(--tv-gold) !important;
    font-weight: 700 !important;
    font-size: 22px;
    margin: 0 0 35px 0 !important;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 1px;
}

.products-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Product Card - Unique style */
.product-card {
    background: var(--tv-card);
    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius);
    overflow: hidden;
    width: calc(20% - 14.4px);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--tv-radius);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    box-shadow: 0 0 0 1px var(--tv-gold), var(--tv-glow);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Product Image */
.product-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Product Details */
.product-details {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.product-title {
    font-size: 15px;
    margin: 0;
    font-family: 'Cairo', sans-serif;
    line-height: 1.5;
    min-height: 46px;
}

.product-title a {
    color: var(--tv-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--tv-gold);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--tv-text-muted);
    min-height: 22px;
}

.product-rating i.fa-star {
    color: var(--tv-gold);
    font-size: 14px;
}

/* Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cairo', sans-serif;
    min-height: 28px;
}

.old-price {
    color: var(--tv-accent-red);
    text-decoration: line-through;
    font-size: 14px;
}

.new-price {
    color: var(--tv-gold) !important;
    font-weight: bold;
    font-size: 18px;
}

.regular-price-display {
    color: var(--tv-text-muted);
    font-weight: bold;
    font-size: 18px;
}

/* Add to Cart */
.add-to-cart-btn {
    background: transparent !important;
    color: var(--tv-gold) !important;
    border: 1.5px solid var(--tv-gold) !important;
    border-radius: var(--tv-radius-sm) !important;
    font-size: 14px !important;
    width: 100%;
    height: 44px;
    font-weight: 600 !important;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--tv-gold) !important;
    color: var(--tv-bg) !important;
    box-shadow: var(--tv-glow);
}

.add-to-cart-btn .btn-loader {
    position: absolute;
    right: 16px;
    color: inherit;
}

/* View More */
.view-more-container {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid rgba(250, 204, 21, 0.3);
    border-radius: var(--tv-radius-sm);
    color: var(--tv-gold);
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: var(--tv-gold);
    color: var(--tv-bg) !important;
    border-color: var(--tv-gold);
    box-shadow: var(--tv-glow);
}

.view-more-text { order: 2; }
.view-more-icon { order: 1; font-size: 16px; }

/* ====================================
   Applied Coupons
   ==================================== */
.applied-coupons-container {
    padding: 8px 16px;
    display: none;
}

.applied-coupons-container.has-coupons {
    display: block;
}

.applied-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--tv-gold-dim);
    border: 1px solid rgba(250, 204, 21, 0.15);
    border-radius: 8px;
    margin-bottom: 6px;
}

.coupon-code {
    color: var(--tv-gold);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.coupon-discount {
    color: var(--tv-accent-green);
    font-weight: 700;
    font-size: 13px;
    margin: 0 8px;
}

.remove-coupon {
    background: rgba(248, 113, 113, 0.15);
    border: none;
    color: var(--tv-accent-red);
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 12px;
}

.remove-coupon:hover {
    background: var(--tv-accent-red);
    color: white;
}

.coupon-message {
    padding: 8px 16px;
    margin: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Cairo';
    text-align: center;
}

.coupon-message.success {
    background: rgba(52, 211, 153, 0.15);
    color: var(--tv-accent-green);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.coupon-message.error {
    background: rgba(248, 113, 113, 0.15);
    color: var(--tv-accent-red);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

/* ====================================
   Currency Symbol
   ==================================== */
.currency-symbol-sar {
    height: 14px;
    width: auto;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 3px;
}

.new-price .currency-symbol-sar {
    filter: brightness(0) saturate(100%) invert(83%) sepia(46%) saturate(1000%) hue-rotate(2deg) brightness(103%) contrast(97%);
    height: 15px;
}

.old-price .currency-symbol-sar {
    height: 13px;
    opacity: 0.6;
}

/* ====================================
   WooCommerce Reviews
   ==================================== */
#respond p.comment-form-email {
    display: none !important;
}

#respond p.comment-form-author {
    width: 100% !important;
    float: none !important;
}

#respond input#author,
#respond textarea#comment {
    width: 100% !important;
    padding: 12px 15px;
    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    background: var(--tv-bg);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

#respond input#author:focus,
#respond textarea#comment:focus {
    border-color: var(--tv-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.1);
}

#respond textarea#comment {
    min-height: 140px;
}

#respond input#submit {
    background: var(--tv-gold);
    color: var(--tv-bg);
    border: none;
    padding: 12px 28px;
    border-radius: var(--tv-radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#respond input#submit:hover {
    background: var(--tv-gold-hover);
    box-shadow: var(--tv-glow);
}

.stars a {
    color: #555;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.stars a:hover,
.stars a.active {
    color: var(--tv-gold);
}

/* ====================================
   Sidebar Cart Icon
   ==================================== */
.sidebar-cart-icon {
    position: relative;
}

.sidebar-cart-count {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--tv-gold) !important;
    color: var(--tv-bg) !important;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    pointer-events: none;
}

/* Menu Item Images */
.menu-item-image {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}

a.icon-btn:hover {
    color: var(--tv-bg);
}

a:hover, a:focus {
    color: #ffffff;
}

/* ====================================
   Responsive
   ==================================== */
@media (max-width: 1400px) {
    .product-card { width: calc(20% - 35px); }
}

@media (max-width: 1024px) {
    .product-card { width: calc(33.333% - 12px); }
}

@media (max-width: 768px) {
    .header-container { padding: 14px 16px; }
    .site-logo img { width: 100px; }
    .customSidebar { width: 280px; }
    .cart-sidebar.open { width: 85%; }
    
    .category-products-section { padding: 35px 12px; }
    .category-title { font-size: 20px; margin: 0 0 25px 0 !important; }
    .products-grid { gap: 12px; }
    .product-card { width: calc(50% - 6px); }
    .product-details { padding: 14px; }
    .product-title { font-size: 14px; min-height: 42px; }
    .product-rating { font-size: 12px; }
    .new-price, .regular-price-display { font-size: 16px; }
    .add-to-cart-btn { font-size: 13px !important; height: 40px; }
    .view-more-btn { font-size: 15px; padding: 10px 24px; }
    
    .custom-footer { padding: 35px 15px 15px; }
    .footer-logo img { width: 110px; }
    .footer-description { font-size: 13px; }
    .payment-icon { width: 48px; height: 34px; }
    .footer-copyright { font-size: 12px; }
    
    .middle-banner-slider { margin: 30px auto; padding: 0 12px; }
    .middle-banners-swiper .swiper-slide img { max-height: 280px; }
}

@media (max-width: 480px) {
    .site-logo img { width: 85px; }
    .product-card { width: calc(50% - 6px); }
    .product-title { font-size: 13px; }
    .new-price, .regular-price-display { font-size: 15px; }
    .add-to-cart-btn { font-size: 12px !important; height: 38px; }
}

@media (max-width: 360px) {
    .product-title { font-size: 12px; min-height: 38px; }
    .add-to-cart-btn { font-size: 11px !important; height: 36px; }
}