/* =========================================================
   Fonts (Lato 2.0 — local files, includes semibold 600)
   ========================================================= */
@font-face {
    font-family: 'Lato';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-semibold.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/lato-bold.woff2') format('woff2');
}

/* =========================================================
   Base
   ========================================================= */
:root {
    --header-bg: #0f2141;
    --header-text: #ffffff;
    --accent: #e9a741;
    --topbar-border: rgba(255, 255, 255, 0.2);
    --topbar-divider: rgba(255, 255, 255, 0.25);
    --topbar-muted: rgba(255, 255, 255, 0.8);
    --search-border: #e5e5e5;
    --muted-text: #767676;
    --text: #333;
    --font-body: 'Lato', Arial, Helvetica, sans-serif;
    --font-logo: 'Poppins', 'Lato', Arial, sans-serif;
    --font-slider: 'Cabin', 'Lato', Arial, sans-serif;
    --font-title: 'Cabin', 'Lato', Arial, sans-serif;
    --title: #333;
    --body-text: #777;
    --border: #e6e6e6;
    --grey-bg: #f7f7f7;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--body-text);
    background: #fff;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1222px;
    margin: 0 auto;
    padding: 0 15px;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    background: var(--header-bg);
    color: var(--header-text);
}

/* ---------- Top bar ---------- */
.topbar {
    height: 42px;
    border-bottom: 1px solid var(--topbar-border);
    font-size: 12px;
    text-transform: uppercase;
}

.topbar-inner,
.topbar-left,
.topbar-right {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.topbar-inner {
    justify-content: space-between;
}

.topbar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid var(--topbar-divider);
    white-space: nowrap;
}

.topbar-right .topbar-item:last-child {
    border-right: 1px solid var(--topbar-divider);
}

.topbar-text {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--topbar-muted);
}

.topbar-link {
    transition: opacity 0.2s;
}

.topbar-link:hover,
.topbar-social a:hover,
.dropdown-toggle:hover {
    opacity: 0.7;
}

.topbar-link .icon-envelope {
    width: 15px;
    height: 15px;
    margin-right: 6px;
}

.topbar-social {
    display: flex;
    align-items: center;
    padding-right: 11px;
}

.topbar-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 100%;
    transition: opacity 0.2s;
}

.topbar-social .icon-facebook  { width: 9.5px; height: 15px; }
.topbar-social .icon-x         { width: 14.5px; height: 14.5px; }
.topbar-social .icon-instagram { width: 14px; height: 14px; }
.topbar-social .icon-youtube   { width: 15px; height: 15px; }

/* Dropdowns (language / country) */
.dropdown-toggle {
    display: flex;
    align-items: center;
    height: 100%;
    transition: opacity 0.2s;
}

.dropdown-toggle .icon-chevron {
    width: 7px;
    height: 5px;
    margin-left: 3px;
    opacity: 0.5;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 170px;
    padding: 8px 0;
    background: #fff;
    color: var(--text);
    text-transform: none;
    font-size: 14px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown-menu a {
    display: block;
    padding: 6px 18px;
    color: #777;
}

.dropdown-menu a:hover {
    color: var(--text);
}

/* ---------- Main header ---------- */
.header-main-inner {
    display: flex;
    align-items: center;
    height: 104px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 245px;
    color: var(--header-text);
}

.site-logo.has-image {
    width: auto;
    min-width: 120px;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 320px;
    object-fit: contain;
}

.site-logo .icon-logo {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 3px;
}

.logo-text {
    margin-left: 3px;
    font-family: var(--font-logo);
    font-weight: 600;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -1.6px;
}

/* Search */
.header-search {
    display: flex;
    flex: 1 1 auto;
    max-width: 584px;
    height: 46px;
    margin: 0 30px;
    border-radius: 23px;
    background: #fff;
}

.header-search input,
.header-search select {
    font-family: inherit;
    color: var(--text);
    outline: none;
}

.header-search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 16px;
    border: 2px solid var(--search-border);
    border-right: 0;
    border-radius: 23px 0 0 23px;
    background: transparent;
    font-size: 13.5px;
}

.header-search input::placeholder {
    color: var(--muted-text);
    opacity: 1;
}

.search-category {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 172px;
    border: 1px solid var(--search-border);
    border-top-width: 2px;
    border-bottom-width: 2px;
}

