/* ===================================================================
   NKP Frontend Styles
   Bootstrap 5 overrides + custom styles matching design reference
   =================================================================== */

/* --- CSS Variables --- */
:root {
    --nkp-primary: #1a2238;
    --nkp-accent: #d32f2f;
    --nkp-text: #333333;
    --nkp-text-light: #666666;
    --nkp-text-muted: #999999;
    --nkp-border: #e5e5e5;
    --nkp-bg-light: #f8f8f8;
    --nkp-bg-white: #ffffff;
    --nkp-success: #28a745;
    --nkp-star: #f5a623;
    --nkp-discount: #d32f2f;
    --nkp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nkp-header-height: 120px;
    --nkp-mobile-bottom-nav: 60px;
}

/* --- Global Reset & Base --- */
* { box-sizing: border-box; }

body {
    font-family: var(--nkp-font);
    color: var(--nkp-text);
    background: var(--nkp-bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

a { color: var(--nkp-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--nkp-accent); }

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

/* --- Announcement Bar --- */
.announcement-bar {
    background: var(--nkp-primary);
    color: #fff;
    font-size: 12px;
    letter-spacing: .5px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 32px;
    line-height: 32px;
}
.announcement-bar .marquee-track {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}
.announcement-bar .marquee-item {
    display: inline-block;
    padding: 0 60px;
}
.announcement-bar a { color: #fff; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Top Utility Nav --- */
.top-utility-nav {
    background: #fff;
    border-bottom: 1px solid var(--nkp-border);
    font-size: 12px;
    color: var(--nkp-text-light);
    padding: 4px 0;
}
.top-utility-nav a {
    color: var(--nkp-text-light);
    margin-left: 20px;
}
.top-utility-nav a:hover { color: var(--nkp-primary); }

/* --- Main Header --- */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--nkp-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}
.main-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}
.main-header .logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--nkp-primary);
}
.main-header .logo img { height: 36px; }

/* Header Icons */
.header-icons { display: flex; align-items: center; gap: 18px; }
.header-icons .icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--nkp-text);
    cursor: pointer;
    position: relative;
    padding: 4px;
    transition: color .2s;
}
.header-icons .icon-btn:hover { color: var(--nkp-accent); }
.header-icons .cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--nkp-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Main Nav --- */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--nkp-border);
}
.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}
.main-nav .nav-item { position: relative; }
.main-nav .nav-link {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--nkp-text);
    transition: color .2s, border-bottom .2s;
    border-bottom: 2px solid transparent;
}
.main-nav .nav-link:hover,
.main-nav .nav-item:hover .nav-link {
    color: var(--nkp-accent);
    border-bottom-color: var(--nkp-accent);
}
.main-nav .nav-link.active {
    color: var(--nkp-accent);
    border-bottom-color: var(--nkp-accent);
}

/* Dropdown / Mega Menu */
.main-nav .dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--nkp-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    min-width: 200px;
    padding: 16px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 1001;
}
.main-nav .nav-item:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-size: 13px;
    color: var(--nkp-text);
    transition: background .15s;
}
.main-nav .dropdown-item:hover {
    background: var(--nkp-bg-light);
    color: var(--nkp-accent);
}
.main-nav .dropdown-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* --- Mobile Hamburger --- */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--nkp-text);
    cursor: pointer;
    padding: 4px;
}

/* --- Mobile Sidebar Menu --- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transition: left .3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu-sidebar.active { left: 0; }
.mobile-menu-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--nkp-text);
    z-index: 1;
}
.mobile-menu-list {
    list-style: none;
    margin: 50px 0 0;
    padding: 0;
}
.mobile-menu-list li { border-bottom: 1px solid var(--nkp-border); }
.mobile-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--nkp-text);
}
.mobile-menu-list a:hover { color: var(--nkp-accent); }

/* Mobile Submenu */
.mobile-submenu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 2002;
    transition: left .3s ease;
    overflow-y: auto;
}
.mobile-submenu.active { left: 0; }
.mobile-submenu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--nkp-border);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--nkp-text);
}
.mobile-submenu-items {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.mobile-submenu-items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: var(--nkp-text);
    gap: 6px;
}
.mobile-submenu-items img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.mobile-menu-bottom {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid var(--nkp-border);
}
.mobile-menu-bottom .btn-logout {
    width: 100%;
    padding: 12px;
    background: var(--nkp-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    display: block;
}
.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}
.mobile-menu-socials a { font-size: 20px; color: var(--nkp-text); }

/* --- Hero Banner Slider --- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .slides {
    display: flex;
    transition: transform .5s ease;
}
.hero-slider .slide {
    min-width: 100%;
    position: relative;
}
.hero-slider .slide img {
    width: 100%;
    display: block;
    height: auto;
}
.hero-slider .slide-link { display: block; }
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.slider-dots .dot.active { background: #fff; }
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
}
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* --- Section Headings --- */
.section-heading {
    text-align: center;
    margin: 40px 0 24px;
}
.section-heading h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--nkp-primary);
    margin-bottom: 4px;
    text-transform: capitalize;
}
.section-heading p {
    font-size: 13px;
    color: var(--nkp-text-muted);
}

/* --- Explore Categories Grid --- */
.explore-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    padding: 0 16px;
}
.category-card {
    text-align: center;
    cursor: pointer;
    transition: transform .2s;
}
.category-card:hover { transform: translateY(-4px); }
.category-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--nkp-bg-light);
}
.category-card .cat-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nkp-text);
    text-transform: uppercase;
}

/* --- Product Card --- */
.product-card {
    position: relative;
    background: #fff;
    transition: box-shadow .2s;
}
.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.product-card .product-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--nkp-bg-light);
}
.product-card .product-img-wrap img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.03);
}
.product-card .badge-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--nkp-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.product-card .wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nkp-text-muted);
    transition: color .2s;
}
.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active { color: var(--nkp-accent); }
.product-card .product-info { padding: 10px 8px; }
.product-card .product-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--nkp-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.product-card .product-name:hover { color: var(--nkp-accent); }
.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.product-card .selling-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--nkp-text);
}
.product-card .mrp-price {
    font-size: 12px;
    color: var(--nkp-text-muted);
    text-decoration: line-through;
}
.product-card .discount-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--nkp-discount);
}
.product-card .rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 12px;
    color: var(--nkp-text-muted);
}
.product-card .rating-row .stars { color: var(--nkp-star); }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* --- View All Button --- */
.btn-view-all {
    display: inline-block;
    padding: 10px 32px;
    border: 2px solid var(--nkp-primary);
    color: var(--nkp-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .2s;
}
.btn-view-all:hover {
    background: var(--nkp-primary);
    color: #fff;
}

/* --- Deals / Featured Banner Section --- */
.deals-section .deal-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.deals-section .deal-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
}
.deals-section .deal-card .deal-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
}
.deals-section .btn-shop-now {
    display: inline-block;
    padding: 8px 24px;
    background: #fff;
    color: var(--nkp-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--nkp-primary);
    transition: all .2s;
}
.deals-section .btn-shop-now:hover {
    background: var(--nkp-primary);
    color: #fff;
}

