/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'RTL Mocha Yemen Sadah', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}


body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/icon.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    filter: none;
    animation: none;
}


.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
    margin: 0 1rem;
    width: calc(100% - 2rem);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex: 1;
    max-width: 400px;
    margin: 0 1rem;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    outline: none;
    color: #333;
}

.search-input::placeholder {
    color: #666;
}

.search-btn {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(114, 30, 30, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a1a1a 0%, #6b2c2c 50%, #3a0d0d 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(114, 30, 30, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3a0d0d;
    box-shadow: 0 4px 15px rgba(114, 30, 30, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(114, 30, 30, 0.4);
}

.logo {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.cart-btn {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 30, 30, 0.3);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-btn:hover {
    background: linear-gradient(135deg, #5a1a1a 0%, #6b2c2c 50%, #3a0d0d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(114, 30, 30, 0.4);
}

.cart-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cart-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Ocean Waves */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
    opacity: 0.6;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    background: linear-gradient(45deg,
        rgba(100, 200, 255, 0.15) 0%,
        rgba(150, 220, 255, 0.25) 25%,
        rgba(100, 200, 255, 0.15) 50%,
        rgba(150, 220, 255, 0.25) 75%,
        rgba(100, 200, 255, 0.15) 100%);
    border-radius: 50% 50% 0 0;
    animation: wave-motion 12s ease-in-out infinite;
}

.wave1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave2 {
    animation-delay: 2s;
    opacity: 0.5;
    height: 80px;
}

.wave3 {
    animation-delay: 4s;
    opacity: 0.3;
    height: 60px;
}

@keyframes wave-motion {
    0%, 100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(-50%) translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateX(-50%) translateY(-5px) rotate(-1deg);
    }
}

/* Fish Animation */
.fish-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.fish {
    position: absolute;
    font-size: 2.5rem;
    animation: fish-swim 20s ease-in-out infinite;
    filter: drop-shadow(3px 3px 10px rgba(0, 100, 150, 0.3));
    will-change: transform;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.fish1 {
    top: 15%;
    animation-delay: 0s;
    animation-duration: 14s;
    font-size: 2.2rem;
}

.fish2 {
    top: 25%;
    animation-delay: 2.5s;
    animation-duration: 18s;
    font-size: 1.8rem;
}

.fish3 {
    top: 35%;
    animation-delay: 5s;
    animation-duration: 16s;
    font-size: 2.8rem;
}

.fish4 {
    top: 45%;
    animation-delay: 7.5s;
    animation-duration: 20s;
    font-size: 3.2rem;
}

.fish5 {
    top: 55%;
    animation-delay: 10s;
    animation-duration: 15s;
    font-size: 2rem;
}

.fish6 {
    top: 65%;
    animation-delay: 12.5s;
    animation-duration: 17s;
    font-size: 2.4rem;
}

.fish7 {
    top: 75%;
    animation-delay: 15s;
    animation-duration: 13s;
    font-size: 1.6rem;
}

.fish8 {
    top: 85%;
    animation-delay: 17.5s;
    animation-duration: 19s;
    font-size: 2.6rem;
}

@keyframes fish-swim {
    0% {
        transform: translateX(-120px) scaleX(1) translateY(0px) rotateY(0deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    15% {
        transform: translateX(15vw) scaleX(1) translateY(-8px) rotateY(5deg);
    }
    25% {
        transform: translateX(25vw) scaleX(1) translateY(-12px) rotateY(0deg);
    }
    35% {
        transform: translateX(35vw) scaleX(1) translateY(-5px) rotateY(-3deg);
    }
    45% {
        transform: translateX(45vw) scaleX(1) translateY(3px) rotateY(0deg);
    }
    50% {
        transform: translateX(50vw) scaleX(1) translateY(0px) rotateY(0deg);
    }
    51% {
        transform: translateX(50vw) scaleX(-1) translateY(0px) rotateY(0deg);
    }
    65% {
        transform: translateX(65vw) scaleX(-1) translateY(8px) rotateY(3deg);
    }
    75% {
        transform: translateX(75vw) scaleX(-1) translateY(15px) rotateY(0deg);
    }
    85% {
        transform: translateX(85vw) scaleX(-1) translateY(5px) rotateY(-2deg);
    }
    95% {
        transform: translateX(95vw) scaleX(-1) translateY(-2px) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 120px)) scaleX(-1) translateY(0px) rotateY(0deg);
        opacity: 0;
    }
}

/* Fish Tail Animation */
.fish::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 20px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 50% 0 0 50%;
    animation: tail-wag 0.5s ease-in-out infinite alternate;
}

@keyframes tail-wag {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(15deg);
    }
}

/* Bubbles Animation */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(200, 240, 255, 0.6) 0%, rgba(150, 220, 255, 0.2) 70%);
    border-radius: 50%;
    animation: bubble-rise 8s linear infinite;
    box-shadow: 0 0 10px rgba(100, 200, 255, 0.3);
}

