/* ============================================================
   IMPORTS & CSS VARIABLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root {
    --porto-primary: #0088cc;
    --porto-dark: #222529;
    --porto-light: #f4f4f4;
    --porto-white: #ffffff;
    --porto-gray: #777;
    --brand: #ff3f6c;
    --brand-dark: #e8305b;
    --bg: #f5f6fa;
    --white: #ffffff;
    --dark: #1c1c2e;
    --muted: #8a8fa8;
    --border: #e4e6f0;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, .08);
}


/* ============================================================
   RESET & BASE
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--porto-light);
    color: var(--porto-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 48px 0;
}

main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

.main-header {
    position: sticky;
    top: 0;
    z-index: 99999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cat-menu>li>a.active {
    color: #ff3f6c !important;
    border-bottom: 3px solid #ff3f6c !important;
}


/* Top bar */

.top-nav {
    background: #ff527b;
    border-bottom: 2px solid #e8305b;
    padding: 10px 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible;
}


/* Logo */

.logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
}

.logo span {
    color: var(--porto-primary);
}


/* Search */

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-box input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-wrapper form {
    display: flex;
    background: #fff;
    border-radius: 25px;
    padding: 2px 15px;
    width: 450px;
}

.search-wrapper input {
    border: none;
    padding: 10px;
    width: 100%;
    outline: none;
}

.search-wrapper button {
    border: none;
    background: none;
    cursor: pointer;
}


/* Action links */

.action-links {
    list-style: none;
    display: flex;
    gap: 20px;
    white-space: nowrap;
}

.action-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

.action-links a:hover {
    color: #ffd8d8;
}

.user-greet {
    color: #ffffff;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
}

.logout-link {
    color: #ffe0e0;
    font-weight: bold;
}


/* Bottom nav bar */

.header-bottom {
    background: var(--porto-white);
    border-bottom: 1px solid #e7e7e7;
    overflow: visible;
    position: relative;
    z-index: 99998;
}

.bottom-nav {
    padding: 12px 20px;
}

.category-nav {
    overflow: visible;
}

.cat-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 12px 0;
    overflow-x: auto;
    overflow-y: visible;
}

.cat-menu>li {
    overflow: visible;
}

.cat-menu a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.category-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.category-links a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.arrow-icon {
    font-size: 10px;
    margin-left: 5px;
    color: #888;
}


/* Dropdown */

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1005;
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
}

.dropdown-content a {
    color: #444;
    padding: 10px 20px;
    text-transform: none;
    display: block;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f8f8f8;
    color: #ff3f6c;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover>a {
    color: #ff3f6c;
    border-bottom: 3px solid #ff3f6c;
}


/* Has-dropdown (category nav) */

.has-dropdown {
    position: relative;
    overflow: visible;
    z-index: 99999;
}

.has-dropdown:hover .sub-dropdown {
    display: block;
}

.sub-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    border-top: 3px solid #ff3f6c;
    list-style: none;
    border-radius: 0 0 10px 10px;
    padding: 8px 0;
    overflow: visible;
}

.sub-dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    text-transform: none;
}

.sub-dropdown li a:hover {
    background: #fff5f7;
    color: #ff3f6c;
    padding-left: 26px;
}


/* Header icons */

.header-icons {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.header-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}


/* ============================================================
   PAGE HERO / BREADCRUMB
   ============================================================ */

.page-hero {
    background: linear-gradient(120deg, #1a1a2e 0%, #2d1b4e 60%, #ff3f6c22 100%);
    padding: 40px 0 38px;
    margin-bottom: 40px;
}

.page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 38px);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

.page-hero-title em {
    font-style: normal;
    color: var(--brand);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, .5);
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.breadcrumb span {
    color: rgba(255, 255, 255, .3);
}

.breadcrumb .active {
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}


/* Hero inline search */

.hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50px;
    padding: 0 6px 0 20px;
    height: 48px;
    gap: 10px;
    flex: 0 0 340px;
    max-width: 340px;
    transition: background .2s;
}

.hero-search-form:focus-within {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
}

.hero-search-form i {
    color: rgba(255, 255, 255, .4);
    font-size: 14px;
    flex-shrink: 0;
}

.hero-search-form input {
    flex: 1;
    border: none;
    background: none;
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.hero-search-form input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.hero-search-form button {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

.hero-search-form button:hover {
    background: var(--brand-dark);
}


/* ============================================================
   HOME: HERO INTRO SECTION
   ============================================================ */

.hero-intro-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, #fff5f7 0%, #ffffff 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero-intro-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: #222;
    margin-bottom: 15px;
}

.hero-intro-section h1 span {
    color: #ff3f6c;
}

.hero-intro-section .tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.highlight-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.highlight-box h2 {
    font-size: 26px;
    color: #232f3e;
    margin-bottom: 10px;
}

.highlight-box p {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin: 40px 0 25px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff3f6c;
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--brand);
    border-radius: 2px;
}


