@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================================
   1. GLOBAL VARIABLES & BASE RESET
   ========================================= */
:root {
    --primary: #4169E1;
    --primary-hover: #2747b0;
    --dark: #111827;
    --light: #f9fafb;
    --text: #1f2937;
    --border: #e5e7eb;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    background: #f8fafc;
    color: var(--text);
    animation: pageFade 0.8s ease;
}

/* Fluid Typography */
h1 {
    font-size: clamp(28px, 5vw, 50px);
    line-height: 1.2;
    color: #222;
}

h2 {
    font-size: clamp(22px, 4vw, 46px);
    line-height: 1.2;
    color: #222;
}

h4 {
    font-size: clamp(16px, 2vw, 20px);
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: clamp(13px, 1.5vw, 16px);
    color: #222;
    margin: 10px 0 15px 0;
}

/* Layout Utilities */
.section-p1 {
    padding: clamp(20px, 5vw, 60px) clamp(15px, 5vw, 80px);
}

.section-m1 {
    margin: 40px 0;
}

button {
    transition: 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
}

input,
select {
    transition: 0.3s ease;
}

input:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.12);
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px clamp(15px, 5vw, 80px);
    background: rgba(227, 230, 252, 0.85);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    min-height: 75px;
    backdrop-filter: blur(20px);
}

#header a {
    display: inline-block;
    flex: 0 0 auto;
}

.logo {
    width: clamp(75px, 10vw, 100px);
    height: auto;
    display: block;
    object-fit: contain;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#navbar li {
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

#navbar li a:hover,
#navbar li a.active {
    color: var(--primary);
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    bottom: -4px;
    left: 20px;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

#lg-bag {
    position: relative;
}

#mobile {
    display: none;
    align-items: center;
}

#mobile i {
    color: #1a1a1a;
    font-size: 24px;
    padding-left: 20px;
    cursor: pointer;
}

#close {
    display: none;
}

/* =========================================
   HERO SECTION STYLING
   ========================================= */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)), url("../../img/banner/banner.jpeg");

    background-size: cover;
    background-position: center;
}

/* Sub-heading (Exclusive Collection) */
#hero h4 {
    color: #d4af37;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    animation: fadeInDown 0.8s ease forwards;
}

/* Secondary Heading (Premium fashion deals) */
#hero h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Main Heading (Elevate your style with ApexChoice) */
#hero h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Paragraph Text */
#hero p {
    color: #e0e0e0;
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 550px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Shop Now Button Styling */
#hero .shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    background: linear-gradient(135deg, #c5a059 0%, #d4af37 100%);
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

/* Button Hover Effect */
#hero .shop-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f3e5ab 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5);
    color: #000000;
}

#hero .shop-btn i {
    transition: transform 0.3s ease;
}

#hero .shop-btn:hover i {
    transform: translateX(6px);
}

/* Smooth Fade Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Section */
#feature {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

#feature .fe-box {
    width: 180px;
    text-align: center;
    padding: 25px 15px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #cce7d0;
    border-radius: 8px;
    transition: 0.4s ease;
    background: #fff;
}

#feature .fe-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 10px 10px 54px rgba(70, 62, 221, 0.1);
}

#feature .fe-box img {
    width: 100%;
    margin-bottom: 10px;
}

#feature .fe-box h6 {
    display: inline-block;
    padding: 9px 8px 6px 8px;
    line-height: 1;
    border-radius: 4px;
    color: var(--primary);
    background-color: #fddde4;
}

#feature .fe-box:nth-child(2) h6 {
    background-color: #cdebbc;
}

#feature .fe-box:nth-child(3) h6 {
    background-color: #d1e8f2;
}

#feature .fe-box:nth-child(4) h6 {
    background-color: #cdd4f8;
}

#feature .fe-box:nth-child(5) h6 {
    background-color: #f6dbf6;
}

#feature .fe-box:nth-child(6) h6 {
    background-color: #fff2e5;
}

/* =========================================
   4. PRODUCTS & CARDS
   ========================================= */
#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.pro {
    flex: 1 1 250px;
    max-width: 300px;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.pro:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.pro img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.6s ease;
}

.pro:hover img {
    transform: scale(1.08);
}

.pro .des {
    text-align: start;
    padding: 10px 0;
}

.pro .des span {
    color: #606063;
    font-size: 12px;
}

