/* ========== CSS VARIABLES ========== */
:root {
    --primary: #03AAD0;
    --primary-hover: #0297B9;
    --dark-blue: #00354A;
    --deep-blue: #00293A;
    --soft-blue: #DCEFF5;
    --light-blue: #EFF8FB;
    --white: #FFFFFF;
    --text-dark: #102D38;
    --text-muted: #6B7E86;
    --border-radius: 20px;
    --shadow: 0 12px 30px rgba(0, 53, 74, 0.10);
    --shadow-hover: 0 20px 40px rgba(0, 53, 74, 0.18);
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: "Tajawal", "Cairo", Arial, sans-serif;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: linear-gradient(180deg,
            #ffffff 0%,
            #eef7fa 18%,
            #c6e2eb 42%,
            #63a4bb 67%,
            #07536f 84%,
            #002f43 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    direction: rtl;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    text-align: center;
    background: transparent;
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(3, 170, 208, 0.30);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(3, 170, 208, 0.40);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    font-size: 1.1rem;
    padding: 0.9rem 2.4rem;
    min-height: 56px;
}

.btn-sm {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    min-height: 40px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

@media (max-width: 480px) {
    .btn-lg {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
        min-height: 48px;
    }
    .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.4rem;
    }
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.6rem 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark-blue);
    text-decoration: none;
}

.logo-img, .header-logo-img {
    height: 52px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.logo-img:hover, .header-logo-img:hover {
    transform: scale(1.03);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .header-logo-img, .logo-img {
        height: 42px;
        max-width: 150px;
    }
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 1.8rem;
    font-weight: 500;
    font-size: 1rem;
}

.nav-list a {
    transition: var(--transition);
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

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

.btn-cart {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.btn-cart:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition);
}

/* ========== RESPONSIVE HEADER ========== */
@media (max-width: 992px) {
    .nav-list {
        gap: 1.2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .nav {
        order: 3;
        flex-basis: 100%;
        margin-top: 0.8rem;
        display: none;
    }
    .nav.open {
        display: block;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .nav-toggle {
        display: flex;
    }
    .header-actions .btn-sm {
        display: none;
    }
    .logo {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.4rem 0;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo-icon {
        font-size: 1.4rem;
    }
}

/* ========== HERO ========== */
.hero {
    padding: 3rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(3, 170, 208, 0.10);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--dark-blue);
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeUp 1s ease 0.2s both;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 480px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--light-blue);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02);
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(3, 170, 208, 0.08);
    pointer-events: none;
}

.deco-1 {
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    animation: float 8s ease-in-out infinite;
}

.deco-2 {
    width: 140px;
    height: 140px;
    bottom: -20px;
    left: -20px;
    background: rgba(3, 170, 208, 0.05);
    animation: float 10s ease-in-out infinite reverse;
}

.deco-3 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    background: rgba(255, 255, 255, 0.20);
    animation: float 6s ease-in-out infinite;
}

.hero-bg-line {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 1px;
    height: 60%;
    background: rgba(3, 170, 208, 0.06);
    transform: rotate(10deg);
    z-index: -1;
}

/* ========== RESPONSIVE HERO ========== */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .hero {
        padding: 2rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    .hero-image-wrapper {
        max-width: 300px;
    }
    .deco-1 { width: 120px; height: 120px; }
    .deco-2 { width: 80px; height: 80px; }
    .deco-3 { width: 50px; height: 50px; }
}

/* ========== BENEFITS ========== */
.benefits {
    padding: 3rem 0;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.40);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-flex;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.benefit-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
    .benefit-card {
        padding: 1.5rem 1rem;
    }
    .benefit-title {
        font-size: 1rem;
    }
    .benefit-desc {
        font-size: 0.85rem;
    }
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(3, 170, 208, 0.10);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark-blue);
    line-height: 1.2;
}

/* ========== CATEGORIES ========== */
.categories {
    padding: 3rem 0;
}

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

.category-card {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--white);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.04);
}

.category-name {
    display: block;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    background: var(--white);
    color: var(--text-dark);
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .category-name {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
}

/* ========== PRODUCTS ========== */
.products {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 1.6rem;
}

.product-card {
    position: relative;
    min-height: 430px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 53, 74, 0.13);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    border: 1px solid rgba(3, 170, 208, 0.15);
    display: flex;
    flex-direction: column;
    isolation: isolate;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 46px rgba(0, 53, 74, 0.20);
    border-color: rgba(3, 170, 208, 0.36);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(3, 170, 208, 0.78) 0%, rgba(147, 222, 238, 0.68) 52%, rgba(255, 255, 255, 0.94) 52.5%, rgba(255, 255, 255, 0.98) 100%);
}