.search-category select {
    width: 100%;
    height: 100%;
    padding: 0 30px 0 15px;
    border: 0;
    background: transparent;
    color: var(--muted-text);
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-category .icon-chevron {
    position: absolute;
    right: 15px;
    top: 50%;
    width: 9px;
    height: 6px;
    margin-top: -3px;
    color: var(--muted-text);
    pointer-events: none;
}

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    padding: 0 4px 0 0;
    border: 0;
    border-radius: 0 23px 23px 0;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-submit:hover {
    opacity: 0.85;
}

.search-submit .icon-search {
    width: 21px;
    height: 21px;
}

/* Actions: login, wishlist, compare, cart */
.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-login {
    position: relative;
    top: 1px;
    margin-right: 19px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.header-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.header-actions > .header-icon {
    margin-right: 24px;
}

.header-icon .icon {
    width: 22px;
    height: 22px;
}

.badge {
    position: absolute;
    top: -3.5px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    line-height: 1;
}

.header-cart {
    display: flex;
    align-items: center;
}

.cart-total {
    position: relative;
    top: 1px;
    margin-left: 13px;
    font-size: 13px;
    font-weight: 600;
}

.header-login:hover,
.header-icon:hover,
.header-cart:hover {
    opacity: 0.8;
}

.header-search.no-categories input {
    border-right: 1px solid var(--search-border);
}

/* ---------- Main menu ---------- */
.header-bottom {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    color: var(--text);
}
.main-nav{
    text-align:center;
}
.main-nav > ul {
    display: inline-flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.main-nav > ul > li {
    position: relative;
    display: flex;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 49px;
    padding: 0 10px;
    font-size: 12.8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.main-nav > ul > li > a:hover {
    opacity: 0.7;
}

.main-nav .icon-chevron {
    position: relative;
    top: -1px;
    width: 6.5px;
    height: 4px;
    margin-left: 3.5px;
    opacity: 0.5;
}

/* =========================================================
   Hero slider
   ========================================================= */
.hero-slider {
    position: relative;
    height: var(--slider-height, 600px);
    overflow: hidden;
    background: #2b2b2b;
    color: #fff;
}

.slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.06);
    transition: transform 7s ease-out;
}

.slide.is-active .slide-bg {
    transform: scale(1);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, var(--slider-overlay, 0.4));
}

.slide-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 860px;
    height: 100%;
    margin: 0 auto;
    padding: 0 60px 6px;
    text-align: center;
}

.slide-content > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.is-active .slide-content > * {
    opacity: 1;
    transform: none;
}

.slide.is-active .slide-content > :nth-child(2) {
    transition-delay: 0.15s;
}

.slide.is-active .slide-content > :nth-child(3) {
    transition-delay: 0.3s;
}

.slide-subtitle {
    margin: 0 0 27px;
    font-family: var(--font-slider);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--accent);
}

