/* 
 * Premium E-commerce Theme — Dynamic Variables
 * :root values are overridden by inline <style> in header.php from admin settings
 */

:root {
    --primary: #121212;
    --secondary: #4D4D4D;
    --accent: #90ED90;
    --brand-yellow: #FFDD2E;
    --success: #00b894;
    --danger: #F00808;
    --background: #ffffff;
    --text-dark: #121212;
    --text-muted: #4D4D4D;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
}

/* ==================== Base ==================== */
body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
}




@media (max-width: 576px) {
    .fade-in img {
        object-fit: contain !important;
        height: auto !important;
        min-height: auto !important;
    }

    .fade-in .position-relative {
        min-height: auto !important;
    }
}
 

/* @media (max-width: 576px) {

    #heroCarousel .carousel-item img{
        width:100%;
        height:auto !important;
        object-fit:contain !important;
    }

    #heroCarousel .carousel-item{
        height:auto !important;
    }

    #heroCarousel .carousel-caption{
        height:100% !important;
    }

}*/


@media (max-width: 576px) {

    #heroCarousel .carousel-item {
        height: auto;
        overflow: hidden;
    }

    #heroCarousel .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: contain;   
        object-position: center;  
    }

}



/* Mobile View */
@media (max-width: 768px) {

    .main-image-container{
        height: 300px !important;   /* container size */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .main-image-container img{
        max-height: 280px;   /* 20px smaller than container */
        max-width: 100%;
        object-fit: contain;
    }

}
 






/* ==================== Animations ==================== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Top Bar Modern ==================== */
.top-bar-modern {
    background: #f8f9fa;
    color: var(--secondary);
    font-size: 0.75rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.top-bar-modern a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar-modern a:hover {
    color: var(--primary);
}

/* ==================== Header / Navbar ==================== */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
    z-index: 9999 !important;  /* Raised so dropdown sits above sticky sidebar */
    position: sticky !important;
    top: 0 !important;
    isolation: isolate;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-icon-link {
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
}

.header-icon-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.header-icon-link i {
    font-size: 1.1rem;
}

.search-container {
    max-width: 500px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.search-input {
    border-radius: 50px;
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 52, 54, 0.05);
    background: var(--white);
    outline: none;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.1);
    background: var(--white);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: #fff;
    background: #000 !important;
    transform: translateY(-50%) scale(1.05);
}

/* ==================== Detail Page Refinement ==================== */
.product-header h1 {
    font-size: 1.35rem !important;
    font-weight: 800;
    margin-bottom: 0.5rem !important;
}

.product-header span.text-primary {
    font-size: 0.75rem !important;
    letter-spacing: 1px;
}

.price-section #displayPrice {
    font-size: 1.6rem !important;
}

.price-section #originalPrice {
    font-size: 1.1rem !important;
}

.description-text {
    font-size: 0.85rem !important;
    line-height: 1.6;
}

.product-details-content h3 {
    font-size: 1.1rem !important;
}

.table th {
    font-size: 0.7rem !important;
}

.table td {
    font-size: 0.85rem !important;
}

.trending-nav-item {
    text-align: center;
}

/* Promo Banner (homepage) */
.promo-banner {
    background: linear-gradient(120deg, #FFF4B8 0%, var(--brand-yellow) 100%);
    border-radius: 20px;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner-text {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promo-banner-text h2 {
    color: var(--text-dark);
    font-size: 2.2rem;
}

.promo-banner-text p {
    color: rgba(18, 18, 18, 0.75);
    font-size: 1.05rem;
}

@media (max-width: 767.98px) {
    .promo-banner {
        padding: 40px 24px;
    }
    .promo-banner-text h2 {
        font-size: 1.6rem;
    }
}

.trending-nav-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px !important;
}

.fade-in>.d-flex {
    padding-left: 12px;
}

.age-card img {
    width: 70px !important;
    height: 70px !important;
}

/* ==================== Buttons ==================== */
.btn-premium {
    background: var(--brand-yellow);
    color: var(--text-dark);
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
}

.btn-premium:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* ==================== Age Navigation ==================== */
.age-nav-container {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.age-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.age-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.age-nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.age-nav-img-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.age-nav-link:hover .age-nav-img-wrapper {
    transform: scale(1.1);
}

.age-nav-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.age-nav-text {
    line-height: 1;
}

@media (max-width: 767.98px) {
    .age-nav-link {
        padding: 12px 10px;
        font-size: 0.75rem;
    }
}

/* ==================== Hero Carousel ==================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: auto;
    background: #f8f9fa;
}

@media (min-width: 992px) {
    .hero-carousel .carousel-item {
        height: 720px !important;
    }
    .hero-carousel .carousel-item img {
        height: 720px !important;
        object-fit: cover !important;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: auto;
    }
}

@media (max-width:768px){
.hero-carousel .carousel-item img {
    height: auto; 
    object-fit: contain;
}
}
.hero-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 60px;
    text-align: left;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-caption {
        padding: 0 24px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
        align-items: flex-end;
        padding-bottom: 40px;
    }
}

.hero-content {
    max-width: 560px;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

.hero-content .badge.bg-accent {
    background: var(--accent) !important;
    color: var(--text-dark);
    font-size: 0.7rem;
}

.hero-carousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
    background: var(--accent);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==================== Trending Category Nav ==================== */
.trending-nav-item {
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.trending-nav-item:hover {
    transform: translateY(-5px);
}

.trending-nav-icon {
    width: 250px;
    height: 250px;
    border-radius: 40px; /* Proportionally larger radius */
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px !important;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.trending-nav-item:hover .trending-nav-icon {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.trending-nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trending-nav-item:hover .trending-nav-icon img {
    transform: scale(1.1);
}

.trending-nav-item span {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--text-dark) !important;
    letter-spacing: 1px !important;
    display: block;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.trending-nav-item:hover span {
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .trending-nav-icon {
        width: 140px !important;
        height: 140px !important;
        border-radius: 24px !important;
    }
    .trending-nav-item span {
        font-size: 0.85rem !important;
    }
}

/* ==================== Product Cards ==================== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 12px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.08);
}

.product-image-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f5f5f7;
    margin-bottom: 14px;
    aspect-ratio: 1/1;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.out-of-stock-badge {
    background: #636e72 !important;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.out-of-stock-text {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info .product-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.2px;
    margin-bottom: 4px;
    display: block;
}

.product-name {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4rem;
    line-height: 1.2;
}

.product-name a {
    color: var(--text-dark);
}

.product-name a:hover {
    color: var(--primary);
}

.price-box {
    margin-top: auto;
    padding-top: 6px;
}

.current-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 6px;
}


/* ==================== PDP Swatches ==================== */
.swatch-item {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.swatch-item.active {
    box-shadow: 0 0 0 2px var(--primary);
    transform: scale(1.1);
}

.size-item {
    min-width: 40px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.size-item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ==================== Sticky Cart ==================== */
.sticky-cart-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: none;
}

@media (max-width: 991.98px) {
    .sticky-cart-mobile {
        display: block;
    }

    .product-gallery {
        height: auto !important;
    }
}

/* ==================== Product Detail Enhancements ==================== */
.product-header h1 {
    font-size: 2.2rem;
}

.product-header .text-primary {
    font-size: 0.8rem;
}

.price-section .display-4 {
    font-size: 2.5rem;
}

.description-text,
.product-details-content table td {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.thumbnail-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumb-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    background: #fff;
    padding: 5px;
}

.thumb-img:hover,
.thumb-img.active {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.thumbnail-container::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Product Carousel Controls */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

#productCarousel:hover .carousel-control-prev,
#productCarousel:hover .carousel-control-next {
    opacity: 1;
}

#productCarousel .carousel-item img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#productCarousel:hover .carousel-item.active img {
    transform: scale(1.05);
}

.thumb-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    object-fit: contain;
    background: #fff;
    padding: 8px;
    flex-shrink: 0;
}

.thumb-img.active {
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

#productCarousel .carousel-control-prev {
    left: 0;
}

#productCarousel .carousel-control-next {
    right: 0;
}

#productCarousel .carousel-control-prev:hover,
#productCarousel .carousel-control-next:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-50%) scale(1.1);
}

.carousel-fade .carousel-item {
    transition-duration: 0.8s;
}

@media (max-width: 991.98px) {
    #productCarousel {
        height: 450px !important;
    }
    
    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        opacity: 1;
        width: 36px;
        height: 36px;
        margin: 0 10px;
    }
}

.carousel-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.5px;
}