/* --- Watch & Buy --- */
.watch-buy-section {
    background: var(--nkp-bg-light);
    padding: 40px 0;
}
.home-video-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 991px) {
    .home-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .home-video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* --- Services Strip --- */
.services-strip {
    padding: 32px 0;
    border-top: 1px solid var(--nkp-border);
    border-bottom: 1px solid var(--nkp-border);
}
.service-item {
    text-align: center;
    padding: 12px 8px;
}
.service-item i {
    font-size: 28px;
    color: var(--nkp-primary);
    margin-bottom: 8px;
    display: block;
}
.service-item .service-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--nkp-text);
}
.service-item .service-desc {
    font-size: 11px;
    color: var(--nkp-text-muted);
}

/* --- Caution Notice --- */
.caution-notice {
    background: var(--nkp-bg-light);
    border: 1px solid var(--nkp-border);
    padding: 24px;
    margin: 32px 0;
    text-align: center;
}
.caution-notice h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--nkp-primary);
}
.caution-notice p {
    font-size: 12px;
    color: var(--nkp-text-light);
    margin: 0;
    line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--nkp-border);
    padding: 40px 0 0;
    font-size: 13px;
    color: var(--nkp-text-light);
}
.footer-col h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--nkp-text);
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: .5px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    color: var(--nkp-text-light);
    font-size: 13px;
    transition: color .2s;
}
.footer-col ul li a:hover { color: var(--nkp-accent); }
.footer-col p { line-height: 1.7; }

/* Newsletter */
.newsletter-form {
    display: flex;
    max-width: 400px;
}
.newsletter-form input {
    flex: 1;
    border: 1px solid var(--nkp-border);
    border-right: none;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
}
.newsletter-form input:focus { border-color: var(--nkp-primary); }
.newsletter-form button {
    padding: 10px 20px;
    background: var(--nkp-primary);
    color: #fff;
    border: 1px solid var(--nkp-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.newsletter-form button:hover { background: #0d1520; }

.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a {
    font-size: 18px;
    color: var(--nkp-text);
    transition: color .2s;
}
.footer-social a:hover { color: var(--nkp-accent); }

.footer-bottom {
    border-top: 1px solid var(--nkp-border);
    padding: 16px 0;
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: var(--nkp-text-muted);
}
.footer-payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.footer-payment-icons img { height: 24px; }

/* App Download Badges */
.app-badges { display: flex; gap: 8px; margin-top: 10px; }
.app-badges img { height: 36px; }

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--nkp-border);
    z-index: 1000;
    padding: 6px 0 env(safe-area-inset-bottom, 4px);
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: var(--nkp-text-muted);
    cursor: pointer;
    text-decoration: none;
    gap: 2px;
    position: relative;
}
.mobile-bottom-nav .nav-item i { font-size: 20px; }
.mobile-bottom-nav .nav-item.active { color: var(--nkp-accent); }
.mobile-bottom-nav .nav-item .cart-badge {
    position: absolute;
    top: -4px;
    right: 50%;
    transform: translateX(14px);
    background: var(--nkp-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
    padding: 12px 0;
    font-size: 12px;
    color: var(--nkp-text-muted);
}
.breadcrumb-nav a { color: var(--nkp-text-muted); }
.breadcrumb-nav a:hover { color: var(--nkp-primary); }
.breadcrumb-nav .separator { margin: 0 6px; }

/* --- Collection Banner --- */
.collection-banner {
    width: 100%;
    overflow: hidden;
}
.collection-banner img {
    width: 100%;
    display: block;
    height: auto;
}

/* --- Product Listing Page --- */
.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.listing-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--nkp-primary);
    margin: 0;
}
.listing-header .sort-select {
    padding: 6px 12px;
    border: 1px solid var(--nkp-border);
    font-size: 13px;
    color: var(--nkp-text);
    background: #fff;
    outline: none;
    cursor: pointer;
}
.listing-header .result-count {
    font-size: 13px;
    color: var(--nkp-text-muted);
}

/* Filter Sidebar */
.filter-sidebar {
    padding-right: 20px;
}
.filter-group {
    border-bottom: 1px solid var(--nkp-border);
    padding: 16px 0;
}
.filter-group:first-child { padding-top: 0; }
.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--nkp-text);
}
.filter-group-header i { font-size: 12px; transition: transform .2s; }
.filter-group.collapsed .filter-group-body { display: none; }
.filter-group.collapsed .filter-group-header i { transform: rotate(-90deg); }
.filter-group-body { padding-top: 12px; }

/* Price Range */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.price-range-inputs input {
    width: 80px;
    padding: 6px 8px;
    border: 1px solid var(--nkp-border);
    font-size: 13px;
    text-align: center;
    outline: none;
}
.price-range-inputs span { color: var(--nkp-text-muted); font-size: 13px; }

/* Color Swatches */
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
    position: relative;
}
.color-swatch:hover,
.color-swatch.active { border-color: var(--nkp-primary); }
.color-swatch.light-color { border: 2px solid var(--nkp-border); }
.color-swatch.active.light-color { border-color: var(--nkp-primary); }

/* Size Checkboxes */
.size-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--nkp-text);
    cursor: pointer;
}
.size-options input[type="checkbox"] { accent-color: var(--nkp-primary); }
.size-count { color: var(--nkp-text-muted); font-size: 12px; }
.filter-show-more {
    background: none;
    border: none;
    color: var(--nkp-accent);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
}

/* Mobile Filter Button */
.mobile-filter-btn {
    display: none;
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    display: none;
    align-items: center;
    justify-content: center;
}

/* Mobile Filter Overlay */
.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.filter-overlay.active { opacity: 1; visibility: visible; }