.pro .des h5 {
    padding-top: 7px;
    color: #1a1a1a;
    font-size: 14px;
}

.pro .des i {
    font-size: 12px;
    color: rgb(243, 181, 25);
}

.pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #e8f6ea;
    font-weight: 500;
    color: var(--primary);
    border: 1px solid #cce7d0;
    position: absolute;
    bottom: 20px;
    right: 15px;
}

/* Overlay Buttons */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.pro:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.product-overlay a {
    padding: 12px 18px;
    background: white;
    color: #111;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.product-overlay a:hover {
    background: #088178;
    color: white;
}


/* =========================================
   4. PRODUCTS & CARDS (UPDATED FOR HD IMAGES)
   ========================================= */

.pro img {
    width: 100%;
    height: 250px;
    /* Image ko bina stretch ya distortion ke clear dikhane ke liye contain use karein */
    object-fit: contain;
    border-radius: 15px;
    transition: 0.4s ease-in-out;

    /* Hardware acceleration aur sharp rendering ke liye */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.pro:hover img {
    /* Subtle zoom rakha hai taake image blur na ho */
    transform: scale(1.04);
}

/* =========================================
   5. BANNERS & NEWSLETTER
   ========================================= */
#banner {
    position: relative;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
    margin: 40px 0;
    height: 35vh;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url("/zyra/img/banner/b2.jpeg");
    background-size: cover;
    background-position: center;
}

#banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

#banner h4,
#banner h2,
#banner button {
    position: relative;
    z-index: 2;
}

#banner h4 {
    color: #ffd700;
    font-size: 16px;
    letter-spacing: 2px;
}

#banner h2 {
    color: #fff;
    font-weight: 700;
    margin: 10px 0;
}

#banner h2 span {
    color: #ff4d4d;
}

#banner button {
    padding: 12px 28px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
}

#banner button:hover {
    background: var(--primary);
    color: #fff;
}

/* Small Banners */
#sm-banner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

#sm-banner .banner-box,
#sm-banner .banner-box2 {
    flex: 1 1 48%;
    min-width: 300px;
    height: 40vh;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 12px;
    transition: 0.8s ease;
}

#sm-banner .banner-box {
    background-image: url("/zyra/img/banner/b2.jpeg");
}

#sm-banner .banner-box2 {
    background-image: url("/zyra/img/banner/b3.jpeg");
}

#sm-banner .banner-box:hover,
#sm-banner .banner-box2:hover {
    transform: translateY(-8px);
}

#sm-banner h4 {
    color: #fff;
    font-size: 20px;
}

#sm-banner h2 {
    color: #fff;
    font-weight: 800;
}

#sm-banner span {
    color: #fff;
    font-size: 14px;
    padding-bottom: 15px;
}

#sm-banner .banner-box button {
    padding: 10px 20px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

#sm-banner .banner-box:hover button {
    background: var(--primary);
    border-color: var(--primary);
}

/* Grid Banners */
#banner3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

#banner3 .banner-box {
    flex: 1 1 30%;
    min-width: 250px;
    height: 30vh;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 12px;
}

#banner3 .banner-box {
    background-image: url("/zyra/img/banner/b4.jpeg");
}

#banner3 .banner-box2 {
    background-image: url("/zyra/img/banner/b6.jpeg");
}

#banner3 .banner-box3 {
    background-image: url("/zyra/img/banner/b5.jpeg");
}

#banner3 h2 {
    color: #fff;
    font-weight: 900;
    font-size: 22px;
}

#banner3 h3 {
    color: #ec544e;
    font-weight: 800;
    font-size: 15px;
}

/* Newsletter */
#newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color: #041e42;
    padding: 40px clamp(20px, 5vw, 80px);
    margin: 40px 0 0 0;
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -150px;
    right: -100px;
    pointer-events: none;
}

#newsletter h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

#newsletter p {
    font-size: 14px;
    color: #818ea0;
}

#newsletter span {
    color: #ffbd27;
}

#newsletter .form {
    display: flex;
    flex: 1 1 400px;
    max-width: 500px;
}

#newsletter input {
    height: 45px;
    padding: 0 15px;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px 0 0 4px;
}

#newsletter button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
}

/* Animated Shop Button */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8, #2563eb);
    background-size: 300% 300%;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: gradientFlow 4s ease infinite;
}

.shop-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.5);
}

.shop-btn:active {
    transform: scale(0.98);
}

