html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
    overflow-x: hidden;
}

/* NAVBAR */

.navbar {
    background: rgba(2,6,23,.92) !important;
    padding: 22px 0;
    backdrop-filter: blur(12px);
    transition: .3s;
}

.navbar-brand {
    color: white !important;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-link {
    color: white !important;
    margin-left: 18px;
    transition: .3s;
    font-weight: 500;
    position: relative;
}

    .nav-link:hover {
        color: #a855f7 !important;
    }

    .nav-link::after {
        content: '';
        width: 0;
        height: 2px;
        background: #a855f7;
        position: absolute;
        left: 0;
        bottom: -6px;
        transition: .3s;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* HERO */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(to right, rgba(2,6,23,.88), rgba(2,6,23,.45)), url('/images/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 100px;
    color: white;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 850;
    line-height: 1.15;
    width: 55%;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 20px;
    width: 45%;
    line-height: 1.9;
    color: #e2e8f0;
    margin-bottom: 35px;
}

.hero-btn {
    background: linear-gradient(to right,#7c3aed,#9333ea);
    color: white;
    padding: 14px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    display: inline-block;
}

    .hero-btn:hover {
        transform: translateY(-4px);
        color: white;
        text-decoration: none;
        box-shadow: 0 12px 25px rgba(124,58,237,.35);
    }

/* SECTION */

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 55px;
    color: #0f172a;
}

/* CATEGORY */

.category-card {
    background: white;
    border-radius: 24px;
    padding: 45px 20px;
    text-align: center;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

    .category-card:hover {
        transform: translateY(-10px);
        background: #0f172a;
        color: white;
    }

        .category-card:hover i {
            color: #a855f7;
        }

    .category-card i {
        font-size: 55px;
        color: #7c3aed;
        margin-bottom: 20px;
    }

/* PRODUCT */

.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

    .product-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(124,58,237,.18);
    }

.product-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: .4s;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-body {
    padding: 24px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.price {
    color: #7c3aed;
    font-size: 22px;
    font-weight: 800;
}

.old-price {
    color: gray;
    text-decoration: line-through;
    margin-left: 10px;
}

.cart-btn {
    width: 100%;
    border: none;
    background: #0f172a;
    color: white;
    padding: 13px;
    border-radius: 12px;
    transition: .3s;
}

    .cart-btn:hover {
        background: #7c3aed;
        transform: translateY(-3px);
        color: white;
    }

/* SALE */

.sale-banner {
    height: 450px;
    border-radius: 30px;
    background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), url('/images/sale1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.sale-content {
    padding-left: 70px;
}

    .sale-content h2 {
        font-size: 52px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .sale-content p {
        font-size: 18px;
        margin-bottom: 30px;
        width: 70%;
    }

/* FOOTER */

.footer {
    background: #020617;
    color: white;
    padding: 80px 0 20px;
    margin-top: 100px;
}

    .footer a {
        display: block;
        color: #cbd5e1;
        margin-bottom: 10px;
        text-decoration: none;
    }

        .footer a:hover {
            color: #a855f7;
        }

/* SHOP PAGE */

.shop-page {
    padding-top: 140px;
    padding-bottom: 90px;
    background: #f8fafc;
}

.shop-header {
    text-align: center;
    margin-bottom: 55px;
}

    .shop-header h1 {
        font-size: 48px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 18px;
    }

    .shop-header p {
        width: 55%;
        margin: auto;
        color: #64748b;
        line-height: 1.9;
        font-size: 18px;
    }

/* PRODUCT CARD */

.shop-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

    .shop-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 30px rgba(124,58,237,.12);
    }

    .shop-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: .4s;
    }

    .shop-card:hover img {
        transform: scale(1.05);
    }

.shop-card-body {
    padding: 18px;
}

    .shop-card-body h4 {
        font-size: 17px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 12px;
    }

.product-link {
    text-decoration: none;
    color: #0f172a;
}

    .product-link:hover {
        color: #7c3aed;
    }

.product-price {
    color: #7c3aed;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

    .product-price span {
        color: gray;
        font-size: 14px;
        margin-left: 8px;
        text-decoration: line-through;
    }

.shop-btn {
    width: 100%;
    border: none;
    background: #0f172a;
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .shop-btn:hover {
        background: #7c3aed;
        color: white !important;
        text-decoration: none;
    }

/* PRODUCT DETAILS PAGE */

.product-details-page {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #f8fafc;
}

.details-image {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    padding: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}

    .details-image img {
        width: 100%;
        height: 620px;
        object-fit: cover;
        border-radius: 18px;
    }

.details-content {
    padding-left: 20px;
}

.product-badge {
    background: #ede9fe;
    color: #7c3aed;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 22px;
}

.details-content h1 {
    font-size: 52px;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 18px;
}

.details-price {
    color: #7c3aed;
    font-size: 38px;
    font-weight: 850;
    margin-bottom: 25px;
}

    .details-price span {
        color: #94a3b8;
        font-size: 20px;
        text-decoration: line-through;
        margin-left: 12px;
    }

.details-description {
    color: #475569;
    line-height: 2;
    font-size: 17px;
    margin-bottom: 35px;
}

/* SIZE BUTTONS */

.size-section {
    margin-bottom: 35px;
}

    .size-section h5 {
        font-weight: 700;
        margin-bottom: 18px;
        color: #0f172a;
    }

.sizes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

    .sizes button {
        min-width: 55px;
        height: 55px;
        padding: 0 18px;
        border-radius: 14px;
        border: 1px solid #cbd5e1;
        background: white;
        font-weight: 700;
        transition: .3s;
        color: #0f172a;
    }

        .sizes button:hover {
            background: #7c3aed;
            color: white;
            border-color: #7c3aed;
            transform: translateY(-3px);
        }

/* QUANTITY */

.quantity-section {
    margin-bottom: 35px;
}

    .quantity-section h5 {
        font-weight: 700;
        margin-bottom: 18px;
        color: #0f172a;
    }

    .quantity-section input {
        width: 130px;
        height: 55px;
        border-radius: 14px;
        border: 1px solid #cbd5e1;
        padding-left: 18px;
        font-size: 18px;
        outline: none;
    }

/* ACTION BUTTONS */

.details-actions {
    display: flex;
    gap: 16px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* ADD TO CART */

.details-cart-btn {
    border: none;
    background: linear-gradient(to right,#7c3aed,#9333ea);
    color: white;
    padding: 16px 34px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(124,58,237,.25);
    text-decoration: none;
}

    .details-cart-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 35px rgba(124,58,237,.35);
        color: white !important;
        text-decoration: none;
    }

/* WISHLIST BUTTON */

.wishlist-btn {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    border: none;
    background: white;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
    transition: .3s;
    font-size: 22px;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

    .wishlist-btn:hover {
        background: #ef4444;
        color: white !important;
        transform: translateY(-4px);
    }
.details-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-form {
    display: flex;
    flex: 1;
}

/* FEATURES */

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
    margin-bottom: 30px;
}

    .features span {
        padding: 12px 20px;
        background: white;
        border: 1px solid #e2e8f0;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

/* CART PAGE */

.cart-page {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #f8fafc;
    min-height: 100vh;
}

.cart-header {
    margin-bottom: 45px;
}

    .cart-header h1 {
        font-size: 48px;
        font-weight: 850;
        color: #0f172a;
    }

    .cart-header p {
        color: #64748b;
        margin-top: 10px;
        font-size: 17px;
    }

.cart-item {
    background: white;
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
    transition: .3s;
}

    .cart-item:hover {
        transform: translateY(-4px);
    }

    .cart-item img {
        width: 130px;
        height: 130px;
        object-fit: cover;
        border-radius: 18px;
    }

.cart-info {
    flex: 1;
}

    .cart-info h3 {
        font-size: 24px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .cart-info h5 {
        color: #7c3aed;
        font-weight: 700;
    }

.cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #7c3aed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

    .qty-btn:hover {
        background: #6d28d9;
        color: white;
    }

.remove-btn {
    background: #ef4444;
    color: white !important;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .remove-btn:hover {
        background: #dc2626;
        color: white;
        transform: translateY(-3px);
    }

.empty-cart {
    background: white;
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

/* RESPONSIVE */

@media(max-width:768px) {

    .hero-section {
        text-align: center;
        padding: 140px 20px 80px;
    }

    .hero-content h1 {
        font-size: 42px;
        width: 100%;
    }

    .hero-content p {
        width: 100%;
        font-size: 17px;
    }

    .sale-content {
        padding: 30px;
    }

        .sale-content h2 {
            font-size: 36px;
        }

    .section-title {
        font-size: 32px;
    }

    .shop-header h1 {
        font-size: 34px;
    }

    .shop-header p {
        width: 100%;
    }

    .details-content {
        padding-left: 0;
    }

        .details-content h1 {
            font-size: 36px;
        }

    .details-image img {
        height: 400px;
    }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-actions {
        justify-content: center;
    }

    .remove-btn {
        width: 100%;
    }
}
/* CHECKOUT PAGE */

.checkout-page {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #f8fafc;
    min-height: 100vh;
}

.checkout-header {
    margin-bottom: 50px;
}

    .checkout-header h1 {
        font-size: 50px;
        font-weight: 850;
        color: #0f172a;
    }

    .checkout-header p {
        color: #64748b;
        margin-top: 10px;
        font-size: 17px;
    }

.checkout-box,
.checkout-summary {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
}

    .checkout-box h3,
    .checkout-summary h3 {
        font-weight: 800;
        margin-bottom: 30px;
        color: #0f172a;
    }

.checkout-input {
    width: 100%;
    height: 58px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0 18px;
    outline: none;
    transition: .3s;
    font-size: 15px;
}

    .checkout-input:focus {
        border-color: #7c3aed;
    }

.checkout-textarea {
    height: 130px;
    padding-top: 18px;
    resize: none;
}

.place-order-btn {
    border: none;
    background: linear-gradient(to right,#7c3aed,#9333ea);
    color: white;
    padding: 16px 35px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
    width: 100%;
}

    .place-order-btn:hover {
        transform: translateY(-3px);
    }

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

    .summary-item h5 {
        font-size: 17px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #0f172a;
    }

    .summary-item span {
        color: #64748b;
        font-size: 14px;
    }

    .summary-item h6 {
        color: #7c3aed;
        font-weight: 700;
    }

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

    .summary-total h4 {
        font-weight: 800;
        color: #0f172a;
    }

@media(max-width:768px) {

    .checkout-header h1 {
        font-size: 38px;
    }

    .checkout-box,
    .checkout-summary {
        padding: 25px;
    }
}

.wishlist-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

    .wishlist-actions .details-cart-btn,
    .wishlist-actions .remove-btn {
        min-width: 150px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 22px;
        border-radius: 12px;
        text-decoration: none;
    }

/* MOBILE */

@media(max-width:768px) {

    .wishlist-actions {
        width: 100%;
        flex-direction: column;
        margin-top: 20px;
    }

        .wishlist-actions .details-cart-btn,
        .wishlist-actions .remove-btn {
            width: 100%;
        }
}
/* CHECKOUT BUTTON ALIGN */

/* CHECKOUT BUTTON ALIGN */

.checkout-btn-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

    .checkout-btn-wrapper .details-cart-btn {
        min-width: 280px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 14px;
    }

/* MOBILE */

@media(max-width:768px) {

    .checkout-btn-wrapper {
        width: 100%;
        justify-content: center;
    }

        .checkout-btn-wrapper .details-cart-btn {
            width: 100%;
        }
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #0f172a;
    background: white;
    transition: .3s;
}

    .payment-option:hover {
        border-color: #7c3aed;
        transform: translateY(-2px);
    }
/* =========================
   LOGIN PAGE DESIGN
========================= */

.checkout-page {
    padding-top: 150px;
    padding-bottom: 100px;
    background: #f8fafc;
    min-height: 100vh;
}

.checkout-header {
    margin-bottom: 40px;
}

    .checkout-header h1 {
        font-size: 48px;
        font-weight: 850;
        color: #0f172a;
    }

    .checkout-header p {
        color: #64748b;
        font-size: 17px;
        margin-top: 8px;
    }

/* LOGIN BOX */
.checkout-box {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
    transition: .3s;
}

    .checkout-box:hover {
        transform: translateY(-3px);
    }

/* INPUTS */
.checkout-input {
    width: 100%;
    height: 55px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    transition: .3s;
    margin-bottom: 15px;
}

    .checkout-input:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 3px rgba(124,58,237,.15);
    }

/* REMEMBER ME */
.checkout-box label {
    font-size: 14px;
    color: #334155;
}

/* LOGIN BUTTON */
.place-order-btn {
    width: 100%;
    border: none;
    background: linear-gradient(to right,#7c3aed,#9333ea);
    color: white;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    transition: .3s;
    margin-top: 10px;
}

    .place-order-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(124,58,237,.25);
    }

/* LINKS */
.checkout-box a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

    .checkout-box a:hover {
        text-decoration: underline;
    }

/* MOBILE */
@media(max-width:768px) {

    .checkout-header h1 {
        font-size: 34px;
    }

    .checkout-box {
        padding: 25px;
    }
}
/* =========================
   PROFESSIONAL LOGIN PAGE
========================= */

.login-card {
    background: white;
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.login-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #64748b;
    margin-bottom: 30px;
}

.login-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}

.login-links a {
    display: block;
    margin-top: 12px;
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
}

    .login-links a:hover {
        text-decoration: underline;
    }

.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 20px;
}
/* ==========================
   PROFESSIONAL CHECKOUT UI
========================== */

.checkout-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

    .checkout-label span {
        color: #ef4444;
    }

.checkout-input {
    background: #fff;
    border: 1px solid #dbe2ea;
    transition: all .3s ease;
}

    .checkout-input:hover {
        border-color: #c4b5fd;
    }

    .checkout-input:focus {
        border-color: #7c3aed;
        box-shadow: 0 0 0 4px rgba(124,58,237,.12);
    }

.checkout-box {
    border: 1px solid #eef2f7;
}

.checkout-summary {
    position: sticky;
    top: 120px;
}

.payment-option {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
}

    .payment-option input {
        transform: scale(1.1);
    }

    .payment-option:hover {
        border-color: #7c3aed;
        background: #faf7ff;
    }

.text-danger {
    display: block;
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 13px;
}
.checkout-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}
.size-btn.active {
    background: #7c3aed !important;
    color: white !important;
    border-color: #7c3aed !important;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-product-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.summary-product-info {
    flex: 1;
}

    .summary-product-info h5 {
        margin-bottom: 6px;
        font-weight: 700;
    }

.summary-size {
    margin-top: 6px;
    margin-bottom: 0;
    color: #64748b;
}

.summary-item h6 {
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}


.details-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}
.details-content {
    display: flex;
    flex-direction: column;
}
   
    
/* wishlist same row force */
.wishlist-btn {
    flex-shrink: 0;
}