.filter-sidebar-mobile {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transition: right .3s ease;
    overflow-y: auto;
    padding: 20px;
}
.filter-sidebar-mobile.active { right: 0; }
.filter-sidebar-mobile .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.filter-sidebar-mobile .filter-header h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.filter-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--nkp-text);
}
.filter-apply-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    border-radius: 4px;
    transition: background .2s, box-shadow .2s, transform .1s;
}
.filter-apply-btn:hover {
    background: var(--nkp-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.filter-apply-btn:active {
    transform: scale(0.98);
}
.filter-clear-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    margin-top: 8px;
    background: transparent;
    color: var(--nkp-text-muted);
    border: 1px solid var(--nkp-border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all .2s;
}
.filter-clear-btn:hover {
    color: var(--nkp-accent);
    border-color: var(--nkp-accent);
}

/* Load More */
.load-more-wrap {
    text-align: center;
    margin: 40px 0 20px;
    padding: 0 16px;
}
.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 14px 48px;
    border: 2px solid var(--nkp-primary);
    color: var(--nkp-primary);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.load-more-btn:hover {
    background: var(--nkp-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,.12);
    transform: translateY(-1px);
}
.load-more-btn:active {
    transform: translateY(0) scale(0.98);
}
.load-more-btn.loading {
    pointer-events: none;
    opacity: .7;
}
.load-more-btn .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: loadMoreSpin .6s linear infinite;
}
.load-more-btn.loading .spinner {
    display: inline-block;
}
@keyframes loadMoreSpin {
    to { transform: rotate(360deg); }
}
.load-more-count {
    margin-top: 12px;
    font-size: 12px;
    color: var(--nkp-text-muted);
    letter-spacing: .5px;
}
/* Smooth fade-in for newly loaded product cards */
.product-card.fade-in {
    animation: productFadeIn .5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes productFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* --- Product Detail Page --- */
.pd-gallery {
    display: flex;
    gap: 10px;
}
.pd-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 70px;
}
.pd-thumbnails .thumb {
    width: 64px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
}
.pd-thumbnails .thumb.active,
.pd-thumbnails .thumb:hover { border-color: var(--nkp-primary); }
.pd-main-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}
.pd-main-image img {
    width: 100%;
    display: block;
}
.pd-main-image .zoom-lens {
    display: none;
    position: absolute;
    border: 1px solid rgba(0,0,0,.1);
    background: rgba(255,255,255,.3);
    pointer-events: none;
}

.pd-info { padding-left: 20px; }
.pd-info .pd-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--nkp-primary);
    margin-bottom: 4px;
}
.pd-info .pd-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--nkp-text-muted);
    margin-bottom: 12px;
}
.pd-info .pd-rating .stars { color: var(--nkp-star); }

.pd-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}
.pd-pricing .pd-sell-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--nkp-text);
}
.pd-pricing .pd-mrp {
    font-size: 16px;
    color: var(--nkp-text-muted);
    text-decoration: line-through;
}
.pd-pricing .pd-discount {
    font-size: 14px;
    font-weight: 600;
    color: var(--nkp-discount);
}
.pd-tax-info {
    font-size: 12px;
    color: var(--nkp-text-muted);
    margin-bottom: 16px;
}

/* Size Selection */
.pd-sizes { margin-bottom: 16px; }
.pd-sizes .label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-sizes .label a { font-size: 12px; color: var(--nkp-accent); }
.size-options-pd {
    display: flex;
    gap: 8px;
}
.size-option {
    width: 40px;
    height: 40px;
    border: 1px solid var(--nkp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    color: var(--nkp-text);
    background: #fff;
}
.size-option:hover { border-color: var(--nkp-primary); }
.size-option.active {
    border-color: var(--nkp-primary);
    background: var(--nkp-primary);
    color: #fff;
}
.size-option.out-of-stock {
    color: var(--nkp-text-muted);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: .5;
}

/* Color Selection */
.pd-colors { margin-bottom: 16px; }
.pd-colors .label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }

/* Offers Section */
.pd-offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.pd-offer-card {
    border: 1px solid var(--nkp-border);
    padding: 10px;
    font-size: 12px;
}
.pd-offer-card strong { display: block; margin-bottom: 2px; color: var(--nkp-text); }
.pd-offer-card span { color: var(--nkp-text-light); }

/* Coupon Section */
.pd-coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
}
.pd-coupon input {
    flex: 1;
    padding: 8px 12px;
    border: 1px dashed var(--nkp-border);
    font-size: 13px;
    outline: none;
}
.pd-coupon .btn-apply {
    padding: 8px 16px;
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* Delivery Check */
.pd-delivery {
    border: 1px solid var(--nkp-border);
    padding: 12px;
    margin-bottom: 16px;
}
.pd-delivery .delivery-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.pd-delivery .pincode-form {
    display: flex;
    gap: 8px;
}
.pd-delivery .pincode-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--nkp-border);
    font-size: 13px;
    outline: none;
}
.pd-delivery .pincode-form button {
    padding: 8px 16px;
    background: none;
    border: 1px solid var(--nkp-primary);
    color: var(--nkp-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.pd-delivery-info {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--nkp-text-light);
}
.pd-delivery-info i { color: var(--nkp-success); margin-right: 4px; }

/* Key Highlights */
.pd-highlights { margin-bottom: 16px; }
.pd-highlights .label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.pd-highlights table { width: 100%; font-size: 13px; }
.pd-highlights table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--nkp-bg-light);
}
.pd-highlights table td:first-child {
    color: var(--nkp-text-muted);
    width: 40%;
}

/* Expandable Sections */
.pd-expandable {
    border-bottom: 1px solid var(--nkp-border);
    padding: 14px 0;
}
.pd-expandable-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--nkp-text);
}
.pd-expandable-header i { transition: transform .2s; font-size: 12px; }
.pd-expandable.open .pd-expandable-header i { transform: rotate(180deg); }
.pd-expandable-body {
    display: none;
    padding-top: 10px;
    font-size: 13px;
    color: var(--nkp-text-light);
    line-height: 1.7;
}
.pd-expandable.open .pd-expandable-body { display: block; }

/* Add to Cart / Wishlist Buttons */
.pd-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.btn-add-cart {
    flex: 1;
    padding: 14px;
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s;
}
.btn-add-cart:hover { background: #0d1520; }
.btn-add-wishlist {
    padding: 14px 20px;
    border: 2px solid var(--nkp-border);
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    color: var(--nkp-text-muted);
    transition: all .2s;
}
.btn-add-wishlist:hover { border-color: var(--nkp-accent); color: var(--nkp-accent); }

/* Reviews Section */
.reviews-section { margin-top: 40px; }
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--nkp-border);
    padding-bottom: 24px;
}
.reviews-summary .avg-rating {
    text-align: center;
    min-width: 100px;
}
.reviews-summary .avg-rating .big-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--nkp-text);
}
.reviews-summary .avg-rating .stars { color: var(--nkp-star); }
.reviews-summary .avg-rating .count {
    font-size: 12px;
    color: var(--nkp-text-muted);
}

