/* css/style.css */

/* Global Variables & Theme Config
   Rebranded for Horeca Supply's (orange / charcoal / white).
   Variable names are kept as-is (--vaaree-*) so every page and
   component that already references them keeps working without edits;
   only the underlying values changed. */
:root {
    --vaaree-cream: #FFFFFF;
    --vaaree-white: #FFFFFF;
    --vaaree-yellow: #E07B39;
    --vaaree-charcoal: #14161c;
    --vaaree-charcoal-light: #5a5a5a;
    --vaaree-rust: #E07B39;
    --vaaree-border: #ececec;
    --vaaree-green: #10B981;
    --vaaree-card-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    --font-sans: 'Poppins', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* New Horeca-branded aliases, for any new markup going forward */
    --horeca-orange: #E07B39;
    --horeca-dark: #14161c;
    --horeca-charcoal: #1a1a1a;
    --horeca-grey: #6b6b6b;
    --horeca-border: #ececec;
    --horeca-cream: #ffffff;
}

/* Core Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--vaaree-cream);
    color: var(--vaaree-charcoal);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--vaaree-charcoal);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Main Homepage Container Layout */
.homepage-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px 5%;
}

/* 1. Hero Banner */
.hero-banner-section {
    margin-bottom: 40px;
}

.hero-banner-link {
    display: block;
}

.hero-banner-content {
    background: linear-gradient(135deg, #FCEEE3 0%, var(--vaaree-yellow) 100%);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 320px;
    transition: transform 0.3s ease;
}

.hero-banner-content:hover {
    transform: scale(0.995);
}

.hero-text-side {
    max-width: 50%;
    z-index: 2;
}

.hero-text-side h2 {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--vaaree-charcoal);
    margin-bottom: 12px;
}

.hero-text-side h2 em {
    font-style: italic;
    font-weight: 400;
}

.hero-text-side p {
    font-size: 18px;
    font-weight: 400;
    color: var(--vaaree-charcoal-light);
}

.hero-image-side {
    position: absolute;
    right: 5%;
    bottom: -10%;
    width: 45%;
    height: 120%;
    z-index: 1;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 2. Circular Categories Quick Links */
.circular-categories-section {
    margin-bottom: 40px;
}

.circular-categories-section .carousel-outer {
    /* padding: 0 40px; */
}

.circles-scroll-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.circles-scroll-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.category-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 90px;
    transition: transform 0.3s ease;
}

.category-circle-card:hover {
    transform: translateY(-4px);
}

.circle-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--vaaree-yellow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
    background-color: #fff;
    padding: 3px;
}

.circle-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-circle-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--vaaree-charcoal);
    white-space: nowrap;
}

.category-circle-card.active .circle-img-wrap {
    border-color: var(--vaaree-rust);
    box-shadow: 0 4px 12px rgba(229, 91, 60, 0.2);
}

.category-circle-card.active span {
    color: var(--vaaree-rust);
}

/* 3. Deal of the Day (Countdown Section) */
.deal-of-the-day-section {
    background-color: #FCEEE3;
    border-radius: 20px;
    padding: 35px 30px;
    margin-bottom: 45px;
    border: 1px solid rgba(255, 201, 60, 0.2);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.deal-header h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.deal-header h3 span {
    font-weight: 400;
    font-style: italic;
}

.deal-header h3 em {
    font-style: italic;
    font-weight: 400;
}

.countdown-wrap {
    background-color: #FFF;
    border: 1px solid var(--vaaree-border);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.countdown-wrap strong {
    font-weight: 700;
    color: var(--vaaree-rust);
}

/* General horizontal product carousel styles */
.carousel-outer {
    position: relative;
    width: 100%;
    /* padding: 0 28px; */
}

.product-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px 4px 12px;
    align-items: stretch;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

/* Product Cards Premium Styles */
.product-card-premium {
    flex: 0 0 calc(25% - 14px);
    min-width: 220px;
    max-width: 280px;
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--vaaree-card-shadow);
    scroll-snap-align: start;
    height: auto;
}

.product-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-img-wrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #fafafa;
    flex-shrink: 0;
}

.card-img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.card-info-wrap {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-height: 148px;
}