#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

#productCarousel .carousel-control-prev-icon::before {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

#productCarousel .carousel-control-next-icon::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

#productCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#productCarousel .carousel-control-next:hover .carousel-control-next-icon {
    color: white;
}


/* ==================== Footer ==================== */
.footer-main {
    background: #1a1a2e;
    color: #c5c6d0;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-main h5,
.footer-main h6 {
    color: var(--white);
}

.footer-heading {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    color: var(--white) !important;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a1b2;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.footer-icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.85rem;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    border-radius: 50px 0 0 50px;
    padding: 10px 18px;
    font-size: 0.88rem;
}

.footer-newsletter .form-control::placeholder {
    color: #8a8b9a;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: none;
}

.footer-newsletter .btn {
    border-radius: 0 50px 50px 0;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a1b2;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ==================== Section Headers ==================== */
.section-heading {
    position: relative;
    padding-bottom: 12px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.popular-search-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.search-pill {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a1b2 !important;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.search-pill:hover {
    background: var(--primary);
    color: white !important;
    border-color: var(--primary);
}

/* ==================== Utilities ==================== */
.letter-spacing-1 {
    letter-spacing: 1px;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

.text-light-muted {
    color: #e9ecef;
}

.object-fit-contain {
    object-fit: contain;
}

.object-fit-cover {
    object-fit: cover;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

/* ==================== Category Section Cards ==================== */
.category-section-card {
    transition: all 0.3s ease;
    border-radius: var(--radius-lg) !important;
}

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

.category-section-card .card-img-top-wrapper img {
    transition: transform 0.4s ease;
}

.category-section-card:hover .card-img-top-wrapper img {
    transform: scale(1.06);
}

/* ==================== Mobile Bottom Navigation ==================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    /* hidden by default, shown via media query */
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 env(safe-area-inset-bottom, 4px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
    z-index: 1060;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 767.98px) {
    .mobile-bottom-nav {
        display: flex;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 0 0 3px 3px;
}

.mobile-nav-item:hover {
    color: var(--primary);
}

/* ==================== Responsive Tweaks ==================== */
@media (max-width: 575.98px) {
    .product-card {
        padding: 10px;
    }

    .product-name {
        font-size: 0.82rem;
        height: 2.2rem;
    }

    .current-price {
        font-size: 1rem;
    }

    .btn-premium {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .hero-carousel .carousel-item {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content .lead {
        font-size: 0.85rem !important;
    }

    .hero-content .btn-premium {
        padding: 10px 24px;
        font-size: 0.75rem;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    .age-icon-wrapper img {
        width: 60px !important;
        height: 60px !important;
    }

    .trending-nav-icon {
        width: 60px;
        height: 60px;
    }

    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

.mb-5 {
    margin-bottom: 2rem !important;
}

@media (max-width: 767.98px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
    }

    /* Footer responsive */
    .footer-main {
        padding: 40px 0 80px;
        /* extra bottom for mobile nav */
    }

    /* Sticky cart adjustment for mobile bottom nav */
    .sticky-cart-mobile {
        bottom: 56px;
    }
}

/* ==================== Final Branding & Nav Refinements ==================== */
.header-logo {
    height: 80px;
    transition: transform 0.3s ease;
}

@media (max-width: 767.98px) {
    .header-logo {
        height: 60px;
    }
}

.footer-logo {
    height: 50px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* ==================== Cart Page Refinements ==================== */
.btn-remove-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-remove-cart:hover {
    background: #fff5f5;
    color: var(--danger);
    border-color: #feb2b2;
    transform: rotate(8deg) scale(1.1);
}

.cart-summary-card {
    border: none;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.cart-summary-card .card-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Homepage Editor Enhancements */
.bg-dark-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.bg-success-soft {
    background-color: #e6fcf5 !important;
    color: #0ca678 !important;
}

.bg-secondary-soft {
    background-color: #f8f9fa !important;
    color: #868e96 !important;
}

.cursor-move {
    cursor: move;
}

.fw-800 {
    font-weight: 800;
}

/* ==================== Pagination ==================== */
.pagination-premium {
    gap: 8px;
}

.pagination-premium .page-item {
    margin: 0;
}

.pagination-premium .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--white);
    transition: all 0.3s ease;
    padding: 0;
}

.pagination-premium .page-link:hover {
    background: #f8f9fa;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pagination-premium .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pagination-premium .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #ced4da;
    border-color: var(--border-color);
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .pagination-premium .page-link {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ==============================================================
   BOOKCIRCLE THEME OVERRIDES
   ============================================================== */

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 10px 40px 0 rgba(31, 38, 135, 0.1);
    --premium-shadow: 0 20px 40px rgba(0,0,0,0.08);
    --glow: 0 0 25px rgba(255, 221, 46, 0.6);
    --primary: #121212; /* Near-black text/brand */
    --secondary: #4D4D4D; /* Neutral gray */
    --accent: #90ED90; /* Discount-badge green */
    --brand-yellow: #FFDD2E; /* CTA button yellow */
    --text-dark: #121212;
    --radius-lg: 16px;
    --radius: 10px;
}

body {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--text-dark) !important;
    font-family: 'Outfit', 'Manrope', sans-serif !important;
}

/* Force headings to Outfit */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
}

/* Glassmorphism Header */
header.navbar {
    background: var(--brand-yellow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 2px solid rgba(18, 18, 18, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    padding: 20px 0 !important;
}

/* Navbar Links */
.nav-link {
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    font-size: 1.05rem !important;
    padding: 10px 15px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border-radius: 20px;
}
.nav-link:hover {
    color: var(--text-dark) !important;
    background: rgba(18, 18, 18, 0.08) !important;
    transform: translateY(-2px);
}

/* Hero Section Enhancements */
.hero-content h1 {
    font-size: 4rem !important;
    background: linear-gradient(135deg, #ffffff, #fdfbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2) !important;
    animation: slideUpBounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUpBounce {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Product Cards - Playful 3D */
.product-card {
    background: #ffffff !important;
    border: 3px solid transparent !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 20px !important;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1) !important;
    border-color: rgba(107, 114, 128, 0.3) !important; /* aqua tint */
}

/* Product Image Wrapper */
.product-image-wrapper {
    border-radius: var(--radius) !important;
    background: #f8f9fa !important;
    padding: 15px !important;
}

/* Product Titles */
.product-name a {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
}

.current-price {
    font-size: 1.4rem !important;
    color: var(--primary) !important;
    font-weight: 900 !important;
}

/* Premium Buttons */
.btn-premium {
    background: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 35px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 25px rgba(255, 221, 46, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(255, 221, 46, 0.45) !important;
    background: #000 !important;
    color: #fff !important;
}

/* Trending Categories Icons */
.trending-nav-icon {
    border-radius: 40px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    border: 5px solid #fff !important;
    background: #fff !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.trending-nav-item:hover .trending-nav-icon {
    border-color: var(--secondary) !important;
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 25px 45px rgba(107, 114, 128, 0.2) !important;
}

/* Badges */
.card-badge {
    background: var(--accent) !important;
    color: var(--text-dark) !important;
    font-size: 0.85rem !important;
    padding: 6px 15px !important;
    border-radius: 20px !important;
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.4) !important;
    top: 15px !important;
    left: 15px !important;
}

/* Search Bar Update */
.search-input {
    border-radius: 50px !important;
    background: #f4f6f9 !important;
    border: 2px solid transparent !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02) !important;
    padding: 12px 25px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.search-input:focus {
    background: #fff !important;
    box-shadow: 0 5px 20px rgba(107, 114, 128, 0.2) !important;
    border-color: var(--secondary) !important;
}

.search-btn {
    background: var(--primary) !important;
    width: 42px !important;
    height: 42px !important;
    right: 5px !important;
}

.search-btn:hover {
    background: #E8564F !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Cart Badge Pulse */
.cart-count-badge {
    background: var(--primary) !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    animation: bounce 2s infinite !important;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

/* ==============================================================
   DROPDOWN MENU REDESIGN
   ============================================================== */

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(107, 114, 128, 0.3) !important; /* Soft aqua border */
    border-radius: 20px !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08) !important;
    padding: 15px !important;
    min-width: 260px !important;
    animation: fadeInDropdown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item {
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #2B2118 !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-bottom: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.dropdown-item:last-child {
    margin-bottom: 0 !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: rgba(193, 39, 45, 0.08) !important; /* Soft playful red background */
    color: #C1272D !important;
    transform: translateX(10px) !important;
}

/* Submenu specific overrides */
.dropdown-submenu {
    position: relative !important;
}

.dropdown-submenu > .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    margin-top: -15px !important;
    margin-left: 10px !important;
    border-radius: 20px !important;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-item i.fa-chevron-right {
    font-size: 0.75rem !important;
    color: rgba(44, 62, 80, 0.4) !important;
    transition: all 0.3s ease !important;
}

.dropdown-item:hover i.fa-chevron-right {
    color: #C1272D !important;
    transform: translateX(3px) !important;
}

/* ==============================================================
   PRODUCT LISTING PAGE (PLP) REDESIGN
   ============================================================== */

/* Make the main container wider to reduce the massive left/right gaps */
@media (min-width: 1200px) {
    .container {
        max-width: 1500px !important;
    }
}

/* Sidebar "Refine By" Restyle */
.col-lg-3 .card {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 3px solid rgba(107, 114, 128, 0.3) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
    overflow: hidden;
}

.col-lg-3 .card-body {
    padding: 30px !important;
}

/* Sidebar Headings */
.col-lg-3 h5 {
    color: var(--primary) !important;
    font-size: 1.4rem !important;
    border-bottom: 2px dashed rgba(193, 39, 45, 0.3) !important;
    margin-bottom: 20px !important;
}

.form-label {
    color: var(--secondary) !important;
    font-size: 0.95rem !important;
    letter-spacing: 1px !important;
}

/* Sidebar Categories List */
.list-group-item {
    background: transparent !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border-radius: 10px !important;
    margin-bottom: 5px !important;
    padding: 8px 15px !important;
    border: none !important;
}

.list-group-item:hover {
    background: rgba(193, 39, 45, 0.1) !important;
    color: var(--primary) !important;
    transform: translateX(5px) !important;
}

.list-group-item.text-primary {
    background: linear-gradient(135deg, var(--primary), #E8564F) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(193, 39, 45, 0.3) !important;
}

/* Custom Checkboxes */
.form-check-input {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid var(--secondary) !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(193, 39, 45, 0.5) !important;
}

.form-check-label {
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding-left: 5px !important;
    transition: color 0.3s ease !important;
}

.form-check-input:checked + .form-check-label {
    color: var(--primary) !important;
}

/* Price Filter Inputs */
.price-filter {
    border-radius: 12px !important;
    padding: 10px 15px !important;
    font-weight: 600 !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important;
    background: #f4f6f9 !important;
    transition: all 0.3s ease !important;
}

.price-filter:focus {
    box-shadow: 0 0 15px rgba(107, 114, 128, 0.3) !important;
    background: white !important;
}

/* Sort Select */
#sortFilter {
    border-radius: 12px !important;
    padding: 12px 15px !important;
    font-weight: 600 !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important;
    cursor: pointer !important;
}

/* PLP Title and Item Count */
.col-lg-9 h1 {
    font-size: 2.5rem !important;
    color: var(--primary) !important;
    text-shadow: 1px 1px 10px rgba(255,107,107,0.1) !important;
}

.col-lg-9 .text-muted.small {
    background: var(--accent) !important;
    color: var(--text-dark) !important;
    padding: 5px 15px !important;
    border-radius: 20px !important;
    font-weight: bold !important;
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.4) !important;
}

/* Hide custom scrollbar in filter options to look cleaner */
.filter-options::-webkit-scrollbar {
    width: 6px;
}
.filter-options::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
}
.filter-options::-webkit-scrollbar-thumb {
    background: rgba(107, 114, 128, 0.5);
    border-radius: 10px;
}

/* ==============================================================
   ACCOUNT/LOGIN PAGE REDESIGN
   ============================================================== */

/* Login Card Container */
.container .row.justify-content-center .col-md-6.col-lg-5 .card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 3px solid rgba(107, 114, 128, 0.3) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
    overflow: hidden;
    padding: 10px !important;
}

/* Headings */
.container .row.justify-content-center .col-md-6.col-lg-5 .card h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    font-size: 2.2rem !important;
    text-shadow: 1px 1px 5px rgba(193, 39, 45, 0.1) !important;
}

/* Form Labels */
.container .row.justify-content-center .col-md-6.col-lg-5 .card .form-label {
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    letter-spacing: 0.5px !important;
}

/* Inputs */
.container .row.justify-content-center .col-md-6.col-lg-5 .card .form-control {
    border-radius: 15px !important;
    padding: 15px 20px !important;
    font-size: 1.05rem !important;
    background: #f4f6f9 !important;
    border: 2px solid transparent !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.03) !important;
    transition: all 0.3s ease !important;
}

.container .row.justify-content-center .col-md-6.col-lg-5 .card .form-control:focus {
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.2) !important;
    border-color: var(--secondary) !important;
}

/* Send OTP Button (Outline Secondary) */
.container .row.justify-content-center .col-md-6.col-lg-5 .card .btn-outline-secondary {
    border-radius: 0 15px 15px 0 !important;
    border: none !important;
    background:linear-gradient(135deg, var(--primary), #E8564F) !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 0 20px !important;
    transition: all 0.3s ease !important;
}

.container .row.justify-content-center .col-md-6.col-lg-5 .card .btn-outline-secondary:hover {
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.4) !important;
    transform: scale(1.02);
}

/* Login Button (Primary) */
.container .row.justify-content-center .col-md-6.col-lg-5 .card .btn-primary {
    background: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 35px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 25px rgba(255, 221, 46, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin-top: 10px !important;
}

.container .row.justify-content-center .col-md-6.col-lg-5 .card .btn-primary:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(193, 39, 45, 0.4) !important;
}

/* Links */
.container .row.justify-content-center .col-md-6.col-lg-5 .card a {
    color: var(--secondary) !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

.container .row.justify-content-center .col-md-6.col-lg-5 .card a:hover {
    color: var(--primary) !important;
}

/* Fix Input Group */
.container .row.justify-content-center .col-md-6.col-lg-5 .card .input-group .form-control {
    border-radius: 15px 0 0 15px !important;
}

/* ==============================================================
   DROPDOWN Z-INDEX FIX
   Prevents the categories dropdown from being overlapped by the
   sticky sidebar (.sticky-top) on the product listing page.
   ============================================================== */

/* Ensure the header is always on top of everything */
header.navbar,
.sticky-top.navbar,
nav.navbar {
    z-index: 9999 !important;
    position: sticky !important;
    top: 0 !important;
}

/* Ensure the dropdown itself is above the sidebar */
.navbar .dropdown-menu,
.navbar .dropdown-menu.show {
    z-index: 10000 !important;
    position: absolute !important;
}

/* Sidebar sticky card should sit below the navbar */
.col-lg-3 .card.sticky-top,
.col-lg-3 .sticky-top {
    z-index: 100 !important;  /* Much lower than navbar (9999) */
    top: 110px !important;    /* Push sidebar below the navbar height */
}

/* Make the main container non-sticky so it doesn't create a stacking context that traps the dropdown */
.container.py-5 {
    position: relative;
    z-index: 1;
}

/* ==============================================================
   HEADER REDESIGN — Playful Premium
   ============================================================== */

header.navbar {
    background: var(--brand-yellow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 2px solid transparent !important;
    background-clip: padding-box !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    padding: 14px 0 !important;
    transition: all 0.4s ease !important;
}

/* Logo wordmark */
.logo-text {
    color: var(--text-dark) !important;
    font-size: 1.5rem !important;
    letter-spacing: -1px !important;
}

.header-logo {
    max-height: 55px !important;
    filter: drop-shadow(0 4px 10px rgba(193, 39, 45, 0.2)) !important;
    transition: transform 0.3s ease !important;
}

.header-logo:hover {
    transform: scale(1.05) rotate(-2deg) !important;
}

/* Main nav links */
.navbar-nav .nav-item .nav-link {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--text-dark) !important;
    padding: 10px 18px !important;
    border-radius: 25px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--text-dark) !important;
    background: rgba(18, 18, 18, 0.08) !important;
    transform: translateY(-2px) !important;
}

/* Categories toggle button - special pill style */
#navbarCategories {
    background: linear-gradient(135deg, var(--primary), #E8564F) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(193, 39, 45, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

#navbarCategories:hover {
    box-shadow: 0 8px 25px rgba(193, 39, 45, 0.45) !important;
    transform: translateY(-2px) !important;
}

#navbarCategories::after {
    filter: brightness(0) invert(1) !important;
}

/* Header icon links (Account, Cart) */
.header-icon-link {
    color: #2B2118 !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    transition: all 0.3s ease !important;
    padding: 8px 12px !important;
    border-radius: 15px !important;
}

.header-icon-link:hover {
    color: var(--primary) !important;
    background: rgba(193, 39, 45, 0.08) !important;
    transform: translateY(-3px) !important;
}

.header-icon-link i {
    font-size: 1.3rem !important;
    display: block !important;
    margin-bottom: 3px !important;
}

/* Mobile bottom nav */
.mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 2px solid rgba(107, 114, 128, 0.2) !important;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.06) !important;
}

.mobile-nav-item {
    color: #636e72 !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    padding: 8px 5px !important;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary) !important;
}

.mobile-nav-item.active i {
    filter: drop-shadow(0 0 6px rgba(193, 39, 45, 0.5)) !important;
}

/* Mobile offcanvas menu */
#mobileMenu .offcanvas-header {
    background: linear-gradient(135deg, var(--primary), #E8564F) !important;
    color: white !important;
    padding: 20px 25px !important;
}

#mobileMenu .offcanvas-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.3rem !important;
    letter-spacing: 2px !important;
}

#mobileMenu .list-group-item-action:hover {
    background: rgba(193, 39, 45, 0.08) !important;
    color: var(--primary) !important;
    border-left: 4px solid var(--primary) !important;
}

/* ==============================================================
   FOOTER REDESIGN — Playful Premium Dark
   ============================================================== */

.footer-main {
    background: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
    padding: 70px 0 30px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Footer Logo */
.footer-logo {
    max-height: 60px !important;
    transition: transform 0.3s ease !important;
}

.footer-logo:hover {
    transform: scale(1.05) !important;
}

/* Footer body text */
.footer-main p,
.footer-main span {
    color: rgba(18, 18, 18, 0.75) !important;
    line-height: 1.8 !important;
}

/* Footer headings */
.footer-heading {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    color: var(--text-dark) !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    position: relative !important;
    padding-bottom: 12px !important;
}

.footer-heading::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 35px !important;
    height: 3px !important;
    background: var(--text-dark) !important;
    border-radius: 5px !important;
}

/* Footer icon circle contacts */
.footer-icon-circle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    background: rgba(18, 18, 18, 0.08) !important;
    border: 1px solid rgba(18, 18, 18, 0.25) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-dark) !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.footer-icon-circle:hover {
    background: var(--text-dark) !important;
    color: var(--brand-yellow) !important;
    transform: scale(1.1) !important;
}

/* Footer links */
.footer-links li {
    margin-bottom: 12px !important;
}

.footer-links a {
    color: rgba(18, 18, 18, 0.75) !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.footer-links a::before {
    content: '→' !important;
    color: var(--text-dark) !important;
    font-size: 0.8rem !important;
    transition: transform 0.3s ease !important;
    opacity: 0 !important;
}

.footer-links a:hover {
    color: var(--text-dark) !important;
    transform: translateX(8px) !important;
}

.footer-links a:hover::before {
    opacity: 1 !important;
}

/* Footer newsletter */
.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 2px solid rgba(18, 18, 18, 0.15) !important;
    color: var(--text-dark) !important;
    border-radius: 15px 0 0 15px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(18, 18, 18, 0.45) !important;
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: var(--text-dark) !important;
    box-shadow: none !important;
    color: var(--text-dark) !important;
    outline: none !important;
}

.footer-newsletter .btn-primary {
    background: var(--text-dark) !important;
    color: var(--brand-yellow) !important;
    border: none !important;
    border-radius: 0 15px 15px 0 !important;
    font-weight: 800 !important;
    padding: 14px 25px !important;
    transition: all 0.3s ease !important;
}

.footer-newsletter .btn-primary:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 5px 15px rgba(18, 18, 18, 0.25) !important;
}

/* Social Icons */
.social-icon {
    width: 44px !important;
    height: 44px !important;
    background: rgba(18, 18, 18, 0.08) !important;
    border: 1px solid rgba(18, 18, 18, 0.2) !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-dark) !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
}