.shop-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
}

.shop-btn:hover::before {
    animation: shine 0.9s ease;
}

/* =========================================
   6. SHOP, SINGLE PRODUCT & CART
   ========================================= */
#page-header {
    background-image: url("/zyra/img/banner/b1.png");
    width: 100%;
    height: 30vh;
    min-height: 180px;
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    padding: 14px;
}

#page-header h2,
#page-header p {
    color: #fff;
}

#prodetails {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 40px;
}

#prodetails .single-pro-image {
    flex: 1 1 400px;
}

.small-img-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.small-img-col {
    flex: 1;
    cursor: pointer;
}

.small-img-col img {
    width: 100%;
    border-radius: 8px;
}

#prodetails .single-pro-details {
    flex: 1 1 400px;
    padding-top: 10px;
}

#prodetails .single-pro-details h4 {
    padding: 15px 0;
}

#prodetails .single-pro-details h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

#prodetails .single-pro-details select {
    display: block;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

#prodetails .single-pro-details input {
    width: 60px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

#prodetails .single-pro-details button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
}

/* Cart Table */
#cart {
    overflow-x: auto;
    margin-bottom: 30px;
}

#cart table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    min-width: 600px;
}

#cart table thead {
    background: var(--primary);
}

#cart table thead td {
    color: #fff;
    font-weight: 600;
    padding: 18px;
    text-transform: uppercase;
    font-size: 14px;
}

#cart table tbody td {
    text-align: center;
    padding: 15px 10px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
}

#cart table img {
    width: 70px;
    border-radius: 12px;
}

#cart-add {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}

#coupon,
#subtotal {
    flex: 1 1 300px;
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

#coupon h3,
#subtotal h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

#coupon input {
    width: 65%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

#coupon button,
#subtotal button {
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

#coupon button:hover,
#subtotal button:hover {
    background: var(--primary-hover);
}

#subtotal table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#subtotal table td {
    padding: 12px;
    border: 1px solid #eee;
    font-size: 14px;
}

#subtotal strong {
    color: var(--primary);
}

/* Quantity Controls */
.qty-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.qty-input {
    width: 50px !important;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    appearance: textfield;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hidden-update {
    display: none;
}

/* =========================================
   7. PROFESSIONAL CHECKOUT SECTION
   ========================================= */
.checkout-section {
    padding: 28px 16px;
    background: linear-gradient(135deg, #f8fbff, #eef3ff);
    min-height: 100vh;
}

.checkout-container {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.08fr 0.72fr;
    gap: 18px;
    align-items: start;
}

.checkout-left {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: 0.3s ease;
}

.checkout-left:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.checkout-left h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group {
    margin: 0;
    position: relative;
}

.input-group input,
.input-group select {
    width: 100%;
    height: 44px;
    border: 1px solid #dbe3f1;
    border-radius: 10px;
    background: #fff;
    padding: 0 13px;
    font-size: 13px;
    color: #111827;
    outline: none;
    transition: 0.25s ease;
}

.input-group input::placeholder {
    color: #94a3b8;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.10);
}

.place-order-btn {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4169E1, #5c7cff);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    transition: 0.3s ease;
    box-shadow: 0 8px 16px rgba(65, 105, 225, 0.16);
}

.place-order-btn:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 12px 24px rgba(65, 105, 225, 0.22);
}

.checkout-right {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 88px;
    transition: 0.3s ease;
}

.checkout-right:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.checkout-right h2 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0f172a;
    letter-spacing: -0.4px;
}

.summary-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
}

.summary-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-product-img,
.summary-info img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #edf2f7;
}

.summary-info h4 {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 2px;
    color: #111827;
}

.summary-info p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.summary-price {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.summary-total {
    margin-top: 16px;
}

.summary-total div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #4b5563;
}

.grand-total {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #dbe3f1;
    font-size: 22px !important;
    font-weight: 700;
    color: #4169E1;
}

/* =========================================
   8. MODERN AUTH / LOGIN / REGISTER UI
   ========================================= */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a, #1e293b, #111827);
    padding: 20px;
    overflow: hidden;
}