/* ============================================================
   HOME: CATEGORIES GRID
   ============================================================ */

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.cat-card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #000;
}

.cat-card h3 {
    color: #ff7a00;
    margin-bottom: 6px;
}

.cat-card p {
    color: #555;
}


/* ============================================================
   HOME: PRODUCT LISTINGS & DEALS
   ============================================================ */

#productsList,
#homeDeals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.productsList {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.productsList:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #ff3f6c;
}

.productsList img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.productsList:hover img {
    transform: scale(1.05);
}

.productsList h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.productsList .category-name {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.product-main-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.view-btn {
    position: absolute;
    bottom: -60px;
    left: 20px;
    right: 20px;
    background: #ff3f6c;
    color: #fff;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.productsList:hover .view-btn {
    bottom: 20px;
    opacity: 1;
}

.view-btn:hover {
    background: #e8305b;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 14px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.product-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
}

.product-mini {
    min-width: 180px;
    height: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-mini img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}


/* ============================================================
   SHOP PAGE: SIDEBAR + LAYOUT
   ============================================================ */

.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

.sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.sidebar-block {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.sidebar-block:last-child {
    border-bottom: none;
}

.sidebar-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 14px;
}

.price-range-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.price-range-row input[type="number"] {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    outline: none;
    transition: border-color .2s;
}

.price-range-row input[type="number"]:focus {
    border-color: var(--brand);
}

.filter-btn {
    width: 100%;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    background: var(--brand);
}

.sort-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sort-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    transition: .2s;
}

.sort-list li a:hover,
.sort-list li a.active {
    background: #fff0f4;
    color: var(--brand);
}

.sort-list li a i {
    font-size: 12px;
    width: 16px;
    text-align: center;
}


/* Products area */

.products-area {
    min-width: 0;
}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-count {
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.results-count strong {
    color: var(--dark);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff0f4;
    color: var(--brand);
    border: 1px solid #ffd0db;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
}

.filter-pill a {
    color: var(--brand);
    font-size: 14px;
    line-height: 1;
}

.view-toggle {
    display: flex;
    gap: 4px;
}


/* Shop product grid */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
    border-color: #ddd;
    transform: translateY(-4px);
}


/* List view overrides */

.list-view .product-card {
    flex-direction: row;
    height: 160px;
}

.list-view .card-img-wrap {
    flex: 0 0 160px;
    height: 100%;
    border-radius: 0;
}

.list-view .card-body {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.list-view .card-name-block {
    flex: 1;
    min-width: 160px;
}

.list-view .card-cta {
    margin-top: 0;
    flex-shrink: 0;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #fafafa;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .5s ease;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    opacity: 0;
    transition: all 0.3s ease;
    border: none;
    font-size: 16px;
}

.product-card:hover .card-wishlist {
    opacity: 1;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 5px;
}

.card-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 10px;
    flex: 1;
}

.card-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.card-mrp {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.card-discount {
    font-size: 12px;
    font-weight: 700;
    color: #22a966;
}

.card-cta {
    display: block;
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.card-cta:hover {
    background: var(--brand);
}


/* Empty state */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 18px;
    display: block;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 63, 108, .3);
}


/* Mobile filter button */

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: .2s;
}

.mobile-filter-btn:hover {
    background: var(--brand);
}


/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

.detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
    padding: 0 0 60px;
}


/* Gallery */

.detail-gallery {
    position: sticky;
    top: 90px;
}

.main-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eaeaec;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    position: relative;
}

.main-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform .15s ease-out;
    pointer-events: none;
}

.img-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ff3f6c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
}

.thumb-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid #eaeaec;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
    flex-shrink: 0;
}

.thumb.active,
.thumb:hover {
    border-color: #ff3f6c;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}


/* Detail info */

.detail-info {
    padding-top: 4px;
}

.detail-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff3f6c;
    background: #fff0f4;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.detail-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 10px;
}

.detail-brand {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
}

.detail-brand strong {
    color: #444;
}


/* Rating */

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 1px;
}

.rating-count {
    font-size: 13px;
    color: #888;
}

.rating-sep {
    color: #ddd;
}

.in-stock {
    font-size: 12px;
    font-weight: 700;
    color: #22a966;
    background: #e8f8f0;
    padding: 3px 10px;
    border-radius: 50px;
}


/* Price */

.price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.price-main {
    font-size: 34px;
    font-weight: 800;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
}

.price-mrp {
    font-size: 18px;
    color: #aaa;
    text-decoration: line-through;
}

.price-off {
    font-size: 15px;
    font-weight: 700;
    color: #22a966;
}

