:root {
    --rose: #c9826d;
    --rose-dark: #9b5949;
    --blush: #fff5f1;
    --ivory: #fffaf7;
    --dark: #251815;
    --muted: #796661;
    --line: #eedbd3;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(84, 39, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--dark);
    background: var(--ivory);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.top-strip {
    background: var(--dark);
    color: #ffffff;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 6%;
    background: rgba(255, 250, 247, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 170px;
    min-width: 170px;
    height: 74px;
    overflow: hidden;
}

.header-logo {
    width: auto !important;
    height: 64px !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--rose);
    border-radius: 50%;
    font-family: "Playfair Display", serif;
    color: var(--rose-dark);
    font-size: 20px;
}

.brand-mark.large {
    width: 70px;
    height: 70px;
    font-size: 30px;
    margin: auto;
}

.brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.8px;
}

.search {
    flex: 1;
}

.search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    outline: none;
}

.search input:focus {
    border-color: var(--rose);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--rose-dark);
}

main {
    min-height: 70vh;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    gap: 40px;
    padding: 62px 6%;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #f7cfc1 0, #fff5f1 35%, #fffaf7 70%);
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--rose-dark);
    font-weight: 700;
}

.hero h1,
.section-title h2,
.page-head h1 {
    font-family: "Playfair Display", serif;
    line-height: 1.06;
}

.hero h1 {
    font-size: 64px;
    margin: 12px 0 18px;
}

.hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
}

.hero-actions,
.cart-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn.primary {
    background: var(--dark);
    color: #ffffff;
}

.btn.secondary {
    background: #ffffff;
    color: var(--dark);
    border-color: var(--rose);
}

.btn.light {
    background: #ffffff;
    color: var(--rose-dark);
}

/* Logo card - works for both old and new class names */
.hero-card,
.logo-card,
.hero-logo-card {
    width: 100%;
    max-width: 420px;
    height: 360px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 34px;
    background: #ffffff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.hero-card::before,
.logo-card::before,
.hero-logo-card::before {
    display: none !important;
}

.hero-main-logo,
.hero-logo-img {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 22px;
}

/* Sections */
.section {
    padding: 58px 6%;
}

.section.narrow {
    max-width: 960px;
    margin: auto;
}

.soft-bg {
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 38px;
    margin: 6px 0 0;
}

.row-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    text-align: left;
    gap: 16px;
}

.category-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-grid {
    grid-template-columns: repeat(4, 1fr);
}

.category-card,
.feature-grid > div,
.content-card,
.form-card,
.empty-card,
.success-card,
.detail-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 8px 25px rgba(84, 39, 28, 0.06);
}

.category-card strong,
.feature-grid strong {
    font-size: 20px;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(84, 39, 28, 0.06);
    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--blush);
}

.product-card a {
    display: block;
}

.product-card span {
    display: block;
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 18px 0;
}

.product-card h3 {
    margin: 6px 18px;
}

.price {
    margin: 8px 18px 22px;
    color: var(--rose-dark);
    font-weight: 800;
}

.price.big {
    font-size: 28px;
    margin: 8px 0;
}

.mrp {
    color: var(--muted);
}

.wholesale-band {
    margin: 30px 6%;
    padding: 42px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--dark), #6d3d34);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wholesale-band p {
    color: #f5ddd5;
}

.page-head {
    text-align: center;
    padding: 58px 6% 38px;
    background: var(--blush);
}

.page-head h1 {
    font-size: 44px;
    margin: 0 0 10px;
}

.page-head p {
    color: var(--muted);
    margin: 0;
}

/* Shop */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    padding: 44px 6%;
}

.filters {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px;
    height: max-content;
    position: sticky;
    top: 100px;
}

.filters a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
}

.filters a.active,
.filters a:hover {
    background: var(--blush);
    color: var(--rose-dark);
}

.result-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: var(--muted);
    gap: 14px;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    padding: 58px 6%;
    align-items: start;
}

.product-image {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 18px;
}

.product-image img {
    width: 100%;
    border-radius: 22px;
    max-height: 620px;
    object-fit: cover;
}

.product-info h1 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    margin: 8px 0;
}

.buy-form {
    display: flex;
    align-items: end;
    gap: 14px;
    margin: 24px 0;
}

.buy-form input {
    width: 110px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    margin-top: 7px;
    background: #ffffff;
}

textarea {
    min-height: 110px;
}

.wholesale-page,
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
}

.check-list {
    padding-left: 20px;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-weight: 700;
}

.alert.success {
    background: #e9f9ef;
    color: #186b37;
}

.alert.error {
    background: #fff0ef;
    color: #9c2b22;
}

/* Cart */
.cart-list {
    display: grid;
    gap: 14px;
}

.cart-row {
    display: grid;
    grid-template-columns: 80px 1fr 110px 120px 80px;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
}

.cart-row img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 14px;
}

.cart-row span {
    display: block;
    color: var(--muted);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    margin-top: 20px;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--rose-dark);
    cursor: pointer;
    font-weight: 700;
}

/* Footer */
.footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 28px;
    background: var(--dark);
    color: #ffffff;
    padding: 44px 6%;
    margin-top: 40px;
}

.footer p,
.footer a {
    display: block;
    color: #e8d4ce;
    margin: 8px 0;
}

.footer h3,
.footer h4 {
    margin-top: 0;
}

/* Admin */
.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--blush);
}

.admin-login-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px;
    width: min(420px, 92vw);
    box-shadow: var(--shadow);
    text-align: center;
}

.admin-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    background: #f8f4f1;
}