.auth-box {
    width: 100%;
    max-width: 850px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    animation: fadeIn .8s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.auth-left {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
}

.brand-logo {
    width: 130px;
    margin-bottom: 30px;
    animation: float 3s infinite ease-in-out;
}

.auth-left h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.auth-left p {
    opacity: .8;
    line-height: 1.7;
}

.auth-right {
    padding: 50px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right .input-group {
    margin-bottom: 18px;
}

.auth-right .input-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.auth-right .input-group input {
    height: 52px;
    padding: 0 50px;
    border-radius: 14px;
    border: 1px solid #ddd;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.auth-btn {
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    background: #000;
}

.auth-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-bottom a {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.success-msg,
.success {
    background: #dcfce7;
    color: #166534;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    animation: fadeIn .4s ease;
}

.error-msg,
.error {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
    animation: fadeIn .4s ease;
}

.input-group.active input {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, .08);
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    background: #f5f5f5;
    padding: 60px clamp(20px, 5vw, 80px);
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer .logo {
    width: 90px;
    height: auto;
    margin-bottom: 12px;
}

footer h4 {
    font-size: 16px;
    padding-bottom: 15px;
}

footer p,
footer a {
    font-size: 13px;
    color: #222;
    margin-bottom: 8px;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary);
}

footer .follow i {
    color: #465b52;
    padding-right: 10px;
    cursor: pointer;
}

footer .follow i:hover {
    color: var(--primary);
}

footer .install .row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

footer .install .row img {
    width: 130px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    padding: 4px;
    border: 1px solid var(--border);
}

footer .payment img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

footer .copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}

/* =========================================
   10. KEYFRAMES & ANIMATIONS
   ========================================= */
@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    from {
        background-size: 100%;
    }

    to {
        background-size: 108%;
    }
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shine {
    0% {
        left: -120%;
    }

    100% {
        left: 220%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.fa-bag-shopping,
.fa-shopping-bag {
    animation: pulse 2s infinite;
}

/* =========================================
   11. MEDIA QUERIES (FULL RESPONSIVENESS)
   ========================================= */

/* Desktop Fixes (800px and Above) */
@media (min-width: 800px) {

    #mobile,
    #close {
        display: none !important;
    }

    #navbar {
        position: static !important;
        height: auto !important;
        width: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
}

/* Laptops & Tablets (Under 992px) */
@media (max-width: 992px) {

    #sm-banner .banner-box,
    #sm-banner .banner-box2 {
        flex: 1 1 100%;
        height: 250px;
    }

    #banner3 .banner-box {
        flex: 1 1 45%;
    }

    .checkout-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .checkout-right {
        position: relative;
        top: 0;
    }
}

/* Tablets & Mobile (Under 768px) */
@media (max-width: 768px) {
    #navbar {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 280px;
        background-color: #E3E6FC;
        box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
        padding: 80px 0 0 20px;
        transition: 0.3s ease;
        z-index: 1000;
    }

    #navbar.active {
        right: 0;
    }

    #navbar li {
        margin-bottom: 25px;
    }

    #mobile {
        display: flex;
    }

    #close {
        display: block;
        position: absolute;
        top: 30px;
        left: 30px;
        color: #222;
        font-size: 24px;
        cursor: pointer;
    }

    #lg-bag {
        display: none;
    }

    #hero {
        height: 60vh;
        background-position: 65%;
    }

    #feature .fe-box {
        width: 45%;
    }

    .pro {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #banner3 .banner-box {
        flex: 1 1 100%;
    }

    #newsletter .form {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #newsletter input,
    #newsletter button {
        width: 100%;
        border-radius: 6px;
    }

    /* Checkout Mobile */
    .checkout-section {
        padding: 18px 12px;
    }

    .checkout-left,
    .checkout-right {
        padding: 16px;
        border-radius: 14px;
    }

    .checkout-left h2,
    .checkout-right h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkout-form {
        gap: 10px;
    }

    .place-order-btn {
        height: 44px;
        font-size: 14px;
    }

    /* Auth Mobile */
    .auth-box {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 35px 20px;
    }
}