.delivery-note {
    font-size: 13px;
    color: #22a966;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-divider {
    border: none;
    border-top: 1px solid #eaeaec;
    margin: 20px 0;
}


/* Options */

.option-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 10px;
}

.size-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.size-chip {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #eaeaec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    background: #ffffff;
}

.size-chip:hover,
.size-chip.active {
    border-color: #ff3f6c;
    color: #ff3f6c;
    background: #fff0f4;
}

.color-swatches {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color .2s;
    position: relative;
}

.color-swatch.active,
.color-swatch:hover {
    border-color: #1a1a2e;
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.hidden-select {
    display: none;
}


/* CTA buttons */

.cta-group {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.btn-add-bag {
    flex: 2;
    background: #ff3f6c;
    color: #fff;
    border: none;
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    font-family: 'Poppins', sans-serif;
}

.btn-add-bag:hover {
    background: #e8305b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 63, 108, .35);
}

.btn-wishlist {
    flex: 1;
    background: #ffffff;
    color: #1a1a2e;
    border: 1.5px solid #eaeaec;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    font-family: 'Poppins', sans-serif;
}

.btn-wishlist:hover {
    border-color: #ff3f6c;
    color: #ff3f6c;
    background: #fff0f4;
}

.btn-wishlist.active {
    background: #fff0f4;
    border-color: #ff3f6c;
    color: #ff3f6c;
}


/* Trust strip */

.trust-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.trust-mini-item {
    background: #ffffff;
    border: 1px solid #eaeaec;
    border-radius: 10px;
    padding: 14px 12px;
    text-align: center;
}

.trust-mini-item .t-icon {
    font-size: 22px;
    margin-bottom: 5px;
}

.trust-mini-item span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #444;
    line-height: 1.4;
}


/* Accordion */

.accordion {
    margin-top: 36px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eaeaec;
}

.acc-item {
    border-bottom: 1px solid #eaeaec;
}

.acc-item:last-child {
    border-bottom: none;
}

.acc-header {
    width: 100%;
    background: #ffffff;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    transition: background .2s;
}

.acc-header:hover {
    background: #fafafa;
}

.acc-arrow {
    font-size: 12px;
    color: #aaa;
    transition: transform .25s;
}

.acc-item.open .acc-arrow {
    transform: rotate(180deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    background: #ffffff;
}

.acc-item.open .acc-body {
    max-height: 300px;
}

.acc-body-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}


/* ============================================================
   CART PAGE
   ============================================================ */

.cart-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    gap: 20px;
}

.cart-img img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    background: #f9f9f9;
    border-radius: 8px;
}

.cart-details {
    flex: 1;
}

.cart-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cart-details .cart-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qty-box,
.product-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.qty-box button,
.product-qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: #eee;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.qty-box span,
.product-qty span {
    font-size: 15px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.remove-btn {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 4px;
    transition: 0.2s;
}

.remove-btn:hover {
    background: #f8f8f8;
    color: #000;
}

.checkout-btn {
    display: inline-block;
    background: transparent;
    color: #4B0082;
    text-decoration: underline;
    font-weight: bold;
    margin-top: 20px;
}

.empty-cart {
    font-size: 18px;
    margin-top: 40px;
}

.product-meta {
    margin-bottom: 10px;
}

.product-meta p {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}

.product-meta strong {
    color: #333;
}


/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

.checkout-page {
    max-width: 1100px;
    margin: 40px auto;
}

.checkout-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.checkout-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.summary-card {
    max-width: 400px;
}

.checkout-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background: #222;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.place-order-btn:hover {
    background: #444;
}

.summary-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 10px;
}

.summary-item span {
    font-size: 13px;
    color: #777;
}

.summary-price {
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: #4B0082;
}


/* ============================================================
   AUTH PAGE
   ============================================================ */

.auth-page {
    max-width: 900px;
    margin: 50px auto;
}

.auth-container {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.auth-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 400px;
}

.auth-card h2 {
    margin-bottom: 20px;
    text-align: center;
}

.auth-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #222;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.register-btn {
    background: #4B0082;
}

.alert {
    background: #fdf2f2;
    color: #d32f2f;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #f5c6cb;
}


/* ============================================================
   PROFILE PAGE
   ============================================================ */

.profile-page {
    max-width: 1100px;
    margin: 40px auto;
}

.profile-flex {
    display: flex;
    gap: 30px;
}

.profile-section {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.address-card,
.order-card {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 10px;
}

.edit-link {
    color: #0088cc;
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}

.edit-link:hover {
    text-decoration: underline;
}


/* ============================================================
   ADMIN
   ============================================================ */

.admin-page-body {
    padding-top: 50px;
    background: #f4f6f9;
    min-height: 100vh;
}


/* ============================================================
   SLIDER
   ============================================================ */

.slider img {
    width: 100%;
    border-radius: 14px;
}


/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: #232f3e;
    color: white;
    padding: 60px 0 30px 0;
    margin-top: 80px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-col p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.8;
    max-width: 280px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff9900;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3a4553;
    margin-top: 40px;
    padding-top: 25px;
    color: #8d949e;
    font-size: 13px;
    width: 100%;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp .5s ease both;
}

