/*
Theme Name: قالب شيك المطور (Shake Theme Pro)
Description: إعادة بناء شاملة لتجربة "شيك" الأصلية - زجاجي، نيون، فائق السرعة.
Version: 2.0.0
Author: Antigravity
Text Domain: shake-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Outfit:wght@400;600;800&display=swap');

:root {
    /* Brand Colors - More Vibrant */
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.3);
    --accent: #ff0055;
    --accent-glow: rgba(255, 0, 85, 0.3);
    --gold: #ffaa00;

    /* Backgrounds */
    --bg-dark: #05070a;
    --bg-darker: #020305;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.55);

    /* Glassmorphism - Refined */
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-active: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(20px) saturate(180%);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: 
        radial-gradient(circle at 0% 0%, var(--primary-glow) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, var(--accent-glow) 0%, transparent 40%),
        var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.shake-app-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 120px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent);
}

.text-neon {
    text-shadow: 0 0 10px var(--primary-glow);
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Premium Glass Cards */
.glass-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 251, 255, 0.25);
    background: var(--glass-active);
}

/* Buttons */
.btn-shake {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5500 100%);
    color: white;
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:active {
    transform: scale(0.96);
}

.btn-secondary {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Form Elements */
.shake-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.shake-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 251, 255, 0.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Bottom Navigation Bar */
.bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 20px;
    right: 20px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.nav-item {
    color: #666;
    text-decoration: none;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.nav-item.active svg {
    filter: drop-shadow(0 0 5px var(--primary));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fade {
    animation: fadeIn 0.6s ease forwards;
}

/* Liquid Glass Loading Effect */
.liquid-loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Luxury Product Page (Bold Masculine Edition)
-------------------------------------------------- */
.luxury-product-page {
    padding-bottom: 150px;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05), transparent 40%);
}

.shake-product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 1. Gallery Styling - Aggressive & Bold */
.product-gallery-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 0 0 4rem 0; /* Asymmetric bold corner */
    margin-top: -2.5rem;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border-bottom: 2px solid var(--primary);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-gallery-wrapper:hover .main-product-image {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1) contrast(1.2);
}

.image-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-dark) 10%, transparent 100%);
}

/* 2. Info Wrapper - Typography Focused */
.product-info-wrapper {
    padding: 3rem 1rem;
}

.product-meta-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2.5rem;
}

.product-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -1.5px;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px var(--accent-glow);
}

.product-price-large {
    align-self: flex-start;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.5rem;
    border-radius: 0.8rem;
    border-left: 4px solid var(--primary);
    margin-top: 10px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.product-short-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    border-right: 1px solid var(--glass-border);
    padding-right: 1.5rem;
}

/* 3. Variation Chips - High Contrast Masculine */
.product-actions-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6) !important;
    padding: 2.5rem !important;
}

.variation-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.variation-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.v-chip {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 14px 28px;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.v-chip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary);
    opacity: 0;
    z-index: -1;
    transition: 0.3s;
}

.v-chip:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.v-chip.active {
    border-color: var(--primary);
    color: #000;
    font-weight: 900;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
}

.v-chip.active::before {
    opacity: 1;
}

/* 4. Add-ons Grid - Industrial Style */
.addons-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
}

.shake-addons-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}

.addon-item {
    background: rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 0.8rem !important;
    padding: 15px !important;
    transition: 0.3s;
}

.addon-item:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.02) !important;
}

/* 5. Sticky Bottom Bar - Powerful */
.luxury-sticky-bar {
    position: fixed;
    bottom: 25px;
    left: 20px;
    right: 20px;
    background: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid var(--glass-border);
    border-radius: 2rem;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

.luxury-add-btn {
    flex: 2;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 1rem;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.luxury-add-btn:hover {
    transform: scale(1.02) translateY(-2px);
    background: #fff;
}

.luxury-add-btn:active {
    transform: scale(0.95);
}

.sticky-price {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-align: right;
}

/* WooCommerce Native Overrides */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background: var(--glass-surface) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
}

.woocommerce-message::before {
    color: #00ff88 !important;
}

/* Add-ons Form */
.shake-addons-wrapper .addon-item input[type="checkbox"] {
    accent-color: var(--primary);
}

/* Quantity Input */
.quantity input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px;
    border-radius: 8px;
    width: 60px;
    text-align: center;
}

/* Smart Cart & Checkout Overrides */
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    color: var(--text-light);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
}