.slide-title {
    margin: 0;
    font-family: var(--font-slider);
    font-size: 50px;
    font-weight: 400;
    line-height: 60px;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 35px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 42px;
    font-family: var(--font-slider);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.slide-btn-primary {
    background: var(--accent);
    color: #fff;
}

.slide-btn-primary:hover {
    opacity: 0.85;
}

.slide-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.slide-btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: #333;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}

.slider-arrow:hover {
    opacity: 0.6;
}

.slider-arrow .icon {
    width: 12px;
    height: 22px;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-pagination {
    position: absolute;
    right: 0;
    bottom: 15px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.slider-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: var(--font-slider);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.slider-dot-line {
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: width 0.4s ease;
}

.slider-dot.is-active .slider-dot-line {
    width: 45px;
}

/* =========================================================
   Shared: titles, buttons, forms, notices
   ========================================================= */
.box-title {
    margin: 0;
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--title);
}

.title-line {
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.title-line .box-title {
    position: relative;
    padding-bottom: 10px;
}

.title-line .box-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 26px;
    border: 0;
    border-radius: 42px;
    background: #f3f3f3;
    color: var(--title);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.btn:hover {
    background: #e6e6e6;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent);
    opacity: 0.85;
}

.btn-dark {
    background: var(--title);
    color: #fff;
}

.btn-dark:hover {
    background: #000;
}

.btn-small {
    height: 34px;
    padding: 0 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.form-row {
    margin-bottom: 18px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--title);
    font-weight: 600;
    font-size: 14px;
}

.form-row .required {
    color: #e01020;
}

.input,
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 2px solid var(--border);
    border-radius: 35px;
    background: #fff;
    font: inherit;
    color: var(--title);
    outline: none;
    transition: border-color 0.2s;
}

.form-row textarea {
    height: auto;
    min-height: 140px;
    padding: 12px 15px;
    border-radius: 20px;
    resize: vertical;
}

.input:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #bbb;
}

.form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.notice {
    margin-bottom: 24px;
    padding: 14px 20px;
    border-left: 3px solid;
    background: #f7f7f7;
    color: var(--title);
}

.notice-success {
    border-color: #459647;
}

.notice-error {
    border-color: #e01020;
}

.notice-info {
    border-color: var(--accent);
}

/* =========================================================
   Product card
   ========================================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}

.product-card {
    position: relative;
    text-align: center;
}

.product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--grey-bg);
}

.product-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.04;
    object-fit: cover;
    mix-blend-mode: darken;
    transition: transform 0.5s ease;
}

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

.product-labels {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.product-label {
    padding: 3px 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.label-sale {
    background: var(--accent);
}

.label-new {
    background: #438e44;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.25s, transform 0.25s;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--title);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.action-btn .icon {
    width: 17px;
    height: 17px;
}

.action-btn:hover,
.action-btn.is-active {
    color: var(--accent);
}

.action-btn.is-active.js-wishlist svg path {
    fill: currentColor;
}

.product-add {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 40px;
    border: 0;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.25s, opacity 0.2s;
}

.product-add:hover {
    opacity: 0.9;
}

/* Bina price wale product ka "Ask for price" — link, lekin "Add to cart" jaisa */
a.product-add {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn.enquiry-btn {
    text-decoration: none;
}

.product-add:disabled {
    opacity: 0.6;
}

.product-card:hover .product-actions,
.product-card:focus-within .product-actions {
    opacity: 1;
    transform: none;
}

.product-card:hover .product-add,
.product-card:focus-within .product-add {
    transform: none;
}

.product-title {
    margin: 0 0 3px;
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--title);
}

.product-title a:hover {
    opacity: 0.7;
}

.product-cat {
    margin-bottom: 5px;
    font-size: 12px;
    color: #a5a5a5;
}

.product-cat a:hover {
    color: var(--title);
}

.product-price {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.product-price del {
    margin-right: 3px;
    font-weight: 400;
    color: #bbb;
}

.product-price ins {
    text-decoration: none;
}

/* Touch screens: hover nahi hota, buttons hamesha dikhao */
@media (hover: none) {
    .product-actions {
        opacity: 1;
        transform: none;
    }

    .product-add {
        transform: none;
    }
}

/* =========================================================
   Home sections
   ========================================================= */
.home-categories {
    padding: 50px 0 45px;
    background: var(--grey-bg);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}

/* 4 ya 8 categories: desktop aur tablet par 4 columns (mobile par 2 hi) */
@media (min-width: 768px) {
    .category-grid.is-four {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px 20px;
    }
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-image {
    display: block;
    width: 150px;
    height: 150px;
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: darken;
}

.category-item:hover .category-image {
    transform: translateY(-5px);
}

.category-name {
    font-family: var(--font-title);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--title);
}

.category-count {
    font-size: 12px;
    color: #a5a5a5;
}

.home-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 30px;
    align-items: start;
    margin-top: 60px;
}

.home-row-last {
    grid-template-columns: 7fr 5fr;
    margin-top: 62px;
}

.home-row.is-single {
    grid-template-columns: 1fr;
}

.home-row.is-single .sale-box {
    max-width: 480px;
}

.site-content > :last-child {
    margin-bottom: 80px;
}

.site-content > .page-heading:last-child,
.site-content > .page-body:last-child {
    margin-bottom: 0;
}

/* Sale box */
.sale-box {
    padding: 22px 22px 26px;
    border: 2px solid var(--accent);
}

.sale-box-head,
.tabs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sale-box-items {
    margin: 20px 0 18px;
    text-align: center;
}

.sale-item {
    display: none;
}

.sale-item.is-active {
    display: block;
    animation: wm-fade 0.4s ease;
}

.sale-item-image {
    display: block;
    max-width: 380px;
    margin: 0 auto 30px;
    background: var(--grey-bg);
}

.sale-item-image img {
    display: block;
    width: 100%;
}

.box-arrows {
    display: flex;
    gap: 4px;
}

.box-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 26px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--title);
    cursor: pointer;
}

.box-arrow .icon {
    width: 7px;
    height: 13px;
}

.box-arrow.js-prev {
    color: #bbb;
}

.box-arrow:hover {
    color: var(--accent);
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.countdown-part {
    display: flex;
    flex-direction: column;
}

.countdown-num {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--title);
}

.countdown-label {
    font-size: 11px;
    color: #777;
}

/* Tabs */
.tabs-head {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.tabs-head .box-title {
    position: relative;
    margin-right: 25px;
    padding: 6px 0 10px;
}

.tabs-head .box-title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--accent);
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 30px;
    margin-right: auto;
    padding-bottom: 4px;
}

.tab-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--title);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.tab-btn:hover,
.tab-btn.is-active {
    color: var(--accent);
}

.tab-panel,
.tab-panel .product-grid {
    display: none;
}

.tab-panel.is-active,
.tab-panel .product-grid.is-active {
    display: grid;
}