/* Small Mobile Devices (Under 480px) */
@media (max-width: 480px) {
    #feature .fe-box {
        width: 100%;
    }

    #hero button {
        width: 160px;
        height: 90px;
        line-height: 90px;
    }

    #prodetails .single-pro-details input {
        width: 100%;
        margin-bottom: 10px;
    }

    #prodetails .single-pro-details button {
        width: 100%;
    }

    /* Cart Responsive UI */
    #cart table thead {
        display: none;
    }

    #cart table,
    #cart tbody,
    #cart tr,
    #cart td {
        display: block;
        width: 100%;
    }

    #cart tr {
        margin-bottom: 15px;
        background: #fff;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    }

    #cart td {
        text-align: right;
        padding: 8px 0;
        border: none;
        position: relative;
    }

    #cart td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #555;
    }

    #cart table img {
        width: 80px;
    }

    /* Checkout Small Mobile */
    .checkout-section {
        padding: 14px 10px;
    }

    .checkout-left,
    .checkout-right {
        padding: 14px;
    }

    .checkout-left h2,
    .checkout-right h2 {
        font-size: 18px;
    }

    .input-group input,
    .input-group select {
        height: 40px;
        border-radius: 9px;
        font-size: 12px;
    }

    .place-order-btn {
        height: 42px;
        font-size: 13px;
    }

    .summary-product-img,
    .summary-info img {
        width: 48px;
        height: 48px;
    }

    .summary-info h4 {
        font-size: 13px;
    }

    .summary-price {
        font-size: 14px;
    }

    .grand-total {
        font-size: 18px !important;
    }
}

/* Image Container Zoom Wrapper */
.main-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    background-color: #f1f5f9;
    cursor: zoom-in;
}

/* Base Main Image Style */
.main-img-wrap img#MainImg {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

/* Hover Zoom Effect */
.main-img-wrap:hover img#MainImg {
    transform: scale(1.3);
}

/* Banner Card Styling */
.banner-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    min-height: 250px;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Background Overlay for High Contrast Text Readability */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.banner-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.banner-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.banner-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f87171;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.banner-content span {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Responsive Font Sizes */
@media (max-width: 768px) {
    .banner-box {
        min-height: 200px;
        padding: 20px;
    }

    .banner-content h2 {
        font-size: 1.3rem;
    }

    .banner-content h3 {
        font-size: 1rem;
    }
}

/* =========================================
   LOGIN WITH BACKGROUND IMAGE (INDEX THEME MATCH)
   ========================================= */

.auth-body {
    background-color: #f8fafc;
    min-height: 100vh;
    margin: 0;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
}

/* LEFT SIDE WITH BACKGROUND IMAGE */
.auth-left {
    flex: 1;
    position: relative;
    background-image: url('/ApexChoice/img/banner/clearcut-derby-pfot_JVH274-unsplash.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 1;
}

.brand-wrapper {
    position: relative;
    z-index: 2;
}

.brand-logo {
    max-width: 140px;
    margin-bottom: 20px;
}

.auth-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.auth-left p {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* RIGHT FORM AREA */
.auth-right {
    flex: 1.1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    margin-bottom: 25px;
}

.form-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.form-header p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

/* INPUT BOXES */
.input-box {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.input-box .field-icon {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s ease;
}

.input-box input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
}

.input-box input:focus {
    background-color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.12);
}

.input-box input:focus~.field-icon {
    color: var(--primary);
}

/* EYE PASSWORD BUTTON */
.password-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 6px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary);
}

/* PRIMARY BUTTON */
.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.auth-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.3);
}

.auth-bottom {
    margin-top: 25px;
    text-align: center;
}

.auth-bottom p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.auth-bottom a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.auth-bottom a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .auth-card {
        flex-direction: column;
    }

    .auth-left {
        min-height: 200px;
        padding: 35px 20px;
    }

    .auth-right {
        padding: 35px 20px;
    }
}

/* ==========================================
   BANNER SECTIONS STYLING
   ========================================== */

/* Common Banner Card Base */
.banner-box {
    position: relative;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.banner-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.15);
}

/* Gradient Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(17, 24, 39, 0.4) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.banner-box:hover .banner-overlay {
    opacity: 0.85;
}

/* Content Styling */
.banner-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

/* Large Banners (Line 1) Text */
#sm-banner .banner-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#sm-banner .banner-content h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#sm-banner .banner-content span {
    color: var(--light);
    font-size: 0.95rem;
    display: block;
    opacity: 0.9;
}

/* Small Banners (Line 2) Text */
#banner3 .banner-sm {
    min-height: 220px;
}

#banner3 .banner-content h2 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

#banner3 .banner-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* Custom Buttons */
.btn-banner-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-banner-outline:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-banner-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-banner-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
}

#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)), url("../../img/banner/banner.jpeg");

    background-size: cover;
    background-position: center;
}