.review-card {
    border-bottom: 1px solid var(--nkp-bg-light);
    padding: 16px 0;
}
.review-card .review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.review-card .stars { color: var(--nkp-star); font-size: 13px; }
.review-card .reviewer { font-size: 13px; font-weight: 600; }
.review-card .review-date { font-size: 12px; color: var(--nkp-text-muted); }
.review-card .review-text { font-size: 13px; color: var(--nkp-text-light); line-height: 1.6; }

/* Frequently Bought Together */
.fbt-section { margin-top: 40px; }

/* Recently Viewed */
.recently-viewed-section { margin-top: 40px; }

/* --- Toast Notification --- */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nkp-toast {
    background: #fff;
    border-left: 4px solid var(--nkp-success);
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 12px 16px;
    min-width: 280px;
    font-size: 13px;
    color: var(--nkp-text);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideIn .3s ease;
}
.nkp-toast.error { border-left-color: var(--nkp-accent); }
.nkp-toast.info { border-left-color: #2196F3; }
.nkp-toast .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--nkp-text-muted);
}
@keyframes toastSlideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* --- Loading Overlay --- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.7);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
}
.loading-overlay.active { display: flex; }
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--nkp-border);
    border-top-color: var(--nkp-primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inline spinner for buttons */
.btn-loading {
    pointer-events: none;
    opacity: .7;
    position: relative;
}

/* --- Star Rating --- */
.star-rating { color: var(--nkp-star); letter-spacing: 1px; }
.star-rating .empty { color: var(--nkp-border); }

/* --- Price Component --- */
.price-display { display: inline-flex; align-items: baseline; gap: 6px; }
.price-display .current { font-weight: 700; }
.price-display .original { text-decoration: line-through; color: var(--nkp-text-muted); }
.price-display .off { color: var(--nkp-discount); font-weight: 600; }

/* --- Pagination --- */
.nkp-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 32px 0;
}
.nkp-pagination a,
.nkp-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--nkp-border);
    font-size: 13px;
    color: var(--nkp-text);
    transition: all .2s;
}
.nkp-pagination a:hover { border-color: var(--nkp-primary); color: var(--nkp-primary); }
.nkp-pagination .active {
    background: var(--nkp-primary);
    color: #fff;
    border-color: var(--nkp-primary);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
    .main-nav { display: none; }
    .top-utility-nav { display: none; }
    .hamburger-btn { display: block; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mobile-filter-btn { display: flex; }
    .filter-sidebar { display: none; }
    .pd-gallery { flex-direction: column; }
    .pd-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    .pd-thumbnails .thumb { width: 56px; height: 70px; flex-shrink: 0; }
    .pd-info { padding-left: 0; margin-top: 20px; }
    .pd-offers { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: var(--nkp-mobile-bottom-nav); }
    .hero-slider .slide img { width: 100%; height: auto; }
    .explore-categories { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .section-heading { margin: 24px 0 16px; }
    .section-heading h2 { font-size: 18px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-card .product-info { padding: 8px 6px; }
    .product-card .product-name { font-size: 12px; }
    .product-card .selling-price { font-size: 13px; }
    .deals-section .row > div { margin-bottom: 12px; }
    .services-strip .row > div { margin-bottom: 16px; }
    .reviews-summary { flex-direction: column; align-items: flex-start; }
    .pd-actions { position: sticky; bottom: 60px; background: #fff; padding: 12px 0; z-index: 10; }
    .footer-col { margin-bottom: 24px; }
}

@media (max-width: 480px) {
    .explore-categories { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* ===================================================================
   SESSION 3: Login Modal, Search, Cart, Checkout, Account
   =================================================================== */

/* --- Login Modal --- */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}
.login-modal-overlay.active { display: flex; }
.login-modal {
    background: #fff;
    max-width: 700px;
    width: 90%;
    position: relative;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    max-height: 90vh;
}
.login-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--nkp-text);
    z-index: 1;
}
.login-modal-inner {
    display: flex;
    width: 100%;
}
.login-modal-left {
    background: #000;
    color: #fff;
    width: 45%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.login-modal-left .login-brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.login-modal-left h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.login-modal-right {
    width: 55%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.phone-input-group .country-code {
    padding: 10px 12px;
    border-right: 1px solid var(--nkp-border);
    font-size: 14px;
    white-space: nowrap;
    background: var(--nkp-bg-light);
}
.phone-input-group input {
    flex: 1;
    border: none;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}
.notify-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--nkp-text-light);
    margin-bottom: 16px;
    cursor: pointer;
}
.notify-check input { accent-color: var(--nkp-primary); }
.btn-login-submit {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    margin-bottom: 16px;
}
.btn-login-submit:hover { background: #333; }
.login-terms {
    font-size: 11px;
    color: var(--nkp-text-muted);
    text-align: center;
    line-height: 1.6;
}
.login-terms a { color: var(--nkp-primary); text-decoration: underline; }

/* OTP step */
.login-step h4 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}
.otp-sent-text {
    font-size: 13px;
    text-align: center;
    color: var(--nkp-text-light);
    margin-bottom: 16px;
}
.otp-edit-btn { color: var(--nkp-success); font-size: 12px; margin-left: 4px; }
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 16px;
}
.otp-box {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid var(--nkp-border);
    border-radius: 4px;
    outline: none;
    transition: border-color .2s;
}
.otp-box:focus { border-color: var(--nkp-primary); }
.resend-timer, .resend-link {
    text-align: center;
    font-size: 12px;
    color: var(--nkp-text-muted);
    margin-bottom: 12px;
    display: block;
}
.resend-link { color: var(--nkp-accent); cursor: pointer; }
.btn-verify { background: var(--nkp-text-muted); }
.btn-verify.ready { background: #000; }

@media (max-width: 600px) {
    .login-modal-inner { flex-direction: column; }
    .login-modal-left { width: 100%; padding: 24px; }
    .login-modal-right { width: 100%; padding: 24px; }
}

/* --- Search Sidebar --- */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 3000;
    display: none;
}
.search-overlay.active { display: block; }
.search-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 3001;
    transition: right .3s ease;
    overflow-y: auto;
    padding: 20px;
}
.search-sidebar.active { right: 0; }
.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.search-header h5 { margin: 0; font-size: 18px; font-weight: 600; }
.search-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--nkp-text);
}
.search-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    padding: 8px 12px;
    gap: 8px;
    margin-bottom: 20px;
}
.search-input-wrap i { color: var(--nkp-text-muted); }
.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}
.search-clear {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--nkp-text-muted);
}
.search-section { margin-bottom: 20px; }
.search-section h6 {
    font-size: 12px;
    font-weight: 600;
    color: var(--nkp-text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.search-keyword-tag {
    padding: 4px 12px;
    background: var(--nkp-bg-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--nkp-text);
    cursor: pointer;
    transition: background .2s;
}
.search-keyword-tag:hover { background: var(--nkp-border); }
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--nkp-bg-light);
    text-decoration: none;
}
.search-result-item img {
    width: 48px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.search-result-item .sr-name {
    font-size: 13px;
    color: var(--nkp-text);
    margin-bottom: 2px;
}
.search-result-item .sr-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--nkp-text);
}
.search-result-item .sr-mrp {
    text-decoration: line-through;
    color: var(--nkp-text-muted);
    font-size: 12px;
    margin-left: 6px;
}
.search-result-item .sr-off {
    color: var(--nkp-discount);
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
}