.product-image::after {
    content: "";
    position: absolute;
    inset-inline: -15%;
    bottom: -30%;
    height: 58%;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 50% 50% 0 0;
    transform: rotate(-8deg);
    z-index: -1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.8rem 1.4rem 2.1rem;
    filter: drop-shadow(0 18px 22px rgba(0, 53, 74, 0.24));
    transition: transform 0.35s ease;
}

.product-card:hover .product-image img {
    transform: translateY(-8px) rotate(-2deg) scale(1.05);
}

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    max-width: calc(100% - 86px);
    background: rgba(255, 255, 255, 0.95);
    color: var(--deep-blue);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.38rem 0.82rem;
    border-radius: 50px;
    letter-spacing: 0;
    box-shadow: 0 10px 22px rgba(0, 53, 74, 0.12);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-add-fab {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    color: var(--deep-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 53, 74, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-add-fab:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.product-body {
    padding: 1.15rem 1.2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-category {
    width: fit-content;
    max-width: 100%;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(3, 170, 208, 0.10);
    padding: 0.26rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name {
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 800;
    color: var(--dark-blue);
    min-height: 2.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    min-height: 2.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-top: 0.15rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.34rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

.price-old {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card .btn {
    margin-top: auto;
    min-height: 44px;
    border-width: 1px;
    box-shadow: none;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .product-card {
        min-height: 400px;
    }

    .product-image {
        height: 225px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .product-card {
        min-height: 335px;
        border-radius: 18px;
    }
    .product-image {
        height: 165px;
    }
    .product-image img {
        padding: 1rem 0.7rem 1.5rem;
    }
    .product-badge {
        top: 10px;
        right: 10px;
        max-width: calc(100% - 64px);
        font-size: 0.66rem;
        padding: 0.26rem 0.58rem;
    }
    .product-add-fab {
        left: 10px;
        bottom: 10px;
        width: 40px;
        height: 40px;
    }
    .product-body {
        padding: 0.82rem;
        gap: 0.35rem;
    }
    .product-category {
        font-size: 0.66rem;
        padding: 0.2rem 0.48rem;
    }
    .product-name {
        font-size: 0.95rem;
        min-height: 2.4rem;
    }
    .product-desc {
        font-size: 0.78rem;
        min-height: 2.5rem;
    }
    .price-current {
        font-size: 0.98rem;
    }
    .product-card .btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.6rem;
        min-height: 38px;
    }
}

/* ========== ABOUT ========== */
.about {
    padding: 4rem 0;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.about-content .section-tag {
    margin-bottom: 0.5rem;
}

.about-content .section-title {
    margin-bottom: 1.2rem;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark-blue);
}

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

@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-stats {
        justify-content: center;
    }
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-stats {
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 1.6rem;
    }
}

/* ========== FEATURES ========== */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.40);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 1.2rem;
    display: inline-flex;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
}

/* ========== BANNER ========== */
.banner {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--dark-blue) 100%);
    border-radius: 40px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: var(--shadow);
}

.banner-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
}

.banner-content {
    max-width: 600px;
}

.banner-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(3, 170, 208, 0.15);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.banner-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.8rem;
}

.banner .btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(3, 170, 208, 0.40);
}

.banner .btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .banner {
        border-radius: 24px;
        margin: 1.5rem 1rem;
        padding: 2rem 0;
    }
    .banner-title {
        font-size: 1.6rem;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--deep-blue);
    color: rgba(255, 255, 255, 0.80);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 0.8rem;
}