.social-icon:hover {
    background: var(--text-dark) !important;
    border-color: var(--text-dark) !important;
    color: var(--brand-yellow) !important;
    transform: translateY(-5px) rotate(-5deg) scale(1.1) !important;
    box-shadow: 0 10px 20px rgba(18, 18, 18, 0.25) !important;
}

/* Payment icons */
.footer-main .fab.fs-3 {
    color: rgba(18, 18, 18, 0.55) !important;
    transition: color 0.3s ease !important;
    font-size: 2rem !important;
}

.footer-main .fab.fs-3:hover {
    color: var(--text-dark) !important;
}

/* Search pills (Global Light Theme) */
.search-pill {
    display: inline-block !important;
    background: #fff !important;
    border: 1.5px solid var(--text-dark) !important;
    color: var(--text-dark) !important;
    padding: 7px 18px !important;
    border-radius: 25px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 5px 5px 5px 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.search-pill:hover {
    background: var(--text-dark) !important;
    border-color: var(--text-dark) !important;
    color: var(--brand-yellow) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(18, 18, 18, 0.25) !important;
}

/* Footer Search pills (on yellow) */
.footer-main .search-pill {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1.5px solid var(--text-dark) !important;
    color: var(--text-dark) !important;
}

.footer-main .search-pill:hover {
    background: var(--text-dark) !important;
    color: var(--brand-yellow) !important;
    border-color: var(--text-dark) !important;
}

/* Footer divider */
.footer-main hr {
    border-color: rgba(18, 18, 18, 0.15) !important;
    margin: 40px 0 30px !important;
}

/* Copyright text */
.footer-main .text-center.text-secondary.small p {
    color: rgba(18, 18, 18, 0.6) !important;
    font-size: 0.85rem !important;
}

/* ==============================================================
   PRODUCT DETAIL PAGE (PDP) REDESIGN
   ============================================================== */

/* Breadcrumbs */
.breadcrumb {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 12px 20px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02) !important;
}