.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    width: 100%;
    transition: 0.3s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 251, 255, 0.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, var(--accent) 0%, #ff5500 100%);
    color: white;
    box-shadow: 0 8px 30px var(--accent-glow);
    padding: 1rem 2rem;
    border-radius: 999px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: linear-gradient(135deg, #ff5500 0%, var(--accent) 100%);
    transform: translateY(-2px);
}

/* Smart Cart Drawer Overrides */
#smart-cart-drawer {
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(0, 251, 255, 0.1);
}

.widget_shopping_cart_content .cart_list li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    margin: 0;
    gap: 15px;
    flex-direction: row-reverse;
}

.widget_shopping_cart_content .cart_list li img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.widget_shopping_cart_content .cart_list li .quantity {
    display: block;
    font-size: 1.1rem;
    color: var(--primary) !important;
    font-weight: 800;
    margin-top: 5px;
}

.widget_shopping_cart_content .total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 20px;
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    display: flex;
    justify-content: space-between;
}

.widget_shopping_cart_content .total .amount {
    color: var(--primary);
}

/* Simplified Checkout Styles */
.woocommerce-checkout .checkout.woocommerce-checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce-checkout h3#order_review_heading {
    margin-top: 30px;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.woocommerce-additional-fields h3 {
    display: none;
}

/* Hide WooCommerce Unnecessary Checkout Address Fields */
#billing_country_field,
#billing_state_field,
#shipping_country_field,
#shipping_state_field {
    display: none !important;
}

/* Force Checkout Dark Theme Fields */
.select2-container--default .select2-selection--single {
    background-color: var(--glass-surface) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 1rem !important;
    height: 50px !important;
    color: white !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
    line-height: 50px !important;
}

.select2-dropdown {
    background-color: var(--bg-dark) !important;
    border: 1px solid var(--primary) !important;
    color: white !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--primary) !important;
    color: black !important;
}
/* Force My Account Layout */
.woocommerce-MyAccount-navigation {
    display: none !important;
}

.woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* Fix Notice overlapping */
.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* Hide default WooCommerce sidebar/widgets bleeding into footer */
#secondary, 
.widget-area,
.storefront-handheld-footer-bar {
    display: none !important;
}

/* Fix Checkout Input Colors */
.woocommerce-input-wrapper {
    width: 100%;
}
.woocommerce form .form-row input.input-text {
    background-color: var(--glass-surface) !important;
    color: white !important;
    border: 1px solid rgba(0, 251, 255, 0.3) !important;
}

.woocommerce form .form-row input.input-text::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* Force mobile widths */
.woocommerce-checkout .woocommerce {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hide default storefront structural wrappers if they exist */
#primary {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

body.woocommerce-checkout {
    overflow-x: hidden;
}

/* Make sure header and body don't overflow */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Aggressive Checkout Form Styling */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background-color: var(--glass-surface) !important;
    background: var(--glass-surface) !important;
    color: white !important;
    border: 1px solid rgba(0, 251, 255, 0.3) !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    height: auto !important;
    min-height: 50px !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* Force hiding of all Select2 elements injected by WooCommerce */
.select2-container,
.selectWoo {
    display: none !important;
}

/* Hide Specific WooCommerce Wrapper Fields */
p#billing_last_name_field,
p#billing_company_field,
p#billing_country_field,
p#billing_address_2_field,
p#billing_city_field,
p#billing_state_field,
p#billing_postcode_field,
p#billing_email_field,
h3#ship-to-different-address,
.woocommerce-shipping-fields {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Fix Notice Colors */
.woocommerce-NoticeGroup {
    background: transparent !important;
}

/* Hero Actions Responsive Styling */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    width: 100%;
}

.hero-actions .btn-shake {
    width: 100%;
    margin: 0;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
    .hero-actions .btn-shake {
        width: auto;
        min-width: 160px;
    }
}

/* Size Selector CSS */
.btn-size.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    box-shadow: 0 0 10px var(--primary-glow);
}
.btn-size:hover {
    background: rgba(255,255,255,0.2) !important;
}

/* Aggressive Removal of Unwanted Checkout Elements (Blocks & Legacy) */
/* Hide Newsletter, Account Creation, and structural junk */
.wc-block-checkout, 
.wc-block-checkout__form,
.wc-block-components-checkout-step,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper p:not(#billing_first_name_field):not(#billing_phone_field):not(#billing_address_1_field),
#shiptobilling,
.shipping_address,
.woocommerce-shipping-fields,
.checkout-newsletter-subscription,
#billing_email_field,
#billing_last_name_field,
#billing_company_field,
#billing_country_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Force show only the three chosen fields */
#billing_first_name_field,
#billing_phone_field,
#billing_address_1_field {
    display: block !important;
}