.card-brand {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
    color: #999;
    margin: 0;
    letter-spacing: 0.6px;
    line-height: 1.3;
}

.card-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 6px;
    min-height: 42px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-name a {
    color: var(--vaaree-charcoal);
}

.card-name a:hover {
    color: var(--vaaree-rust);
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 10px;
    flex-wrap: wrap;
    min-height: 24px;
}

.final-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--vaaree-charcoal);
    line-height: 1;
}

.original-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #aaa;
    line-height: 1;
}

.discount-badge-pill {
    font-size: 10px;
    font-weight: 700;
    background-color: var(--vaaree-green);
    color: #FFF;
    padding: 3px 7px;
    border-radius: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

.add-to-cart-btn {
    width: 100%;
    text-align: center;
    border: 1px solid var(--vaaree-charcoal);
    background-color: transparent;
    color: var(--vaaree-charcoal);
    padding: 9px 0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    display: block;
    margin-top: auto;
    line-height: 1.2;
}

.add-to-cart-btn:hover {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border-color: var(--vaaree-charcoal);
}

.nav-arrow.prev {
    left: 0;
}

.nav-arrow.next {
    right: 0;
}

.deal-footer {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.view-all-btn {
    border: 1px solid var(--vaaree-charcoal);
    background-color: var(--vaaree-white);
    color: var(--vaaree-charcoal);
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
}

/* 4. Promo Banners Grid */
.promo-grid-one {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 45px;
}

.promo-grid-one:not(:has(.large-banner)) {
    grid-template-columns: 1fr;
}

.promo-banner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 380px;
}

.promo-banner a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 36px 40px;
    gap: 16px;
}

.banner-text {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.banner-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
    word-break: break-word;
}

.shop-now-btn {
    display: inline-block;
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.promo-banner:hover .shop-now-btn {
    opacity: 0.9;
}

.promo-banner img {
    width: 100%;
    max-width: 100%;
    max-height: 85%;
    object-fit: contain;
    object-position: center right;
    z-index: 1;
    transition: transform 0.4s ease;
    justify-self: end;
    align-self: center;
}

.promo-banner:hover img {
    transform: scale(1.03);
}

.promo-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-sub-grid .promo-banner {
    height: 180px;
}

.promo-sub-grid .promo-banner a {
    padding: 18px 24px;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
}

.promo-sub-grid .banner-text h2 {
    font-size: clamp(14px, 1.5vw, 18px);
    margin-bottom: 8px;
}

.promo-sub-grid .shop-now-btn {
    padding: 6px 15px;
    font-size: 11px;
}

/* 5. The Wall Edit Section & Headings */
.section-title-wrap {
    margin-bottom: 25px;
    text-align: left;
}

.section-title-wrap h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
}

.wall-edit-section {
    margin-bottom: 45px;
}

/* 6. Fastest Moving Section */
.fastest-moving-section {
    margin-bottom: 45px;
}

.fastest-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    scrollbar-width: none;
}

.fastest-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    color: var(--vaaree-charcoal-light);
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: var(--vaaree-charcoal);
    color: var(--vaaree-charcoal);
}

.tab-btn.active {
    background-color: var(--vaaree-charcoal);
    border-color: var(--vaaree-charcoal);
    color: #FFF;
}

.tab-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
    align-items: stretch;
}

.tab-products-grid .product-card-premium {
    min-width: 0;
    max-width: none;
    width: 100%;
    flex: none;
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.product-carousel .loading-spinner,
.tab-products-grid .loading-spinner {
    margin: 40px auto;
}

.product-carousel .loading-spinner,
.product-carousel .no-data {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
}

.tab-footer {
    display: flex;
    justify-content: center;
}

/* 7. Bed & Bath Essentials */
.bed-bath-section {
    margin-bottom: 45px;
}

.bed-bath-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.bed-bath-card {
    background-color: var(--vaaree-white);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    position: relative;
    border: 1px solid var(--vaaree-border);
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: var(--vaaree-card-shadow);
}

.bed-bath-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.bed-bath-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-label {
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vaaree-charcoal);
    background-color: #FDF9F3;
    border-top: 1px solid var(--vaaree-border);
}