.breadcrumb-item a {
    color: var(--secondary) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
    color: var(--primary) !important;
}

.breadcrumb-item.active {
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

/* Product Gallery Box */
.product-gallery #productCarousel {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 3px solid rgba(107, 114, 128, 0.2) !important; /* Soft aqua border */
    border-radius: 30px !important; /* Softer, playful corners */
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
    padding: 20px !important;
    transition: all 0.4s ease !important;
}

.product-gallery #productCarousel:hover {
    box-shadow: 0 25px 50px rgba(107, 114, 128, 0.15) !important;
    transform: translateY(-5px) !important;
}

/* Thumbnails */
.thumbnail-container {
    margin-top: 20px !important;
    gap: 15px !important;
    display: flex !important;
    padding-bottom: 10px !important;
}

.thumbnail-container .thumb-img {
    border-radius: 15px !important;
    border: 2px solid transparent !important;
    background: white !important;
    padding: 5px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
}

.thumbnail-container .thumb-img:hover {
    transform: translateY(-3px) scale(1.05) !important;
    opacity: 1 !important;
    box-shadow: 0 10px 20px rgba(193, 39, 45, 0.15) !important;
}

.thumbnail-container .thumb-img.active {
    border-color: var(--primary) !important;
    opacity: 1 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(193, 39, 45, 0.3) !important;
}