.tab-panel.is-active {
    display: block;
    animation: wm-fade 0.4s ease;
}

@keyframes wm-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Banner + most popular */
.home-banner {
    display: grid;
    grid-template-columns: 8fr 4fr;
    margin-top: 110px;
}

.banner-image {
    position: relative;
    aspect-ratio: 4 / 3;
}

.banner-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotspot {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
}

.hotspot-dot {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #fff;
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: -6px;
    left: -6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
    animation: wm-pulse 1.8s ease-out infinite;
}

@keyframes wm-pulse {
    from {
        transform: scale(0.7);
        opacity: 0.5;
    }
    to {
        transform: scale(1.4);
        opacity: 0;
    }
}

.hotspot-card {
    position: absolute;
    top: 50%;
    left: calc(100% + 14px);
    display: flex;
    gap: 12px;
    width: 280px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%);
}

.hotspot-card[hidden] {
    display: none;
}

.hotspot-card img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.hotspot-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hotspot-info .product-title {
    margin: 0;
}

.popular-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 76px 40px 30px;
    background: var(--grey-bg);
    text-align: center;
}

.popular-text {
    max-width: 190px;
    margin: 18px 0 30px;
    font-size: 13px;
    line-height: 1.7;
}

.popular-items {
    width: 100%;
}

.popular-item {
    display: none;
}

.popular-item.is-active {
    display: block;
    animation: wm-fade 0.4s ease;
}

.popular-image {
    display: block;
    width: 190px;
    margin: 0 auto 35px;
}

.popular-image img {
    display: block;
    width: 100%;
    mix-blend-mode: darken;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    margin-top: 22px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #bbb;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.carousel-dot.is-active {
    border-color: var(--title);
    background: var(--title);
}

/* Features */
.home-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 68px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feature-num {
    font-family: var(--font-title);
    font-size: 40px;
    line-height: 1;
    color: var(--accent);
}

.feature-title {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 500;
    color: var(--title);
}

.feature-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-heading {
    padding: 45px 0;
    background: var(--grey-bg);
    text-align: center;
}

.page-title {
    margin: 0 0 8px;
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--title);
}

.breadcrumbs {
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--title);
}

.crumb-sep {
    margin: 0 7px;
    color: #bbb;
}

.page-body {
    padding-top: 50px;
    padding-bottom: 80px;
}

.empty-state {
    padding: 40px 0;
    text-align: center;
}

.empty-state p {
    margin: 0 0 22px;
    font-size: 16px;
}

/* Shop */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.shop-sidebar .box-title {
    margin-bottom: 14px;
    font-size: 16px;
}

.shop-cats {
    margin-bottom: 35px;
}

.shop-cats li {
    border-bottom: 1px solid var(--border);
}

.shop-cats a {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
}

.shop-cats a:hover,
.shop-cats a.is-current {
    color: var(--accent);
}

/* Khuli main category ki subcategories */
.shop-cats .shop-subcat a {
    padding: 6px 0 6px 16px;
    font-size: 13px;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.shop-toolbar select {
    width: auto;
    min-width: 200px;
}

.shop-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 45px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 36px;
    background: #f3f3f3;
    color: var(--title);
    font-weight: 600;
}

.pagination .is-current {
    background: var(--accent);
    color: #fff;
}

/* Product page */
.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-page-image {
    position: relative;
    background: var(--grey-bg);
}

.product-page-image img {
    display: block;
    width: 100%;
}

.product-page-title {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--title);
}

.product-page .product-price {
    margin-bottom: 20px;
    font-size: 24px;
}

.product-page-desc {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.7;
}

.buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.buy-row form {
    display: flex;
    gap: 12px;
}

.qty {
    display: inline-flex;
    align-items: center;
    height: 42px;
    border: 2px solid var(--border);
    border-radius: 42px;
}

.qty input {
    width: 42px;
    height: 100%;
    border: 0;
    background: none;
    font: inherit;
    text-align: center;
    color: var(--title);
    -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.qty-btn {
    width: 32px;
    height: 100%;
    border: 0;
    background: none;
    color: var(--title);
    font-size: 16px;
    cursor: pointer;
}

.product-links {
    display: flex;
    gap: 22px;
    margin-bottom: 20px;
}

.text-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--title);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.text-action .icon {
    width: 16px;
    height: 16px;
}

.text-action:hover,
.text-action.is-active {
    color: var(--accent);
}

.product-meta {
    font-size: 13px;
}

.product-meta strong {
    color: var(--title);
}

.related {
    margin-top: 70px;
}

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

/* Cart, wishlist, compare tables */
.shop-table {
    width: 100%;
    border-collapse: collapse;
}