/* 8. Promo Banners Grid 2 */
.promo-grid-two {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 25px;
    margin-bottom: 30px;
}

.promo-banner.tall-banner {
    height: 480px;
}

.promo-banner.tall-banner a {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    justify-items: start;
    align-content: space-between;
    padding: 32px;
}

.promo-banner.tall-banner img {
    max-width: 100%;
    max-height: 65%;
    justify-self: center;
    align-self: end;
    object-position: center bottom;
}

.promo-nested-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-banner-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-banner.horizontal-banner {
    height: 230px;
}

.promo-banner.horizontal-banner a {
    padding: 18px 22px;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 8px;
}

.promo-banner.horizontal-banner .banner-text h2 {
    font-size: clamp(13px, 1.2vw, 16px);
    margin-bottom: 8px;
}

.promo-banner.horizontal-banner .shop-now-btn {
    padding: 6px 14px;
    font-size: 11px;
}

.promo-banner.horizontal-banner img {
    max-height: 88%;
    justify-self: end;
}

/* Customer Reviews Box & Loading Spinner */
.loading-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border-left-color: var(--vaaree-rust);
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
    grid-column: 1 / -1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-data {
    text-align: center;
    color: #888;
    padding: 30px 0;
    grid-column: 1 / -1;
    width: 100%;
}

/* ==========================================================================
   Product Detail Page Styles
   ========================================================================== */
.product-details-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
}

.product-details {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    background-color: var(--vaaree-white);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--vaaree-border);
    margin-bottom: 40px;
    box-shadow: var(--vaaree-card-shadow);
}

.product-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--vaaree-border);
    background-color: #fafafa;
    height: 480px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--vaaree-charcoal);
}

.product-info .category {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--vaaree-rust);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.product-info .price {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-info .description {
    font-size: 15px;
    color: var(--vaaree-charcoal-light);
    line-height: 1.7;
    margin-bottom: 30px;
    border-top: 1px solid var(--vaaree-border);
    padding-top: 20px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border: 1px solid var(--vaaree-charcoal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--vaaree-charcoal);
}

.btn-secondary {
    background-color: transparent;
    color: var(--vaaree-charcoal);
    border: 1px solid var(--vaaree-border);
}

.btn-secondary:hover {
    background-color: #F5F5F5;
}

.btn-back {
    margin-top: 30px;
    background-color: transparent;
    color: var(--vaaree-charcoal-light);
    border: 1px solid var(--vaaree-border);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.btn-back:hover {
    border-color: var(--vaaree-charcoal);
    color: var(--vaaree-charcoal);
}

/* Reviews Styling */
.reviews-section {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--vaaree-card-shadow);
}

.reviews-section h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

.review-form {
    background-color: #FFFDF9;
    border: 1px dashed var(--vaaree-yellow);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.review-form .form-group {
    margin-bottom: 15px;
}

.review-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-form textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--vaaree-border);
    font-family: var(--font-sans);
    resize: none;
}

.review-form textarea:focus {
    outline: none;
    border-color: var(--vaaree-rust);
}

.review {
    padding: 20px 0;
    border-bottom: 1px solid var(--vaaree-border);
}

.review:last-child {
    border-bottom: none;
}

.review p strong {
    font-weight: 600;
}

.review p span {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

/* ==========================================================================
   Cart & Wishlist Page Styles
   ========================================================================== */
.cart, .wishlist {
    max-width: 1100px;
    margin: 20px auto 40px;
    padding: 0;
}

.cart h2, .wishlist h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--vaaree-white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--vaaree-border);
    margin-bottom: 40px;
    box-shadow: var(--vaaree-card-shadow);
}

.cart-table th {
    background-color: #FAF8F5;
    color: var(--vaaree-charcoal);
    font-weight: 600;
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid var(--vaaree-border);
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--vaaree-border);
    font-size: 14px;
}

.product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--vaaree-border);
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product-cell a {
    font-weight: 500;
    color: var(--vaaree-charcoal);
}

.cart-product-cell a:hover {
    color: var(--vaaree-rust);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--vaaree-border);
    border-radius: 30px;
    width: max-content;
    padding: 2px;
}