/* --- Cart Page --- */
.cart-delivery-bar {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #2e7d32;
}
.cart-delivery-bar i { font-size: 20px; }
.cart-offers-strip {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.cart-offer-tag {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 12px;
    color: #5d4037;
}
.cart-offer-tag i { color: #f57f17; font-size: 16px; flex-shrink: 0; }
.cart-page-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.cart-page-heading h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--nkp-text);
}
.cart-item-count {
    font-size: 14px;
    color: var(--nkp-text-muted);
    font-weight: 400;
}

/* Cart Item Card */
.cart-item-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: box-shadow .2s;
}
.cart-item-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.cart-item-image {
    width: 120px;
    flex-shrink: 0;
}
.cart-item-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 6px;
    background: var(--nkp-bg-light);
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}
.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--nkp-text);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-item-name:hover { color: var(--nkp-accent); }
.cart-item-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--nkp-text-muted);
    font-size: 14px;
    flex-shrink: 0;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.cart-item-remove:hover {
    background: #fce4ec;
    color: var(--nkp-accent);
}
.cart-item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.meta-tag {
    font-size: 11px;
    color: var(--nkp-text-light);
    background: var(--nkp-bg-light);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 12px;
}
.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--nkp-border);
    border-radius: 6px;
    overflow: hidden;
}
.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--nkp-bg-light);
    font-size: 16px;
    cursor: pointer;
    color: var(--nkp-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.qty-btn:hover { background: #e0e0e0; }
.qty-btn:active { background: #d0d0d0; }
.qty-value {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 34px;
    background: #fff;
}
.cart-item-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.cart-item-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--nkp-text);
}
.cart-item-mrp {
    font-size: 12px;
    color: var(--nkp-text-muted);
    text-decoration: line-through;
}
.cart-item-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--nkp-bg-light);
}
.cart-item-actions a {
    font-size: 12px;
    color: var(--nkp-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}
.cart-item-actions a:hover { color: var(--nkp-accent); }
.cart-continue-shopping {
    padding: 16px 0;
}
.cart-continue-shopping a {
    font-size: 13px;
    color: var(--nkp-text-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.cart-continue-shopping a:hover { color: var(--nkp-primary); }

/* Order Summary Card */
.order-summary-card {
    background: #fff;
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 80px;
}
.order-summary-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--nkp-primary);
    color: var(--nkp-text);
}
.order-summary-body { margin-bottom: 8px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--nkp-text-light);
}
.summary-row .free-delivery {
    color: var(--nkp-success);
    font-weight: 600;
}
.summary-row.discount-row {
    color: var(--nkp-success);
    font-weight: 500;
}
.summary-divider {
    height: 1px;
    background: var(--nkp-border);
    margin: 14px 0;
}
.summary-row.total-row {
    font-weight: 700;
    font-size: 16px;
    color: var(--nkp-text);
    margin-bottom: 0;
}