.shop-table th {
    padding: 0 10px 12px;
    border-bottom: 2px solid var(--border);
    color: var(--title);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.shop-table td {
    padding: 16px 10px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.shop-table .cell-image img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: var(--grey-bg);
}

.shop-table .product-title {
    margin: 0;
}

.remove-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: #999;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.remove-btn:hover {
    background: #f3f3f3;
    color: #e01020;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.totals-box {
    padding: 28px;
    border: 2px solid var(--border);
}

.totals-box .box-title {
    margin-bottom: 18px;
    font-size: 16px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.totals-row strong {
    color: var(--title);
}

.totals-total {
    border-bottom: 0;
    font-size: 18px;
}

.totals-total strong {
    color: var(--accent);
}

.totals-box .btn {
    margin-top: 18px;
}

.free-shipping-note {
    margin: 12px 0 0;
    font-size: 12px;
}

.compare-table th {
    width: 160px;
    vertical-align: top;
}

.compare-table td {
    min-width: 200px;
    text-align: center;
    vertical-align: top;
}

.compare-table td img {
    width: 160px;
    margin: 0 auto 10px;
    background: var(--grey-bg);
}

/* Checkout + account */
.checkout-layout,
.account-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.checkout-layout {
    grid-template-columns: 1fr 420px;
}

.order-summary .shop-table td {
    padding: 10px 0;
}

.payment-note {
    margin: 18px 0;
    padding: 14px 18px;
    background: var(--grey-bg);
    font-size: 13px;
}

.account-box {
    padding: 35px;
    border: 2px solid var(--border);
}

.account-box .box-title {
    margin-bottom: 22px;
    font-size: 18px;
}

.order-number {
    color: var(--title);
    font-weight: 600;
}

.status {
    padding: 3px 10px;
    border-radius: 20px;
    background: #fdf3e2;
    color: #b97e1f;
    font-size: 12px;
    font-weight: 600;
}

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    position: relative;
    padding: 18px 40px 18px 0;
    color: var(--title);
    font-family: var(--font-title);
    font-size: 17px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 5px;
    color: var(--accent);
    font-size: 24px;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0 0 20px;
    line-height: 1.7;
}

/* Contact / about / blog */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info li {
    margin-bottom: 18px;
}

/* Price request form: baayen product */
.enquiry-product {
    display: block;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.enquiry-product img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    background: var(--grey-bg);
}

.enquiry-product .product-title,
.enquiry-product .product-cat {
    display: block;
}

.enquiry-intro {
    margin: 0 0 20px;
}

/* =========================================================
   Customizer mein banaye pages (page.php): sections + blocks
   ========================================================= */
.cp-section {
    padding: var(--cp-pad) 0;
}

.cp-inner {
    display: flex;
    flex-direction: column;
    gap: var(--cp-gap);
}

.cp-full {
    padding: 0 15px;
}

/* Grid: barabar columns */
.cp-grid > .cp-inner {
    display: grid;
    grid-template-columns: repeat(var(--cp-columns, 2), minmax(0, 1fr));
}

.cp-cols-1 { --cp-columns: 1; }
.cp-cols-2 { --cp-columns: 2; }
.cp-cols-3 { --cp-columns: 3; }
.cp-cols-4 { --cp-columns: 4; }

/* Flex: bagal bagal, jagah na ho to agli line */
.cp-flex > .cp-inner {
    flex-direction: row;
    flex-wrap: wrap;
}

.cp-flex > .cp-inner > * {
    flex: 1 1 220px;
    min-width: 0;
}

.cp-flex > .cp-inner > .cp-button {
    flex: 0 0 auto;
}

/* "Column break" ke beech ke blocks */
.cp-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cp-align-left { text-align: left; }
.cp-align-center { text-align: center; }
.cp-align-right { text-align: right; }

.cp-stack.cp-align-center > .cp-inner,
.cp-align-center .cp-col { align-items: center; }
.cp-stack.cp-align-right > .cp-inner,
.cp-align-right .cp-col { align-items: flex-end; }
.cp-stack.cp-align-left > .cp-inner,
.cp-align-left .cp-col { align-items: flex-start; }

.cp-flex.cp-align-center > .cp-inner { justify-content: center; }
.cp-flex.cp-align-right > .cp-inner { justify-content: flex-end; }

/* Upar / beech / neeche — sirf Grid aur Flex mein (Stack mein blocks ek ke neeche ek) */
.cp-grid.cp-valign-start > .cp-inner,
.cp-flex.cp-valign-start > .cp-inner { align-items: start; }
.cp-grid.cp-valign-center > .cp-inner,
.cp-flex.cp-valign-center > .cp-inner { align-items: center; }
.cp-grid.cp-valign-end > .cp-inner,
.cp-flex.cp-valign-end > .cp-inner { align-items: end; }