/* Fix Checkout Block container if used */
.wc-block-components-address-form {
    display: flex;
    flex-direction: column;
}

.wc-block-components-address-form__first-name {
    order: 1 !important;
}

/* Classic Checkout (Shortcode) Styling Fixes */
.woocommerce-checkout .woocommerce-billing-fields h3 {
    display: none !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.woocommerce-checkout .col-1, .woocommerce-checkout .col-2 {
    width: 100% !important;
    float: none !important;
}

/* Ensure placeholder visibility */
.woocommerce-checkout input::placeholder, 
.woocommerce-checkout textarea::placeholder {
    color: rgba(255,255,255,0.4) !important;
}

/* Hide Block-based remnants if any */
.wc-block-checkout, 
.wc-block-checkout__form,
.wc-block-components-checkout-step {
    display: none !important;
}

/* Block remnants final cleanup */
.wc-block-checkout__form-contact-info,
.wc-block-checkout__form-newsletter-subscription,
.wc-block-components-checkout-step--contact,
#contact-info {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Ensure the classic Checkout has Name, Phone and Address in focus */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
}

/* Ensure the important checkout fields are styled and visible */
#billing_first_name_field,
#billing_phone_field,
#billing_address_1_field {
    display: block !important;
    opacity: 1 !important;
    height: auto !important;
    visibility: visible !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.woocommerce-invalid label {
    color: #ff4444 !important; /* Red for invalid fields */
}

/* Hide clutter on Checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
    display: none !important;
}

.woocommerce-checkout .woocommerce-notices-wrapper {
    display: none !important;
}

/* Fix Mini Cart Visibility */
.widget_shopping_cart_content .cart_list li a {
    color: white !important;
}

.widget_shopping_cart_content .cart_list li .quantity {
    color: var(--accent) !important;
    font-weight: bold;
}

.widget_shopping_cart_content .mini_cart_item .remove {
    color: #ff4444 !important;
}

/* Fix Bottom Nav Overlap and ensure scroll */
.shake-app-container {
    padding-bottom: 120px !important;
}

.bottom-nav {
    background: rgba(10, 10, 10, 0.95) !important;
}
/* Social Media & Floating WhatsApp - Fixed Scale */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 99;
    background: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp svg {
    width: 28px !important;
    height: 28px !important;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
}

.social-links-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

.social-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px !important;
    background: var(--glass-surface) !important;
    border: 1px solid var(--glass-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}

.social-icon:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 20px var(--primary-glow) !important;
}

.social-icon svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    display: block !important;
    pointer-events: none !important;
}

/* --- Legendary Order Received (Extreme Premium Edition) --- */
.woocommerce-order-received .shake-app-container {
    padding-top: 60px;
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.1), transparent 70%);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 4rem;
    position: relative;
    display: block;
}

.woocommerce-order-received .woocommerce-thankyou-order-received::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    border-radius: 2px;
}

