﻿body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

/* ================= NAVBAR ================= */

.store-navbar {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.store-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ff4081;
    text-decoration: none;
}

    .store-logo:hover {
        color: #ff4081;
    }

.store-nav-link {
    color: #333;
    font-weight: 500;
    margin-right: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
}

    .store-nav-link:hover {
        color: #ff4081;
    }

/* ================= HERO ================= */

.hero-section {
    background: linear-gradient(to right,#ffe4ec,#fff);
    padding: 80px 0;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.hero-image {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    margin: auto;
}

.hero-video {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: auto;
}

@media(max-width:768px) {

    .hero-section {
        text-align: center;
        padding: 50px 0;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-image {
        max-width: 380px;
        margin-top: 30px;
    }
    .shop-hero {
        text-align: center;
        padding: 50px 0;
    }

    .shop-hero-title {
        font-size: 36px;
    }

    .product-image-wrapper {
        aspect-ratio: 4/5;
    }

    .cart-summary h4 {
        font-size: 22px;
        text-align: center;
    }

    .cart-mobile-card h6 {
        font-size: 16px;
    }

    .product-main-image-wrapper {
        aspect-ratio: 4/5;
    }
}

/* ================= CATEGORY CARD ================= */

.category-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1 / 1;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    transition: transform .3s ease;
}

    .category-card:hover {
        transform: translateY(-4px);
    }

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}

.category-card:hover .category-image {
    transform: scale(1.04);
}

.category-card .overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 14px;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.15), transparent);
}

/* ================= PRODUCT CARD ================= */

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

/* ================= HOME PRODUCT IMAGE ================= */

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.03);
}

/* TITLE */
.home-product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}
/* ================= RELATED PRODUCTS ================= */

.related-product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    transition: transform .3s ease;
    height: 100%;
}

    .related-product-card:hover {
        transform: translateY(-6px);
    }

.related-product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #fff;
    display: block;
    padding: 10px;
    transition: transform .35s ease;
}

.related-product-card:hover .related-product-image {
    transform: scale(1.03);
}

.related-product-card .card-body {
    padding: 18px;
}

.related-product-card h6 {
    font-size: 16px;
    font-weight: 600;
    min-height: 48px;
}

.related-product-card .text-pink {
    font-size: 18px;
    font-weight: 700;
    color: #ff4081;
}

/* ================= DESKTOP CART IMAGE ================= */

.cart-product-image {
    width: 90px;
    height: 112px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #fff;
    display: block;
}

.product-main-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity .3s ease;
    cursor: zoom-in;
}

.product-thumb {
    width: 80px;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
    padding: 4px;
}

    .product-thumb:hover {
        border-color: #b99c5a;
        transform: translateY(-2px);
    }

.active-thumb {
    border-color: #0a1c44;
}

    /* ACTIVE THUMB */
    .product-thumb.active {
        border: 2px solid #ff4081;
    }


.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

    .image-modal img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 10px;
    }

/* PRICE */
.price-section {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.old-price {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
    margin-left: 8px;
}

.new-price {
    font-weight: bold;
    color: #ff4081;
}

.quantity-input {
    max-width: 120px;
}

/* BUTTON */
.btn-view {
    display: block;
    text-align: center;
    padding: 6px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: 0.2s;
}

    .btn-view:hover {
        background: #ff4081;
    }

/* BADGE */
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4081;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 5px;
}

/* OUT OF STOCK */
.out-of-stock {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.color-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    transition: 0.2s;
}

    .color-btn:hover {
        border-color: #ff4081;
        color: #ff4081;
    }

    /* SELECTED STATE */
    .color-btn.active {
        background: #ff4081;
        color: #fff;
        border-color: #ff4081;
    }

    .color-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        text-decoration: line-through;
    }

/* ================= FOOTER ================= */

.store-footer {
    background-color: #222;
    color: #fff;
    padding: 50px 0;
}

    .store-footer a {
        color: #ccc;
        text-decoration: none;
    }

        .store-footer a:hover {
            color: #fff;
        }

/* ================= UTILITIES ================= */
.sale-section {
    padding: 80px 0;
}

.sale-box {
    background: linear-gradient(135deg,#ff4081,#ff6fa5);
    color: white;
    text-align: center;
    padding: 70px 30px;
    border-radius: 20px;
}

.newsletter-section {
    padding: 80px 0;
    background: #fff;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .newsletter-form input {
        width: 350px;
        max-width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .newsletter-form button {
        background: #ff4081;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
    }

.new-arrival-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}

    .new-arrival-card:hover {
        transform: translateY(-5px);
    }

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
    z-index: 2;
}

/* ================= ORDER DETAILS IMAGE ================= */

.order-product-image {
    width: 90px;
    height: 112px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    background: #fff;
    display: block;
}

/* MOBILE CART */

.cart-mobile-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.cart-mobile-image {
    width: 90px;
    height: 112px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    background: #fff;
    display: block;
    flex-shrink: 0;
}

.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.text-pink {
    color: #ff4081;
}

.checkout-summary {
    position: sticky;
    top: 100px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #666;
}

    .breadcrumb-item a:hover {
        color: #000;
    }

.breadcrumb-item.active {
    color: #111;
    font-weight: 600;
}
.custom-breadcrumb {
    --bs-breadcrumb-divider: '>';
}

    .custom-breadcrumb .breadcrumb-item a {
        color: #6c757d;
        text-decoration: none;
    }

        .custom-breadcrumb .breadcrumb-item a:hover {
            color: #0a1c44;
            text-decoration: underline;
        }

    .custom-breadcrumb .breadcrumb-item.active {
        color: #b99c5a;
        font-weight: 600;
    }

.shop-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.product-card-store {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    height: 100%;
}

    .product-card-store:hover {
        transform: translateY(-8px);
    }

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #fff;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
}

.product-card-store:hover .product-image {
    transform: scale(1.03);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #ff4081;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
}

.product-content {
    padding: 20px;
}

.product-category {
    color: #888;
    font-size: 13px;
    margin-bottom: 6px;
}

.shop-product-title {
    font-size: 17px;
    font-weight: 600;
    min-height: 44px;
}

.product-price {
    margin-top: 10px;
}

.sale-price {
    color: #ff4081;
    font-weight: 700;
    font-size: 20px;
}