.cp-heading {
    margin: 0;
    color: var(--cp-title, var(--title));
    font-weight: 600;
    line-height: 1.25;
}

.cp-h1 { font-size: 40px; }
.cp-h2 { font-size: 30px; }
.cp-h3 { font-size: 22px; }
.cp-h4 { font-size: 18px; }

.cp-text p {
    margin: 0 0 12px;
}

.cp-text p:last-child {
    margin-bottom: 0;
}

.cp-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.cp-align-center .cp-image img { margin: 0 auto; }
.cp-align-right .cp-image img { margin-left: auto; }

.cp-button {
    text-decoration: none;
}

.cp-empty {
    color: var(--muted-text);
}

@media (max-width: 991px) {
    .cp-cols-3,
    .cp-cols-4 { --cp-columns: 2; }

    .cp-h1 { font-size: 32px; }
    .cp-h2 { font-size: 26px; }
}

@media (max-width: 767px) {
    .cp-grid > .cp-inner {
        grid-template-columns: 1fr;
    }
}

.contact-info strong {
    display: block;
    color: var(--title);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-layout img {
    display: block;
    width: 100%;
}

.prose {
    font-size: 15px;
    line-height: 1.8;
}

.prose h2 {
    margin: 0 0 16px;
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 500;
    color: var(--title);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 18px;
}

.post-date {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-card h2 {
    margin: 6px 0 10px;
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 500;
    color: var(--title);
}

.post-card p {
    margin: 0 0 14px;
}

.read-more {
    color: var(--title);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.read-more:hover {
    color: var(--accent);
}

.post-single {
    max-width: 820px;
    margin: 0 auto;
}

.post-single > img {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

/* =========================================================
   Footer + toasts
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 60px 15px 50px;
}

/* Footer: har main category ka column, neeche us ki subcategories */
.footer-band-grid {
    display: grid;
    grid-template-columns: repeat(var(--band-cols, 8), minmax(0, 1fr));
    gap: 34px 24px;
    padding-top: 55px;
    padding-bottom: 45px;
}

.footer-band + .footer-grid {
    border-top: 1px solid var(--border);
}

.footer-band-title {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--title);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-band-title a:hover {
    color: var(--accent);
}

.footer-band .footer-links {
    font-size: 13px;
    line-height: 1.45;
}

/* Admin panel mein koi column band ho to baaki jagah le lein */
.footer-cols-3 {
    grid-template-columns: 1.3fr 1fr 1.4fr;
}

.footer-cols-2 {
    grid-template-columns: 1.3fr 1fr;
}

.footer-cols-1 {
    grid-template-columns: minmax(0, 560px);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 18px;
    color: var(--header-bg);
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
}

.footer-logo .icon {
    width: 24px;
    height: 24px;
}

.footer-logo img {
    display: block;
    width: auto;
    max-width: 100%;
}

.footer-title {
    margin: 0 0 18px;
    color: var(--title);
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.site-footer p {
    margin: 0 0 18px;
}

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

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    border: 2px solid var(--border);
    border-radius: 42px;
    font: inherit;
    outline: none;
}

.newsletter-form button {
    height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 42px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* Right side: text + payment icons */
.footer-bottom-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.payment-icon {
    display: block;
}

/* Apni upload ki hui image — bane hue icons jaisa card */
.payment-img {
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: 76px;
    height: 24px;
    padding: 2px 4px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

.toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: calc(100% - 40px);
}

.admin-customize-btn ~ .toast-stack,
body:has(.admin-customize-btn) .toast-stack {
    bottom: 76px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 380px;
    padding: 14px 18px;
    border-left: 3px solid #459647;
    background: #fff;
    color: var(--title);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.is-visible {
    opacity: 1;
    transform: none;
}

.toast-error {
    border-color: #e01020;
}

.toast a {
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
}

.dropdown-menu a.is-current {
    color: var(--title);
    font-weight: 600;
}

.dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* =========================================================
   Sticky header
   ========================================================= */
.sticky-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 900;
    background: var(--header-bg);
    color: var(--header-text);
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, visibility 0.3s;
}

/* Shadow sirf dikhne par — warna chhupe header ki parchhai page ke upar aati hai */
.sticky-header.is-visible {
    visibility: visible;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    transform: none;
}

.sticky-inner {
    display: flex;
    align-items: center;
    height: 60px;
}

.sticky-header .site-logo {
    width: auto;
    margin-right: 40px;
}

.sticky-header .site-logo .icon-logo {
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.sticky-header .logo-text {
    font-size: 30px;
    letter-spacing: -1.2px;
}

.sticky-header .site-logo img {
    max-height: 40px;
}

.sticky-nav > ul {
    display: flex;
    margin: 0;
}

.sticky-nav > ul > li {
    position: relative;
}

.sticky-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 10px;
    color: var(--header-text);
    font-size: 12.8px;
    font-weight: 700;
    text-transform: uppercase;
}

.sticky-nav > ul > li > a:hover {
    opacity: 0.7;
}

/* Lamba menu chhote header mein na samaye (main.js "is-scroll" lagata hai): side mein scroll, dropdown nahi */
.sticky-nav {
    flex: 1;
    min-width: 0;
    margin-right: 20px;
}

.sticky-nav > ul {
    flex-wrap: nowrap;
}

.sticky-nav > ul > li > a {
    white-space: nowrap;
}

.sticky-nav.is-scroll > ul {
    overflow-x: auto;
    scrollbar-width: none;
}

.sticky-nav.is-scroll > ul::-webkit-scrollbar {
    display: none;
}

/* Scroll wali patti ke andar dropdown kat jata — is liye fixed; main.js use menu item ke neeche rakhta hai */
.sticky-nav.is-scroll .dropdown-menu {
    position: fixed;
    top: 60px;
}

/* Tablet: lamba menu (9 items) bhi ek line mein aa jaye */
@media (max-width: 1199px) {
    .header-bottom .main-nav > ul {
        margin: 0 -8px;
    }

    .header-bottom .main-nav > ul > li > a {
        padding: 0 8px;
        font-size: 12px;
    }
}

.sticky-nav .icon-chevron {
    width: 6.5px;
    height: 4px;
    margin-left: 3.5px;
    opacity: 0.6;
}

/* =========================================================
   More home sections
   ========================================================= */
.product-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.home-banner-reverse {
    grid-template-columns: 4fr 8fr;
    margin-top: 80px;
}

.home-tabs-wide {
    margin-top: 90px;
}

/* Promo banners */
.promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.promo-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 195px;
    overflow: hidden;
    color: #fff;
}

.promo-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s ease;
}

.promo-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.05) 100%);
}