/* Legendary Summary Grid */
.woocommerce-order-overview.order_details {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem;
    margin: 0 auto 4rem auto;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 600px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.woocommerce-order-overview.order_details li {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-right: 20px;
}

.woocommerce-order-overview.order_details li:nth-child(even) {
    border-right: none;
}

.woocommerce-order-overview.order_details li strong {
    font-size: 1.4rem;
    color: var(--primary);
    display: block;
    margin-top: 8px;
    font-weight: 950;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

/* Legendary Details Table */
.woocommerce-order-details__title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.woocommerce-table--order-details {
    background: rgba(10, 10, 10, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 2.5rem;
    width: 100% !important;
    border-collapse: separate !important;
    margin-bottom: 3rem !important;
    overflow: hidden;
}

.woocommerce-table--order-details td, 
.woocommerce-table--order-details th {
    padding: 2rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    vertical-align: middle;
}

.woocommerce-table--order-details .product-name {
    text-align: right;
    font-size: 1.1rem;
    font-weight: 700;
}

.woocommerce-table--order-details .product-name a {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.woocommerce-table--order-details .product-name a:hover {
    color: var(--primary) !important;
}

.woocommerce-table--order-details .product-total {
    text-align: left !important;
    color: var(--primary) !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
}

/* Table Footer - The Big Total */
.woocommerce-table--order-details tfoot tr th {
    color: var(--text-secondary);
    text-align: right;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.woocommerce-table--order-details tfoot tr td {
    text-align: left;
}

.woocommerce-table--order-details tfoot tr:last-child .woocommerce-Price-amount {
    color: var(--primary);
    font-weight: 950;
    font-size: 2rem;
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Legendary Customer Card */
.woocommerce-customer-details {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2rem;
    padding: 3rem;
    margin-bottom: 4rem;
}

.woocommerce-column__title {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-right: 4px solid var(--primary);
    padding-right: 15px;
}

.woocommerce-customer-details address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 2;
    font-size: 1.1rem;
    text-align: right;
}

/* Floating Action Button (already present in footer, but ensure visibility) */
.whatsapp-float {
    z-index: 2000 !important;
}

/* ================================================================
   MOBILE-FIRST RESPONSIVE SYSTEM — Shake v2.3
   هذا القسم يضبط كل القياسات لتطابق المعايير العالمية للموبايل
   ================================================================ */

/* ---- 1. Fluid Typography (clamp) ---- */
:root {
    --fs-xs:   clamp(0.70rem, 2.5vw, 0.80rem);
    --fs-sm:   clamp(0.80rem, 3vw,   0.90rem);
    --fs-base: clamp(0.90rem, 3.5vw, 1.00rem);
    --fs-md:   clamp(1.00rem, 4vw,   1.15rem);
    --fs-lg:   clamp(1.10rem, 4.5vw, 1.35rem);
    --fs-xl:   clamp(1.25rem, 5vw,   1.60rem);
    --fs-2xl:  clamp(1.50rem, 6vw,   2.00rem);
    --fs-3xl:  clamp(1.80rem, 7vw,   2.60rem);
    --fs-hero: clamp(2.00rem, 8vw,   3.20rem);

    /* Touch targets (min 44px per WCAG) */
    --tap-min: 44px;

    /* Spacing system */
    --space-xs: clamp(6px,  2vw, 8px);
    --space-sm: clamp(10px, 3vw, 14px);
    --space-md: clamp(14px, 4vw, 20px);
    --space-lg: clamp(20px, 5vw, 28px);
    --space-xl: clamp(28px, 6vw, 40px);

    /* Safe area for notched phones */
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-top:    env(safe-area-inset-top,    0px);
}

/* ---- 2. Base App Container ---- */
.shake-app-container {
    width: 100%;
    max-width: 480px;        /* أفضل للشاشات الكبيرة */
    margin: 0 auto;
    padding: 0 16px;
    padding-bottom: calc(110px + var(--safe-bottom));
    padding-top: var(--safe-top);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---- 3. Header — Mobile Perfect ---- */
.shake-header {
    padding: 10px 16px !important;
    margin-bottom: 1rem !important;
    /* iOS safe area */
    padding-top: max(10px, calc(var(--safe-top) + 10px)) !important;
}
.shake-header .logo-area img {
    width: clamp(56px, 16vw, 80px) !important;
}
.shake-header .header-actions {
    gap: 6px !important;
}
/* أيقونات الهيدر — حجم touch-friendly */
.shake-header .header-actions a,
.shake-header .header-actions button,
#notif-bell-btn {
    width:  var(--tap-min) !important;
    height: var(--tap-min) !important;
    min-width:  var(--tap-min) !important;
    border-radius: 12px !important;
}

/* ---- 4. Bottom Nav — iOS + Android Safe ---- */
.bottom-nav {
    bottom: calc(12px + var(--safe-bottom)) !important;
    left:  14px !important;
    right: 14px !important;
    padding: 10px 8px !important;
    border-radius: 24px !important;
}
.nav-item {
    min-width: var(--tap-min);
    min-height: var(--tap-min);
    padding: 4px 8px;
    font-size: var(--fs-xs);
    gap: 2px;
}
.nav-item svg {
    width: 22px !important;
    height: 22px !important;
    margin-bottom: 2px !important;
}

/* ---- 5. Glass Cards — Mobile Spacing ---- */
.glass-card {
    padding: var(--space-lg) !important;
    border-radius: 1.5rem !important;
    margin-bottom: var(--space-md) !important;
}
/* تعطيل hover elevation على اللمس */
@media (hover: none) {
    .glass-card:hover { transform: none !important; }
}

/* ---- 6. Buttons — Touch Friendly ---- */
.btn-shake {
    min-height: var(--tap-min);
    padding: 12px 20px !important;
    font-size: var(--fs-md) !important;
    border-radius: 999px !important;
    width: 100%;
    touch-action: manipulation;
}
.btn-shake + .btn-shake {
    margin-top: 10px;
}
@media (min-width: 400px) {
    .hero-actions {
        flex-direction: column !important; /* يبقى عمودي على الموبايل */
    }
}

/* ---- 7. Forms — Mobile Input System ---- */
.shake-input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    font-size: 16px !important; /* يمنع iOS zoom عند التركيز */
    min-height: var(--tap-min) !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
}
input, textarea, select, button {
    touch-action: manipulation;
    -webkit-appearance: none;
}

/* ---- 8. Product Page — Pixel-Perfect Mobile ---- */
.luxury-product-page {
    padding-bottom: calc(130px + var(--safe-bottom));
}
.product-gallery-wrapper {
    aspect-ratio: 4/3 !important;  /* أفضل في الموبايل */
    margin-left:  -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px) !important;
    margin-top: -1rem !important;
    border-radius: 0 0 2.5rem 0 !important;
}
.product-title {
    font-size: var(--fs-3xl) !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
}
.product-price-large {
    font-size: var(--fs-xl) !important;
    padding: 8px 18px !important;
}
.product-short-description {
    font-size: var(--fs-base) !important;
    line-height: 1.7 !important;
}
.product-info-wrapper {
    padding: var(--space-lg) 4px !important;
}

/* Variation Chips — Touch */
.v-chip, .variation-chips button, .btn-size {
    min-height: var(--tap-min) !important;
    padding: 10px 18px !important;
    font-size: var(--fs-sm) !important;
    border-radius: 10px !important;
}
.variation-chips {
    gap: 10px !important;
}

/* Sticky Add Bar */
.luxury-sticky-bar {
    bottom: calc(14px + var(--safe-bottom)) !important;
    left:  14px !important;
    right: 14px !important;
    padding: 14px 18px !important;
    border-radius: 1.5rem !important;
    gap: 12px !important;
}
.luxury-add-btn {
    min-height: var(--tap-min) !important;
    font-size: var(--fs-md) !important;
    padding: 14px !important;
    border-radius: 14px !important;
}
.sticky-price {
    font-size: var(--fs-xl) !important;
}

/* ---- 9. Archive (منيو) ---- */
.shake-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}
/* شاشات صغيرة جداً < 320px */
@media (max-width: 320px) {
    .shake-products-grid {
        grid-template-columns: 1fr !important;
    }
}
.product-card-image {
    aspect-ratio: 1 / 1 !important;
}
.product-card-title {
    font-size: var(--fs-sm) !important;
}
.menu-search-input {
    font-size: 16px !important; /* يمنع iOS zoom */
    min-height: var(--tap-min) !important;
}

/* Category pills */
.category-pills-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-pills-container::-webkit-scrollbar { display: none; }
.category-pill {
    min-height: var(--tap-min) !important;
    white-space: nowrap;
    padding: 8px 16px !important;
    font-size: var(--fs-sm) !important;
}

/* ---- 10. Hero Slider ---- */
.shake-hero-swiper .swiper-slide {
    aspect-ratio: 16/7 !important;
    min-height: 150px !important;
}
@media (max-width: 380px) {
    .shake-hero-swiper .swiper-slide {
        aspect-ratio: 4/3 !important; /* طولي أكثر على الشاشات الصغيرة */
        min-height: 220px !important;
    }
}

/* ---- 11. Dashboard / Admin Pages ---- */
.loyalty-tier-bar {
    height: 10px !important;
    border-radius: 5px !important;
}
.stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
}
.stat-card {
    padding: var(--space-md) !important;
    border-radius: 1rem !important;
}
.stat-value {
    font-size: var(--fs-2xl) !important;
}
.stat-label {
    font-size: var(--fs-xs) !important;
}

/* ---- 12. Notification Dropdown ---- */
#notif-dropdown {
    top: calc(70px + var(--safe-top)) !important;
    max-height: calc(85vh - 70px) !important;
    overflow-y: auto !important;
    border-radius: 1.5rem !important;
}
.notif-item {
    padding: 12px 16px !important;
    min-height: var(--tap-min) !important;
}
.notif-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
}

