/* ======================================= */
/* Tiba Store — Premium E-Commerce Styles  */
/* ======================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --primary: #131921;
    /* Amazon Header Black */
    --primary-dark: #0F1111;
    --primary-light: #232f3e;
    /* Amazon Subnav */
    --accent: #7B61FF;
    /* Purple / Violet */
    --accent-glow: rgba(123, 97, 255, 0.3);
    --bg: #eaeded;
    /* Amazon Light Gray */
    --bg-card: #ffffff;
    --text: #0F1111;
    --text-muted: #565959;
    --border: #dddddd;
    --success: #067d62;
    --link: #007185;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    /* More formal, less rounded */
    --radius-sm: 4px;
    --transition: all 0.2s ease-in-out;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.shop-body {
    background-color: var(--bg);
    font-family: 'Cairo', sans-serif;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.shop-header {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 200;
}

.shop-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.shop-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.shop-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.delivery-location {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    padding: 5px;
    border: 1px solid transparent;
    border-radius: 2px;
}

.delivery-location:hover {
    border-color: white;
}

.delivery-location i {
    font-size: 1.2rem;
    margin-left: 5px;
}

.location-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.location-text small {
    font-size: 0.75rem;
    color: #ccc;
}

.location-text span {
    font-size: 0.9rem;
    font-weight: 700;
}

.shop-header-search {
    flex-grow: 1;
    display: flex;
    margin: 0 20px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.shop-header-search:focus-within {
    box-shadow: 0 0 0 3px var(--accent);
}

.search-category-select {
    background: #f3f3f3;
    border: none;
    border-left: 1px solid #ccc;
    padding: 0 10px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    outline: none;
}

.search-category-select:hover {
    background: #e3e6e6;
}

.search-input {
    flex-grow: 1;
    border: none;
    padding: 0 15px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background: var(--accent);
    /* Purple search button */
    border: none;
    width: 45px;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    transition: background 0.2s;
}

.search-btn:hover {
    opacity: 0.85;
}

.shop-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.shop-header-actions a,
.btn-icon {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 2px;
}

.shop-header-actions a:hover,
.btn-icon:hover {
    border-color: white;
}

.nav-text {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.1;
}

.nav-text small {
    font-size: 0.75rem;
    font-weight: 400;
}

.nav-text span {
    font-size: 0.9rem;
    font-weight: 700;
}

.cart-btn {
    background: transparent;
    border: 1px solid transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 5px 8px;
    border-radius: 2px;
    transition: var(--transition);
}

.cart-btn:hover {
    border-color: white;
}

.cart-icon-wrapper {
    position: relative;
    font-size: 2rem;
    line-height: 1;
}

.cart-label {
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 4px;
    margin-bottom: 2px;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-weight: 800;
    font-size: 1rem;
}

/* ===== SUB NAV ===== */
.shop-subnav {
    background: var(--primary-light);
    color: white;
    padding: 5px 20px;
    display: flex;
    align-items: center;
}

.shop-subnav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.shop-subnav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.shop-subnav a:hover {
    border-color: white;
}

@keyframes cartPulse {
    0% {
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== MAIN ===== */
.shop-main {
    padding: 20px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== CARDS GRID (Amazon Style) ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
    z-index: 5;
    margin-bottom: 24px;
}

.store-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}

.store-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.store-card .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 14px 10px;
    color: var(--text);
    line-height: 1.4;
}

.store-card .card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f3f3f3;
}

.store-card .card-footer {
    padding: 10px 14px 14px;
    margin-top: auto;
}

.store-card .card-footer a {
    color: var(--link);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.store-card .card-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HERO BANNER CAROUSEL ===== */
#hero-area {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.hero-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    width: 100%;
    max-height: 600px;
}

.hero-carousel .hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.hero-carousel .hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-carousel .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel .hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    color: white;
}

.hero-carousel .hero-slide-overlay h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    z-index: 10;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.hero-nav-btn.prev {
    right: 12px;
}

.hero-nav-btn.next {
    left: 12px;
}