/* Coupon */
.coupon-section {
    border-top: 1px solid var(--nkp-border);
    padding-top: 14px;
    margin: 16px 0;
}
.coupon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--nkp-text);
    cursor: pointer;
    padding: 8px 0;
    transition: color .2s;
}
.coupon-toggle:hover { color: var(--nkp-accent); }
.coupon-toggle i:first-child { font-size: 18px; color: var(--nkp-success); }
.coupon-toggle .coupon-arrow { margin-left: auto; font-size: 12px; color: var(--nkp-text-muted); }
.coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
}
.coupon-applied-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.coupon-applied-left i { color: var(--nkp-success); font-size: 18px; }
.coupon-code-label {
    font-weight: 600;
    font-size: 13px;
    display: block;
}
.coupon-savings { font-size: 11px; color: var(--nkp-success); }
.coupon-applied > a { font-size: 12px; color: var(--nkp-accent); }
.coupon-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px dashed var(--nkp-border);
    border-radius: 6px;
    font-size: 13px;
    text-transform: uppercase;
    outline: none;
    transition: border-color .2s;
}
.coupon-form input:focus { border-color: var(--nkp-primary); }
.coupon-form button {
    padding: 10px 20px;
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.coupon-form button:hover { background: #0d1526; }

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--nkp-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background .2s, transform .1s;
}
.btn-checkout:hover { background: #b71c1c; color: #fff; transform: translateY(-1px); }
.btn-checkout:active { transform: translateY(0); }
.checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--nkp-text-muted);
    margin-top: 12px;
    text-align: center;
}
.checkout-secure-note i { color: var(--nkp-success); }
.payment-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--nkp-bg-light);
    font-size: 11px;
    color: var(--nkp-text-muted);
}
.payment-methods {
    display: flex;
    gap: 8px;
}
.payment-methods i { font-size: 18px; color: var(--nkp-text-light); }

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}
.empty-cart-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--nkp-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.empty-cart-icon i {
    font-size: 40px;
    color: var(--nkp-text-muted);
}
.empty-cart h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--nkp-text);
}
.empty-cart p {
    color: var(--nkp-text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* --- Checkout Page --- */
.checkout-section {
    border: 1px solid var(--nkp-border);
    padding: 20px;
    border-radius: 4px;
}
.checkout-section h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}
.address-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .2s;
}
.address-card.selected { border-color: var(--nkp-primary); background: #f8f9ff; }
.address-card input[type="radio"] { accent-color: var(--nkp-primary); margin-top: 2px; }
.address-card-body { flex: 1; font-size: 13px; color: var(--nkp-text-light); }
.address-card-body strong { color: var(--nkp-text); display: block; margin-bottom: 4px; }
.address-card-body p { margin: 0 0 2px; }
.address-label {
    display: inline-block;
    padding: 2px 8px;
    background: var(--nkp-bg-light);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 4px;
}
.btn-add-address {
    background: none;
    border: 1px dashed var(--nkp-border);
    padding: 10px 20px;
    font-size: 13px;
    color: var(--nkp-primary);
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: border-color .2s;
}
.btn-add-address:hover { border-color: var(--nkp-primary); }
.new-address-form { padding: 16px 0; }
.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}
.payment-option.selected { border-color: var(--nkp-primary); background: #f8f9ff; }
.payment-option input[type="radio"] { accent-color: var(--nkp-primary); }
.payment-option i { font-size: 20px; }
.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.checkout-item img { width: 50px; height: 60px; object-fit: cover; border-radius: 4px; }
.checkout-item-name { font-size: 13px; font-weight: 500; }
.checkout-item-meta { font-size: 11px; color: var(--nkp-text-muted); }
.checkout-item-price { font-size: 13px; font-weight: 600; }

/* Order status badges */
.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d1ecf1; color: #0c5460; }
.badge-processing { background: #e2e3f1; color: #383d6e; }
.badge-shipped { background: #cce5ff; color: #004085; }
.badge-delivered { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }
.badge-returned { background: #f5c6cb; color: #721c24; }
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

@media (max-width: 991px) {
    .cart-item-card { padding: 14px; gap: 12px; }
    .cart-item-image { width: 90px; }
    .cart-item-name { font-size: 13px; }
    .cart-item-bottom { flex-wrap: wrap; }
    .order-summary-card { position: static; margin-top: 20px; }
}

/* ===================================================================
   SESSION 4: Additional Features
   =================================================================== */

/* --- Shop by Video --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.video-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--nkp-border);
    transition: box-shadow .2s, transform .2s;
}
.video-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
}
.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--nkp-bg-light);
    color: var(--nkp-text-muted);
    font-size: 48px;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--nkp-primary);
    transition: transform .2s;
}
.video-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-info {
    padding: 14px 16px;
}
.video-info h6 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}
.video-shop-link {
    font-size: 13px;
    color: var(--nkp-accent);
    font-weight: 500;
}
.video-shop-link:hover { text-decoration: underline; }

/* Video Player Modal */
.video-player-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-player-overlay.active { display: flex; }
.video-player-wrap {
    width: 100%;
    max-width: 900px;
    position: relative;
}
.video-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}
.video-player-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}
.video-iframe-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}
.video-iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Store Locator --- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.store-card {
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.store-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.store-card-header {
    background: var(--nkp-primary);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.store-card-header h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}
.store-card-body {
    padding: 18px;
}
.store-address {
    font-size: 13px;
    color: var(--nkp-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}
.store-contact {
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.store-contact i { color: var(--nkp-primary); }
.store-hours {
    font-size: 12px;
    color: var(--nkp-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
.store-card-footer {
    border-top: 1px solid var(--nkp-border);
    padding: 12px 18px;
    text-align: center;
}
.btn-directions {
    font-size: 13px;
    font-weight: 600;
    color: var(--nkp-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-directions:hover { color: var(--nkp-accent); }

/* --- Track Order --- */
.track-order-wrap {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}
.track-order-header {
    margin-bottom: 30px;
}
.track-order-header h2 {
    margin: 16px 0 8px;
    font-size: 24px;
}
.track-order-header p {
    color: var(--nkp-text-muted);
    font-size: 14px;
}
.track-order-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.track-order-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
}
.track-order-form input:focus {
    outline: none;
    border-color: var(--nkp-primary);
}
.track-order-form button {
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s;
}
.track-order-form button:hover { background: var(--nkp-accent); }

.track-result-card {
    text-align: left;
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    padding: 24px;
}
.track-result-card h5 {
    margin: 0 0 16px;
    font-size: 16px;
}
.track-result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--nkp-bg-light);
}
.track-result-row:last-child { border-bottom: none; }
.track-result-row span:first-child { color: var(--nkp-text-muted); }
.track-timeline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--nkp-border);
}
.track-timeline h6 {
    margin-bottom: 16px;
    font-size: 14px;
}
.track-timeline-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    position: relative;
}
.track-timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: var(--nkp-border);
}
.track-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--nkp-success);
    flex-shrink: 0;
    margin-top: 2px;
}
.track-timeline-content {
    font-size: 13px;
}
.track-timeline-content strong {
    text-transform: capitalize;
    display: block;
    margin-bottom: 2px;
}
.track-timeline-content span {
    color: var(--nkp-text-muted);
    font-size: 12px;
}

/* --- Contact Us --- */
.contact-form-card {
    padding: 30px;
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    margin-bottom: 30px;
}
.contact-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--nkp-text);
}
.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nkp-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--nkp-font);
    transition: border-color .2s;
}
.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--nkp-primary);
}
.contact-form-card textarea { resize: vertical; }
.contact-info-card {
    background: var(--nkp-bg-light);
    padding: 30px;
    border-radius: 8px;
    height: 100%;
}
.contact-info-card h5 {
    margin: 0 0 24px;
    font-size: 18px;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-info-item i {
    color: var(--nkp-primary);
    font-size: 20px;
    margin-top: 2px;
}
.contact-info-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}
.contact-info-item p {
    font-size: 13px;
    color: var(--nkp-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --- Static Pages --- */
.static-page {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 40px;
}
.static-page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--nkp-primary);
}
.static-page-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--nkp-text-light);
}
.static-page-content h2,
.static-page-content h3,
.static-page-content h4 {
    color: var(--nkp-text);
    margin-top: 24px;
    margin-bottom: 12px;
}
.static-page-content p { margin-bottom: 14px; }
.static-page-content ul,
.static-page-content ol {
    padding-left: 24px;
    margin-bottom: 14px;
}
.static-page-content li { margin-bottom: 6px; }

/* --- Review Form --- */
.review-form-wrap {
    max-width: 600px;
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    padding: 24px;
    margin-top: 10px;
}
.review-star-select label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.star-selector i {
    font-size: 24px;
    color: var(--nkp-text-muted);
    cursor: pointer;
    transition: color .15s;
    margin-right: 4px;
}
.star-selector i.bi-star-fill { color: var(--nkp-star); }
.star-selector i:hover { color: var(--nkp-star); }