/* ---- 13. Quick View Modal ---- */
.quick-view-overlay {
    padding: 16px !important;
}
.quick-view-modal {
    max-height: 88vh !important;
    overflow-y: auto !important;
    border-radius: 1.5rem !important;
    padding: var(--space-lg) !important;
    -webkit-overflow-scrolling: touch;
}
.quick-view-modal img {
    border-radius: 1.2rem !important;
    max-height: 200px !important;
    object-fit: cover !important;
}

/* ---- 14. Order Success Page ---- */
.confetti-icon {
    font-size: clamp(3rem, 15vw, 5rem) !important;
}
.order-success-title {
    font-size: var(--fs-2xl) !important;
}
.order-timeline {
    padding-right: var(--space-sm) !important;
}
.timeline-step {
    padding: var(--space-sm) var(--space-md) !important;
    border-radius: 1rem !important;
    margin-bottom: var(--space-sm) !important;
}

/* ---- 15. Checkout ---- */
.woocommerce-billing-fields__field-wrapper {
    gap: 12px !important;
    padding: var(--space-md) !important;
    border-radius: 1.2rem !important;
}
.shake-checkout-total-bar {
    padding: 14px 16px !important;
    border-radius: 1.2rem !important;
}
.shake-checkout-btn {
    min-height: 52px !important;
    font-size: var(--fs-md) !important;
}