/* Product Header Info */
.product-header h1 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    color: var(--text-dark) !important;
    line-height: 1.2 !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05) !important;
}

.product-header .text-primary.fw-bold {
    color: var(--secondary) !important; /* Use aqua for brand name */
    letter-spacing: 2px !important;
    font-size: 0.9rem !important;
}

.price-section #displayPrice {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    color: var(--primary) !important;
    text-shadow: 2px 2px 5px rgba(193, 39, 45, 0.2) !important;
}

.price-section #discountPercent {
    background: linear-gradient(135deg, var(--primary), #E8564F) !important;
    box-shadow: 0 5px 15px rgba(193, 39, 45, 0.3) !important;
    font-weight: 800 !important;
    font-size: 0.9rem !important;
    animation: bounce 2s infinite !important; /* Reuse the bounce animation */
}

/* Purchase Controls Box */
.purchase-controls {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 3px solid rgba(193, 39, 45, 0.15) !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
    padding: 25px !important;
}

/* Quantity Selector */
.purchase-controls .input-group {
    background: #f4f6f9 !important;
    border: 2px solid transparent !important;
    padding: 5px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05) !important;
}

.purchase-controls .input-group:focus-within {
    background: #fff !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 5px 15px rgba(107, 114, 128, 0.2) !important;
}

.purchase-controls .input-group .btn {
    background: white !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--primary) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
}

.purchase-controls .input-group .btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.purchase-controls .input-group .form-control {
    background: transparent !important;
    font-size: 1.2rem !important;
    color: var(--text-dark) !important;
}

/* Description / Specs Tabs Box */
.product-details-content {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 2px solid rgba(107, 114, 128, 0.2) !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05) !important;
    padding: 40px !important;
}

.product-details-content h3 {
    font-family: 'Outfit', sans-serif !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    border-bottom: 2px dashed rgba(193, 39, 45, 0.3) !important;
    padding-bottom: 15px !important;
}

.product-details-content .table th {
    color: var(--secondary) !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

/* Review Section */
.review-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    transition: transform 0.3s ease !important;
}

.review-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

.review-form-container {
    background: rgba(107, 114, 128, 0.05) !important;
    border: 2px dashed rgba(107, 114, 128, 0.3) !important;
    border-radius: 25px !important;
}