.bubble1 {
    width: 10px;
    height: 10px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.bubble2 {
    width: 15px;
    height: 15px;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.bubble3 {
    width: 8px;
    height: 8px;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.bubble4 {
    width: 12px;
    height: 12px;
    left: 40%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.bubble5 {
    width: 6px;
    height: 6px;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 5s;
}

.bubble6 {
    width: 18px;
    height: 18px;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 10s;
}

.bubble7 {
    width: 14px;
    height: 14px;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 8s;
}

.bubble8 {
    width: 9px;
    height: 9px;
    left: 80%;
    animation-delay: 7s;
    animation-duration: 6s;
}

@keyframes bubble-rise {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Page System */
.page {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    padding: 3rem 2rem;
    border-radius: 25px;
    margin-bottom: 2.5rem;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.welcome-section h2 {
    color: #af1e1e;
    font-family: 'RTL Mocha Yemen Sadah', 'Arial Black', 'Arial Bold', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.welcome-section p {
    color: #af1e1e;
    font-family: 'RTL Mocha Yemen Sadah', 'Arial Black', 'Arial Bold', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.category-btn {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 2.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-12px) rotateX(8deg) rotateY(8deg) scale(1.05);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2),
        0 0 40px rgba(100, 200, 255, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.6);
}

.category-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 20px rgba(100, 200, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-btn:hover .category-image {
    transform: scale(1.2) rotateY(15deg) rotateX(8deg);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        0 0 30px rgba(100, 200, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.category-name {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.category-btn:hover .category-name {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: linear-gradient(135deg, #5a1a1a 0%, #6b2c2c 50%, #3a0d0d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(114, 30, 30, 0.3);
}

.back-btn:hover {
    background: linear-gradient(135deg, #5a1a1a 0%, #6b2c2c 50%, #3a0d0d 100%);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(114, 30, 30, 0.4);
}

#category-title {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Products Container */
.products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.product-image-container {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 15px;
}

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

.product-name {
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.product-category {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    background: rgba(39, 174, 96, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    display: inline-block;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.product-description {
    color: #000000;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-note {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: #1e5f1e;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.add-to-cart {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Cart Styles */
.cart-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.item-info h4 {
    color: #3a0d0d;
    margin-bottom: 0.25rem;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    background: #3a0d0d;
    color: white;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.qty-btn:hover {
    background: #98522a;
}

.quantity {
    font-weight: bold;
    min-width: 2rem;
    text-align: center;
}

.remove-item {
    background: #ff4757;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #ff3838;
}

.cart-summary {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3a0d0d;
    border-top: 2px solid #3a0d0d;
    padding-top: 1rem;
    margin-top: 1rem;
}

.checkout-btn {
    width: 100%;
    background: #27ae60;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.checkout-btn:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

/* Checkout Form */
.checkout-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #3a0d0d;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3a0d0d;
    box-shadow: 0 0 0 3px rgba(114, 30, 30, 0.1);
}

.form-group small {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.location-btn {
    background: #db3434;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.location-btn:hover {
    background: #b92929;
    transform: translateY(-2px);
}

.location-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

#location-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
}

#location-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#location-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

#location-status.loading {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

#location-info {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.submit-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Branches */
.branches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.branch-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.branch-name {
    color: #3a0d0d;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.branch-address {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.branch-phone {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.branch-map {
    background: #db3434;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.branch-map:hover {
    background: #b92929;
    transform: translateY(-2px);
}

/* Celebrities Reviews Section */
.celebrities-section {
    margin: 3rem 0;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.celebrities-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

.celebrities-title {
    background: linear-gradient(135deg, #3a0d0d 0%, #5a1a1a 50%, #6b2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
    justify-items: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.celeb-video {
    width: 320px;
    height: 568px; /* 9:16 aspect ratio */
    border-radius: 25px;
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(100, 200, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
    object-fit: cover;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.celeb-video:hover {
    transform: translateY(-12px) rotateX(8deg) rotateY(8deg) scale(1.05);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        0 0 40px rgba(100, 200, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.celeb-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 15px 15px;
}

/* Bottom Navigation */
.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #3a0d0d;
    font-weight: 600;
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

/* Empty States */
.empty-cart {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-cart h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3a0d0d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .cart-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .cart-icon {
        font-size: 1.3rem;
    }

    .cart-count {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.8rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    body::after {
        opacity: 0.06;
    }

    .search-container {
        order: 2;
        max-width: 100%;
        margin: 0;
    }

    .header-actions {
        order: 3;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .category-btn {
        padding: 1.5rem 1rem;
    }

    .category-image {
        width: 60px;
        height: 60px;
    }

    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-image-container {
        height: 180px;
    }

    .branches-container {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .videos-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        justify-items: center;
    }

    .celeb-video {
        width: 250px;
        height: 444px; /* 9:16 aspect ratio for mobile */
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .item-controls {
        align-self: stretch;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 1.5rem;
    }

    .welcome-section h2 {
        font-size: 2.2rem;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    }

    .welcome-section p {
        font-size: 1.2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .cart-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    .cart-icon {
        font-size: 1.2rem;
    }

    .cart-count {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.75rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .videos-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 280px;
    }

    .celeb-video {
        width: 220px;
        height: 391px; /* 9:16 aspect ratio for small mobile */
    }

    .header-content {
        padding: 0 0.5rem;
    }

    .main-content {
        padding: 0.5rem;
    }

    .product-image-container {
        height: 150px;
    }

    body::after {
        opacity: 0.04;
    }
}

@media (max-width: 480px) {
    .products-container {
        grid-template-columns: 1fr;
    }
}