/* --- Session 4 Responsive --- */
@media (max-width: 991px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .video-grid { grid-template-columns: 1fr; }
    .store-grid { grid-template-columns: 1fr; }
    .track-order-form { flex-direction: column; }
    .contact-form-card { padding: 20px; }
    .contact-info-card { padding: 20px; }
}

/* ===================================================================
   SESSION 5: Polish & SEO
   =================================================================== */

/* --- Button Disabled & Loading States --- */
button:disabled, .btn-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-checkout:active,
.btn-view-all:active {
    transform: scale(0.98);
}

/* --- Form Validation States --- */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: var(--nkp-accent) !important;
}
input:valid:not(:placeholder-shown):not([readonly]),
textarea:valid:not(:placeholder-shown):not([readonly]) {
    border-color: var(--nkp-success);
}
.form-error {
    color: var(--nkp-accent);
    font-size: 12px;
    margin-top: 4px;
}

/* --- Improved Loading Overlay --- */
.loading-overlay {
    backdrop-filter: blur(2px);
}
.loading-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--nkp-border);
    border-top-color: var(--nkp-primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Skeleton Loading for Cards --- */
.skeleton {
    background: linear-gradient(90deg, var(--nkp-bg-light) 25%, #e8e8e8 50%, var(--nkp-bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Smooth Page Transitions --- */
main {
    animation: fadeIn .3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Focus Visible for Accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--nkp-primary);
    outline-offset: 2px;
}

/* --- Improved Scrollbar (webkit) --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--nkp-bg-light); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* --- Image lazy loading placeholder --- */
img[loading="lazy"] {
    background: var(--nkp-bg-light);
}

/* --- Print Styles --- */
@media print {
    .announcement-bar,
    .top-utility-nav,
    .main-nav,
    .mobile-menu-sidebar,
    .mobile-bottom-nav,
    .login-modal-overlay,
    .search-overlay,
    .toast-container,
    .loading-overlay,
    footer { display: none !important; }
    body { padding-bottom: 0; }
    main { padding-top: 0; }
}

/* --- Session 5 Additional Responsive --- */
@media (max-width: 991px) {
    .container { padding-left: 12px; padding-right: 12px; }
    .pd-actions .btn-add-cart { font-size: 13px; padding: 12px 20px; }
}
@media (max-width: 767px) {
    .checkout-address-list { grid-template-columns: 1fr; }
    .order-summary-card { margin-top: 20px; }
    .review-form-wrap { max-width: 100%; }
    .static-page-title { font-size: 22px; }
}
@media (max-width: 480px) {
    .pd-name { font-size: 16px; }
    .pd-pricing .selling-price { font-size: 18px; }
    .container { padding-left: 10px; padding-right: 10px; }
}

/* ===================================================================
   RESPONSIVE FIX: Horizontal scroll prevention & Mobile bottom nav
   =================================================================== */

/* Prevent horizontal overflow globally */
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- Mobile Bottom Nav Fix --- */
.mobile-bottom-nav {
    box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}
.mobile-bottom-nav .nav-items {
    padding: 4px 0;
}
.mobile-bottom-nav .nav-item {
    background: none;
    border: none;
    padding: 4px 12px 2px;
    min-width: 60px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.mobile-bottom-nav .nav-item span:not(.cart-badge) {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.mobile-bottom-nav .nav-item i {
    font-size: 20px;
    line-height: 1;
}
.mobile-bottom-nav .nav-item:active {
    opacity: 0.7;
}
.mobile-bottom-nav .nav-item .cart-badge {
    top: -2px;
    right: 50%;
    transform: translateX(16px);
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 767px) {
    /* Ensure images never overflow */
    img { max-width: 100%; height: auto; }

    /* Fix table overflow in product details */
    .pd-highlights table {
        width: 100%;
        table-layout: fixed;
        word-wrap: break-word;
    }

    /* Fix coupon section overflow */
    .pd-coupon {
        flex-wrap: wrap;
        gap: 8px;
    }
    .pd-coupon input {
        min-width: 0;
        flex: 1;
    }

    /* Fix pincode form overflow */
    .pincode-form {
        flex-wrap: wrap;
        gap: 8px;
    }
    .pincode-form input {
        min-width: 0;
        flex: 1;
    }

    /* Fix product detail gallery */
    .pd-gallery {
        flex-direction: column-reverse;
    }

    /* Fix offer cards overflow */
    .pd-offer-card {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Fix contact form card */
    .contact-form-card,
    .contact-info-card {
        padding: 16px;
    }

    /* Fix store cards */
    .store-card {
        padding: 16px;
    }

    /* Fix footer columns */
    .site-footer .row > div {
        margin-bottom: 20px;
    }

    /* Fix header icons not overlapping */
    .header-inner {
        padding: 8px 0;
    }

    /* Better spacing for breadcrumb */
    .breadcrumb-nav {
        padding: 8px 0;
        overflow-x: auto;
        white-space: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .breadcrumb-nav::-webkit-scrollbar { display: none; }

    /* Fix filter sidebar in mobile */
    .listing-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    .listing-header select {
        min-width: 0;
        flex: 1;
    }

    /* Fix cart page table */
    .cart-items-table {
        display: block;
        overflow-x: auto;
    }

    /* Fix checkout layout */
    .checkout-form input,
    .checkout-form select,
    .checkout-form textarea {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* Tighter spacing on very small screens */
    .section-heading { margin: 16px 0 12px; }
    .section-heading h2 { font-size: 16px; }

    /* Fix explore categories grid */
    .explore-categories { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* Fix product card text overflow */
    .product-card .product-name {
        font-size: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Smaller header on mobile */
    .logo { font-size: 18px; }
    .header-icons .icon-btn { padding: 6px; }
    .header-icons .icon-btn i { font-size: 18px; }

    /* Fix footer newsletter form */
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input {
        width: 100%;
    }
    .newsletter-form button {
        width: 100%;
    }

    /* Bottom nav compact */
    .mobile-bottom-nav .nav-item {
        padding: 4px 8px 2px;
        min-width: 50px;
    }
    .mobile-bottom-nav .nav-item i { font-size: 18px; }
    .mobile-bottom-nav .nav-item span:not(.cart-badge) { font-size: 9px; }

    /* Cart page mobile */
    .cart-offers-strip { flex-direction: column; }
    .cart-offer-tag { min-width: 0; }
    .cart-page-heading h2 { font-size: 18px; }
    .cart-item-card { padding: 12px; gap: 10px; }
    .cart-item-image { width: 80px; }
    .cart-item-name { font-size: 13px; }
    .cart-item-total { font-size: 14px; }
    .order-summary-card { padding: 16px; }
}

/* ===================================================================
   ACCOUNT PAGES: Shared Styles
   =================================================================== */

/* --- Account Sidebar --- */
.account-sidebar {
    background: var(--nkp-bg-white);
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    overflow: hidden;
}
.account-sidebar .sidebar-header {
    background: linear-gradient(135deg, var(--nkp-primary) 0%, #2d3a5c 100%);
    color: #fff;
    padding: 24px 20px;
}
.account-sidebar .sidebar-header h6 { margin: 0; font-weight: 600; font-size: 16px; }
.account-sidebar .sidebar-header small { opacity: .75; font-size: 13px; }
.account-sidebar .sidebar-nav { list-style: none; margin: 0; padding: 0; }
.account-sidebar .sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    color: var(--nkp-text);
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--nkp-border);
    transition: background .2s, color .2s, border-left .2s;
    border-left: 3px solid transparent;
}
.account-sidebar .sidebar-nav li a:hover {
    background: var(--nkp-bg-light);
    color: var(--nkp-accent);
}
.account-sidebar .sidebar-nav li a.active {
    background: var(--nkp-bg-light);
    color: var(--nkp-accent);
    border-left: 3px solid var(--nkp-accent);
    font-weight: 600;
}
.account-sidebar .sidebar-nav li a i { font-size: 18px; width: 22px; text-align: center; }
.account-sidebar .btn-logout-sidebar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    background: none;
    border: none;
    color: var(--nkp-accent);
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
}
.account-sidebar .btn-logout-sidebar:hover { background: #fff5f5; }

/* Mobile horizontal nav */
@media (max-width: 991.98px) {
    .account-sidebar { border-radius: 0; border-left: 0; border-right: 0; }
    .account-sidebar .sidebar-header { display: none; }
    .account-sidebar .sidebar-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .account-sidebar .sidebar-nav::-webkit-scrollbar { display: none; }
    .account-sidebar .sidebar-nav li a {
        border-bottom: none;
        border-left: none !important;
        padding: 10px 16px;
        font-size: 13px;
        border-right: 1px solid var(--nkp-border);
    }
    .account-sidebar .sidebar-nav li a.active {
        border-bottom: 2px solid var(--nkp-accent);
        border-left: none !important;
    }
    .account-sidebar .btn-logout-sidebar {
        display: inline-flex;
        width: auto;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* --- Account Profile Page --- */
.account-profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nkp-border);
}
.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nkp-primary) 0%, #2d3a5c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 1px;
}
.account-profile-header .profile-greeting {
    flex: 1;
}
.account-profile-header .profile-greeting h4 {
    margin: 0 0 4px;
    font-weight: 700;
    color: var(--nkp-primary);
    font-size: 20px;
}
.account-profile-header .profile-greeting p {
    margin: 0;
    font-size: 14px;
    color: var(--nkp-text-muted);
}

/* Quick Action Cards */
.account-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.quick-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: var(--nkp-bg-white);
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--nkp-text);
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.quick-action-card:hover {
    border-color: var(--nkp-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transform: translateY(-1px);
    color: var(--nkp-text);
}
.quick-action-card .qa-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.quick-action-card .qa-icon.orders { background: #e3f2fd; color: #1565c0; }
.quick-action-card .qa-icon.wishlist { background: #fce4ec; color: #c62828; }
.quick-action-card .qa-icon.addresses { background: #e8f5e9; color: #2e7d32; }
.quick-action-card .qa-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}
.quick-action-card .qa-count {
    font-size: 12px;
    color: var(--nkp-text-muted);
}
@media (max-width: 767.98px) {
    .account-quick-actions { grid-template-columns: 1fr; gap: 10px; }
    .account-profile-header { gap: 14px; }
    .account-avatar { width: 56px; height: 56px; font-size: 22px; }
    .account-profile-header .profile-greeting h4 { font-size: 17px; }
}

/* --- Profile Card --- */
.profile-card {
    background: var(--nkp-bg-white);
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    padding: 28px;
}
.profile-card h5 {
    font-weight: 700;
    color: var(--nkp-primary);
    margin-bottom: 24px;
    font-size: 16px;
}
.profile-field { margin-bottom: 20px; }
.profile-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--nkp-text-muted);
    margin-bottom: 6px;
}
.profile-field input,
.profile-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nkp-border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--nkp-text);
    background: var(--nkp-bg-light);
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.profile-field input:focus,
.profile-field select:focus {
    outline: none;
    border-color: var(--nkp-primary);
    background: var(--nkp-bg-white);
    box-shadow: 0 0 0 3px rgba(26,34,56,.06);
}
.profile-field input[readonly],
.profile-field select[disabled] {
    background: var(--nkp-bg-light);
    color: var(--nkp-text-light);
    cursor: default;
}
.btn-edit-profile {
    background: var(--nkp-primary);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}
.btn-edit-profile:hover { background: #0d1529; }
.btn-save-profile {
    background: var(--nkp-accent);
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}
.btn-save-profile:hover { background: #b71c1c; }
.btn-cancel-edit {
    background: none;
    border: 1px solid var(--nkp-border);
    padding: 10px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    color: var(--nkp-text-light);
    transition: border-color .2s;
}
.btn-cancel-edit:hover { border-color: var(--nkp-text-muted); }

/* --- Account Empty States --- */
.account-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--nkp-bg-white);
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
}
.account-empty-state i { font-size: 48px; color: var(--nkp-text-muted); margin-bottom: 16px; }
.account-empty-state h6 { font-weight: 600; color: var(--nkp-text); }
.account-empty-state p { color: var(--nkp-text-muted); font-size: 14px; }
.account-empty-state .btn-shop {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 28px;
    background: var(--nkp-primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s;
}
.account-empty-state .btn-shop:hover { background: #0d1529; color: #fff; }

/* --- Account Content Cards --- */
.account-content-card {
    background: var(--nkp-bg-white);
    border: 1px solid var(--nkp-border);
    border-radius: 8px;
    padding: 24px;
}
.account-content-card h5 {
    font-weight: 700;
    color: var(--nkp-primary);
    margin-bottom: 20px;
    font-size: 16px;
}