.quantity-btn {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background-color: #EEE;
}

.quantity-control input {
    width: 35px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-weight: 600;
}

.quantity-control input::-webkit-inner-spin-button, 
.quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.remove-btn {
    background-color: transparent;
    color: var(--vaaree-rust);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.remove-btn:hover {
    text-decoration: underline;
}

.cart-summary {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 16px;
    padding: 30px;
    max-width: 450px;
    margin-left: auto;
    box-shadow: var(--vaaree-card-shadow);
}

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

.summary-row.total {
    border-bottom: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--vaaree-charcoal);
}

.checkout-btn {
    width: 100%;
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border: none;
    padding: 14px 0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.checkout-btn:hover {
    opacity: 0.9;
}

.empty-cart, .empty-wishlist {
    text-align: center;
    padding: 50px 20px;
}

.continue-shopping {
    display: inline-block;
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
}

/* Wishlist layout specific styling */
.wishlist .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.wishlist .product {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--vaaree-card-shadow);
    transition: transform 0.3s ease;
}

.wishlist .product:hover {
    transform: translateY(-4px);
}

.wishlist .product-img-container {
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--vaaree-border);
}

.wishlist .product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist .product h3 {
    padding: 15px 15px 5px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wishlist .product .price {
    padding: 0 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--vaaree-charcoal);
    margin-bottom: 15px;
}

.wishlist .product-actions {
    padding: 0 15px 15px;
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.wishlist .add-to-cart {
    flex-grow: 1;
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border-radius: 30px;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.wishlist .btn-danger {
    background-color: transparent;
    border: 1px solid var(--vaaree-border);
    color: var(--vaaree-rust);
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
}

.wishlist .btn-danger:hover {
    background-color: #FAF5F5;
    border-color: var(--vaaree-rust);
}

/* Flash notification styles */
.flash-message {
    background-color: #E6F4EA;
    color: #137333;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 25px;
    border: 1px solid #CEEAD6;
}

.wishlist-remove-btn {
    width: 100%;
    margin-top: auto;
    background: transparent;
    border: 1px solid var(--vaaree-border);
    color: var(--vaaree-rust);
    border-radius: 30px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.wishlist-remove-btn:hover {
    background-color: #FAF5F5;
    border-color: var(--vaaree-rust);
}

/* ==========================================================================
   Authentication Pages
   ========================================================================== */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px);
    padding: 40px 5%;
}

.auth-box {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 20px;
    padding: 45px 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--vaaree-card-shadow);
    text-align: center;
}

.auth-box h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-form input {
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid var(--vaaree-border);
    font-family: var(--font-sans);
    font-size: 14px;
    background-color: #F8F8F8;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--vaaree-rust);
    background-color: #FFF;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 48px !important;
    box-sizing: border-box;
}

.password-toggle-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: var(--vaaree-rust);
}

.password-toggle-btn:focus {
    outline: none;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px 0;
    margin-top: 10px;
}

.auth-link {
    margin-top: 25px;
    font-size: 13px;
    color: var(--vaaree-charcoal-light);
}

.auth-link a {
    color: var(--vaaree-rust);
    font-weight: 600;
    text-decoration: underline;
}

.error-message {
    background-color: #FCE8E6;
    color: #C5221F;
    border: 1px solid #FAD2CF;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
}

/* ==========================================================================
   Listing Pages (Category, Search)
   ========================================================================== */
.listing-page {
    padding-top: 10px;
    padding-bottom: 40px;
}

.page-header {
    margin-bottom: 30px;
}

.page-header .section-title-wrap {
    margin-bottom: 8px;
   
}

.subcategory-filter-section {
    margin-bottom: 24px;
}

.subcategory-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subcategory-chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--vaaree-border);
    background: #fff;
    color: var(--vaaree-charcoal);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.subcategory-chip:hover,
.subcategory-chip.active {
    border-color: var(--vaaree-rust);
    color: var(--vaaree-rust);
    background: #fff8f6;
}

.page-meta {
    color: var(--vaaree-charcoal-light);
    font-size: 14px;
}

.products-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
    align-items: stretch;
}