.fade-up:nth-child(2) {
    animation-delay: .06s;
}

.fade-up:nth-child(3) {
    animation-delay: .12s;
}

.fade-up:nth-child(4) {
    animation-delay: .18s;
}

.fade-up:nth-child(5) {
    animation-delay: .24s;
}

.fade-up:nth-child(6) {
    animation-delay: .30s;
}

.fade-up:nth-child(7) {
    animation-delay: .36s;
}

.fade-up:nth-child(8) {
    animation-delay: .42s;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 200px 1fr;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .detail-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .detail-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 16px;
    }
    .page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .hero-search-form {
        flex: auto;
        max-width: 100%;
        width: 100%;
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        display: none;
    }
    .sidebar.mobile-open {
        display: block;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .card-img-wrap {
        height: 190px;
    }
    .list-view .product-card {
        flex-direction: column;
        height: auto;
    }
    .list-view .card-img-wrap {
        flex: none;
        height: 190px;
        width: 100%;
    }
    .list-view .card-body {
        flex-direction: column;
    }
    .mobile-filter-btn {
        display: flex;
    }
}

@media (max-width: 600px) {
    .cta-group {
        flex-direction: column;
    }
    .btn-add-bag,
    .btn-wishlist {
        flex: unset;
        width: 100%;
    }
    .trust-mini {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .price-main {
        font-size: 26px;
    }
    .detail-name {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: 0 12px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .card-img-wrap {
        height: 160px;
    }
    .card-body {
        padding: 10px;
    }
    .card-name {
        font-size: 13px;
    }
    .card-price {
        font-size: 15px;
    }
    .card-cta {
        font-size: 11px;
        padding: 9px;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .card-img-wrap {
        height: 220px;
    }
}


/* ============================================================
   MEN / WOMEN CATEGORY PAGES — RESPONSIVE FIXES
   ============================================================ */


/* main tag needs consistent padding on all pages */

main {
    padding: 0 20px;
}

@media (max-width: 768px) {
    /* Page hero stacks vertically, search goes full width */
    .page-hero {
        padding: 24px 0 20px;
        margin-bottom: 24px;
    }
    .page-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 0 16px;
    }
    .hero-search-form {
        flex: unset;
        width: 100%;
        max-width: 100%;
    }
    .page-hero-title {
        font-size: clamp(20px, 6vw, 28px);
    }
    /* Main content full-width with tighter padding */
    main {
        margin: 20px auto;
        padding: 0 12px;
    }
    /* Product grid: 2 columns on tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    /* Card adjustments */
    .card-img-wrap {
        height: 180px;
    }
    .card-body {
        padding: 12px;
    }
    .card-price-row {
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 10px;
    }
    .card-cta {
        padding: 10px;
        font-size: 12px;
    }
    /* Breadcrumb wraps neatly */
    .breadcrumb {
        font-size: 11px;
        gap: 6px;
        flex-wrap: wrap;
    }
    /* Footer stacks on mobile */
    .footer-container {
        flex-direction: column;
        padding: 0 20px;
    }
    .footer-col {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero-inner {
        padding: 0 12px;
    }
    .page-hero-title {
        font-size: 20px;
    }
    main {
        padding: 0 10px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .card-img-wrap {
        height: 150px;
    }
    .card-body {
        padding: 8px;
        gap: 6px;
    }
    .card-category {
        font-size: 10px;
    }
    .card-name {
        font-size: 12px;
        margin-bottom: 6px;
    }
    .card-price {
        font-size: 14px;
    }
    .card-mrp,
    .card-discount {
        font-size: 11px;
    }
    .card-cta {
        font-size: 11px;
        padding: 8px 6px;
        border-radius: 6px;
    }
    .card-badge {
        font-size: 9px;
        padding: 2px 7px;
    }
    /* Empty state */
    .empty-state {
        padding: 40px 16px;
    }
    .empty-icon {
        font-size: 40px;
    }
    .empty-state h3 {
        font-size: 18px;
    }
    .empty-state p {
        font-size: 13px;
    }
    /* Top nav on mobile */
    .top-nav {
        height: auto;
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .search-box {
        margin: 0;
        order: 3;
        flex: 1 1 100%;
    }
    .action-links {
        gap: 12px;
    }
    .action-links a {
        font-size: 12px;
    }
    /* Bottom nav hides on very small, or scrolls */
    .cat-menu {
        gap: 16px;
        padding: 8px 0;
    }
    .cat-menu a {
        font-size: 11px;
    }
}