/* Variant Swatches & Sizes */
.variant-selection .swatch-item {
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    border: 3px solid white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.variant-selection .swatch-item:hover,
.variant-selection .swatch-item.active {
    transform: scale(1.2) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 8px 20px rgba(193, 39, 45, 0.3) !important;
}

.variant-selection .size-item {
    background: white !important;
    border: 2px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    padding: 8px 18px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.variant-selection .size-item:hover,
.variant-selection .size-item.active {
    background: linear-gradient(135deg, var(--primary), #E8564F) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(193, 39, 45, 0.3) !important;
}

/* Similar Products Title */
.mt-5.pt-5 h2 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    color: var(--text-dark) !important;
}

.mt-5.pt-5 h2 .text-primary {
    color: var(--primary) !important;
}

/* ==============================================================
   OFFCANVAS CART Z-INDEX FIX
   Ensures the cart completely covers the header (z-index: 9999)
   ============================================================== */
.offcanvas {
    z-index: 10500 !important;
}

.offcanvas-backdrop {
    z-index: 10400 !important;
}

/* ==============================================================
   MOBILE PUBLIC SITE POLISH
   Desktop rules remain untouched; these overrides apply only below tablet.
   ============================================================== */
@media (max-width: 767.98px) {
    html,
    body {
        width: 100%;
        overflow-x: hidden !important;
        background: #f7f8fa !important;
    }

    body {
        font-size: 0.92rem;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    header.navbar {
        padding: 8px 0 !important;
        min-height: 64px;
        box-shadow: 0 6px 22px rgba(17, 24, 39, 0.08) !important;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08) !important;
    }

    header.navbar .container {
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .navbar-brand {
        min-width: 0;
        max-width: 44vw;
    }

    .header-logo {
        max-height: 44px !important;
        width: auto;
        object-fit: contain;
    }

    .logo-text {
        font-size: 1.15rem !important;
        white-space: nowrap;
    }

    header.navbar .d-flex.align-items-center.gap-4 {
        gap: 8px !important;
        margin-left: auto;
    }

    .header-icon-link {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        border-radius: 999px !important;
        background: #f2f4f7 !important;
        color: #25313d !important;
        justify-content: center;
        flex: 0 0 38px;
    }

    .header-icon-link span {
        display: none !important;
    }

    .header-icon-link i {
        font-size: 1rem !important;
        margin: 0 !important;
    }

    .navbar-toggler {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        border-radius: 999px !important;
        background: var(--primary) !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08) !important;
    }

    .navbar-toggler-icon {
        width: 1rem;
        height: 1rem;
        filter: brightness(0) invert(1);
    }

    body > .d-block.d-lg-none.px-3.py-2.bg-white.border-bottom {
        padding: 10px 14px 12px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
        position: sticky;
        top: 64px;
        z-index: 9998;
    }

    .search-container {
        max-width: none !important;
        width: 100%;
    }

    .search-input {
        height: 44px;
        padding: 10px 48px 10px 16px !important;
        border-radius: 14px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        background: #f4f6f8 !important;
        border: 1px solid #e7ebef !important;
        box-shadow: none !important;
    }

    .search-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px;
        right: 4px !important;
        border-radius: 11px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%) !important;
        box-shadow: none !important;
    }

    .container,
    .container-fluid {
        max-width: 100%;
    }

    .container.py-5,
    .container.py-5.mt-2,
    .container.py-5.mt-4 {
        padding: 22px 14px !important;
        margin-top: 0 !important;
    }

    .hero-carousel {
        background: #ffffff;
    }

    .hero-carousel .carousel-item,
    #heroCarousel .carousel-item {
        height: auto !important;
        min-height: 0 !important;
        background: #ffffff !important;
    }

    .hero-carousel .carousel-item img,
    #heroCarousel .carousel-item img {
        display: block;
        width: 100%;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .hero-carousel .carousel-caption {
        display: none !important;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none !important;
    }

    .hero-carousel .carousel-indicators {
        bottom: 8px;
        margin-bottom: 0;
    }

    .hero-carousel .carousel-indicators button {
        width: 7px;
        height: 7px;
        margin: 0 3px;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
    }

    .hero-carousel .carousel-indicators button.active {
        width: 20px;
    }

    .d-flex.justify-content-between.align-items-center.mb-4,
    .d-flex.justify-content-between.align-items-center.mb-3 {
        gap: 12px;
    }

    .d-flex.justify-content-between.align-items-center h4,
    .d-flex.justify-content-between.align-items-center h1 {
        font-size: 1.15rem !important;
        line-height: 1.2;
    }

    .d-flex.justify-content-between.align-items-center .small {
        white-space: nowrap;
        font-size: 0.72rem;
    }

    .row.g-4,
    .row.row-cols-2 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 14px;
    }

    .trending-nav-item {
        padding: 6px 2px !important;
    }

    .trending-nav-icon {
        width: 118px !important;
        height: 118px !important;
        border-radius: 20px !important;
        margin-bottom: 10px !important;
        border-width: 3px !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07) !important;
    }

    .trending-nav-item span {
        margin-top: 8px !important;
        font-size: 0.76rem !important;
        line-height: 1.2;
        letter-spacing: 0.04em !important;
    }

    section.mb-5 {
        margin-bottom: 26px !important;
    }

    section .rounded-4 {
        border-radius: 14px !important;
    }

    section .position-absolute.top-0.start-0 {
        padding: 14px !important;
        align-items: flex-end !important;
        background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.48) 100%);
    }

    section .display-6 {
        font-size: 1.15rem !important;
        line-height: 1.2;
        margin-bottom: 0 !important;
    }

    .product-card {
        padding: 9px !important;
        border-radius: 14px !important;
        border: 1px solid #edf0f3 !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05) !important;
    }

    .product-card:hover {
        transform: none !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05) !important;
    }

    .product-image-wrapper {
        padding: 8px !important;
        margin-bottom: 10px;
        border-radius: 11px !important;
        background: #f7f8fa !important;
    }

    .product-image-wrapper img {
        object-fit: contain !important;
    }

    .product-info {
        text-align: left !important;
    }

    .product-info .product-brand {
        font-size: 0.62rem !important;
        letter-spacing: 0.06em;
        margin-bottom: 3px;
    }

    .product-name {
        height: 2.35rem !important;
        margin-bottom: 8px !important;
        line-height: 1.18 !important;
    }

    .product-name a {
        font-size: 0.82rem !important;
        line-height: 1.18 !important;
    }

    .price-box {
        display: flex;
        align-items: baseline;
        gap: 5px;
        flex-wrap: wrap;
        padding-top: 0;
    }

    .current-price {
        font-size: 1rem !important;
        line-height: 1.1;
    }

    .old-price {
        font-size: 0.72rem !important;
        margin-left: 0;
    }

    .card-badge {
        top: 9px !important;
        left: 9px !important;
        padding: 4px 8px !important;
        font-size: 0.62rem !important;
        border-radius: 999px !important;
    }

    .product-card .btn-premium,
    .product-card .btn-secondary {
        min-height: 36px;
        padding: 8px 10px !important;
        font-size: 0.68rem !important;
        border-radius: 11px !important;
        margin-top: 10px !important;
        box-shadow: none !important;
    }

    .btn-premium.w-100.d-lg-none {
        min-height: 46px;
        border-radius: 14px !important;
        font-size: 0.82rem !important;
        padding: 12px 16px !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12) !important;
    }

    #filterCollapse .card {
        border-radius: 16px !important;
        box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08) !important;
    }

    #filterCollapse .card-body {
        padding: 18px !important;
    }

    #mobileMenu {
        width: min(88vw, 340px);
        border: 0;
        border-radius: 0 18px 18px 0;
        overflow: hidden;
    }

    #mobileMenu .offcanvas-header {
        padding: 18px 20px !important;
    }

    #mobileMenu .offcanvas-body {
        background: #f7f8fa;
    }

    #mobileMenu .list-group-item {
        border-color: #edf0f3 !important;
        padding-top: 13px !important;
        padding-bottom: 13px !important;
        font-weight: 650;
    }

    #mobileMenu .list-group-item.bg-light {
        background: #eef2f6 !important;
        color: #667085 !important;
        letter-spacing: 0.08em;
        font-size: 0.7rem;
    }

    .mobile-bottom-nav {
        min-height: 62px;
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
        border-top: 1px solid rgba(17, 24, 39, 0.08) !important;
        box-shadow: 0 -10px 28px rgba(17, 24, 39, 0.1) !important;
    }

    .mobile-nav-item {
        min-width: 0;
        flex: 1 1 0;
        padding: 6px 2px !important;
        border-radius: 12px;
        font-size: 0.62rem !important;
        letter-spacing: 0.02em !important;
    }

    .mobile-nav-item i {
        font-size: 1.05rem !important;
        margin-bottom: 3px;
    }

    .mobile-nav-item.active {
        background: rgba(0, 0, 0, 0.04);
    }

    .mobile-nav-item.active::before {
        display: none;
    }

    .footer-main {
        padding: 42px 0 95px !important;
    }

    .footer-main .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .footer-logo {
        max-height: 48px !important;
    }

    .footer-heading {
        margin-bottom: 14px !important;
        padding-bottom: 9px !important;
    }

    .footer-links li {
        margin-bottom: 9px !important;
    }

    .footer-newsletter {
        display: flex;
        gap: 8px;
    }

    .footer-newsletter .form-control,
    .footer-newsletter .btn-primary {
        border-radius: 12px !important;
    }

    .footer-newsletter .btn-primary {
        padding: 12px 16px !important;
        flex: 0 0 auto;
    }

    .popular-search-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .footer-main .search-pill {
        margin: 0 !important;
        padding: 7px 11px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 380px) {
    .navbar-brand {
        max-width: 38vw;
    }

    .header-icon-link,
    .navbar-toggler {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .trending-nav-icon {
        width: 104px !important;
        height: 104px !important;
    }

    .product-card {
        padding: 8px !important;
    }

    .product-name a {
        font-size: 0.78rem !important;
    }

    .product-card .btn-premium,
    .product-card .btn-secondary {
        font-size: 0.63rem !important;
    }
}

/* ==================== Banner Aspect Fix ====================
   Desktop creative: 1920 x 720
   Mobile creative: 768 x 1024
*/
#heroCarousel.hero-carousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .hero-banner-link,
#heroCarousel .hero-banner-picture,
.content-banner,
.content-banner-picture {
    display: block;
    width: 100%;
}

#heroCarousel.hero-carousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .hero-banner-link,
#heroCarousel .hero-banner-picture {
    aspect-ratio: 1920 / 720;
    height: auto !important;
    max-height: 720px;
    overflow: hidden;
    background: transparent !important;
}