.promo-banner:hover .promo-bg {
    transform: scale(1.05);
}

.promo-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 330px;
    padding: 30px;
}

.promo-subtitle {
    margin-bottom: 6px;
    color: var(--accent);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 500;
}

.promo-title {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
}

.promo-text {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.85;
}

.promo-link {
    margin-top: 14px;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: border-color 0.2s;
}

.promo-banner:hover .promo-link {
    border-color: var(--accent);
}

/* Furniture categories band + brands */
.furniture-band {
    margin-top: 82px;
}

.brands-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    color: #9a9a9a;
    transition: color 0.2s, opacity 0.2s;
}

.brand:hover {
    color: var(--title);
}

.brand img {
    max-width: 130px;
    max-height: 50px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.brand:hover img {
    opacity: 1;
}

.brand-name {
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
}

.brand-style-0 {
    font-family: var(--font-logo);
    font-weight: 600;
    letter-spacing: -1px;
}

.brand-style-1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

.brand-style-2 {
    font-family: var(--font-title);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
}

.brand-style-3 {
    font-family: var(--font-slider);
    font-weight: 400;
    letter-spacing: 1px;
}

.brand-style-4 {
    font-family: var(--font-logo);
    font-size: 22px;
    font-weight: 600;
}

.brand-style-5 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    letter-spacing: -0.5px;
}

/* Special offer 2: banners on the left */
.special2-row {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 30px;
    align-items: start;
    margin-top: 73px;
}

.special2-promos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.promo-tall {
    align-items: flex-end;
    min-height: 327px;
}

.promo-tall .promo-bg::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 70%);
}

.promo-tall .promo-content {
    padding: 22px;
}

.promo-tall .promo-title {
    font-size: 20px;
}

@media (max-width: 1199px) {
    .product-grid.cols-5,
    .product-grid.cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-banner-reverse,
    .special2-row {
        grid-template-columns: 1fr;
    }

    .home-banner-reverse .banner-image {
        order: -1;
    }

    .special2-promos {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sticky-nav {
        display: none;
    }

    .brands-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid.cols-5,
    .product-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-row,
    .special2-promos {
        grid-template-columns: 1fr;
    }

    .home-banner-reverse,
    .home-tabs-wide,
    .furniture-band,
    .special2-row {
        margin-top: 50px;
    }

    .promo-tall {
        min-height: 240px;
    }

    .sticky-inner {
        height: 54px;
    }

    .sticky-header .header-login,
    .sticky-header .header-actions > .header-icon {
        display: none;
    }

    .sticky-header .logo-text {
        font-size: 24px;
    }
}

/* Sirf admin ko dikhta hai */
.admin-customize-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    padding: 11px 18px;
    border-radius: 30px;
    background: #1d2327;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
}