.footer-brand .logo-icon {
    color: var(--primary);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    color: var(--white);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .footer-brand .footer-desc {
        max-width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-image-wrapper:hover img {
        transform: none;
    }
    .product-card:hover .product-image img {
        transform: none;
    }
    .category-card:hover .category-image img {
        transform: none;
    }
}

/* ========== ACTIVE NAV & BADGES ========== */
.nav-list a.active {
    color: var(--primary);
    font-weight: 700;
    border-bottom-color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    left: -8px;
    background: #e74c3c;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.cart-count.pulse {
    animation: cartPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ========== MOBILE DRAWER OVERLAY ========== */
@media (max-width: 768px) {
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav.active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 1.5rem 2rem;
        box-shadow: 0 16px 32px rgba(0,0,0,0.12);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== PRODUCTS TOOLBAR & FILTER TABS ========== */
.products-toolbar {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-wrapper input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 1.2rem;
    border-radius: 50px;
    border: 2px solid rgba(3, 170, 208, 0.2);
    font-family: var(--font);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    transition: var(--transition);
    outline: none;
}

.search-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(3, 170, 208, 0.15);
    background: #ffffff;
}

.search-wrapper svg {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    border: 1px solid rgba(3, 170, 208, 0.25);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(3, 170, 208, 0.3);
}

.product-card {
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 46px rgba(0, 53, 74, 0.20);
}

.btn-quick-view {
    margin-top: 0.5rem;
}

/* ========== QUICK VIEW MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 41, 58, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .modal-body { grid-template-columns: 1fr; }
    .modal-card { max-height: 90vh; overflow-y: auto; }
}

.modal-image-wrapper {
    position: relative;
    background: #f4f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-image-wrapper img {
    max-height: 350px;
    object-fit: contain;
    border-radius: 16px;
}

.modal-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.modal-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.modal-price-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #f7fcfe;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(3, 170, 208, 0.15);
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.modal-feature-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.btn-whatsapp {
    border-color: #25D366;
    color: #128C7E;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
}

/* ========== TOAST NOTIFICATIONS & FLOATING CTA ========== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none;
}

.toast {
    background: rgba(0, 41, 58, 0.92);
    color: #ffffff;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 990;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.cta-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(0, 41, 58, 0.9);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.floating-cta:hover .cta-tooltip {
    opacity: 1;
}

/* ========== ENHANCED MODAL GALLERY & TABS ========== */
.modal-gallery-section {
    background: #f4f9fb;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-main-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.modal-main-image img {
    max-height: 320px;
    object-fit: contain;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.modal-thumbnails {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    width: 100%;
    justify-content: center;
}

.thumb-item {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    background: #ffffff;
    padding: 2px;
    transition: all 0.25s ease;
    opacity: 0.7;
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.08);
}

.modal-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stock-badge {
    background: #e8f8f0;
    color: #27ae60;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.modal-rating .stars {
    color: #f39c12;
    letter-spacing: 2px;
}

.modal-rating .rating-val {
    font-weight: 800;
    color: var(--dark-blue);
}

.modal-rating .rating-count {
    color: var(--text-muted);
}

/* Modal Tabs */
.modal-tabs {
    border: 1px solid rgba(3, 170, 208, 0.15);
    border-radius: 16px;
    overflow: hidden;
    margin: 0.4rem 0;
}

.tab-buttons {
    display: flex;
    background: #f7fcfe;
    border-bottom: 1px solid rgba(3, 170, 208, 0.15);
}

.tab-btn {
    flex: 1;
    padding: 0.65rem 0.5rem;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary);
    background: #ffffff;
    font-weight: 700;
}

.tab-contents {
    padding: 1rem;
    background: #ffffff;
    min-height: 80px;
}

.tab-content {
    display: none;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Quantity Row */
.modal-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fbfd;
    padding: 0.6rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quantity-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-blue);
}

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

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    background: #ffffff;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.qty-val {
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 24px;
    text-align: center;
}

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

/* ========== CART DRAWER & CHECKOUT STYLES ========== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 41, 58, 0.6);
    backdrop-filter: blur(6px);
    z-index: 1200;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.open .cart-drawer-card {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7fcfe;
}

.cart-header-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--dark-blue);
}

.cart-header-title h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.cart-drawer-close:hover {
    color: var(--primary);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.empty-cart-state {
    text-align: center;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.empty-cart-icon {
    font-size: 3.5rem;
    opacity: 0.6;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f9fbfd;
    padding: 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(3, 170, 208, 0.12);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 4px;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.cart-item-price {
    font-size: 0.88rem;
    color: var(--primary);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #ffffff;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-qty-val {
    font-size: 0.9rem;
    font-weight: 700;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}

.cart-item-subtotal {
    font-size: 0.95rem;
    color: var(--dark-blue);
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.cart-shipping-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* ========== CHECKOUT MODAL STYLES ========== */
.checkout-modal-card {
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.2rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-header h2 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    font-weight: 800;
}