#heroCarousel .hero-banner-img,
.content-banner-img {
    display: block;
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center;
}

.site-marquee,
.checkout-notice-marquee {
    overflow: hidden;
    background: var(--brand-yellow);
    color: var(--text-dark);
    white-space: nowrap;
}

.site-marquee-track,
.checkout-notice-track {
    display: inline-flex;
    min-width: 200%;
    gap: 72px;
    padding: 9px 0;
    font-size: 0.82rem;
    font-weight: 800;
    animation: announcement-scroll 24s linear infinite;
}

.checkout-notice-marquee {
    background: #fff4e5;
    color: #8a4b08;
    border: 1px solid #ffd59a;
    border-radius: 8px;
}

.checkout-notice-track {
    padding: 11px 0;
    animation-duration: 20s;
}

@keyframes announcement-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .site-marquee-track,
    .checkout-notice-track {
        animation: none;
    }
}

.content-page-hero {
    padding: 72px 0 64px;
    background: #f4f8f8;
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
}

.content-page-hero h1 {
    max-width: 800px;
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.04;
    font-weight: 900;
}

.content-page-hero p,
.story-intro p {
    max-width: 760px;
    color: #667176;
    font-size: 1.08rem;
    line-height: 1.8;
}

.support-form {
    padding: 28px;
    border: 1px solid rgba(45, 52, 54, 0.1);
    border-radius: 8px;
    background: #fff;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #f1f6f5;
    border-radius: 50%;
}

.contact-detail strong,
.contact-detail a,
.contact-detail span {
    display: block;
}

.value-panel {
    height: 100%;
    padding: 28px;
    border: 1px solid rgba(45, 52, 54, 0.09);
    border-radius: 8px;
    background: #fff;
}

.value-panel i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 22px;
}

.value-panel h3 {
    font-size: 1.15rem;
    font-weight: 850;
}

.story-statements {
    padding: 48px 0;
    border-top: 1px solid rgba(45, 52, 54, 0.1);
}

.story-statements span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.story-statements h2 {
    margin-top: 12px;
    font-size: 1.7rem;
    line-height: 1.4;
}

.faq-wrap {
    max-width: 900px;
}

.faq-wrap .accordion-item {
    border: 0;
    border-bottom: 1px solid rgba(45, 52, 54, 0.12);
}

.faq-wrap .accordion-button {
    padding: 22px 4px;
    font-weight: 800;
    box-shadow: none;
    background: #fff;
}

.faq-wrap .accordion-body {
    padding: 0 4px 24px;
    color: #667176;
    line-height: 1.75;
}

.content-banner,
.content-banner-picture {
    aspect-ratio: 1920 / 720;
    height: auto !important;
    background: transparent !important;
}

#heroCarousel .carousel-caption {
    height: 100% !important;
    background: transparent !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767.98px) {
    #heroCarousel.hero-carousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item,
    #heroCarousel .hero-banner-link,
    #heroCarousel .hero-banner-picture,
    .content-banner,
    .content-banner-picture {
        aspect-ratio: 768 / 1024;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
    }

    #heroCarousel .hero-banner-img,
    .content-banner-img {
        width: 100%;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center;
    }

    #heroCarousel .carousel-caption,
    .content-banner > .position-absolute {
        display: none !important;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        display: none !important;
    }

    #heroCarousel .carousel-indicators {
        bottom: 10px;
        margin-bottom: 0;
    }
}

/* ==================== Product Listing + Detail Polish ==================== */
.product-list-header {
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
    padding-bottom: 18px;
}

.section-eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-count-pill {
    flex: 0 0 auto;
    color: var(--secondary);
    background: #f5f7f8;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-product-card,
.product-card {
    position: relative;
    border: 1px solid rgba(45, 52, 54, 0.08) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(24, 32, 38, 0.05) !important;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-product-card:hover,
.product-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(242, 169, 0, 0.22) !important;
    box-shadow: 0 14px 34px rgba(24, 32, 38, 0.1) !important;
}

.product-image-wrapper {
    background: #fafbfb !important;
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    padding: 16px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100% !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
}

.product-info {
    padding: 16px 16px 18px !important;
    text-align: left !important;
}

.product-brand {
    display: block;
    min-height: 16px;
    color: var(--secondary) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    height: auto !important;
    min-height: 44px;
    margin-bottom: 10px !important;
    line-height: 1.28 !important;
}

.product-name a {
    color: var(--text-dark) !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 30px;
}

.current-price {
    color: var(--primary) !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
}

.old-price {
    color: #9aa3a8;
    font-size: 0.84rem;
    text-decoration: line-through;
}

.card-badge {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    border-radius: 999px !important;
    background: #d63031 !important;
    box-shadow: 0 8px 18px rgba(214, 48, 49, 0.18);
    font-size: 0.68rem !important;
    letter-spacing: 0.04em;
}

.catalog-product-card .btn,
.product-card .btn {
    border-radius: 8px !important;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
}

#filterCollapse .card {
    border: 1px solid rgba(45, 52, 54, 0.08) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 28px rgba(24, 32, 38, 0.06) !important;
}

#filterCollapse .list-group-item,
#filterCollapse .form-check-label {
    font-size: 0.9rem;
}

.product-detail-page {
    max-width: 1240px;
}

.product-breadcrumb .breadcrumb {
    font-size: 0.86rem;
    margin-bottom: 0;
}

.product-gallery {
    position: sticky;
    top: 102px;
}

.product-gallery #productCarousel {
    height: auto !important;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(24, 32, 38, 0.06) !important;
}

.product-gallery #productCarousel .carousel-item img {
    padding: 34px !important;
}

.thumbnail-container {
    gap: 10px !important;
}

.thumbnail-container .thumb-img {
    border-radius: 8px !important;
    border: 1px solid rgba(45, 52, 54, 0.1) !important;
    background: #fff;
}

.thumbnail-container .thumb-img.active {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.12) !important;
}

