html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    background-color: #ffffff;
    overflow-x: hidden !important; 
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    font-family: 'Inter', sans-serif;
    width: 100% !important;
    max-width: 100% !important;
    color: #000000;
    position: relative;
    transition: background-color 0.4s ease;
}

body.all-collection-mode {
    background-color: var(--premium-dark-blue);
    color: #ffffff;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    color: #fff;
    padding: 15px 0;
    transform: rotate(-2deg) scale(1.05);
    z-index: 20;
}

.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    z-index: 1000;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.floating-nav.nav-hidden {
    transform: translate(-50%, -120px);
    opacity: 0;
    pointer-events: none;
}

.floating-nav .nav-title-text { color: #000000; transition: color 0.4s ease; }
.floating-nav .nav-shirts-text { color: #000000 !important; transition: color 0.4s ease; }

body.all-collection-mode .floating-nav {
    background: rgba(3, 7, 18, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}
body.all-collection-mode .floating-nav .nav-title-text { color: #ffffff; }
body.all-collection-mode .floating-nav .nav-shirts-text { color: #ffffff !important; }

.home-return-trigger {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1005;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

body:not(.all-collection-mode) .home-return-trigger {
    color: #000000;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.home-return-trigger.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.home-return-trigger:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }

.get-it-btn {
    font-family: 'Luckiest Guy', cursive;
    background: #000 !important;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 20px;
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    border: none !important;
}

.get-it-btn:hover { background: var(--brand-blue) !important; color: #000 !important; }
body.all-collection-mode .get-it-btn { background: #ffffff !important; color: #000000 !important; }
body.all-collection-mode .get-it-btn:hover { background: var(--brand-blue) !important; color: #000000 !important; }

.product-card { transition: transform 0.4s ease; }
.product-card .bg-gray-50 {
    background-color: #f9fafb !important;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

body.all-collection-mode .product-card .bg-gray-50 {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.parallax-layer { will-change: transform; }

.footer-card {
    background: var(--footer-bg-normal);
    color: #ffffff;
    border-radius: 68px 68px 0 0;
    padding: 60px 52px calc(34px + env(safe-area-inset-bottom)) 52px;
    transition: background-color 0.4s ease, color 0.4s ease;
    margin-bottom: 0 !important;
}

body.all-collection-mode .footer-card { background: var(--footer-bg-collection); color: #000000; }
body.all-collection-mode .footer-card .footer-main-title { color: #000000; }
body.all-collection-mode .footer-card .footer-shirts-text { color: #000000 !important; }

/* أيقونات الفوتر بيضاء */
.footer-card .footer-icon-svg { fill: #ffffff; transition: fill 0.3s ease; }
body.all-collection-mode .footer-card .footer-icon-svg { fill: #4b5563; }

.all-collection-matrix-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, #0d1b3e 0%, var(--premium-dark-blue) 70%);
}

#all-collection-context { opacity: 0; transition: opacity 0.3s ease; }

.order-modal-backdrop, .cart-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.order-modal-backdrop.active, .cart-modal-backdrop.active { opacity: 1; pointer-events: auto; }

.order-card-container, .cart-card-container {
    background: #ffffff;
    width: 100%;
    max-width: 680px;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transform: scale(0.9) translateY(30px);
    will-change: transform, opacity;
}

.cart-card-container { max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.size-pill, .color-pill { cursor: pointer; transition: all 0.2s ease; }
.size-pill.active { background-color: #000000 !important; color: #ffffff !important; border-color: #000000 !important; }
.color-pill.active { border-color: #000000 !important; transform: scale(1.1); }

.purchase-btn-main {
    font-family: 'Luckiest Guy', cursive;
    background: #000000 !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}
.purchase-btn-main:hover { background: var(--brand-blue) !important; color: #000000 !important; transform: translateY(-2px); }

#shop { padding-bottom: 60px; }
.cart-items-scroll-deck { flex: 1; overflow-y: auto; scrollbar-width: none; }
.cart-items-scroll-deck::-webkit-scrollbar { display: none; }

.logistics-input {
    width: 100%;
    background: #f3f4f6;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000000;
    outline: none;
    transition: all 0.2s ease;
}
.logistics-input:focus { background: #ffffff; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15); }
.logistics-select {
    appearance: none;
    background-image: url("data:image/svg+svg;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
}

.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.social-link-icon:hover {
    background: var(--brand-blue);
    transform: scale(1.08);
}
body.all-collection-mode .social-link-icon {
    background: rgba(255,255,255,0.08);
}
body.all-collection-mode .social-link-icon:hover {
    background: var(--brand-blue);
}
.footer-card .social-link-icon {
    background: rgba(255,255,255,0.1);
}
.footer-card .social-link-icon:hover {
    background: var(--brand-blue);
}

.success-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 100000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.kinetic-portal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    background: transparent;
    overflow: hidden;
}

.split-pane {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    will-change: transform;
}

.pane-left { justify-content: flex-end; background: linear-gradient(135deg, #020617 0%, #030712 100%); }
.pane-right { justify-content: flex-start; background: linear-gradient(315deg, #090d16 0%, #030712 100%); }

.kinetic-word {
    font-family: 'Luckiest Guy', cursive;
    font-size: clamp(80px, 14vw, 240px);
    line-height: 0.8;
    letter-spacing: -2px;
    text-transform: uppercase;
    white-space: nowrap;
    will-change: transform;
}

.pane-left .kinetic-word { color: #ffffff; text-align: right; padding-right: 2px; }
.pane-right .kinetic-word { color: var(--brand-blue); text-align: left; padding-left: 2px; }

#storefrontContent {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.liquid-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5000;
    width: 100% !important;
    max-width: 100%;
    height: calc(74px + env(safe-area-inset-bottom)); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: env(safe-area-inset-bottom);
    pointer-events: none;
    background: transparent;
    transition: background-color 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}

.liquid-nav-wrapper.match-footer { pointer-events: auto; background: var(--footer-bg-normal); }
body.all-collection-mode .liquid-nav-wrapper.match-footer { background: var(--footer-bg-collection); }

.liquid-container { filter: url('#liquid-bounce'); padding: 5px; pointer-events: auto; will-change: transform; }

.liquid-menu-base {
    position: relative;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 64px;
    height: 64px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.4s ease, border-color 0.4s ease;
    will-change: width, height, transform;
}

body.all-collection-mode .liquid-menu-base { background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(0, 0, 0, 0.08); }
body.all-collection-mode #menuTriggerIcon svg { stroke: #000000; }

.trigger-icon-container { position: absolute; z-index: 20; display: flex; align-items: center; justify-content: center; }

.liquid-actions-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.action-item {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 50px;
}

body.all-collection-mode .action-item { color: #000000 !important; }
.action-item:hover, .action-item.active { color: var(--brand-blue) !important; }
body.all-collection-mode .action-item:hover, body.all-collection-mode .action-item.active { color: #0055ff !important; }

.brands-dropdown {
    position: absolute;
    bottom: calc(76px + env(safe-area-inset-bottom)); 
    background: rgba(64, 64, 64, 0.75) !important; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px;
    padding: 8px;
    width: 180px;
    max-height: 155px; 
    overflow-y: auto;
    scrollbar-width: none; 
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5010;
}

.brands-dropdown::-webkit-scrollbar { display: none !important; }
.brands-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.dropdown-item {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff !important; 
    border-radius: 14px;
    transition: color 0.2s ease, background-color 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}
.dropdown-item:hover { background: rgba(255, 255, 255, 0.12) !important; color: var(--brand-blue) !important; }

.filter-deck-panel {
    position: absolute;
    bottom: calc(76px + env(safe-area-inset-bottom)); 
    background: rgba(64, 64, 64, 0.75) !important; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px;
    padding: 12px;
    width: 100%;
    max-width: 360px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5005;
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.filter-deck-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.deck-main-menu { display: flex; flex-direction: column; gap: 2px; width: 100%; }

.deck-pill-btn {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff !important;
    border-radius: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.deck-pill-btn:hover { color: var(--brand-blue) !important; background: rgba(255, 255, 255, 0.12) !important; }

.deck-options-view { display: none; flex-direction: column; width: 100%; }

.view-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.back-arrow-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.view-title { font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #f3f4f6 !important; }
.options-list { display: flex; flex-direction: column; gap: 2px; }

.clean-option-item {
    padding: 12px 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff !important;
    border-radius: 14px;
    transition: color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    text-align: left;
}
.clean-option-item:hover, .clean-option-item.active { color: var(--brand-blue) !important; background: rgba(255, 255, 255, 0.12) !important; }