.checkout-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-section h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(3, 170, 208, 0.3);
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .form-grid { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.form-group input, .form-group select {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(3, 170, 208, 0.25);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.95rem;
    background: #f9fbfd;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(3, 170, 208, 0.15);
}

.method-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.method-card {
    display: flex;
    align-items: flex-start;
    padding: 1.2rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: #fdfefe;
    cursor: pointer;
    transition: var(--transition);
}

.method-card:hover {
    border-color: rgba(3, 170, 208, 0.4);
}

.method-card.active {
    border-color: var(--primary);
    background: #f2f9fc;
    box-shadow: 0 4px 14px rgba(3, 170, 208, 0.12);
}

.method-card input[type="radio"] {
    margin-top: 0.3rem;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.method-content {
    display: flex;
    gap: 1rem;
    margin-right: 0.8rem;
}

.method-icon {
    font-size: 2rem;
}

.method-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.method-text strong {
    font-size: 1rem;
    color: var(--dark-blue);
}

.method-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkout-summary-box {
    background: #f7fcfe;
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(3, 170, 208, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.total-line {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 0.8rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-blue);
}

/* ========== RECEIPT / ORDER SUCCESS MODAL ========== */
.receipt-modal-card {
    max-width: 600px;
    padding: 2.2rem;
    text-align: center;
}

.receipt-success-icon {
    width: 70px;
    height: 70px;
    background: #e8f8f0;
    color: #27ae60;
    font-size: 2.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.receipt-title {
    font-size: 1.6rem;
    color: var(--dark-blue);
    font-weight: 800;
}

.receipt-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.4rem;
    margin-bottom: 1.8rem;
}

.receipt-card {
    background: #f9fbfd;
    border: 1px solid rgba(3, 170, 208, 0.2);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.receipt-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.receipt-order-no {
    font-size: 1.2rem;
    color: var(--primary);
}

.receipt-method-badge {
    background: #eef7fa;
    color: var(--dark-blue);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.receipt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.receipt-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rec-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.rec-item-row.shipping-row {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 0.8rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.receipt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

/* ========== TOP-CENTER CART ADDED BANNER & BUTTON FEEDBACK ========== */
.cart-added-banner-container {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 90%;
    max-width: 520px;
    pointer-events: none;
}

.cart-added-banner {
    background: rgba(0, 41, 58, 0.95);
    color: #ffffff;
    border-radius: 16px;
    padding: 0.9rem 1.4rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(3, 170, 208, 0.4);
}

.cart-added-banner.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cart-banner-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.cart-banner-check {
    width: 32px;
    height: 32px;
    background: #27ae60;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cart-banner-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 2px;
    flex-shrink: 0;
}

.cart-banner-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.cart-banner-text strong {
    font-size: 0.95rem;
    color: #ffffff;
}

.cart-banner-text span {
    font-size: 0.82rem;
    color: #b0d4e3;
}

.cart-banner-view-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 25px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

/* Button Added Feedback state */
.btn.added-success {
    background: #27ae60 !important;
    color: #ffffff !important;
    border-color: #27ae60 !important;
    transform: scale(1.03);
}

/* ========== AUTHENTICATION PAGE (LOGIN / REGISTER) ========== */
.auth-section {
    padding: 5rem 0 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card-wrapper {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.auth-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.2rem;
    box-shadow: 0 20px 45px rgba(0, 41, 58, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    background: rgba(3, 170, 208, 0.08);
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.auth-tab-btn {
    flex: 1;
    padding: 0.7rem 0;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(3, 170, 208, 0.3);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 1.2rem;
}

.auth-form.active {
    display: flex;
    animation: fadeIn 0.35s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 0.8rem;
}

.auth-header h2 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    font-weight: 800;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.3rem;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.remember-me input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.forgot-pass-link {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.forgot-pass-link:hover {
    text-decoration: underline;
}

.social-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0 0.5rem;
}

.social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.social-divider span {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.8rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    z-index: 2;
}

.social-login-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.social-btn:hover {
    background: #f7fcfe;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* User Profile Badge in Header */
.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(3, 170, 208, 0.12);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(3, 170, 208, 0.3);
}

.user-avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.user-logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 0.4rem;
    transition: var(--transition);
}

.user-logout-btn:hover {
    color: #e74c3c;
}


/* Button Added Feedback state */
.btn.added-success {
    background: #27ae60 !important;
    color: #ffffff !important;
    border-color: #27ae60 !important;
    transform: scale(1.03);
}