/* ---- 16. Floating WhatsApp — Safe Position ---- */
.floating-whatsapp {
    bottom: calc(90px + var(--safe-bottom)) !important;
    right: 16px !important;
    width:  52px !important;
    height: 52px !important;
    border-radius: 16px !important;
}
.floating-whatsapp svg {
    width: 26px !important;
    height: 26px !important;
}

/* ---- 17. Smart Cart Drawer ---- */
#smart-cart-toggle {
    bottom: calc(90px + var(--safe-bottom)) !important;
    left: 16px !important;
    width:  52px !important;
    height: 52px !important;
}
#smart-cart-drawer {
    padding-bottom: var(--safe-bottom) !important;
}

/* ---- 18. WooCommerce Order Table — Mobile ---- */
.woocommerce-order-overview.order_details {
    grid-template-columns: 1fr 1fr !important;
    padding: var(--space-lg) !important;
    gap: 20px !important;
    border-radius: 1.5rem !important;
}
.woocommerce-table--order-details td,
.woocommerce-table--order-details th {
    padding: 14px 12px !important;
    font-size: var(--fs-sm) !important;
}
.woocommerce-order-details__title {
    font-size: var(--fs-xl) !important;
}

/* ---- 19. Admin Pages — Mobile Friendly ---- */
.admin-grid-2 {
    grid-template-columns: 1fr !important;
}
@media (min-width: 400px) {
    .admin-grid-2 {
        grid-template-columns: 1fr 1fr !important;
    }
}
.customer-card {
    padding: var(--space-md) !important;
    border-radius: 1.2rem !important;
}

/* ---- 20. Scroll Behavior ---- */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
* {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}
/* iOS momentum scroll for containers */
.notif-list,
.quick-view-modal,
#smart-cart-content,
.archive-product-grid {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ---- 21. Landscape Mode ---- */
@media (max-height: 500px) and (orientation: landscape) {
    .shake-app-container { padding-bottom: 80px !important; }
    .bottom-nav { bottom: 8px !important; padding: 6px 8px !important; }
    .luxury-sticky-bar { bottom: 8px !important; }
    .product-gallery-wrapper { aspect-ratio: 21/9 !important; }
    .shake-hero-swiper .swiper-slide { min-height: 130px !important; }
}

/* ---- 22. Large Phones (iPhone Plus, Galaxy Ultra) ---- */
@media (min-width: 414px) {
    .shake-products-grid { gap: 14px !important; }
    .glass-card { padding: 22px !important; }
    .product-title { font-size: 2.4rem !important; }
}

/* ---- 23. Tablet (iPad) — Wider layout ---- */
@media (min-width: 768px) {
    .shake-app-container { max-width: 520px; }
    .shake-products-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .admin-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(4, 1fr) !important; }
    .bottom-nav { max-width: 500px; left: 50% !important; right: auto !important; transform: translateX(-50%); }
}

/* ---- 24. Dark Mode System Respect ---- */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #05070a;
        --bg-darker: #020305;
    }
}

/* ---- 25. Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .liquid-loader { animation: none !important; border: 3px solid var(--primary) !important; opacity: 0.6; }
}

/* ---- 26. Print (للفاتورة) ---- */
@media print {
    .shake-header, .bottom-nav, .floating-whatsapp, #smart-cart-toggle { display: none !important; }
    .shake-app-container { padding: 0 !important; max-width: 100% !important; }
    body { background: #fff !important; color: #000 !important; }
}

/* ================================================================ */