.admin-sidebar {
    min-height: 100vh;
    background: var(--dark);
    color: #ffffff;
    padding: 22px;
    position: sticky;
    top: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #f4dfd7;
    margin-bottom: 6px;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-main {
    padding: 24px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 16px;
}

.admin-top h1 {
    margin: 0;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.admin-cards div,
.admin-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(84, 39, 28, 0.06);
}

.admin-cards span {
    display: block;
    color: var(--muted);
}

.admin-cards strong {
    font-size: 28px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 14px;
}

.table-wrap {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
}

.message-row td {
    background: #fff9f6;
    color: var(--muted);
}

.form-card.flat {
    box-shadow: none;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

/* Tablet */
@media (max-width: 980px) {
    .site-header {
        flex-wrap: wrap;
        gap: 14px;
        padding: 12px 5%;
    }

    .brand,
    .brand-logo-wrap {
        width: auto;
        min-width: 130px;
        max-width: 150px;
        height: 62px;
    }

    .header-logo {
        height: 54px !important;
        max-width: 140px !important;
    }

    .search {
        flex: 1 1 calc(100% - 170px);
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        gap: 18px;
        padding: 4px 0 2px;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .hero,
    .product-detail,
    .wholesale-page,
    .contact-grid,
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 48px 5%;
        text-align: center;
        gap: 30px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-card,
    .logo-card,
    .hero-logo-card {
        max-width: 390px;
        height: 330px;
    }

    .hero-main-logo,
    .hero-logo-img {
        max-width: 350px !important;
        max-height: 290px !important;
    }

    .product-grid,
    .category-grid,
    .feature-grid,
    .admin-cards,
    .footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
        position: relative;
    }

    .cart-row {
        grid-template-columns: 70px 1fr;
    }

    .cart-row input,
    .cart-row div:last-of-type,
    .cart-row button {
        grid-column: 2;
    }

    .filters {
        position: static;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .top-strip {
        font-size: 12px;
        padding: 7px 10px;
    }

    .site-header {
        display: grid;
        grid-template-columns: 86px 1fr;
        align-items: center;
        gap: 10px;
        padding: 10px 4%;
    }

    .brand,
    .brand-logo-wrap {
        width: 86px;
        min-width: 86px;
        max-width: 86px;
        height: 54px;
    }

    .header-logo {
        height: 50px !important;
        max-width: 82px !important;
    }

    .search {
        width: 100%;
        grid-column: 2;
    }

    .search input {
        padding: 10px 13px;
        font-size: 14px;
    }

    .nav {
        grid-column: 1 / -1;
        width: 100%;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        font-size: 13px;
        padding: 6px 0 0;
    }

    .hero {
        padding: 34px 4%;
        gap: 24px;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .hero h1 {
        font-size: 38px;
        margin: 10px 0 14px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 22px;
    }

    .btn {
        width: 100%;
        padding: 12px 18px;
    }

    .hero-card,
    .logo-card,
    .hero-logo-card {
        max-width: 320px;
        height: 280px;
        border-radius: 26px;
        padding: 14px;
    }

    .hero-main-logo,
    .hero-logo-img {
        max-width: 290px !important;
        max-height: 245px !important;
        border-radius: 18px;
    }

    .section {
        padding: 42px 4%;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .row-title {
        display: block;
        text-align: center;
    }

    .product-grid,
    .category-grid,
    .feature-grid,
    .footer,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 220px;
    }

    .wholesale-band {
        display: block;
        margin: 24px 4%;
        padding: 28px 22px;
        text-align: center;
    }

    .wholesale-band .btn {
        margin-top: 14px;
    }

    .page-head {
        padding: 42px 4% 30px;
    }

    .page-head h1 {
        font-size: 34px;
    }

    .shop-layout {
        padding: 34px 4%;
    }

    .result-bar {
        display: block;
    }

    .product-detail {
        padding: 40px 4%;
        gap: 24px;
    }

    .product-info h1 {
        font-size: 34px;
    }

    .buy-form {
        display: block;
    }

    .buy-form input {
        width: 100%;
    }

    .cart-row {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }

    .cart-row img {
        width: 64px;
        height: 64px;
    }

    .cart-total {
        font-size: 18px;
    }

    .footer {
        padding: 34px 4%;
    }

    .admin-main {
        padding: 16px;
    }

    .admin-top,
    .panel-head {
        display: block;
    }

    .admin-cards {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 10px;
        font-size: 13px;
    }
}

/* Very small mobile */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-card,
    .logo-card,
    .hero-logo-card {
        max-width: 292px;
        height: 254px;
    }

    .hero-main-logo,
    .hero-logo-img {
        max-width: 265px !important;
        max-height: 225px !important;
    }

    .nav {
        font-size: 12px;
    }
}

/* FINAL HEADER + HERO LOGO FIX */
.site-header {
    min-height: 86px !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 12px 6% !important;
}

.brand-logo-wrap {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 64px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

.header-logo {
    height: 58px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    display: block !important;
}

.logo-card {
    width: 100% !important;
    max-width: 420px !important;
    height: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 34px !important;
    background: #ffffff !important;
    box-shadow: var(--shadow) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    overflow: hidden !important;
}

.logo-card::before {
    display: none !important;
}

.hero-main-logo {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    max-height: 320px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
}

@media (max-width: 640px) {
    .site-header {
        display: grid !important;
        grid-template-columns: 90px 1fr !important;
        gap: 10px !important;
        padding: 10px 4% !important;
    }

    .brand-logo-wrap {
        width: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        height: 54px !important;
    }

    .brand-logo-wrap img {
        height: 50px !important;
        max-width: 86px !important;
    }

    .search {
        grid-column: 2 !important;
        width: 100% !important;
    }

    .nav {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        overflow-x: auto !important;
        display: flex !important;
        gap: 16px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .hero {
        grid-template-columns: 1fr !important;
        padding: 34px 4% !important;
        text-align: center !important;
    }

    .hero-actions {
        justify-content: center !important;
    }

    .logo-card {
        max-width: 320px !important;
        height: 280px !important;
        border-radius: 26px !important;
        padding: 14px !important;
    }

    .hero-main-logo {
        max-width: 290px !important;
        max-height: 245px !important;
    }
}

/* Mobile hamburger menu */
.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    color: var(--dark);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .site-header {
        display: grid !important;
        grid-template-columns: 86px 1fr 42px !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 4% !important;
    }

    .brand-logo-wrap {
        grid-column: 1;
        width: 86px !important;
        min-width: 86px !important;
        max-width: 86px !important;
        height: 54px !important;
    }

    .brand-logo-wrap img {
        height: 50px !important;
        max-width: 82px !important;
        object-fit: contain !important;
    }

    .search {
        grid-column: 2;
        width: 100%;
    }

    .search input {
        height: 42px;
        padding: 9px 13px;
        font-size: 14px;
    }

    .mobile-menu-btn {
        display: flex;
        grid-column: 3;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav {
        display: none !important;
        grid-column: 1 / -1;
        width: 100%;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 12px 30px rgba(84, 39, 28, 0.08);
        overflow: visible !important;
        white-space: normal !important;
    }

    body.menu-open .mobile-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .mobile-nav a {
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 700;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav a:last-child {
        border-bottom: 0;
    }

    .mobile-nav a:hover {
        background: var(--blush);
        color: var(--rose-dark);
    }
}

/* FINAL MOBILE MENU FIX */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 640px) {
    .site-header {
        display: grid !important;
        grid-template-columns: 78px 1fr 42px !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 4% !important;
    }

    .brand-logo-wrap {
        grid-column: 1 !important;
        width: 78px !important;
        min-width: 78px !important;
        max-width: 78px !important;
        height: 54px !important;
        overflow: hidden !important;
    }

    .brand-logo-wrap img,
    .header-logo {
        height: 50px !important;
        width: auto !important;
        max-width: 74px !important;
        object-fit: contain !important;
    }

    .search {
        grid-column: 2 !important;
        width: 100% !important;
    }

    .search input {
        height: 42px !important;
        padding: 9px 12px !important;
        font-size: 14px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        grid-column: 3 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border: 1px solid var(--line) !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        color: var(--dark) !important;
        font-size: 22px !important;
        cursor: pointer !important;
    }

    .site-header .nav,
    .site-header .mobile-nav {
        display: none !important;
    }

    body.menu-open .site-header .mobile-nav {
        display: flex !important;
        grid-column: 1 / -1 !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        margin-top: 8px !important;
        padding: 8px !important;
        background: #ffffff !important;
        border: 1px solid var(--line) !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(84, 39, 28, 0.10) !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    body.menu-open .site-header .mobile-nav a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        border-bottom: 1px solid var(--line) !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    body.menu-open .site-header .mobile-nav a:last-child {
        border-bottom: 0 !important;
    }

    body.menu-open .site-header .mobile-nav a:hover {
        background: var(--blush) !important;
        color: var(--rose-dark) !important;
    }
    
}


/* FINAL HEADER FIX - DO NOT REMOVE */

.brand-logo-bg {
    display: block !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 66px !important;
    flex: 0 0 120px !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
    overflow: hidden !important;
}

.mobile-menu-btn {
    display: none !important;
}

/* Desktop header */
@media (min-width: 769px) {
    .site-header {
        display: flex !important;
        align-items: center !important;
        gap: 24px !important;
        padding: 12px 6% !important;
        min-height: 88px !important;
        max-height: 88px !important;
        overflow: visible !important;
    }

    .search {
        flex: 1 !important;
        min-width: 220px !important;
    }

    .site-header .mobile-nav {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        width: auto !important;
        overflow: visible !important;
        white-space: nowrap !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

/* Mobile header */
@media (max-width: 768px) {
    .site-header {
        display: grid !important;
        grid-template-columns: 74px 1fr 42px !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 4% !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .brand-logo-bg {
        grid-column: 1 !important;
        width: 74px !important;
        min-width: 74px !important;
        max-width: 74px !important;
        height: 54px !important;
        flex: none !important;
        background-size: contain !important;
        background-position: left center !important;
    }

    .search {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .search input {
        width: 100% !important;
        height: 42px !important;
        padding: 9px 12px !important;
        font-size: 14px !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        grid-column: 3 !important;
        width: 42px !important;
        height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid var(--line) !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        color: var(--dark) !important;
        font-size: 22px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .site-header .nav,
    .site-header .mobile-nav {
        display: none !important;
    }

    body.menu-open .site-header .mobile-nav {
        display: flex !important;
        grid-column: 1 / -1 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 0 !important;
        margin-top: 8px !important;
        padding: 8px !important;
        background: #ffffff !important;
        border: 1px solid var(--line) !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 30px rgba(84, 39, 28, 0.10) !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    body.menu-open .site-header .mobile-nav a {
        display: block !important;
        width: 100% !important;
        padding: 12px 14px !important;
        border-bottom: 1px solid var(--line) !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    body.menu-open .site-header .mobile-nav a:last-child {
        border-bottom: 0 !important;
    }

    body.menu-open .site-header .mobile-nav a:hover {
        background: var(--blush) !important;
        color: var(--rose-dark) !important;
    }
}


/* Admin managed offer banner */
.pk-offer-banner {
    margin: 0;
    padding: 0;
}

.pk-offer-banner-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 22px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pk-offer-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.9;
}

.pk-offer-banner p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.pk-offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #251815;
    font-weight: 800;
    white-space: nowrap;
}

.pk-offer-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .pk-offer-banner-inner {
        display: block;
        text-align: center;
        padding: 20px 4%;
    }

    .pk-offer-banner p {
        font-size: 15px;
    }

    .pk-offer-btn {
        margin-top: 14px;
        width: 100%;
    }
}


.pk-premium-offer-banner {
    padding: 34px 6% 10px;
    background: #fffaf7;
}

.pk-premium-offer-banner a {
    display: block;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(84, 39, 28, 0.16);
}

.pk-premium-offer-banner img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .pk-premium-offer-banner {
        padding: 24px 4% 6px;
    }

    .pk-premium-offer-banner a {
        border-radius: 18px;
    }
}

/* =========================================================
   PK SPARKLE MARKETPLACE HOME UPDATE v102
   Amazon/Myntra-style shopping layout, mobile friendly
   ========================================================= */
:root {
    --market-bg: #e7e7e7;
    --market-card: #ffffff;
    --market-dark: #2a1117;
    --market-dark-2: #3a151e;
    --market-gold: #f3bd70;
    --market-link: #8a2837;
    --market-line: #ead8d0;
    --market-text: #241216;
    --market-muted: #725d62;
}

html { scroll-behavior: smooth; }
body {
    background: var(--market-bg) !important;
    color: var(--market-text);
}
main {
    background: var(--market-bg) !important;
}
.top-strip {
    background: linear-gradient(90deg, #260c12, #521b28, #260c12) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: .1px !important;
    padding: 9px 4% !important;
    text-align: center !important;
}
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 10px 4% !important;
    min-height: 74px !important;
    background: #fff8f4 !important;
    border-bottom: 1px solid #f0d9cf !important;
    box-shadow: 0 8px 24px rgba(42,17,23,.08) !important;
}
.brand-logo-bg {
    display: block !important;
    width: 74px !important;
    min-width: 74px !important;
    max-width: 74px !important;
    height: 54px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    border-radius: 2px !important;
    background-color: #fff !important;
}
.search {
    flex: 1 !important;
    max-width: 720px !important;
    position: relative !important;
}
.search::before {
    content: '⌕';
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-52%);
    color: #8a5d64;
    font-size: 18px;
    z-index: 1;
}
.search input {
    width: 100% !important;
    height: 48px !important;
    border-radius: 999px !important;
    border: 1px solid #e7c8bb !important;
    background: #fff !important;
    padding: 0 18px 0 46px !important;
    font-size: 15px !important;
    outline: none !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4) !important;
}
.search input:focus {
    border-color: #b66373 !important;
    box-shadow: 0 0 0 3px rgba(179,99,115,.12) !important;
}
.site-header .nav {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    white-space: nowrap !important;
}
.site-header .nav a {
    color: #401720 !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    padding: 9px 8px !important;
    border-radius: 10px !important;
}
.site-header .nav a:hover {
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(89,32,43,.10) !important;
}
.mobile-menu-btn {
    display: none !important;
    border: 1px solid #e7c8bb !important;
    background: #fff !important;
    color: var(--market-dark) !important;
    border-radius: 12px !important;
    width: 46px !important;
    height: 46px !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    cursor: pointer !important;
    line-height: 1 !important;
}
.quick-nav {
    position: sticky;
    top: 74px;
    z-index: 900;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    background: #441722;
    color: #fff;
    padding: 8px 4%;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    font-size: 14px;
    padding: 7px 13px;
    border-radius: 6px;
    white-space: nowrap;
}
.quick-nav a:hover { background: rgba(255,255,255,.13); }

/* marketplace page shell */
.marketplace-home {
    background: var(--market-bg);
    padding-bottom: 34px;
}
.market-hero-wrap {
    position: relative;
    background: linear-gradient(180deg, #eed2c6 0%, #e7e7e7 82%);
}
.marketplace-home .pk-offer-slider {
    padding: 0 !important;
    background: transparent !important;
}
.marketplace-home .pk-offer-slider-shell {
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff4ef !important;
}
.marketplace-home .pk-offer-slide {
    aspect-ratio: 3 / 1 !important;
    max-height: 470px !important;
}
.marketplace-home .pk-offer-slide img {
    object-fit: cover !important;
    object-position: center !important;
}
.marketplace-home .pk-offer-arrow {
    background: rgba(255,255,255,.78) !important;
    color: #3e151f !important;
    box-shadow: 0 8px 22px rgba(42,17,23,.18) !important;
}
.marketplace-home .pk-offer-dots button.is-active {
    background: #67212f !important;
    border-color: #67212f !important;
}
.market-hero-fallback {
    display: block;
    min-height: 360px;
    background:
        linear-gradient(90deg, rgba(255,245,239,.95), rgba(255,238,231,.66)),
        url('../images/home/home-beauty-jewellery.png') center right / cover no-repeat;
    padding: 54px 6% 130px;
}
.market-hero-fallback div { max-width: 680px; }
.market-hero-fallback span {
    display: inline-flex;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7d2b38;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #ead3ca;
}
.market-hero-fallback h1 {
    margin: 22px 0 12px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 82px);
    line-height: .96;
    color: #2a1117;
}
.market-hero-fallback p { font-size: 20px; max-width: 680px; color: #5f4247; }
.market-hero-fallback a {
    display: inline-flex;
    margin-top: 18px;
    background: #2a1117;
    color: #fff;
    padding: 13px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.market-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 20px 4% 0;
    max-width: 1500px;
    margin: 0 auto;
}
.market-overlap {
    position: relative;
    z-index: 5;
    margin-top: -80px;
}
.market-card {
    background: #fff;
    border-radius: 2px;
    padding: 18px;
    min-height: 360px;
    box-shadow: 0 2px 4px rgba(0,0,0,.07);
    border: 1px solid rgba(231,216,207,.65);
    overflow: hidden;
}
.market-card h2 {
    margin: 0 0 14px;
    color: #1e1417;
    font-family: Inter, sans-serif;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -.02em;
}
.market-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 246px;
}
.market-mini-tile {
    display: block;
    text-decoration: none;
    color: #2a1117;
}
.market-mini-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / .86;
    object-fit: cover;
    object-position: center;
    background: #fff6f2;
    border-radius: 2px;
    border: 1px solid #f1e0d9;
}
.market-mini-tile span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.25;
    color: #4b3539;
}
.market-card-link {
    display: inline-flex;
    margin-top: 14px;
    color: #007185;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.market-card-link:hover { color: #b12704; text-decoration: underline; }
.market-promo-image {
    position: relative;
    display: block;
    height: 258px;
    overflow: hidden;
    border-radius: 2px;
    text-decoration: none;
    background: #fff4ef;
}
.market-promo-image img,
.market-wide-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}
.market-promo-image:hover img,
.market-wide-visual a:hover img { transform: scale(1.035); }
.market-promo-image span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    justify-content: center;
    background: rgba(42,17,23,.86);
    color: #fff;
    padding: 10px 13px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.market-row-card {
    max-width: 1500px;
    margin: 20px auto 0;
    background: #fff;
    border: 1px solid rgba(231,216,207,.65);
    box-shadow: 0 2px 4px rgba(0,0,0,.07);
    padding: 18px;
}
.market-row-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}
.market-row-head h2 {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    color: #1e1417;
}
.market-row-head a {
    color: #007185;
    font-weight: 750;
    font-size: 13px;
    text-decoration: none;
}
.market-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #d2b6ab transparent;
}
.market-strip-item {
    flex: 0 0 165px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #2a1117;
}
.market-strip-item img {
    width: 165px;
    height: 165px;
    display: block;
    object-fit: contain;
    object-position: center;
    background: #fff8f5;
    border: 1px solid #f0dfd8;
    border-radius: 2px;
    padding: 8px;
}
.market-strip-large .market-strip-item,
.market-strip-large .market-strip-item img {
    flex-basis: 190px;
    width: 190px;
    height: 190px;
}
.market-strip-item span {
    display: block;
    margin-top: 8px;
    min-height: 34px;
    font-size: 13px;
    line-height: 1.28;
    color: #3e2a2e;
}
.market-strip-item strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
    color: #B12704;
}
.market-wide-visual img {
    height: 210px;
    border-radius: 2px;
    background: #fff4ef;
}
.market-wide-visual p,
.market-signin-card p,
.market-content-card p,
.market-wholesale-row p {
    color: #5f4a4e;
    font-size: 14.5px;
    line-height: 1.55;
}
.market-primary-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 12px 0 2px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ffd814;
    color: #111;
    text-decoration: none;
    font-weight: 900;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}
.market-signin-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,248,244,.94)),
        url('../images/home/home-wholesale.png') center bottom / cover no-repeat;
}
.market-two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market-content-card {
    min-height: 0;
    border-left: 5px solid #6b2231;
}
.market-content-card > span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #7b2a38;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.market-content-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #2a1117;
}
.market-content-card h3 {
    margin: 14px 0 8px;
    color: #2a1117;
    font-size: 17px;
}
.market-wholesale-row {
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,250,247,.90)),
        url('../images/home/home-wholesale.png') right center / contain no-repeat;
    padding-right: min(38%, 520px);
    min-height: 260px;
}
.market-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}
.market-feature-strip div {
    background: rgba(255,255,255,.88);
    border: 1px solid #eedbd3;
    padding: 13px;
    border-radius: 12px;
}
.market-feature-strip strong { display: block; color: #2a1117; margin-bottom: 5px; }
.market-feature-strip span { display: block; font-size: 12.5px; line-height: 1.4; color: #725d62; }

/* make legacy sections also more ecommerce style on other pages */
.section, .shop-layout, .page-head, .product-detail, .cart-layout, .form-card, .account-card, .content-card, .feature-grid > div, .category-card, .product-card, .filters, .result-bar {
    border-color: rgba(231,216,207,.9) !important;
}
.product-card {
    background: #fff !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,.06) !important;
    overflow: hidden !important;
}
.product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: contain !important;
    background: #fff8f5 !important;
    padding: 10px !important;
}
.price, .product-card .price { color: #B12704 !important; font-weight: 900 !important; }
.btn.primary, button.btn.primary {
    background: linear-gradient(180deg, #441722, #250d12) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(68,23,34,.20) !important;
}
.btn.secondary {
    background: #fff !important;
    border: 1px solid #d7a394 !important;
    color: #441722 !important;
}

@media (max-width: 1180px) {
    .site-header .nav { gap: 6px !important; }
    .site-header .nav a { font-size: 12px !important; padding: 8px 5px !important; }
    .market-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market-overlap { margin-top: -42px; }
    .market-feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .market-wholesale-row { padding-right: 18px; background-size: 420px auto; background-position: right bottom; }
}
@media (max-width: 768px) {
    .top-strip { font-size: 12px !important; padding: 8px 12px !important; }
    .site-header {
        position: sticky !important;
        top: 0 !important;
        display: grid !important;
        grid-template-columns: 58px 1fr 46px !important;
        gap: 10px !important;
        padding: 10px 12px !important;
        min-height: 68px !important;
    }
    .brand-logo-bg {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        height: 46px !important;
        grid-column: 1 !important;
    }
    .search { grid-column: 2 !important; width: 100% !important; max-width: none !important; }
    .search input { height: 42px !important; font-size: 13px !important; padding-left: 42px !important; }
    .mobile-menu-btn { display: flex !important; grid-column: 3 !important; }
    .site-header .mobile-nav {
        display: none !important;
        grid-column: 1 / -1 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: #fff !important;
        border: 1px solid #ead6ce !important;
        border-radius: 16px !important;
        padding: 8px !important;
        box-shadow: 0 20px 50px rgba(42,17,23,.20) !important;
    }
    body.menu-open .site-header .mobile-nav { display: flex !important; }
    .site-header .mobile-nav a {
        display: block !important;
        width: 100% !important;
        padding: 13px 14px !important;
        border-bottom: 1px solid #f0e0da !important;
        font-size: 14px !important;
    }
    .site-header .mobile-nav a:last-child { border-bottom: 0 !important; }
    .quick-nav {
        top: 68px;
        padding: 7px 10px;
        gap: 4px;
    }
    .quick-nav a { font-size: 13px; padding: 6px 10px; }
    .marketplace-home .pk-offer-slide {
        aspect-ratio: 1.78 / 1 !important;
        max-height: none !important;
    }
    .marketplace-home .pk-offer-slide img {
        object-fit: cover !important;
        object-position: center !important;
    }
    .market-overlap { margin-top: -20px; }
    .market-card-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
        padding: 12px 10px 0;
    }
    .market-card {
        min-height: auto;
        padding: 14px;
    }
    .market-card h2 { font-size: 19px; }
    .market-mini-grid { gap: 10px; min-height: auto; }
    .market-mini-tile img { aspect-ratio: 1 / .78; }
    .market-promo-image { height: 220px; }
    .market-row-card {
        margin-top: 12px;
        padding: 14px 10px;
        border-left: 0;
        border-right: 0;
    }
    .market-row-head { align-items: flex-start; }
    .market-row-head h2 { font-size: 19px; }
    .market-strip { gap: 10px; }
    .market-strip-item { flex-basis: 138px; }
    .market-strip-item img { width: 138px; height: 138px; }
    .market-strip-large .market-strip-item,
    .market-strip-large .market-strip-item img {
        width: 150px;
        height: 150px;
        flex-basis: 150px;
    }
    .market-wide-visual img { height: 210px; }
    .market-content-card h2 { font-size: 26px; }
    .market-wholesale-row {
        padding-right: 10px;
        background-image: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,250,247,.96)), url('../images/home/home-wholesale.png');
        background-size: cover;
        background-position: center;
    }
    .market-feature-strip { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .market-mini-tile img { aspect-ratio: 1 / .72; }
    .market-promo-image { height: 190px; }
    .market-wide-visual img { height: 190px; }
}

/* PK Sparkle v104: admin/payment/coupon/stock/offer discount fixes */
.discount-badge {
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7a102a, #d92558, #ff7f9b);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    font-style: normal;
    letter-spacing: .4px;
    box-shadow: 0 8px 18px rgba(142, 20, 54, .28);
}
.stock-ribbon {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 10px;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 248, 232, .96);
    color: #7a4a00;
    font-size: 11px;
    font-weight: 900;
    font-style: normal;
    box-shadow: 0 8px 18px rgba(80, 38, 25, .12);
}
.stock-ribbon.out { background: #2b1712; color: #fff; }
.enhanced-product-card,
.product-card,
.market-strip-item { position: relative; }
.price-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.price-line .price { margin: 0; }
.price-line small,
.card-mrp {
    color: #7a6660;
    font-size: 12px;
    font-weight: 700;
}
.stock-chip {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e9fff0;
    color: #087333;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .2px;
}
.stock-chip.out {
    background: #fff0f1;
    color: #b00020;
}
.detail-price-box {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff8f4, #fff);
    border: 1px solid rgba(161, 92, 68, .16);
    box-shadow: 0 14px 34px rgba(80, 38, 25, .08);
    margin-bottom: 12px;
}
.detail-off {
    display: inline-flex;
    margin-left: 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #b12704;
    color: #fff;
    font-size: 12px;
}
.cart-summary-box,
.checkout-summary-card {
    background: linear-gradient(135deg, #fff8f4, #ffffff) !important;
    border: 1px solid rgba(161, 92, 68, .16) !important;
    box-shadow: 0 16px 40px rgba(80, 38, 25, .08) !important;
}
.discount-line strong { color: #087333 !important; }
.cart-total.grand {
    border-top: 1px solid rgba(161, 92, 68, .16);
    padding-top: 12px;
    margin-top: 8px;
    font-size: 18px;
}
.coupon-inline-form,
.coupon-box {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}
.coupon-inline-form input,
.coupon-box input { min-width: 220px; }
.admin-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 14px 0 18px;
}
.admin-filter-bar input,
.admin-filter-bar select { min-width: 160px; }
.admin-filter-bar.mini { margin: 0; }
.admin-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: #fff7f3;
    border: 1px solid rgba(161, 92, 68, .16);
}
.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.admin-badge.ok { background: #e9fff0; color: #087333; }
.admin-badge.warning { background: #fff5d8; color: #936000; }
.admin-badge.danger { background: #ffe9ec; color: #b00020; }
.admin-badge.sale { background: linear-gradient(135deg, #7a102a, #d92558); color: #fff; }
.admin-settings-form h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    color: #43101d;
    font-size: 18px;
}
.payment-mode-grid select {
    font-weight: 800;
}
.market-strip-item .discount-badge {
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 4px 7px;
}
.market-strip-item .card-mrp,
.market-strip-item .stock-chip {
    display: block !important;
    margin-top: 4px;
}
.market-strip-item .stock-chip { font-size: 10px !important; }
@media (max-width: 768px) {
    .coupon-inline-form,
    .coupon-box,
    .admin-filter-bar {
        display: grid;
        grid-template-columns: 1fr;
    }
    .coupon-inline-form input,
    .coupon-box input,
    .admin-filter-bar input,
    .admin-filter-bar select,
    .coupon-inline-form button,
    .coupon-box button {
        width: 100%;
        min-width: 0;
    }
    .discount-badge { font-size: 10px; padding: 4px 8px; }
    .stock-ribbon { font-size: 10px; }
}


/* =========================================================
   PK SPARKLE v107 FINAL FIX
   Delivery charges + cleaner page polish + mobile banner fit
   ========================================================= */
:root {
    --pk-maroon: #3d111c;
    --pk-maroon-2: #5a1a2a;
    --pk-cream: #fff8f4;
    --pk-border: #ead6ce;
    --pk-green: #087333;
}

body { overflow-x: hidden !important; }
main { min-height: 70vh !important; }

.page-head {
    background: linear-gradient(135deg, #fff8f4 0%, #f4ded4 100%) !important;
    border-bottom: 1px solid var(--pk-border) !important;
    padding: 42px 4% 30px !important;
}
.page-head h1 { color: var(--pk-maroon) !important; }

.section.narrow {
    width: min(100%, 920px) !important;
    margin: 0 auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.content-card,
.form-card,
.empty-card,
.success-card,
.cart-summary-box,
.checkout-summary-card,
.detail-box {
    border-radius: 18px !important;
    border: 1px solid var(--pk-border) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 38px rgba(42, 17, 23, .08) !important;
}

.cart-summary-box,
.checkout-summary-card {
    overflow: hidden !important;
    padding: 0 !important;
    margin-top: 18px !important;
}
.cart-total,
.checkout-summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    border-top: 0 !important;
    border-bottom: 1px solid #f0ddd5 !important;
    font-size: 18px !important;
}
.cart-total span,
.checkout-summary-row span {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}
.cart-total small,
.checkout-summary-row small {
    color: #7c6660 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}
.cart-total strong,
.checkout-summary-row strong {
    white-space: nowrap !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    color: #111 !important;
}
.discount-line strong { color: var(--pk-green) !important; }
.delivery-free { color: var(--pk-green) !important; }
.delivery-progress-note {
    margin: 0 !important;
    padding: 11px 20px !important;
    background: #fff4df !important;
    color: #805300 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #f0ddd5 !important;
}
.cart-total.grand,
.checkout-summary-row.grand {
    background: linear-gradient(135deg, #fff8f4, #fff) !important;
    border-bottom: 0 !important;
    font-size: 21px !important;
}
.cart-total.grand strong,
.checkout-summary-row.grand strong { color: var(--pk-maroon) !important; font-size: 24px !important; }

.coupon-box,
.coupon-inline-form {
    align-items: end !important;
    padding: 18px !important;
    border-radius: 18px !important;
}
.coupon-box label,
.coupon-inline-form input { flex: 1 1 260px !important; }
.coupon-box input,
.coupon-inline-form input,
.form-card input,
.form-card select,
.form-card textarea {
    border-radius: 13px !important;
    min-height: 46px !important;
}
.form-card textarea { min-height: 110px !important; }

.cart-row {
    grid-template-columns: 86px minmax(0,1fr) 110px 120px 76px !important;
    border-radius: 16px !important;
    background: #fff !important;
    border: 1px solid var(--pk-border) !important;
    box-shadow: 0 8px 24px rgba(42, 17, 23, .05) !important;
}
.cart-row img {
    width: 86px !important;
    height: 86px !important;
    object-fit: contain !important;
    background: #fff8f4 !important;
}

/* Mobile banner must show full image, not cropped half */
@media (max-width: 768px) {
    .pk-offer-slider,
    .marketplace-home .pk-offer-slider {
        padding: 0 !important;
        background: #fff8f4 !important;
    }
    .pk-offer-slider-shell,
    .marketplace-home .pk-offer-slider-shell {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fff8f4 !important;
    }
    .pk-offer-slide,
    .marketplace-home .pk-offer-slide {
        aspect-ratio: 3 / 1 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        background: #fff8f4 !important;
    }
    .pk-offer-slide img,
    .marketplace-home .pk-offer-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        background: #fff8f4 !important;
    }
    .pk-offer-arrow {
        width: 30px !important;
        height: 30px !important;
        font-size: 22px !important;
        background: rgba(255,255,255,.82) !important;
        color: var(--pk-maroon) !important;
    }
    .pk-offer-prev { left: 6px !important; }
    .pk-offer-next { right: 6px !important; }
    .pk-offer-dots { bottom: 4px !important; }
    .pk-offer-dots button { width: 7px !important; height: 7px !important; }
    .pk-offer-dots button.is-active { width: 18px !important; }
}

@media (max-width: 680px) {
    .section.narrow { padding-top: 26px !important; }
    .cart-row {
        grid-template-columns: 72px 1fr !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 10px !important;
    }
    .cart-row img { width: 72px !important; height: 72px !important; }
    .cart-row input,
    .cart-row > div:nth-child(4),
    .cart-row button {
        grid-column: 2 !important;
        width: 100% !important;
    }
    .cart-total,
    .checkout-summary-row {
        padding: 15px 14px !important;
        font-size: 16px !important;
        gap: 12px !important;
    }
    .cart-total strong,
    .checkout-summary-row strong { font-size: 17px !important; }
    .cart-total.grand strong,
    .checkout-summary-row.grand strong { font-size: 21px !important; }
    .delivery-progress-note { padding: 10px 14px !important; }
    .coupon-box,
    .coupon-inline-form {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 14px !important;
    }
    .coupon-box label,
    .coupon-box input,
    .coupon-box button,
    .coupon-inline-form input,
    .coupon-inline-form button,
    .cart-actions .btn {
        width: 100% !important;
        min-width: 0 !important;
    }
    .grid-2 { grid-template-columns: 1fr !important; }
}

/* PK Sparkle v110: login checkout, address book, order progress */
.checkout-page .checkout-summary-card,
.customer-address-page .content-card,
.customer-address-page .form-card,
.order-detail-page .content-card,
.my-orders-page .content-card,
.track-order-page .content-card {
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(40, 17, 25, .08);
}
.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(161,92,68,.15);
    align-items: center;
}
.checkout-summary-row span small {
    display: block;
    color: #796661;
    font-size: 12px;
    margin-top: 2px;
}
.checkout-summary-row.grand {
    border-bottom: 0;
    font-size: 20px;
    font-weight: 900;
}
.delivery-free { color: #087333 !important; }
.delivery-progress-note {
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff8e5;
    color: #7a4a00;
    font-weight: 700;
}
.saved-address-list {
    display: grid;
    gap: 12px;
    margin: 14px 0;
}
.saved-address-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(161,92,68,.20);
    border-radius: 16px;
    background: #fffaf7;
    cursor: pointer;
}
.saved-address-card.static {
    display: block;
    cursor: default;
}
.saved-address-card input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.saved-address-card em {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e9fff0;
    color: #087333;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}
.address-mode {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-right: 16px;
    font-weight: 800;
}
.address-mode input { width: auto; }
.address-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.address-actions a {
    font-weight: 800;
    color: #7a102a;
}
.order-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 16px 0;
    position: relative;
}
.order-step {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    color: #8a767a;
    font-size: 12px;
    font-weight: 800;
}
.order-step span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3e4df;
    color: #7a5d64;
    border: 2px solid #ead6ce;
}
.order-step.active { color: #43101d; }
.order-step.active span {
    background: linear-gradient(135deg, #43101d, #8a2837);
    color: #fff;
    border-color: #8a2837;
    box-shadow: 0 8px 18px rgba(67,16,29,.22);
}
.order-timeline.cancelled { grid-template-columns: 1fr; }
.order-timeline.cancelled .order-step span { background: #b00020; border-color: #b00020; color: #fff; }
.order-card-list { display: grid; gap: 18px; }
.order-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    margin-bottom: 10px;
}
.order-card-head span { color: #796661; font-size: 13px; }
.address-checkout-form h2,
.customer-address-page h2,
.order-detail-page h2 { margin-top: 0; }
@media (max-width: 768px) {
    .checkout-summary-row { font-size: 14px; }
    .order-timeline { grid-template-columns: 1fr; gap: 8px; }
    .order-step {
        grid-template-columns: 34px 1fr;
        justify-items: start;
        text-align: left;
        align-items: center;
    }
    .order-card-head { display: block; }
    .saved-address-card { align-items: flex-start; }
    .address-mode { display: flex; margin: 8px 0; }
}


/* =========================================================
   PK Sparkle v114: homepage product row alignment only
   Fixes: price/MRP/stock alignment + removes unwanted row scrollbars
   No content, database, product, checkout or admin logic changed.
   ========================================================= */
.marketplace-home .market-row-card {
    overflow: hidden !important;
    padding-bottom: 16px !important;
}

.marketplace-home .market-strip {
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 2px 10px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.marketplace-home .market-strip::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.marketplace-home .market-strip-item,
.marketplace-home .market-strip-large .market-strip-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 176px !important;
    width: 176px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 0 10px !important;
    background: #ffffff !important;
    border: 1px solid #f0ded6 !important;
    border-radius: 4px !important;
    overflow: visible !important;
    color: #251815 !important;
}

.marketplace-home .market-strip-large .market-strip-item {
    flex-basis: 186px !important;
    width: 186px !important;
}

.marketplace-home .market-strip-item img,
.marketplace-home .market-strip-large .market-strip-item img {
    width: 100% !important;
    height: 168px !important;
    flex: 0 0 168px !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #f1e0d9 !important;
    border-radius: 4px 4px 0 0 !important;
    background: #fff8f5 !important;
}

.marketplace-home .market-strip-large .market-strip-item img {
    height: 176px !important;
    flex-basis: 176px !important;
}

.marketplace-home .market-strip-item > span {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
    height: 38px !important;
    margin: 10px 10px 0 !important;
    color: #3b2a2d !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
    font-weight: 500 !important;
}

.marketplace-home .market-strip-item > strong {
    display: block !important;
    min-height: 23px !important;
    margin: 8px 10px 0 !important;
    color: #b12704 !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}

.marketplace-home .market-strip-item .card-mrp {
    display: block !important;
    min-height: 18px !important;
    margin: 4px 10px 0 !important;
    color: #76635f !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.marketplace-home .market-strip-item .card-mrp s {
    color: #74625e !important;
    text-decoration-thickness: 1.5px !important;
}

.marketplace-home .market-strip-item .stock-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: calc(100% - 20px) !important;
    min-height: 24px !important;
    margin: 8px 10px 0 !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #e8fff1 !important;
    color: #087333 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}

.marketplace-home .market-strip-item .stock-chip.out {
    background: #fff0f1 !important;
    color: #b00020 !important;
}

.marketplace-home .market-strip-item .discount-badge {
    top: 8px !important;
    left: 8px !important;
    min-height: 24px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    box-shadow: 0 8px 16px rgba(142,20,54,.22) !important;
}

.marketplace-home .market-row-head {
    padding-right: 2px !important;
}

@media (min-width: 769px) {
    .marketplace-home .market-strip {
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .marketplace-home .market-row-card {
        padding: 14px 10px 12px !important;
    }

    .marketplace-home .market-strip,
    .marketplace-home .market-strip.market-strip-large {
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .marketplace-home .market-strip-item,
    .marketplace-home .market-strip-large .market-strip-item {
        flex: 0 0 146px !important;
        width: 146px !important;
        height: auto !important;
        padding-bottom: 9px !important;
    }

    .marketplace-home .market-strip-item img,
    .marketplace-home .market-strip-large .market-strip-item img {
        width: 100% !important;
        height: 136px !important;
        flex-basis: 136px !important;
        padding: 8px !important;
    }

    .marketplace-home .market-strip-item > span {
        height: 36px !important;
        min-height: 36px !important;
        margin: 8px 8px 0 !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .marketplace-home .market-strip-item > strong {
        margin: 7px 8px 0 !important;
        font-size: 15px !important;
    }

    .marketplace-home .market-strip-item .card-mrp,
    .marketplace-home .market-strip-item .stock-chip {
        margin-left: 8px !important;
        margin-right: 8px !important;
    }
}

/* PK Sparkle v115: clean login/signup header, cart icon, auth pages */
.login-signup-link {
    color: #43101d !important;
    font-weight: 900 !important;
}
.cart-icon-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid #ead6ce !important;
    box-shadow: 0 8px 18px rgba(42,17,23,.08) !important;
}
.cart-symbol { font-size: 19px; line-height: 1; }
.cart-count-pill {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ffd814;
    color: #321017;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 20px;
    font-weight: 900;
    border: 1px solid rgba(67,16,29,.15);
}
.auth-switch {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.auth-switch a,
.auth-switch span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #ead6ce;
    background: #fff;
    font-weight: 900;
    color: #43101d;
}
.auth-switch span {
    background: #43101d;
    color: #fff;
    border-color: #43101d;
}
.auth-links-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}
.auth-help-box {
    padding: 14px 16px;
    background: #fff8f4;
    border: 1px solid #ead6ce;
    border-radius: 16px;
    color: #5f4247;
    margin-bottom: 16px;
}
.verification-code-input {
    font-size: 24px !important;
    font-weight: 900 !important;
    letter-spacing: 8px !important;
    text-align: center !important;
}
@media (max-width: 768px) {
    .cart-icon-link {
        width: 100% !important;
        justify-content: flex-start !important;
        height: auto !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }
    .cart-icon-link::after {
        content: ' Cart';
        margin-left: 8px;
        font-weight: 900;
    }
    .cart-count-pill {
        position: static;
        margin-left: 10px;
    }
    .auth-switch {
        display: grid;
        grid-template-columns: 1fr;
    }
}