/* Default hero (when no banners) */
.hero-default {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    margin-bottom: 28px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.hero-default h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.hero-default p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-default .hero-cta {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-default .hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== CATEGORIES ===== */
.shop-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shop-categories::-webkit-scrollbar {
    display: none;
}

.category-chip {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 30px;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-chip:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: #F5F3FF;
}

.category-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.products-grid .product-card {
    width: calc(50% - 8px);
    /* 2 columns on mobile */
    max-width: 280px;
}

@media (min-width: 768px) {
    .products-grid {
        gap: 20px;
    }

    .products-grid .product-card {
        width: 220px;
        /* fixed size on desktop */
    }
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.product-card .product-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #f8f7ff, #eee);
    overflow: hidden;
}

.product-card .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-card .product-img-wrap .placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    color: #d1d5db;
}

.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 6px var(--accent-glow);
}

.product-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}

.product-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
    margin-top: auto;
    padding-top: 6px;
}

.product-price .currency {
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-add-cart:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

.btn-add-cart:active {
    transform: scale(0.97);
}

.btn-add-cart:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-add-cart.added {
    background: var(--success);
    animation: addedPulse 0.4s ease;
}

@keyframes addedPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.skeleton-card .skeleton-img {
    aspect-ratio: 1/1;
    width: 100%;
}

.skeleton-card .skeleton-text {
    margin: 12px 14px;
    height: 14px;
    border-radius: 4px;
}

.skeleton-card .skeleton-text.short {
    width: 60%;
}

.skeleton-card .skeleton-btn {
    margin: 12px 14px;
    height: 38px;
    border-radius: var(--radius-sm);
}

/* ===== CART OVERLAY ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    backdrop-filter: blur(4px);
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.cart-panel {
    width: 100%;
    max-width: 420px;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    animation: slideInRTL 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInRTL {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.cart-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cart-items {
    padding: 16px 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 60px;
    font-size: 1rem;
}

.empty-cart-msg i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 12px;
    display: block;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f8f7ff;
    flex-shrink: 0;
}

.cart-item-info {
    flex-grow: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f7ff;
    border-radius: 20px;
    padding: 4px 6px;
}

.qty-btn {
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--primary);
}

.qty-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cart-item-qty {
    font-weight: 800;
    min-width: 18px;
    text-align: center;
    font-size: 0.95rem;
}

.btn-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    border-radius: 6px;
}

.btn-remove:hover {
    background: #fee2e2;
}

/* Cart Summary & Footer */
.cart-summary {
    padding: 16px 20px;
    background: #f8f7ff;
    border-top: 1px solid var(--border);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}

.summary-line .total-value {
    color: var(--primary);
}

.cart-checkout-form {
    padding: 0 20px 16px;
    background: #f8f7ff;
}

.cart-checkout-form h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 12px;
    padding-top: 8px;
}

.cart-checkout-form .form-group {
    margin-bottom: 10px;
}

.cart-checkout-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.cart-checkout-form input,
.cart-checkout-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    background: white;
}

.cart-checkout-form input:focus,
.cart-checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.cart-footer {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-footer .btn-checkout {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-checkout.primary:hover {
    opacity: 0.9;
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

.btn-checkout.primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-checkout.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-checkout.whatsapp:hover {
    opacity: 0.9;
}

.btn-checkout.firebase-order {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

/* ===== ORDER TRACKING ===== */
.order-tracker {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 28px;
    box-shadow: var(--shadow-sm);
}

.order-tracker h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.order-tracker .track-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.order-tracker input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
}

.order-tracker input:focus {
    outline: none;
    border-color: var(--primary);
}

.order-tracker .btn-track {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.order-status-display {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: #f8f7ff;
    text-align: center;
}

.order-progress {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
    position: relative;
}

.order-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--border);
    z-index: 0;
}

.order-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-progress .step .circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.order-progress .step.done .circle {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.order-progress .step.active .circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

/* ===== FOOTER ===== */
.shop-footer {
    background: linear-gradient(135deg, #1E1B4B, #312E81);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}

.shop-footer strong {
    color: white;
}

/* ===== TOAST NOTIFICATION ===== */
.shop-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.shop-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .shop-main {
        padding: 14px 10px;
    }

    .hero-carousel {
        aspect-ratio: 16/9;
        border-radius: var(--radius-sm);
    }

    .hero-default h1 {
        font-size: 1.4rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .btn-add-cart {
        padding: 8px;
        font-size: 0.82rem;
    }

    .cart-panel {
        max-width: 100%;
    }
}

/* ===== UTILITIES ===== */
.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}