.products-listing-grid .product-card-premium {
    min-width: 0;
    max-width: none;
    width: 100%;
    flex: none;
}

.listing-footer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.listing-load-more {
    text-align: center;
    padding: 20px 0;
}

.no-data {
    text-align: center;
    color: var(--vaaree-charcoal-light);
    padding: 40px 20px;
    grid-column: 1 / -1;
}

.empty-state {
    text-align: center;
    padding: 60px 30px;
    background-color: var(--vaaree-white);
    border-radius: 20px;
    border: 1px solid var(--vaaree-border);
    box-shadow: var(--vaaree-card-shadow);
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--vaaree-charcoal-light);
    font-size: 14px;
    margin-bottom: 25px;
}

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

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 30px;
    text-decoration: none;
    color: var(--vaaree-charcoal);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--vaaree-charcoal);
}

.pagination a.active {
    background-color: var(--vaaree-charcoal);
    border-color: var(--vaaree-charcoal);
    color: #FFF;
}

/* ==========================================================================
   Content Pages (About, Privacy)
   ========================================================================== */
.content-page {
    padding: 20px 0 50px;
}

.content-page .page-header {
    text-align: center;
    margin-bottom: 35px;
}

.content-page .page-header h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.content-page .page-header p {
    color: var(--vaaree-charcoal-light);
    font-size: 15px;
}

.content-card {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--vaaree-card-shadow);
}

.content-card h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-card h2 i {
    color: var(--vaaree-rust);
    font-size: 20px;
}

.content-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-card h3 i {
    color: var(--vaaree-rust);
    font-size: 14px;
}