.product-summary-panel {
    background: #fff;
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(24, 32, 38, 0.06);
    padding: 30px;
}

.product-detail-brand {
    display: inline-flex;
    color: var(--secondary);
    background: #f5f7f8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-summary-panel h1 {
    color: var(--text-dark);
    font-size: clamp(1.55rem, 2.4vw, 2.35rem) !important;
    line-height: 1.16;
    letter-spacing: 0;
}

.price-section {
    border-top: 1px solid rgba(45, 52, 54, 0.08);
    border-bottom: 1px solid rgba(45, 52, 54, 0.08);
    padding: 18px 0;
}

.price-section #displayPrice {
    color: var(--primary) !important;
    font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
}

.purchase-controls {
    background: #f9fbfb !important;
    border: 1px solid rgba(45, 52, 54, 0.08) !important;
    border-radius: 8px !important;
    padding: 18px !important;
    box-shadow: none !important;
}

.purchase-controls .input-group {
    background: #fff;
    border-radius: 8px !important;
    min-height: 54px;
}

.purchase-controls .form-control {
    min-width: 42px;
}

.variant-selection {
    border-top: 1px solid rgba(45, 52, 54, 0.08);
    padding-top: 18px;
}

.variant-selection .size-item,
.variant-selection .swatch-item {
    box-shadow: none !important;
}

.product-details-content {
    border: 1px solid rgba(45, 52, 54, 0.08);
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(24, 32, 38, 0.06) !important;
}

.description-text {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .product-gallery {
        position: static;
    }

    .product-summary-panel {
        padding: 22px;
    }
}

@media (max-width: 767.98px) {
    .product-list-header {
        align-items: flex-start !important;
        gap: 12px;
        flex-direction: column;
    }

    .product-count-pill {
        padding: 6px 12px;
    }

    .product-image-wrapper {
        padding: 10px;
    }

    .product-info {
        padding: 12px !important;
    }

    .product-name {
        min-height: 50px;
    }

    .product-name a {
        font-size: 0.84rem !important;
    }

    .current-price {
        font-size: 0.98rem !important;
    }

    .catalog-product-card .btn,
    .product-card .btn {
        min-height: 38px;
        font-size: 0.72rem !important;
    }

    .product-gallery #productCarousel .carousel-item img {
        padding: 18px !important;
    }

    .product-details-content {
        padding: 24px !important;
    }

    .purchase-controls .row {
        gap: 10px;
    }
}

/* ==================== Professional Product UI Refinement ==================== */
.product-detail-page {
    max-width: 1320px;
    padding-top: 28px !important;
}

.product-detail-page .row.g-5 {
    --bs-gutter-x: 44px;
}

.product-breadcrumb {
    margin-bottom: 28px !important;
}

.product-breadcrumb .breadcrumb {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #6b7280;
}

.product-breadcrumb .breadcrumb a {
    color: #6b7280;
    font-weight: 700;
}

.product-breadcrumb .breadcrumb-item.active {
    color: #263342;
    font-weight: 800;
}

.product-gallery {
    max-width: 620px;
}

.product-gallery #productCarousel {
    aspect-ratio: 1 / 1 !important;
    max-height: 620px;
    border: 1px solid #e7ecef !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.product-gallery #productCarousel .carousel-inner,
.product-gallery #productCarousel .carousel-item {
    height: 100% !important;
}

.product-gallery #productCarousel .carousel-item img {
    padding: 28px !important;
    object-fit: contain !important;
}

.carousel-counter {
    right: 18px !important;
    bottom: 18px !important;
    background: #263342 !important;
    color: #fff !important;
    border-radius: 999px !important;
    min-width: 52px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem !important;
    font-weight: 800;
}

.thumbnail-container {
    justify-content: flex-start !important;
    padding-top: 2px;
}

.thumbnail-container .thumb-img {
    width: 76px !important;
    height: 76px !important;
    padding: 4px;
    border: 1px solid #dfe6e9 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    object-fit: cover;
}

.thumbnail-container .thumb-img.active {
    border-color: #263342 !important;
    box-shadow: 0 0 0 2px #263342 inset !important;
}

.product-summary-panel {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.product-detail-brand {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #7b8490 !important;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
}

.product-summary-panel h1 {
    max-width: 760px;
    color: #263342 !important;
    font-size: clamp(1.45rem, 2vw, 2rem) !important;
    font-weight: 850;
    line-height: 1.2;
    margin-bottom: 14px !important;
}

.product-summary-panel .rating {
    font-size: 0.9rem;
}

.price-section {
    border-top: 0 !important;
    border-bottom: 1px solid #e7ecef !important;
    padding: 0 0 22px !important;
    margin-bottom: 24px !important;
}

.price-section #displayPrice {
    color: #f52549 !important;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important;
    letter-spacing: 0;
}

.price-section #originalPrice {
    font-size: 1.05rem !important;
}

.price-section .badge {
    border-radius: 6px !important;
    font-size: 0.75rem;
}

.purchase-controls {
    background: #ffffff !important;
    border: 1px solid #e7ecef !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 20px !important;
    max-width: 560px;
}

.purchase-controls .row {
    align-items: stretch !important;
}

.purchase-controls .input-group {
    min-height: 52px;
    background: #f6f8f9 !important;
    border: 1px solid #e7ecef !important;
    border-radius: 8px !important;
}

.purchase-controls .input-group .btn {
    color: #f52549;
    font-weight: 900;
}

.purchase-controls #quantity {
    background: transparent !important;
    color: #263342;
    font-size: 1rem;
}

.product-detail-page #addToCart {
    min-height: 52px;
    border-radius: 8px !important;
    background: #f52549 !important;
    border-color: #f52549 !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-detail-page #addToCart:hover {
    background: #263342 !important;
    border-color: #263342 !important;
}

#stockStatus {
    margin-top: 16px !important;
    padding-top: 16px !important;
    text-align: left !important;
}

#stockStatus .text-success {
    color: #087f5b !important;
}

.variant-selection {
    max-width: 560px;
    border-top: 0 !important;
    padding-top: 0 !important;
}

.product-details-content {
    border: 1px solid #e7ecef !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}

.product-details-content h3 {
    color: #263342;
    font-size: 1.15rem;
    letter-spacing: 0;
}

.catalog-product-card,
.product-card {
    border-color: #e7ecef !important;
    box-shadow: none !important;
}

.catalog-product-card:hover,
.product-card:hover {
    border-color: #cfd8dd !important;
    box-shadow: 0 10px 24px rgba(38, 51, 66, 0.08) !important;
}

.product-image-wrapper {
    background: #ffffff !important;
    border-bottom: 1px solid #eef2f4;
}

.product-card .btn-premium {
    background: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
    box-shadow: none !important;
}

.product-card .btn-premium:hover {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .product-detail-page .row.g-5 {
        --bs-gutter-x: 24px;
    }

    .product-gallery {
        max-width: none;
    }

    .purchase-controls {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .product-detail-page {
        padding-top: 14px !important;
    }

    .product-gallery #productCarousel {
        max-height: none;
    }

    .thumbnail-container .thumb-img {
        width: 62px !important;
        height: 62px !important;
    }

    .product-summary-panel h1 {
        font-size: 1.28rem !important;
    }

    .purchase-controls {
        padding: 14px !important;
    }

    .product-detail-page #addToCart {
        font-size: 0.86rem !important;
    }
}