.admin-customize-btn:hover {
    background: #000;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199px) {
    .topbar-social,
    .topbar-text {
        display: none;
    }

    .slide-title {
        font-size: 42px;
        line-height: 52px;
    }

    .site-logo {
        width: auto;
    }
}

@media (max-width: 991px) {
    .topbar-right .topbar-link:not(:last-child) {
        display: none;
    }

    .search-category {
        display: none;
    }

    .header-search input {
        border-right: 1px solid var(--search-border);
    }

    .header-login {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-main-inner {
        flex-wrap: wrap;
        height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        row-gap: 14px;
    }

    .logo-text {
        font-size: 34px;
    }

    .site-logo img {
        max-width: 200px;
        max-height: 50px;
    }

    .site-logo .icon-logo {
        width: 26px;
        height: 26px;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 0;
    }

    .header-actions > .header-icon {
        margin-right: 20px;
    }

    .main-nav > ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .main-nav > ul::-webkit-scrollbar {
        display: none;
    }

    .main-nav > ul > li > a {
        white-space: nowrap;
    }

    /* Mobile par dropdown nahi — menu side mein scroll hota hai */
    .main-nav .dropdown-menu,
    .main-nav .icon-chevron {
        display: none;
    }

    .hero-slider {
        height: min(var(--slider-height, 600px), 480px);
    }

    .slide-content {
        padding: 0 44px;
    }

    .slide-subtitle {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .slide-title {
        font-size: 28px;
        line-height: 36px;
    }

    .slide-buttons {
        gap: 10px;
        margin-top: 22px;
    }

    .slider-arrow {
        width: 40px;
    }

    .slider-pagination {
        gap: 20px;
    }
}

/* ---------- Store pages: responsive ---------- */
@media (max-width: 1199px) {
    .home-row,
    .home-row-last {
        grid-template-columns: 1fr;
    }

    .home-row-last .home-col-small {
        order: -1;
    }

    .sale-box {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .home-banner {
        grid-template-columns: 1fr;
    }

    .popular-box {
        padding-top: 40px;
    }

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

    .home-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-band-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .shop-layout,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .related .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-grid,
    .shop-grid,
    .related .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .tabs-head {
        flex-wrap: wrap;
    }

    .tabs-nav {
        order: 3;
        width: 100%;
        margin: 8px 0 6px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-image {
        width: 120px;
        height: 120px;
        margin-bottom: 16px;
    }

    .footer-band-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
        padding-top: 40px;
    }

    .home-features,
    .footer-grid,
    .product-page,
    .account-layout,
    .contact-layout,
    .about-layout,
    .blog-grid,
    .form-cols {
        grid-template-columns: 1fr;
    }

    .home-banner,
    .home-row {
        margin-top: 50px;
    }

    .hotspot-card {
        left: 50%;
        top: calc(100% + 12px);
        width: 240px;
        transform: translateX(-50%);
    }

    .page-title {
        font-size: 28px;
    }

    .shop-table thead {
        display: none;
    }

    .shop-table tr {
        display: grid;
        grid-template-columns: 80px 1fr auto;
        gap: 6px 14px;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .shop-table td {
        padding: 0;
        border: 0;
    }

    .shop-table .cell-image {
        grid-row: span 3;
    }

    .compare-wrap {
        overflow-x: auto;
    }

    .compare-table tr {
        display: table-row;
    }

    .compare-table td,
    .compare-table th {
        display: table-cell;
        padding: 12px;
        border-bottom: 1px solid var(--border);
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Footer colors — set in Customizer > Colors */
.site-footer { background: var(--footer-bg, #fff); color: var(--footer-text, inherit); }
.site-footer :is(a, p, li, span, address, small, strong, h2, h3, h4, .footer-title, .footer-logo, .footer-band-title) { color: inherit; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); }
.site-footer,
.site-footer .footer-bottom,
.site-footer .footer-band + .footer-grid { border-color: var(--footer-border, var(--border)); }
.site-footer .footer-band-title { border-bottom-color: currentColor; }


/* Top categories: desktop 300x300 (mobile/tablet unchanged) */
@media (min-width: 1200px) {
    .home-categories:not(.furniture-band) .category-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px 20px; }
    .home-categories:not(.furniture-band) .category-image { width: 300px; height: 300px; }
}

/* Promo banners: customizer ki width / height (px) — sirf 768px aur upar; mobile default */
@media (min-width: 768px) {
    .promo-banner.has-size { min-height: var(--promo-h, 195px); }
    .promo-banner.has-width { width: var(--promo-w); max-width: 100%; justify-self: center; }
    /* Bari width wala banner doosre ka hissa na le — dono columns barabar rahen */
    .promo-row:has(.has-width) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