.content-card p {
    color: var(--vaaree-charcoal-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-card ul {
    margin: 0 0 15px 20px;
    color: var(--vaaree-charcoal-light);
    font-size: 14px;
    line-height: 1.8;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-page {
    max-width: 1100px;
    margin: 0px auto 40px;
    padding: 0;
}

.contact-page h1 {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.contact-page .intro {
    text-align: center;
    color: var(--vaaree-charcoal-light);
    font-size: 15px;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form, .contact-info {
    background-color: var(--vaaree-white);
    border: 1px solid var(--vaaree-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--vaaree-card-shadow);
}

.contact-form h2, .contact-info h2 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--vaaree-border);
    padding-bottom: 10px;
    margin-left: 0;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--vaaree-border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    background-color: #F8F8F8;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--vaaree-rust);
    background-color: #FFF;
}

.contact-form .submit-button {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-form .submit-button:hover {
    opacity: 0.9;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--vaaree-charcoal-light);
}

.contact-info a {
    color: var(--vaaree-rust);
    text-decoration: underline;
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #F5F5F5;
    color: var(--vaaree-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.vaaree-footer {
    background-color: #FFFFFF;
    border-top: 1px solid var(--vaaree-border);
    padding: 60px 5% 30px;
    margin-top: 60px;
}

.footer-top {
    border-bottom: 1px solid var(--vaaree-border);
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.footer-newsletter {
    max-width: 500px;
    text-align: center;
}

.footer-newsletter h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-newsletter p {
    font-size: 13px;
    color: var(--vaaree-charcoal-light);
    margin-bottom: 20px;
}

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

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--vaaree-border);
    font-family: var(--font-sans);
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-middle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--vaaree-border);
    margin-bottom: 30px;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    font-size: 13px;
    color: var(--vaaree-charcoal-light);
}

.footer-col a:hover {
    color: var(--vaaree-rust);
    text-decoration: underline;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--vaaree-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vaaree-charcoal-light);
    font-size: 13px;
}

.footer-socials a:hover {
    background-color: var(--vaaree-charcoal);
    color: #FFF;
    border-color: var(--vaaree-charcoal);
}

.footer-copyright {
    font-size: 12px;
    color: #888;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .product-card-premium {
        flex: 0 0 calc(33.333% - 12px);
        min-width: 200px;
    }

    .products-listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .products-listing-grid .product-card-premium {
        min-width: 0;
        max-width: none;
    }

    .tab-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .bed-bath-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-grid-two {
        grid-template-columns: 1fr;
    }
    
    .promo-banner.tall-banner {
        height: 300px;
    }
    
    .promo-banner.tall-banner a {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        align-items: center;
    }
    
    .promo-banner.tall-banner img {
        max-height: 85%;
        align-self: center;
    }
}

@media (max-width: 900px) {
    .hero-banner-content {
        padding: 30px;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text-side {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-text-side h2 {
        font-size: 30px;
    }

    .hero-image-side {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 200px;
    }

    .promo-grid-one {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        height: 260px;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }
    
    .product-image {
        height: 350px;
    }

    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cart-table th {
        font-size: 12px;
        padding: 10px;
    }
    
    .cart-table td {
        padding: 15px 10px;
        font-size: 13px;
    }
    
    .product-img {
        width: 50px;
        height: 50px;
    }
    
    .quantity-control input {
        width: 25px;
    }
    
    .quantity-btn {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 600px) {
    .homepage-container {
        padding: 0px;
    }

    .section-title-wrap {
        padding: 0 5%;
    }

    .carousel-outer {
        /* padding: 0 22px; */
    }

    .product-card-premium {
        flex: 0 0 calc(50% - 9px);
        min-width: 160px;
        max-width: none;
    }

    /* Deal of the Day & Handpicked carousels, and the Fastest Moving grid:
       show ~2.5 cards per row on mobile (2 full + a peeking sliver of the
       next), like typical mobile e-commerce apps. Category listing page
       (.products-listing-grid) is untouched. */
    .product-carousel .product-card-premium {
        flex: 0 0 40%;
        min-width: 130px;
    }

    .tab-products-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
        margin-bottom: 30px;
    }

    .tab-products-grid::-webkit-scrollbar {
        display: none;
    }

    .tab-products-grid .product-card-premium {
        flex: 0 0 40%;
        min-width: 130px;
        max-width: none;
        width: auto;
        scroll-snap-align: start;
    }

    .product-carousel .card-info-wrap,
    .tab-products-grid .card-info-wrap {
        padding: 8px 10px 10px;
        min-height: 0;
        gap: 3px;
    }

    .product-carousel .card-brand,
    .tab-products-grid .card-brand {
        font-size: 9px;
    }

    .product-carousel .card-name,
    .tab-products-grid .card-name {
        font-size: 12px;
        min-height: 32px;
        margin-bottom: 4px;
    }

    .product-carousel .card-price-row,
    .tab-products-grid .card-price-row {
        margin-bottom: 6px;
        min-height: 18px;
    }

    .product-carousel .final-price,
    .tab-products-grid .final-price {
        font-size: 14px;
    }

    .product-carousel .original-price,
    .tab-products-grid .original-price {
        font-size: 10px;
    }

    .product-carousel .discount-badge-pill,
    .tab-products-grid .discount-badge-pill {
        font-size: 9px;
        padding: 2px 5px;
    }

    .product-carousel .add-to-cart-btn,
    .tab-products-grid .add-to-cart-btn {
        padding: 6px 0;
        font-size: 11px;
    }

    .products-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-listing-grid .product-card-premium {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .content-card {
        padding: 25px;
    }

    .card-info-wrap {
        min-height: 130px;
        padding: 12px;
    }
    
    .bed-bath-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-banner-pair {
        grid-template-columns: 1fr;
    }
    
    .promo-banner.horizontal-banner {
        height: 180px;
    }
    
    .deal-header h3 {
        font-size: 22px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }

    .footer-middle {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
        text-align: left;
    }

    .footer-col h5 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-col li {
        margin-bottom: 8px;
    }

    .deal-of-the-day-section {
        padding: 35px 0px;


    }



}

@media (max-width: 480px) {
    .product-card-premium {
        flex: 0 0 75%;
        min-width: 170px;
    }

    .products-listing-grid .product-card-premium {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
    
    .card-name {
        font-size: 13px;
        min-height: 36px;
    }
    
    .final-price {
        font-size: 14px;
    }
    
    .circle-img-wrap {
        width: 65px;
        height: 65px;
    }
    
    .category-circle-card {
        min-width: 75px;
    }

    .deal-of-the-day-section {
        padding: 35px 0px;


    }



}

/* Prevent downloading of images and videos */
img, video {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}