:root {
    --primary-color: #e35486;
    --primary-dark: #fa6d9f;
    --primary-light: #fc6fa1;

    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;

    --white: #ffffff;

    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;

    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s, color 0.3s, border-color 0.3s;
    --header-height: 300px;
    --bottom-nav-height: 100px;
}

/* =========================================================
   3. RESET / GLOBAL
   ========================================================= */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

/* =========================
   HEADER
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page:not(#homePage) {
    padding-top: 130px;
}

.page {
    padding-top: 44px;
}

@media (max-width: 700px) {
    .page:not(#homePage) {
        padding-top: 150px;
    }
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    min-height: 80px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* =========================================================
   RISHTABOX HEADER LOGO - STANDARD RESPONSIVE
========================================================= */
.logo-section {
    width: 42%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
}

.logo {
    width: 100%;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    overflow: visible;
}

.logo img {
    width: 360px;
    height: auto;

    max-width: 100%;
    max-height: 82px;

    display: block;

    object-fit: contain;
    object-position: center;
    position: absolute;
    left: 50vw;
    transform: translateX(-50%);
}

/* =========================================================
   LARGE DESKTOP
========================================================= */
@media (min-width: 1200px) {
    .logo img {
        width: 380px;
        max-height: 88px;
        position: absolute;
        left: 40vw;
        transform: translateX(-50%);
    }

    .logo-section {
        width: 45%;
        height: 95px;
    }

    .logo {
        height: 95px;
    }
}

/* =========================================================
   LAPTOP
========================================================= */
@media (min-width: 1025px) and (max-width: 1199px) {
    .logo-section {
        width: 43%;
        height: 90px;
        position: relative;
    }

    .logo {
        height: 90px;
    }

    .logo img {
        width: 340px;
        max-height: 84px;

        position: absolute;

        /* Center on browser viewport */
        left: 40vw;

        transform: translateX(-50%);
    }
}

/* =========================================================
   TABLET
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .logo-section {
        width: 45%;
        height: 85px;
    }

    .logo {
        height: 85px;
    }

    .logo img {
        width: 300px;
        max-width: 100%;
        max-height: 78px;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {
    .logo-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo img {
        width: 220px;

        object-fit: contain;
        object-position: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .logo-section {
        height: 65px;
    }

    .logo {
        height: 65px;
    }

    .logo img {
        width: 200px;
        max-width: 88%;
        max-height: 58px;
    }
}

/* RishtaBox text */
.logo-section .home-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-section .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo-section .logo-text span {
    display: block;
    font-weight: 900;
}

.logo-section .logo-text span:first-child {
    color: rgba(212, 57, 111, 1);
}

.logo-section .logo-text span:last-child {
    color: rgba(217, 63, 117, 1);
}

/* =========================================================
   MOBILE / SMALL PHONE - RISTHABOX TEXT
========================================================= */
@media (max-width: 767px) {
    .logo-section {
        position: relative;
        width: 100%;
        height: 70px;
    }

    .logo {
        height: 70px;
        position: relative;
    }

    /* RishtaBox text */
    .logo-section .logo-text {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);

        z-index: 20;

        white-space: nowrap;
        font-size: 20px;
        font-weight: 700;
    }

    /* Logo image */
    .logo img {
        position: absolute;

        left: 50vw;
        top: 50%;

        transform: translate(-50%, -50%);

        max-width: 180px;
        max-height: 60px;

        z-index: 10;
    }
}

@media (max-width: 380px) {
    .logo-section .logo-text {
        left: 8px;
        font-size: 16px;
    }

    .logo img {
        max-width: 150px;
        max-height: 55px;
    }
}

/* color footer */
h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
}

/* =========================
   SEARCH
========================= */
.search-bar {
    flex: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 10px;
    position: relative;
}

.search-bar input {
    width: 100%;
    height: 50px;
    padding: 14px 110px 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    outline: none;
    font-size: 15px;
    background: var(--white);
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-bar input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(114, 84, 227, 0.12);
}

.search-bar input::placeholder {
    color: var(--gray-500);
}

.search-bar button {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    padding: 0 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
}

/* =========================
   NAV BUTTONS
========================= */
.nav-actions {
    grid-area: actions;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.nav-sections {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 5px 12px rgba(17, 24, 39, 0.25);
}

.nav-btn:hover {
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-800);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

.sidebar {
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--white), var(--gray-50));
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    padding: 24px;
    border-right: 1px solid var(--gray-200);
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

.close-sidebar {
    float: right;
    background: var(--gray-100);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray-600);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-sidebar:hover {
    background: var(--gray-200);
    transform: rotate(90deg);
}

.sidebar-menu {
    list-style: none;
    margin-top: 40px;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 16px;
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: var(--border-radius-sm);
}

.sidebar-menu a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
    transform: translateX(4px);
}

/* =========================================================
   MAIN / HERO / SLIDER
   RISHTABOX RESPONSIVE SLIDER
========================================================= */
.main-content {
    min-height: auto;
}

/* =========================================================
   HERO
========================================================= */
.hero {
    width: 100%;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* =========================================================
   HERO SLIDER
========================================================= */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* =========================================================
   HERO SLIDE
========================================================= */
.hero-slide {
    display: none;

    width: 100%;
    position: relative;

    overflow: hidden;
}

.hero-slide.active {
    display: block;

    animation: fadeSlide 0.6s ease;
}

/* =========================================================
   HERO IMAGE
========================================================= */
.hero-image {
    display: block;

    width: 100%;
    height: auto;

    min-width: 100%;
    max-width: 100%;

    object-fit: contain;
    object-position: center;

    margin: 0;
    padding: 0;
}

/* =========================================================
   FADE
========================================================= */
@keyframes fadeSlide {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   HERO OVERLAY
========================================================= */
.hero-overlay {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));

    z-index: 1;

    pointer-events: none;
}

/* =========================================================
   TITLE + SUBTITLE
========================================================= */
.hero-content {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 40%;
    max-width: 600px;

    text-align: center;

    color: #ffffff;

    z-index: 3;
}

.hero-content h1 {
    margin: 0 0 12px;

    font-size: 38px;

    line-height: 1.2;

    font-weight: 700;

    color: #ffffff;
}

.hero-content p {
    margin: 0;

    font-size: 17px;

    line-height: 1.5;

    color: #ffffff;
}

/* =========================================================
   SHOP NOW BUTTON
   ALWAYS CENTERED
========================================================= */
.hero-content1 {
    position: absolute;

    left: 50%;
    bottom: 55px;

    transform: translateX(-50%);

    width: auto;

    text-align: center;

    z-index: 4;
}

.hero-btn {
    display: inline-block;

    padding: 14px 32px;

    border-radius: 50px;

    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));

    color: var(--white);

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    white-space: nowrap;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   PREVIOUS / NEXT BUTTONS
========================================================= */
.slider-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.90);

    color: #4a2d18;

    font-size: 25px;

    font-weight: bold;

    cursor: pointer;

    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: background 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
    background: #ffffff;

    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* =========================================================
   DOTS
   FIXED AT BOTTOM
========================================================= */
.slider-dots {
    position: absolute;

    left: 50%;

    bottom: 18px;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: max-content;

    pointer-events: auto;
}

.slider-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 2px solid #ffffff;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.70);

    cursor: pointer;

    transition: transform 0.2s ease, background 0.2s ease;
}

.slider-dot.active {
    background: var(--primary-color);

    transform: scale(1.25);
}

/* =========================================================
   LOADING
========================================================= */
.hero-loading {
    width: 100%;

    min-height: 300px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 20px;

    color: #4a2d18;
}

/* =========================================================
   LAPTOP
   1200px+
========================================================= */
@media (min-width: 1200px) {
    .hero-image {
        width: 100%;
        height: auto;
    }

    .hero-content {
        width: 42%;
    }
}

/* =========================================================
   SMALL LAPTOP
   1024px - 1199px
========================================================= */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero {
        margin-top: 75px;
    }

    .hero-content {
        width: 48%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-content1 {
        bottom: 55px;
    }
}

/* =========================================================
   TABLET
   769px - 1023px

   FULL IMAGE
   NO CROPPING
========================================================= */
@media (min-width: 769px) and (max-width: 1023px) {
    .hero {
        margin-top: 70px;
    }

    .hero-slider {
        width: 100%;
        height: auto;
    }

    .hero-slide {
        width: 100%;
        height: auto;
    }

    .hero-image {
        width: 100%;
        height: auto;

        min-width: 100%;
        max-width: 100%;

        object-fit: contain;
    }

    .hero-content {
        width: 55%;

        top: 45%;
    }

    .hero-content h1 {
        font-size: 29px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-content1 {
        left: 50%;

        bottom: 65px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;

        font-size: 18px;
    }

    .slider-prev {
        left: 14px;
    }

    .slider-next {
        right: 14px;
    }

    .slider-dots {
        bottom: 15px;
    }
}

/* =========================================================
   MOBILE
   481px - 768px

   FULL IMAGE
   NO CROPPING
========================================================= */
@media (max-width: 768px) {
    .hero {
        margin-top: 65px;

        width: 100%;
    }

    .hero-slider {
        width: 100%;

        height: auto;
    }

    .hero-slide {
        width: 100%;

        height: auto;
    }

    .hero-image {
        display: block;

        width: 100%;

        height: auto;

        min-width: 100%;
        max-width: 100%;

        object-fit: contain;
    }

    /* -----------------------------------------
       TITLE / SUBTITLE
    ----------------------------------------- */
    .hero-content {
        top: 42%;

        left: 50%;

        width: 75%;

        max-width: 90%;

        transform: translate(-50%, -50%);

        text-align: center;
    }

    .hero-content h1 {
        font-size: 25px;

        line-height: 1.2;

        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 13px;

        line-height: 1.4;
    }

    /* -----------------------------------------
       SHOP BUTTON
       CENTER
    ----------------------------------------- */
    .hero-content1 {
        left: 50%;

        bottom: 45px;

        transform: translateX(-50%);

        width: auto;

        text-align: center;
    }

    .hero-btn {
        padding: 9px 20px;

        font-size: 13px;
    }

    /* -----------------------------------------
       ARROWS
    ----------------------------------------- */
    .slider-btn {
        width: 34px;
        height: 34px;

        font-size: 16px;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }

    /* -----------------------------------------
       DOTS
    ----------------------------------------- */
    .slider-dots {
        bottom: 10px;

        gap: 6px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }
}

/* =========================================================
   NORMAL MOBILE
   376px - 480px
========================================================= */
@media (max-width: 480px) {
    .hero-image {
        width: 100%;

        height: auto;

        object-fit: contain;
    }

    .hero-content {
        top: 40%;
    }

    .hero-content h1 {
        line-height: 1.2;

        margin-bottom: 6px;
    }

    .hero-content p {
        line-height: 1.35;
    }

    /* SHOP BUTTON */
    .hero-content1 {
        bottom: 38px;
    }

    /* ARROWS */
    /* DOTS */
    .slider-dots {
        bottom: 8px;

        gap: 5px;
    }

    .slider-dot {
        width: 6px;
        height: 6px;
    }
}

/* =========================================================
   MINI MOBILE
   321px - 375px
========================================================= */
@media (max-width: 375px) {
    .hero {
        margin-top: 58px;
    }

    .hero-content {
        top: 38%;

        width: 75%;
    }

    .hero-content h1 {
        font-size: 18px;

        line-height: 1.2;

        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 10px;

        line-height: 1.3;
    }

    /* SHOP BUTTON */
    .hero-content1 {
        bottom: 32px;
    }

    .hero-btn {
        padding: 7px 14px;

        font-size: 11px;
    }

    /* ARROWS */
    .slider-btn {
        width: 27px;
        height: 27px;

        font-size: 12px;
    }

    /* DOTS */
    .slider-dots {
        bottom: 7px;

        gap: 4px;
    }

    .slider-dot {
        width: 5px;
        height: 5px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   320px AND BELOW
========================================================= */
@media (max-width: 320px) {
    .hero {
        margin-top: 55px;
    }

    .hero-content {
        top: 37%;

        width: 72%;
    }

    .hero-content h1 {
        font-size: 16px;

        line-height: 1.2;

        margin-bottom: 4px;
    }

    .hero-content p {
        font-size: 9px;

        line-height: 1.25;
    }

    /* SHOP BUTTON */
    .hero-content1 {
        bottom: 28px;
    }

    .hero-btn {
        padding: 6px 12px;

        font-size: 10px;
    }

    /* ARROWS */
    .slider-btn {
        width: 25px;
        height: 25px;

        font-size: 11px;
    }

    .slider-prev {
        left: 4px;
    }

    .slider-next {
        right: 4px;
    }

    /* DOTS */
    .slider-dots {
        bottom: 6px;

        gap: 3px;
    }

    .slider-dot {
        width: 5px;
        height: 5px;
    }
}

/* =========================================================
   SHOP BUTTON - TABLET + MOBILE CENTER
========================================================= */
@media (max-width: 1023px) {
    .hero-slide .hero-content1 .hero-btn {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
    }

    /* =========================================================
   FORCE SHOP BUTTON POSITION - TABLET + MOBILE
========================================================= */
    .hero-slide .hero-content1 {
        position: absolute !important;

        top: auto !important;
        bottom: 20px !important;

        left: 0 !important;
        right: 0 !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        transform: none !important;

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;

        text-align: center !important;

        z-index: 50 !important;
    }

    .hero-slide .hero-content1 .hero-btn {
        margin: 0 !important;

        position: relative !important;

        top: 0 !important;
        bottom: auto !important;

        transform: none !important;
    }
}

/* =========================
   CATEGORIES
========================= */
.categories {
    width: 100%;
    padding: 60px 24px;
    background: var(--white);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.category-grid {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.category-card img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: var(--gray-100);
}

.category-card-content {
    padding: 20px;
    flex: 1;
}

.category-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.category-card-content p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.category-btn {
    display: block;
    margin: 0 20px 20px;
    padding: 12px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* =========================
   ACCOUNT PAGE
========================= */
#accountPage {
    padding: 120px 24px 60px;
    min-height: 100vh;
}

#accountPage .container {
    max-width: 900px;
    margin: 0 auto;
}

#accountPage h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

#accountPage h2 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

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

#accountPage input,
#accountPage textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    background: var(--white);
}

#accountPage textarea {
    min-height: 120px;
    resize: vertical;
}

#accountPage input:focus,
#accountPage textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(114, 84, 227, 0.12);
}

#accountPage .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--gray-100);
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(139, 92, 246, 0.03));
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover::before {
    opacity: 1;
}

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

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

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

.product-card-content {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--gray-900);
    font-weight: 500;
    line-height: 1.3;
}

.product-brand {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-price {
    margin-bottom: 16px;
}

.current-price {
    color: var(--gray-900);
}

.original-price {
    font-weight: 500;
}

.discount {
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--warning-color);
}

.product-rating .stars {
    color: var(--warning-color);
    font-size: 18px;
    letter-spacing: 2px;
}

.filter-section {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-100);
}

.filter-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
}

.filter-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    background: var(--white);
    transition: var(--transition);
    font-weight: 500;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 32px;
}

.product-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow-hover);
    transition: var(--transition);
}

.product-image:hover {
    transform: scale(1.02);
}

.product-info h1 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: var(--gray-900);
    font-weight: 800;
    line-height: 1.2;
}

.product-info .brand {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-info .description {
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 16px;
}

.product-options {
    margin: 32px 0;
}

.option-group {
    margin-bottom: 24px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.option-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.option-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
 ADDRESS / BUTTONS / CART
 ========================================================= */
.address-section {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    padding: 20px;
    border-radius: var(--border-radius-lg);
    margin: 25px 0;
    border: 2px solid var(--gray-100);
    box-shadow: var(--card-shadow);
}

.address-section h3 {
    margin-bottom: 10px;
    color: var(--gray-900);
    font-size: 18px;
}

.delivery-address {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.delivery-info {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin: 20px 0;
    border: 2px solid var(--success-color);
    color: var(--success-color);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(114, 84, 227, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    padding: 16px 32px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-1px);
}

.cart-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--card-shadow);
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    margin-bottom: 8px;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.25rem;
}

.cart-item-details p {
    color: var(--gray-600);
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.quantity-btn {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
    transform: scale(1.1);
}

.quantity-input {
    width: 80px;
    text-align: center;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    background: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* =========================================================
 CART SUMMARY / ORDER FORM
 ========================================================= */
.cart-summary {
    background: linear-gradient(135deg, var(--white), var(--gray-50));
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow-hover);
    margin-top: 32px;
    border: 1px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--gray-600);
    font-weight: 500;
}

.summary-divider {
    border-top: 2px solid var(--gray-200);
    margin: 24px 0;
}

.summary-total {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--gray-900);
}

.order-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    margin-bottom: 32px;
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--gray-200);
}

.form-group textarea {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    background: var(--white);
    transition: var(--transition);
    font-weight: 500;
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 3px 0 rgba(37, 99, 235, 0.1);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.payment-option:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-1px);
}

.payment-option input[type="radio"] {
    margin: 0;
    transform: scale(1.2);
}

/* =========================================================
 ORDER SUCCESS / ORDER CARD
  ========================================================= */
.order-success {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px;
}

.order-success::before {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    position: relative;
    background: linear-gradient(90deg, #059669, #10b981, #34d399);
}

.order-success h1 {
    color: #059669;
    margin-bottom: 16px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 2px 4px rgba(5, 150, 105, 0.1);
}

.order-success p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
}

.order-details {
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.status-badge {
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-badge.on-way {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #f6b724;
}

.status-badge.delivered {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #10b981;
}

.order-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, opacity 0.4s;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.order-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-card:hover::before {
    opacity: 1;
}

.order-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.order-header:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.order-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.order-summary h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: -0.025rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.order-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
    min-width: 120px;
}

.order-meta p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    margin-left: 20px;
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.dropdown-arrow:hover {
    background: rgba(99, 102, 241, 0.1);
}

.arrow-icon {
    font-size: 18px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6366f1;
    font-weight: 600;
}

.order-card.expanded .order-details {
    display: block;
}

.order-card.expanded .arrow-icon {
    transform: rotate(180deg);
}

/* =========================================================
 ORDER DETAILS
  ========================================================= */
.order-details {
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.order-info {
    padding: 24px;
}

.order-info p {
    margin: 10px 0;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 500;
}

.order-info h4 {
    margin: 24px 0 16px 0;
    color: #1e293b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.order-info h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.order-info .address-section {
    padding: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 12px;
    border-left: 4px solid #6366f1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.order-info .address-section:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.order-info .address-section h4 {
    margin-top: 0;
    color: #1e293b;
    text-transform: none;
    font-size: 1.125rem;
    letter-spacing: 0;
    font-weight: 600;
}

.order-info .address-section h4::after {
    display: none;
}

.order-info .address-section {
    margin: 6px 0;
    color: #64748b;
    font-size: 0.875rem;
}

.order-details .status-badge {
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-details .status-badge.delivered {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #10b981;
}

.order-details .status-badge.on-way {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

.order-details .cart-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    margin: 16px 0;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.order-details .cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.order-details .cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-sizing: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.order-details .cart-item:hover img {
    transform: scale(1.05);
}

.order-details .cart-item-details {
    flex: 1;
}

.order-details .cart-item-details h3 {
    font-size: 1.125rem;
    margin: 0 0 8px 0;
    color: #1e293b;
    font-weight: 600;
    letter-spacing: normal;
}

.order-details .cart-item-details p {
    font-size: 0.875rem;
    margin: 4px 0;
    color: #64748b;
    font-weight: 500;
}

.order-details .product-brand {
    font-size: 0.875rem;
    color: #9443b8;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================================
ORDER SUMMARY
 ========================================================= */
.order-details .cart-summary {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.order-details .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

.order-details .summary-total {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.025rem;
}

.order-details .summary-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 20px 0;
}

.hidden {
    display: none !important;
}

/* =========================================================
   GIFT WEBSITE FOOTER
========================================================= */
.footer {
    background: #f3e1e7;
    color: #4a2635;
    margin-top: 50px;
    border-top: 3px solid var(--primary-color);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Main */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 35px;
    padding: 55px 0 40px;
}

/* Footer Sections */
.footer-section h2 {
    margin: 0 0 15px;
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 700;
}

.footer-section h3 {
    margin: 0 0 18px;
    color: #4a2635;
    font-size: 17px;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: "";
    display: block;
    width: 35px;
    height: 2px;
    margin-top: 8px;
    background: var(--primary-color);
}

.footer-section p {
    color: #6b4a57;
    line-height: 1.7;
    font-size: 14px;
}

/* Brand */
.footer-brand>p {
    max-width: 300px;
}

/* Footer Features */
.footer-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.footer-features span {
    color: #6b4a57;
    font-size: 13px;
}

/* Footer Lists */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 11px;
}

.footer-section ul li a {
    color: #6b4a57;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Social */
.footer-follow-text {
    margin-bottom: 15px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(227, 84, 134, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a2635;
    text-decoration: none;
    background: rgba(227, 84, 134, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-payment {
    margin-top: 18px;
    color: #6b4a57 !important;
}

/* =========================================================
   NEWSLETTER
========================================================= */
.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 25px 0;
    border-top: 1px solid rgba(74, 38, 53, 0.12);
    border-bottom: 1px solid rgba(74, 38, 53, 0.12);
}

.footer-newsletter h3 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-size: 18px;
}

.footer-newsletter p {
    margin: 0;
    color: #6b4a57;
    font-size: 13px;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #694653;
    border-radius: 7px 0 0 7px;
    outline: none;
    background: #ffffff;
    color: #333;
    font-size: 14px;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 0 7px 7px 0;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.newsletter-form button:hover {
    background: #c94372;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */
.footer-bottom {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #6b4a57;

    font-size: 13px;
}

.footer-bottom strong {
    color: var(--primary-color);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #4a2635;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1000px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        padding: 40px 0 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px 0;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
    .nav-container {
        padding: 0 18px;
        gap: 12px;
    }

    .logo {
        font-size: 1.65rem;
    }

    .search-bar {
        max-width: 400px;
    }

    .nav-sections {
        gap: 6px;
    }

    .nav-btn {
        padding: 10px 11px;
        font-size: 13px;
    }

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

    .hero-content,
    .hero-content1 {
        left: 29%;
        width: 37%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* =========================
   TABLET SMALL
========================= */
@media (max-width: 900px) {
    .nav-container {
        min-height: 75px;
        padding: 0 14px;
        gap: 8px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .search-bar {
        max-width: 320px;
    }

    .search-bar input {
        height: 44px;
        padding: 10px 90px 10px 15px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 0 15px;
        font-size: 13px;
    }

    .nav-sections {
        gap: 5px;
    }

    .nav-btn {
        padding: 9px 8px;
        font-size: 12px;
    }

    .hero {
        margin-top: 75px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 0.78rem;
    }

    .hero-content,
    .hero-content1 {
        left: 29%;
        width: 39%;
    }

    .hero-btn {
        padding: 9px 20px;
        font-size: 12px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

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

/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {
    .nav-container {
        padding: 10px 12px 12px;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "logo actions" "search search";
        gap: 10px;
    }

    .logo {
        grid-area: logo;
        font-size: 1.45rem;
    }

    .nav-sections {
        grid-area: actions;
        display: flex;
        gap: 5px;
    }

    /* Account / Cart / Orders remain visible */
    .nav-btn {
        width: auto;
        min-width: 55px;
        height: 42px;
        padding: 5px 7px;
        flex-direction: column;
        gap: 1px;
        font-size: 16px;
        border-radius: 8px;
    }

    .nav-btn .nav-text {
        display: block;
        font-size: 9px;
        line-height: 1;
    }

    .search-bar {
        grid-area: search;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .search-bar input {
        height: 44px;
        padding: 10px 90px 10px 15px;
        font-size: 14px;
    }

    .hero {
        margin-top: 120px;
    }

    .hero-content {
        top: 50%;
        left: 28%;
        width: 43%;
        transform: translate(-50%, -50%);
    }

    .hero-content h1 {
        font-size: clamp(1rem, 4vw, 1.35rem);
        margin-bottom: 6px;
    }

    .hero-content p {
        font-size: clamp(0.55rem, 2vw, 0.7rem);
    }

    .hero-content1 {
        top: 82%;
        left: 28%;
        width: 43%;
        transform: translate(-50%, -50%);
    }

    .hero-btn {
        padding: 7px 13px;
        font-size: 9px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }

    .slider-prev {
        left: 7px;
    }

    .slider-next {
        right: 7px;
    }

    .slider-dots {
        bottom: 7px;
        gap: 5px;
    }

    .slider-dot {
        width: 7px;
        height: 7px;
    }

    .categories {
        padding: 40px 14px;
    }

    .categories h2 {
        font-size: 1.5rem;
    }

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

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .nav-sections {
        gap: 3px;
    }

    .nav-btn {
        min-width: 48px;
        height: 38px;
        padding: 4px 5px;
        font-size: 15px;
    }

    .nav-btn .nav-text {
        font-size: 8px;
    }

    .search-bar input {
        padding: 9px 82px 9px 13px;
    }

    .hero {
        margin-top: 113px;
    }

    .hero-content {
        left: 27%;
        width: 43%;
    }

    .hero-content h1 {
        font-size: 0.95rem;
    }

    .hero-content p {
        font-size: 0.52rem;
    }

    .hero-content1 {
        top: 82%;
        left: 27%;
        width: 43%;
    }

    .hero-btn {
        padding: 6px 11px;
        font-size: 8px;
    }

    .slider-btn {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .slider-prev {
        left: 5px;
    }

    .slider-next {
        right: 5px;
    }

    .categories {
        padding: 35px 10px;
    }

    .categories h2 {
        font-size: 1.35rem;
    }

    .category-grid {
        gap: 10px;
    }
}

/* =========================
   VERY SMALL MOBILE
========================= */
@media (max-width: 360px) {
    .logo {
        font-size: 1.05rem;
    }

    .nav-sections {
        gap: 2px;
    }

    .nav-btn {
        min-width: 43px;
        height: 36px;
        padding: 3px;
        font-size: 14px;
    }

    .nav-btn .nav-text {
        font-size: 7px;
    }

    .search-bar input {
        height: 40px;
        padding: 8px 75px 8px 12px;
        font-size: 12px;
    }

    .search-bar button {
        padding: 0 10px;
        font-size: 10px;
    }

    .hero {
        margin-top: 108px;
    }

    .hero-content h1 {
        font-size: 0.8rem;
    }

    .hero-content p {
        font-size: 0.45rem;
    }

    .hero-btn {
        padding: 5px 9px;
        font-size: 7px;
    }

    .category-card img {
        height: 150px;
    }

    .category-card-content {
        padding: 12px;
    }

    .category-card-content h3 {
        font-size: 0.9rem;
    }

    .category-card-content p {
        font-size: 12px;
    }

    .category-btn {
        margin: 0 12px 12px;
        padding: 9px 10px;
        font-size: 11px;
    }
}

/* =========================
   LANDSCAPE MOBILE
========================= */
@media (max-width: 700px) and (orientation: landscape) {
    .nav-container {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo search actions";
        min-height: 65px;
        padding: 8px 12px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .search-bar {
        margin: 0 5px;
    }

    .search-bar input {
        height: 40px;
    }

    .nav-btn {
        min-width: 42px;
        height: 34px;
    }

    .hero {
        margin-top: 65px;
    }
}

/* =========================================================
   PANEL / SECONDARY NAVIGATION
========================================================= */
/* =========================================================
   ALL GIFTS
========================================================= */
.panel-all {
    flex-shrink: 0;
}

/* =========================================================
   DROPDOWN CONTAINER
========================================================= */
.nav-dropdown {
    flex-shrink: 0;
}

/* =========================================================
   DROPDOWN BUTTON
========================================================= */
/* SHOP DROPDOWNS */
.dropdown-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.dropdown-menu {
    display: none !important;

    position: absolute !important;

    top: 100% !important;
    left: 0 !important;

    width: 240px !important;
    min-width: 240px !important;

    border: 1px solid #ddd !important;
    border-radius: 8px !important;

    padding: 8px 0 !important;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

/* HOVER */
.nav-dropdown:hover .dropdown-menu {
    display: block !important;
}

/* ITEMS */
.dropdown-menu a {
    display: block !important;

    width: 100% !important;
    box-sizing: border-box !important;

    padding: 12px 16px !important;

    color: #333 !important;

    background: white !important;

    text-decoration: none !important;

    cursor: pointer !important;
}

.dropdown-menu a:hover {
    background: #f3f3f3 !important;
}

/* =========================================================
   SPECIAL OFFERS
========================================================= */
/* =========================================================
   SPECIAL OFFER PRODUCT CARD
========================================================= */
/* Discount badge */
/* Price */
.product-price {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
}

.original-price {
    font-size: 14px;

    color: #888888;

    text-decoration: line-through;
}

.discount {
    font-size: 12px;
}

/* =========================================================
   SPECIAL OFFER TITLE
========================================================= */
#categoryTitle.special-offer-title {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #4a2635;
}

#categoryTitle.special-offer-title::before {
    content: "&#127873;";
}

/* =====================================================
   SPECIAL OFFERS PAGE
   ===================================================== */
.special-offers-heading {
    text-align: center;
    margin: 25px 0 8px;
    color: #4a2635;
    font-size: 34px;
    font-weight: 800;
}

.special-offers-subtitle {
    text-align: center;
    margin: 0 auto 25px;
    color: #777;
    font-size: 15px;
}

/* Hide normal filters on Special Offers */
.special-offers-page .filter-section {
    display: none;
}

/* Special offer discount badge */
.product-card .discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #e35486;
    color: #ffffff;

    font-weight: 700;
    font-size: 12px;

    padding: 7px 12px;
    border-radius: 20px;

    margin-left: 6px;
}

/* Special offer price */
.product-card .current-price {
    color: #4a2635;
    font-weight: 800;
}

/* Original price */
.product-card .original-price {
    color: #888;
    text-decoration: line-through;
    margin-left: 5px;
}

/* Mobile */
@media (max-width: 600px) {
    .special-offers-heading {
        font-size: 27px;
        margin: 18px 0 6px;
    }

    .special-offers-subtitle {
        font-size: 13px;
        padding: 0 15px;
        margin-bottom: 18px;
    }

    .product-card .discount {
        font-size: 10px;
        padding: 5px 8px;
    }
}

/* =====================================================
   FIX MOBILE PANEL WIDTH + HORIZONTAL SCROLL
===================================================== */
@media (max-width: 700px) {
    .header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;

        box-sizing: border-box !important;
    }

    .panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;

        touch-action: pan-x !important;
        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none !important;
    }

    .panel::-webkit-scrollbar {
        display: none !important;
    }

    .panel>* {
        flex: 0 0 auto !important;
    }

    .nav-dropdown {
        position: relative !important;
        flex: 0 0 auto !important;
    }

    .dropdown-menu {
        position: fixed !important;

        top: 0;
        left: 0;

        min-width: 220px;

        background: #ffffff;

        z-index: 999999 !important;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

        border-radius: 0 0 8px 8px;
    }
}

/* =========================================
   MOBILE + SMALL MOBILE NAV SCROLL
   ========================================= */
@media (max-width: 900px) {
    .panel {
        display: flex !important;

        flex-direction: row !important;
        flex-wrap: nowrap !important;

        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;

        height: 45px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;

        gap: 20px !important;

        padding-left: 12px !important;
        padding-right: 12px !important;

        touch-action: pan-x !important;

        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none !important;
    }

    .panel::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .panel>* {
        flex: 0 0 auto !important;
        min-width: max-content !important;
    }

    .panel-all,
    .nav-dropdown,
    .panel-deals {
        flex: 0 0 auto !important;
        width: max-content !important;
        min-width: max-content !important;
    }

    .panel-all a,
    .dropdown-btn,
    .panel-deals a {
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
    }
}

@media (max-width: 480px) {
    .panel {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;

        gap: 16px !important;

        padding-left: 10px !important;
        padding-right: 10px !important;

        overflow-x: scroll !important;
        overflow-y: hidden !important;
    }

    .panel>* {
        flex-shrink: 0 !important;
    }
}

/* =====================================================
   FINAL FIX - SMALL MOBILE NAV SCROLL
===================================================== */
@media screen and (max-width: 767px) {
    .panel {
        min-width: 0 !important;
        flex-direction: row !important;

        box-sizing: border-box !important;

        padding-left: 10px !important;
        padding-right: 10px !important;

        scrollbar-width: none !important;
    }

    .panel::-webkit-scrollbar {
        display: none !important;
    }

    .panel>* {
        flex: 0 0 auto !important;
        width: max-content !important;
        min-width: max-content !important;
    }

    .panel-all,
    .nav-dropdown,
    .panel-deals {
        width: max-content !important;
        min-width: max-content !important;
    }
}

/* ================= CANCEL ORDER ================= */
.order-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid #ddd;
}

.cancel-order-btn {
    padding: 11px 22px;

    border: 1px solid #e35486;
    border-radius: 8px;

    background: #fff;
    color: #e35486;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.cancel-order-btn:hover {
    background: #e35486;
    color: #fff;
    transform: translateY(-1px);
}

.cancel-order-btn:active {
    transform: translateY(0);
}

/* Cancelled order status */
.status-badge.cancelled {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f1aeb5;
}

/* =========================================================
   RISHTABOX - SECONDARY NAVIGATION
   ALL GIFTS + RELATIONSHIP + FESTIVAL + CATEGORY + OFFERS
========================================================= */
/* =========================================================
   MAIN NAVIGATION BAR
========================================================= */
.panel {
    width: 100%;
    height: 45px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding: 0 20px;

    gap: 25px;

    background: #f3e1e7;
    color: #4a2635;

    border-top: 1px solid rgba(227, 84, 134, 0.25);

    border-bottom: 1px solid rgba(227, 84, 134, 0.35);

    font-size: 14px;
}

/* =========================================================
   ALL GIFTS
========================================================= */
.panel-all {
    height: 100%;

    display: flex;
    align-items: center;

    flex: 0 0 auto;
}

.panel-all a {
    height: 100%;

    display: flex;
    align-items: center;

    padding: 0 8px;

    color: #4a2635;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    transition: color 0.2s ease, background 0.2s ease;
}

.panel-all a:hover {
    color: #e35486;

    background: rgba(227, 84, 134, 0.15);
}

/* =========================================================
   DROPDOWN CONTAINER
========================================================= */
.nav-dropdown {
    height: 100%;

    display: flex;
    align-items: center;

    flex: 0 0 auto;
}

/* =========================================================
   DROPDOWN BUTTON
========================================================= */
.dropdown-btn {
    height: 100%;

    display: flex;
    align-items: center;

    border: none;

    outline: none;

    background: transparent;

    color: #4a2635;

    padding: 0 8px;

    margin: 0;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    pointer-events: auto;

    transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-btn:hover {
    color: #e35486;

    background: rgba(227, 84, 134, 0.15);
}

/* Arrow */
.dropdown-btn span {
    margin-left: 6px;

    font-size: 10px;

    transition: transform 0.2s ease;
}

/* Rotate arrow on hover */
.nav-dropdown:hover .dropdown-btn span {
    transform: rotate(180deg);
}

/* =========================================================
   DROPDOWN MENU
========================================================= */
.dropdown-menu {
    display: none;

    position: absolute;

    top: calc(100% + 1px);

    left: 0;

    width: 240px;

    min-width: 240px;

    max-height: 70vh;

    overflow-x: hidden;

    overflow-y: auto;

    box-sizing: border-box;

    padding: 8px 0;

    border: 1px solid #dddddd;

    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   DESKTOP - OPEN ON HOVER
========================================================= */
@media screen and (min-width: 768px) {
    .nav-dropdown:hover>.dropdown-menu {
        display: block;
    }
}

/* =========================================================
   DROPDOWN ITEMS
========================================================= */
.dropdown-menu a {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 16px;

    color: #333333;

    background: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    white-space: nowrap;

    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
    background: #fce5ed;

    color: #e35486;
}

/* =========================================================
   EMPTY DROPDOWN
========================================================= */
.dropdown-empty {
    padding: 12px 16px;

    color: #777777;

    font-size: 14px;

    white-space: nowrap;
}

/* =========================================================
   SPECIAL OFFERS
========================================================= */
.panel-deals {
    height: 100%;

    display: flex;
    align-items: center;

    flex: 0 0 auto;
}

.panel-deals a {
    height: 100%;

    display: flex;
    align-items: center;

    padding: 0 18px;

    color: #ffffff;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;

    transition: color 0.2s ease, background 0.2s ease;
}

.panel-deals a:hover {
    color: #f8a4bf;

    background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   MOBILE NAVIGATION
========================================================= */
@media screen and (max-width: 767px) {
    /* -----------------------------------------
       NAV BAR
    ----------------------------------------- */
    .panel {
        width: 100vw !important;

        max-width: 100vw !important;

        height: 35px !important;

        display: flex !important;

        align-items: center !important;

        flex-wrap: nowrap !important;

        gap: 12px !important;

        padding: 0 12px !important;

        overflow-x: auto !important;

        overflow-y: hidden !important;

        white-space: nowrap !important;

        touch-action: pan-x !important;

        -webkit-overflow-scrolling: touch !important;

        scrollbar-width: none;
    }

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

    /* -----------------------------------------
       NAV ITEMS
    ----------------------------------------- */
    .panel-all,
    .nav-dropdown,
    .panel-deals {
        height: 35px !important;

        flex: 0 0 auto !important;
    }

    /* -----------------------------------------
       ALL GIFTS
    ----------------------------------------- */
    .panel-all a {
        height: 35px !important;

        padding: 0 8px !important;
    }

    /* -----------------------------------------
       DROPDOWN BUTTON
    ----------------------------------------- */
    .dropdown-btn {
        height: 35px !important;

        display: flex !important;

        align-items: center !important;

        padding: 0 10px !important;

        font-size: 14px !important;

        white-space: nowrap !important;

        position: relative !important;

        z-index: 1000000 !important;

        pointer-events: auto !important;
    }

    /* -----------------------------------------
       DISABLE DESKTOP HOVER MENU
    ----------------------------------------- */
    .nav-dropdown:hover>.dropdown-menu {
        display: none !important;
    }

    /* -----------------------------------------
       NORMAL MOBILE MENU
    ----------------------------------------- */
    .dropdown-menu {
        display: none !important;

        position: fixed !important;

        top: auto;

        left: auto;

        width: 220px !important;

        min-width: 0 !important;

        max-width: calc(100vw - 20px) !important;

        max-height: 70vh !important;

        overflow-x: hidden !important;

        overflow-y: auto !important;

        box-sizing: border-box !important;

        padding: 8px 0 !important;

        background: #ffffff !important;

        border: 1px solid #dddddd !important;

        border-radius: 8px !important;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;

        z-index: 9999999 !important;
    }

    /* -----------------------------------------
       OPEN MOBILE MENU
    ----------------------------------------- */
    .dropdown-menu.mobile-open {
        display: block !important;
    }

    /* -----------------------------------------
       MOBILE MENU ITEMS
    ----------------------------------------- */
    .dropdown-menu.mobile-open a {
        display: block !important;

        width: 100% !important;

        box-sizing: border-box !important;

        padding: 12px 16px !important;

        color: #333333 !important;

        background: #ffffff !important;

        text-decoration: none !important;

        font-size: 14px !important;

        white-space: nowrap !important;

        cursor: pointer !important;
    }

    .dropdown-menu.mobile-open a:hover {
        background: #fce5ed !important;

        color: #e35486 !important;
    }

    .dropdown-menu.mobile-open a:active {
        background: #fce5ed !important;

        color: #e35486 !important;
    }

    /* -----------------------------------------
       SPECIAL OFFERS
    ----------------------------------------- */
    .panel-deals a {
        height: 45px !important;

        padding: 0 12px !important;

        white-space: nowrap !important;
    }
}

/* =========================================================
   SPECIAL OFFER PRODUCT BADGE
========================================================= */
.product-card {
    position: relative;
}

.special-offer-badge {
    position: absolute;

    top: 10px;

    left: 10px;

    z-index: 5;

    background: #e35486;

    color: #ffffff;

    padding: 6px 10px;

    border-radius: 6px;

    font-size: 12px;

    font-weight: 700;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

/* =========================================================
   FINAL FIX - NAV DROPDOWN ABOVE ALL PAGE CONTENT
========================================================= */
.panel {
    position: relative !important;
    z-index: 2147483640 !important;
    isolation: isolate !important;
}

/* Dropdown itself */
.nav-dropdown {
    position: relative !important;
    z-index: 2147483641 !important;
}

.dropdown-menu {
    z-index: 2147483647 !important;

    background: #ffffff !important;
    opacity: 1 !important;

    isolation: isolate !important;
}

/* Mobile / Tablet */
@media screen and (max-width: 1024px) {
    .panel {
        position: relative !important;
        z-index: 2147483640 !important;
        isolation: isolate !important;
    }

    .nav-dropdown {
        position: static !important;
        z-index: 2147483641 !important;
    }

    .dropdown-menu {
        position: fixed !important;
        z-index: 2147483647 !important;

        background: #ffffff !important;
        opacity: 1 !important;

        isolation: isolate !important;
    }

    .dropdown-menu.mobile-open {
        display: block !important;
        z-index: 2147483647 !important;
    }
}

/* =========================================================
   FORCE FILTER CONTENT BELOW NAV
========================================================= */
.filter-section {
    position: relative;
    z-index: 1 !important;
}

.container {
    position: relative;
    z-index: 1 !important;
}

.page {
    position: relative;
    z-index: 1 !important;
}

.product-grid {
    position: relative;
    z-index: 1 !important;
}

/* =====================================================
   TESTIMONIALS SECTION
===================================================== */
/* =====================================================
   TESTIMONIALS SECTION
===================================================== */
.section-heading h2 {
    font-size: 30px;
    margin-bottom: 8px;
    color: #333;
}

.section-heading p {
    color: #777;
    font-size: 16px;
}

/* =========================================================
   BLOG SECTION HEADING - FINAL
========================================================= */
.blog-section .section-heading {
    width: 100%;
    text-align: center;
}

/* OUR BLOG */
.blog-section .section-heading .section-tag {
    display: block;
    width: 100%;
    text-align: center;

    font-size: 34px;
    font-weight: 700;

    margin: 0 0 12px;
}

/* FROM OUR BLOG */
.blog-section .section-heading h2 {
    display: block;
    width: 100%;

    text-align: center !important;

    font-size: 20px;
    font-weight: 700;

    margin: 0 auto 12px !important;
}

/* DESCRIPTION */
.blog-section .section-heading p {
    display: block;
    width: 100%;

    text-align: center !important;

    font-size: 15px;

    margin: 0 auto !important;
}

/* =========================================================
          BLOG SECTION
       ========================================================= */
.blog-section {
    width: 100%;
    padding: 45px 5%;
    background: #fafafa;
    box-sizing: border-box;
}

/* =========================================================
   BLOG CAROUSEL
========================================================= */
.blog-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* =========================================================
   BLOG SLIDER WRAPPER
========================================================= */
.blog-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 45px;
    box-sizing: border-box;
}

.blog-slider {
    width: 100%;
    overflow: hidden;
}

/* =========================================================
   BLOG CONTAINER
========================================================= */
.blogs-container {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;

    gap: 20px;

    padding: 10px 0 20px;

    box-sizing: border-box;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;

    overscroll-behavior-x: contain;

    cursor: grab;
}

.blogs-container::-webkit-scrollbar {
    display: none;
}

.blogs-container:active {
    cursor: grabbing;
}

/* =========================================================
   BLOG CARD
   DESKTOP - 3 CARDS
========================================================= */
.blog-card {
    flex: 0 0 calc((100% - 40px) / 3);

    width: calc((100% - 40px) / 3);

    min-width: 0;

    height: 300px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    overflow: hidden;

    background: #fff;

    border: 1px solid #eee;

    border-radius: 15px;

    scroll-snap-align: start;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   BLOG IMAGE
========================================================= */
.blog-image-wrapper {
    width: 100%;
    height: 125px;
    min-height: 125px;

    flex-shrink: 0;

    overflow: hidden;

    background: #f5f5f5;
}

.blog-image,
.blog-card>img,
.blog-image-wrapper img {
    display: block;

    width: 100%;
    height: 125px;
    min-height: 125px;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image,
.blog-card:hover>img,
.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.04);
}

/* =========================================================
   BLOG CONTENT
========================================================= */
.blog-content {
    width: 100%;

    height: 175px;
    min-height: 175px;

    padding: 12px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    overflow: hidden;
}

/* =========================================================
   BLOG META
========================================================= */
.blog-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 4px;

    min-height: 18px;

    margin-bottom: 4px;

    overflow: hidden;
}

.blog-date {
    font-size: 10px;
    line-height: 1.2;

    color: #888;
}

.blog-author {
    font-size: 10px;
    line-height: 1.2;

    color: #999;
}

/* =========================================================
   BLOG TITLE
========================================================= */
.blog-content h3 {
    height: 34px;
    min-height: 34px;

    margin: 4px 0;

    color: #333;

    font-size: 14px;
    line-height: 1.2;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
}

/* =========================================================
   BLOG DESCRIPTION
========================================================= */
.blog-content p {
    height: 42px;
    min-height: 42px;

    margin: 3px 0 6px;

    color: #666;

    font-size: 10px;
    line-height: 1.4;

    display: -webkit-box;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}

/* =========================================================
   READ MORE BUTTON
========================================================= */
.read-more-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    margin-top: auto;

    height: 27px;
    min-height: 27px;

    padding: 4px 9px;

    background: #e35486;

    color: #fff;

    border: none;

    border-radius: 5px;

    cursor: pointer;

    font-size: 9px;
    font-weight: 600;

    transition: 0.3s ease;
}

.read-more-btn:hover {
    background: #d94376;

    transform: translateY(-1px);
}

/* =========================================================
   BLOG ARROWS
========================================================= */
.blog-slider-arrow,
.blog-carousel-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    background: #e35486;

    color: #fff;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    font-size: 20px;
    font-weight: bold;

    line-height: 1;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    transition: 0.2s ease;
}

.blog-slider-arrow:hover,
.blog-carousel-btn:hover {
    background: #d94376;

    transform: translateY(-50%) scale(1.08);
}

.blog-prev,
.blog-carousel-prev {
    left: 0;
}

.blog-next,
.blog-carousel-next {
    right: 0;
}

/* =========================================================
   BLOG DOTS
========================================================= */
.blog-slider-dots {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 15px;
}

.blog-slider-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #d5d5d5;

    cursor: pointer;

    transition: 0.25s ease;
}

.blog-slider-dot.active {
    width: 22px;

    border-radius: 10px;

    background: #e35486;
}

/* =========================================================
   BLOG LOADING / EMPTY / ERROR
========================================================= */
.blog-loading,
.blog-empty,
.blog-error {
    width: 100%;

    padding: 60px 20px;

    text-align: center;

    box-sizing: border-box;

    color: #666;
}

.blog-loading h3,
.blog-empty h3,
.blog-error h3 {
    margin: 0 0 10px;

    color: #333;
}

/* =========================================================
   VIEW ALL BLOGS
========================================================= */
.blog-view-all {
    width: 100%;

    margin-top: 25px;

    text-align: center;
}

.view-all-blogs-btn {
    padding: 10px 20px;

    background: #e35486;

    color: #fff;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s ease;
}

.view-all-blogs-btn:hover {
    background: #d94376;

    transform: translateY(-1px);
}

/* =========================================================
   SECTION TAG
========================================================= */
.section-tag {
    display: inline-block;

    margin-bottom: 8px;

    color: #e35486;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

/* =========================================================
   BLOG BACK BUTTON
========================================================= */
.blog-back-btn,
.back-to-blog-btn {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 30px;

    padding: 11px 18px;

    background: #f5f5f5;

    color: #333;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.blog-back-btn:hover,
.back-to-blog-btn:hover {
    background: #e9e9e9;

    transform: translateX(-2px);
}

/* =========================================================
   ALL BLOGS PAGE
========================================================= */
.blog-page {
    width: 100%;

    min-height: 100vh;

    padding: 50px 5%;

    background: #fff;

    box-sizing: border-box;
}

.blog-page-header {
    max-width: 1200px;

    margin: 0 auto 40px;

    text-align: center;
}

.blog-page-header h1 {
    margin: 10px 0 12px;

    font-size: 40px;
    line-height: 1.2;

    color: #222;
}

.blog-page-header p {
    max-width: 700px;

    margin: 0 auto;

    color: #666;

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   BLOG DETAILS
========================================================= */
.blog-details-section {
    width: 100%;

    min-height: 100vh;

    padding: 50px 5%;

    background: #fff;

    box-sizing: border-box;
}

.blog-details-container {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}

.blog-details {
    width: 100%;
}

/* =========================================================
   BLOG DETAILS IMAGE
========================================================= */
.blog-details-image {
    display: block;

    width: 100%;

    max-height: 520px;

    object-fit: cover;

    border-radius: 18px;

    margin-bottom: 28px;

    background: #f5f5f5;
}

/* =========================================================
   BLOG DETAILS DATE
========================================================= */
.blog-details-date {
    display: block;

    margin-bottom: 10px;

    color: #e35486;

    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   BLOG DETAILS TITLE
========================================================= */
.blog-details-title {
    margin: 0 0 15px;

    color: #222;

    font-size: 42px;
    line-height: 1.2;

    font-weight: 700;
}

/* =========================================================
   BLOG DETAILS META
========================================================= */
.blog-details-meta {
    margin-bottom: 28px;

    color: #777;

    font-size: 14px;
}

/* =========================================================
   BLOG DETAILS DESCRIPTION
========================================================= */
.blog-details-description {
    margin-bottom: 25px;

    color: #444;

    font-size: 19px;
    line-height: 1.8;

    font-weight: 500;
}

/* =========================================================
   BLOG DETAILS CONTENT
========================================================= */
.blog-details-text,
.blog-details-content {
    width: 100%;

    color: #333;

    font-size: 17px;
    line-height: 1.9;

    overflow-wrap: break-word;
}

.blog-details-text p,
.blog-details-content p {
    margin: 0 0 20px;
}

.blog-details-text h2,
.blog-details-content h2 {
    margin: 35px 0 15px;

    color: #222;

    font-size: 27px;
    line-height: 1.3;
}

.blog-details-text h3,
.blog-details-content h3 {
    margin: 28px 0 12px;

    color: #222;

    font-size: 22px;
}

/* =========================================================
   FIXED HEADER OFFSET
========================================================= */
#blogDetailsSection {
    scroll-margin-top: 100px;
}

/* =========================================================
   TESTIMONIALS SECTION
========================================================= */
.testimonials-section {
    width: 100%;
    padding: 60px 5%;
    background: #fff;
    box-sizing: border-box;
    text-align: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

/* =========================================================
   TESTIMONIAL HEADING - FORCE CENTER
========================================================= */
.testimonials-section .section-heading {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    text-align: center !important;
}

.testimonials-section .section-heading h2 {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto 8px !important;

    text-align: center !important;
}

.testimonials-section .section-heading p {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;

    text-align: center !important;
}

.testimonials-container {
    grid-template-columns: repeat(3, 1fr);

    max-width: 1200px;

    margin: auto;
}

.testimonial-card {
    padding: 25px;

    background: #fff;

    border-radius: 15px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.customer-info {
    display: flex;

    align-items: center;

    gap: 15px;
}

.customer-info img {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    object-fit: cover;
}

.customer-info h3 {
    margin: 0 0 5px;

    font-size: 18px;
}

.rating {
    color: #f5a623;

    font-size: 18px;

    letter-spacing: 2px;
}

.testimonial-text {
    margin-top: 20px;

    color: #555;

    line-height: 1.6;

    font-size: 15px;
}

.verified {
    display: inline-block;

    margin-top: 12px;

    color: #28a745;

    font-size: 13px;
}

/* =========================================================
   TABLET
   3 BLOG CARDS VISIBLE
========================================================= */
@media (max-width: 900px) {
    .blog-section {
        padding: 35px 3%;
    }

    .blog-slider-wrapper {
        padding: 0 35px;
    }

    .blogs-container {
        gap: 10px;
    }

    .blog-card {
        flex: 0 0 calc((100% - 20px) / 3);

        width: calc((100% - 20px) / 3);

        height: 250px;

        border-radius: 10px;
    }

    .blog-image-wrapper,
    .blog-image,
    .blog-card>img,
    .blog-image-wrapper img {
        height: 100px;
        min-height: 100px;
    }

    .blog-content {
        height: 150px;
        min-height: 150px;

        padding: 9px;
    }

    .blog-meta {
        min-height: 15px;
    }

    .blog-date,
    .blog-author {
        font-size: 8px;
    }

    .blog-content h3 {
        height: 30px;
        min-height: 30px;

        font-size: 11px;

        margin: 3px 0;
    }

    .blog-content p {
        height: 34px;
        min-height: 34px;

        font-size: 8px;

        line-height: 1.35;

        margin: 2px 0 4px;
    }

    .read-more-btn {
        height: 23px;
        min-height: 23px;

        padding: 3px 7px;

        font-size: 8px;
    }

    .blog-slider-arrow,
    .blog-carousel-btn {
        width: 32px;
        height: 32px;

        font-size: 15px;
    }

    /* TESTIMONIALS */
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   MOBILE
   3 BLOG CARDS VISIBLE
========================================================= */
@media (max-width: 600px) {
    .blog-section {
        padding: 30px 3%;
    }

    .blog-slider-wrapper {
        padding: 0 25px;
    }

    .blogs-container {
        gap: 6px;
    }

    .blog-card {
        flex: 0 0 calc((100% - 12px) / 3);

        width: calc((100% - 12px) / 3);

        height: 190px;

        border-radius: 7px;
    }

    .blog-image-wrapper,
    .blog-image,
    .blog-card>img,
    .blog-image-wrapper img {
        height: 60px;
        min-height: 60px;
    }

    .blog-content {
        height: 130px;
        min-height: 130px;

        padding: 6px;
    }

    .blog-meta {
        min-height: 11px;

        gap: 2px;

        margin-bottom: 2px;
    }

    .blog-date,
    .blog-author {
        font-size: 6px;
    }

    .blog-content h3 {
        height: 22px;
        min-height: 22px;

        margin: 2px 0;

        font-size: 8px;

        line-height: 1.15;
    }

    .blog-content p {
        height: 25px;
        min-height: 25px;

        margin: 1px 0 3px;

        font-size: 6px;

        line-height: 1.3;
    }

    .read-more-btn {
        height: 18px;
        min-height: 18px;

        padding: 1px 5px;

        font-size: 6px;

        border-radius: 4px;
    }

    .blog-slider-arrow,
    .blog-carousel-btn {
        width: 24px;
        height: 24px;

        font-size: 11px;
    }

    .blog-slider-dots {
        margin-top: 10px;

        gap: 5px;
    }

    .blog-slider-dot {
        width: 6px;
        height: 6px;
    }

    .blog-slider-dot.active {
        width: 16px;
    }

    /* ALL BLOGS PAGE */
    .blog-page {
        padding: 35px 4%;
    }

    .blog-page-header h1 {
        font-size: 30px;
    }

    .blog-page-header p {
        font-size: 14px;
    }

    /* BLOG DETAILS */
    .blog-details-section {
        padding: 35px 4%;
    }

    .blog-details-title {
        font-size: 30px;
    }

    .blog-details-description {
        font-size: 16px;
    }

    .blog-details-text,
    .blog-details-content {
        font-size: 15px;
    }

    /* TESTIMONIALS */
    .testimonials-section {
        padding: 40px 4%;
    }

    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 25px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 380px) {
    .blog-section {
        padding: 25px 2%;
    }

    .blog-slider-wrapper {
        padding: 0 20px;
    }

    .blogs-container {
        gap: 5px;
    }

    .blog-card {
        flex: 0 0 calc((100% - 10px) / 3);

        width: calc((100% - 10px) / 3);

        height: 165px;

        border-radius: 5px;
    }

    .blog-image-wrapper,
    .blog-image,
    .blog-card>img,
    .blog-image-wrapper img {
        height: 48px;
        min-height: 48px;
    }

    .blog-content {
        height: 117px;
        min-height: 117px;

        padding: 5px;
    }

    .blog-meta {
        min-height: 9px;
    }

    .blog-date,
    .blog-author {
        font-size: 5px;
    }

    .blog-content h3 {
        height: 18px;
        min-height: 18px;

        font-size: 6.5px;

        line-height: 1.1;
    }

    .blog-content p {
        height: 19px;
        min-height: 19px;

        font-size: 5px;

        line-height: 1.1;
    }

    .read-more-btn {
        height: 15px;
        min-height: 15px;

        padding: 1px 4px;

        font-size: 5px;

        border-radius: 3px;
    }

    .blog-slider-arrow,
    .blog-carousel-btn {
        width: 20px;
        height: 20px;

        font-size: 9px;
    }

    .blog-slider-dots {
        margin-top: 8px;

        gap: 4px;
    }

    .blog-slider-dot {
        width: 5px;
        height: 5px;
    }

    .blog-slider-dot.active {
        width: 13px;
    }

    /* ALL BLOGS */
    .blog-page-header h1 {
        font-size: 26px;
    }

    /* BLOG DETAILS */
    .blog-details-title {
        font-size: 26px;
    }
}

/* ================= SHOP BY RELATIONSHIP ================= */
.relationship-section {
    padding: 60px 5%;
    background: #fff;
}

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

.relationship-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.relationship-section .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.relationship-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
}

.relationship-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.relationship-card-content {
    padding: 18px;
}

.relationship-card-content h3 {
    font-size: 19px;
    color: #333;
    margin: 0 0 8px;
}

.relationship-card-content p {
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.view-product-btn {
    margin-top: 12px;
    padding: 10px 18px;
    background: #e35486;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.view-product-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {
    .relationship-section .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .relationship-section {
        padding: 40px 5%;
    }

    .relationship-section h2 {
        font-size: 26px;
    }

    .relationship-section .category-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .relationship-card img {
        height: 200px;
    }
}

/* =========================================================
   RISTHABOX LOGIN / SIGNUP
========================================================= */
.auth-container {
    width: 92%;
    max-width: 900px;

    margin: 45px auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 10px 35px rgba(74, 38, 53, 0.15);
}

/* ================= LEFT SIDE ================= */
.auth-welcome {
    background: #f8f1f3;

    color: #ffffff;

    padding: 55px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-gift-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.auth-gift-icon img {
    width: 100px;
    height: 100px;

    object-fit: cover;
    border-radius: 50%;

    display: block;
    margin: 0 auto;
}

.auth-welcome h2 {
    font-size: 28px;

    line-height: 1.3;

    margin-bottom: 15px;

    color: #4a2635;
}

.auth-welcome>p {
    font-size: 14px;

    line-height: 1.8;

    color: #4a2635;

    margin-bottom: 30px;
}

/* ================= FEATURES ================= */
.auth-features {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.auth-features div {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 13px;
    color: #4a2635;
}

.auth-features span {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(227, 84, 134, 0.2);

    border-radius: 50%;
}

/* ================= RIGHT SIDE ================= */
.auth-box {
    padding: 42px 45px;

    background: #ffffff;
}

/* ================= HEADING ================= */
.auth-heading {
    margin-bottom: 25px;
}

.auth-heading h1 {
    font-size: 25px;

    color: #4a2635;

    margin-bottom: 5px;
}

.auth-heading p {
    color: #777777;

    font-size: 12px;
}

/* ================= INPUT GROUP ================= */
.auth-input-group {
    margin-bottom: 17px;
}

.auth-input-group label {
    display: block;

    font-size: 12px;

    font-weight: 600;

    color: #4a2635;

    margin-bottom: 7px;
}

.auth-label-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 7px;
}

.auth-label-row label {
    margin-bottom: 0;
}

.auth-label-row a {
    color: #e35486;

    text-decoration: none;

    font-size: 11px;
}

.auth-label-row a:hover {
    text-decoration: underline;
}

/* ================= INPUT ================= */
.auth-input {
    width: 100%;

    height: 44px;

    border: 1px solid #dddddd;

    border-radius: 7px;

    display: flex;

    align-items: center;

    background: #ffffff;

    transition: 0.2s;
}

.auth-input:focus-within {
    border-color: #e35486;

    box-shadow: 0 0 0 3px rgba(227, 84, 134, 0.12);
}

.auth-input>span {
    width: 42px;

    text-align: center;

    color: #999999;

    font-size: 14px;
}

.auth-input input {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    padding: 0 5px;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    color: #333333;
}

.auth-input input::placeholder {
    color: #aaaaaa;
}

/* ================= PASSWORD ================= */
.password-toggle {
    width: 45px;

    height: 100%;

    border: none;

    background: transparent;

    color: #e35486;

    cursor: pointer;

    font-size: 11px;
}

.password-toggle:hover {
    text-decoration: underline;
}

/* ================= REMEMBER ================= */
.remember-me {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #666666;

    font-size: 11px;

    cursor: pointer;

    margin-bottom: 18px;
}

.remember-me input {
    accent-color: #e35486;

    cursor: pointer;
}

/* ================= MAIN BUTTON ================= */
.auth-main-btn {
    width: 100%;

    height: 44px;

    border: none;

    border-radius: 7px;

    background: #e35486;

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.25s;
}

.auth-main-btn:hover {
    background: #c83f6e;

    transform: translateY(-1px);

    box-shadow: 0 5px 15px rgba(227, 84, 134, 0.25);
}

/* ================= MESSAGE ================= */
.auth-message {
    min-height: 20px;

    margin-top: 12px;

    text-align: center;

    font-size: 11px;
}

.auth-message.success {
    color: #16805c;
}

.auth-message.error {
    color: #d00000;
}

/* ================= SWITCH ================= */
.auth-switch {
    margin-top: 27px;
}

.auth-divider {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #999999;

    font-size: 10px;

    margin-bottom: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    height: 1px;

    background: #eeeeee;

    flex: 1;
}

.auth-divider span {
    white-space: nowrap;
}

/* ================= OUTLINE BUTTON ================= */
.auth-outline-btn {
    width: 100%;

    height: 42px;

    border: 1px solid #cccccc;

    border-radius: 7px;

    background: #ffffff;

    color: #4a2635;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    cursor: pointer;

    transition: 0.2s;
}

.auth-outline-btn:hover {
    border-color: #e35486;

    color: #e35486;

    background: #fff4f7;
}

/* ================= PASSWORD HINT ================= */
.password-hint {
    font-size: 10px;

    color: #777777;

    margin-top: -7px;

    margin-bottom: 17px;
}

/* ================= MOBILE ================= */
@media (max-width: 750px) {
    .auth-container {
        grid-template-columns: 1fr;

        max-width: 450px;

        margin: 25px auto;
    }

    .auth-welcome {
        padding: 35px 30px;

        text-align: center;

        align-items: center;
    }

    .auth-welcome h2 {
        font-size: 23px;
    }

    .auth-welcome>p {
        max-width: 350px;
    }

    .auth-features {
        width: 100%;

        max-width: 330px;

        text-align: left;
    }

    .auth-box {
        padding: 35px 30px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        width: calc(100% - 25px);

        margin: 20px auto;

        border-radius: 12px;
    }

    .auth-welcome {
        padding: 28px 22px;
    }

    .auth-welcome h2 {
        font-size: 20px;
    }

    .auth-welcome>p {
        font-size: 12px;
    }

    .auth-box {
        padding: 30px 22px;
    }

    .auth-heading h1 {
        font-size: 22px;
    }
}

/* =====================================================
   ORDER TRACKING UI
===================================================== */
.tracking-preview {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid #eeeeee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.tracking-header h2 {
    margin: 0 0 5px;
    font-size: 24px;
}

.tracking-header p {
    margin: 0;
    color: #777;
}

.tracking-status {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tracking-status.shipped {
    background: #fff0f5;
    color: #e35486;
}

/* Courier */
.tracking-courier-section {
    margin-bottom: 25px;
}

.tracking-courier-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.tracking-courier-section select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

/* Tracking information */
.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.tracking-info-box {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 16px;
}

.tracking-label {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 7px;
}

.tracking-info-box strong {
    font-size: 15px;
}

/* Timeline */
.tracking-timeline {
    position: relative;
    margin: 30px 0;
}

.tracking-timeline::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #ddd;
}

.tracking-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.tracking-icon {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eeeeee;
    color: #777;

    font-weight: bold;
}

.tracking-step.completed .tracking-icon {
    background: #e35486;
    color: white;
}

.tracking-step.current .tracking-icon {
    background: #e35486;
    color: white;
    box-shadow: 0 0 0 5px #fde7ef;
}

.tracking-step-content {
    display: flex;
    flex-direction: column;
    padding-top: 3px;
}

.tracking-step-content strong {
    font-size: 15px;
}

.tracking-step-content span {
    color: #777;
    font-size: 13px;
    margin-top: 4px;
}

/* Track button */
.track-shipment-btn {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #e35486;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: 0.2s;
}

.track-shipment-btn:hover {
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    .tracking-preview {
        padding: 18px;
    }

    .tracking-header {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }

    .tracking-info-grid {
        grid-template-columns: 1fr;
    }
}

.logout-btn {
    margin-top: 12px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    background: #d9534f;
    font-size: 15px;
    cursor: pointer;
}

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

/* =========================================================
   FINAL FIX: TABLET + MOBILE DROPDOWNS
   ========================================================= */
/* Desktop: hover dropdown only */
@media (min-width: 1025px) and (hover: hover) {
    .nav-dropdown:hover>.dropdown-menu {
        display: block !important;
    }

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

/* Tablet + Mobile: click/tap dropdown only */
@media (max-width: 1024px) {
    .nav-dropdown {
        position: relative !important;
    }

    /* Disable hover opening on touch devices */
    .nav-dropdown:hover>.dropdown-menu {
        display: none !important;
    }

    /* Open only through JavaScript click */
    .nav-dropdown>.dropdown-menu.mobile-open {
        display: block !important;
        position: fixed !important;
        width: min(240px, calc(100vw - 20px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 20px) !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 8px 0 !important;
        background: #ffffff !important;
        border: 1px solid #dddddd !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
        z-index: 999999 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dropdown-menu.mobile-open a {
        display: block !important;
        width: 100% !important;
        min-height: 44px !important;
        padding: 12px 16px !important;
        color: #333333 !important;
        background: #ffffff !important;
        white-space: normal !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

    .dropdown-menu.mobile-open a:active,
    .dropdown-menu.mobile-open a:hover {
        background: #f3f3f3 !important;
    }

    .dropdown-btn {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
}

/* Prevent accidental hover on touch devices */
@media (hover: none) and (pointer: coarse) {
    .nav-dropdown:hover>.dropdown-menu {
        display: none !important;
    }

    .nav-dropdown>.dropdown-menu.mobile-open {
        display: block !important;
    }
}

/* =====================================================
   SEARCH RESULTS PAGE - RESPONSIVE DESIGN
===================================================== */
/* Search Results Header */
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.search-results-header h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

/* Continue Shopping Button */
.search-results-header .btn-secondary {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background-color: #f1f1f1;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.search-results-header .btn-secondary:hover {
    background-color: #ddd;
}

/* Search Product Grid */
#searchProductGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* No Search Results */
#searchNoResults {
    width: 100%;
    box-sizing: border-box;
}

#searchNoResults h2 {
    margin-bottom: 10px;
    color: #333;
}

#searchNoResults p {
    color: #666;
    font-size: 15px;
}

/* =====================================================
   TABLET RESPONSIVE - 768px to 1024px
===================================================== */
@media (max-width: 1024px) {
    .search-results-header {
        margin-bottom: 22px;
    }

    .search-results-header h1 {
        font-size: 24px;
    }

    #searchProductGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

/* =====================================================
   MOBILE RESPONSIVE - 767px and below
===================================================== */
@media (max-width: 767px) {
    .search-results-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 20px;
    }

    .search-results-header h1 {
        font-size: 22px;
        text-align: center;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .search-results-header .btn-secondary {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
    }

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

    #searchNoResults {
        padding: 30px 15px !important;
    }

    #searchNoResults h2 {
        font-size: 20px;
    }

    #searchNoResults p {
        font-size: 14px;
    }
}

/* =====================================================
   SMALL MOBILE - 480px and below
===================================================== */
@media (max-width: 480px) {
    #searchProductGrid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .search-results-header h1 {
        font-size: 20px;
    }
}

/* =====================================================
   FINAL RISHTABOX HEADER RESPONSIVE FIX
   Correct class: .nav-actions
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.header,
.nav-container {
    width: 100%;
    max-width: 100%;
}

/* =====================================================
   TABLET: 769px TO 1024px
   ===================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        display: grid !important;
        grid-template-columns: minmax(180px, 1fr) minmax(280px, 1.5fr) !important;
        grid-template-areas: "logo actions" "search search" !important;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .logo-section {
        grid-area: logo !important;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    .search-bar {
        grid-area: search !important;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .nav-actions {
        grid-area: actions !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: stretch;
        gap: 7px;
        width: 100%;
        min-width: 0;
    }

    .nav-actions .nav-btn {
        flex: 1 1 0;
        min-width: 0;
        max-width: 150px;
        padding: 10px 6px;
        font-size: 14px;
        text-align: center;
        white-space: normal;
    }

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

/* =====================================================
   MOBILE: 768px AND BELOW
   ===================================================== */
@media (max-width: 768px) {
    .nav-container {
        display: grid !important;
        grid-template-columns: minmax(105px, 1fr) minmax(0, 2fr) !important;
        grid-template-areas: "logo actions" "search search" !important;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
    }

    /* LOGO */
    .logo-section {
        grid-area: logo !important;
        display: flex;
        align-items: center;
        gap: 5px;
        min-width: 0;
    }

    .logo-section .logo img {
        width: 62px;
        height: 62px;
        object-fit: contain;
    }

    .logo-section .logo-text {
        font-size: 20px;
        line-height: 0.95;
    }

    /* ACCOUNT, CART AND ORDERS */
    .nav-actions {
        grid-area: actions !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: stretch;
        gap: 5px;
        width: 100%;
        min-width: 0;
    }

    .nav-actions .nav-btn {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        min-width: 0;
        min-height: 58px;
        padding: 6px 3px;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: normal;
    }

    .nav-actions .nav-btn span {
        max-width: 100%;
    }

    /* SEARCH */
    .search-bar {
        grid-area: search !important;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .search-bar input {
        width: 100%;
        min-width: 0;
        height: 44px;
        font-size: 15px;
    }

    .search-bar button {
        flex-shrink: 0;
        padding: 0 16px;
        font-size: 13px;
    }

    /* SHOP NAVIGATION */
    .panel {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
    }

    .panel>* {
        flex-shrink: 0;
    }

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

/* =====================================================
   SMALL MOBILE: 480px AND BELOW
   ===================================================== */
@media (max-width: 480px) {
    .nav-container {
        grid-template-columns: 92px minmax(0, 1fr) !important;
        gap: 8px;
        padding: 8px;
    }

    .logo-section .logo img {
        width: 55px;
        height: 55px;
    }

    .logo-section .logo-text {
        display: none;
    }

    .nav-actions {
        gap: 3px;
    }

    .nav-actions .nav-btn {
        min-height: 53px;
        font-size: 10px;
        border-radius: 10px;
    }

    .search-bar input {
        height: 42px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 0 12px;
        font-size: 12px;
    }
}

/* =====================================================
   FIX NAVIGATION TEXT WRAPPING
   ===================================================== */
.nav-actions .nav-btn {
    overflow: hidden;
}

.nav-actions .nav-icon {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-actions .nav-label {
    display: inline-block;
    min-width: 0;
    white-space: nowrap;
    text-align: center;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .nav-actions .nav-btn {
        justify-content: center;
        align-items: center;
        gap: 3px;
    }

    .nav-actions .nav-label {
        font-size: 12px;
        white-space: nowrap;
    }

    .nav-actions .nav-icon {
        font-size: 14px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .nav-actions .nav-btn {
        padding: 5px 3px;
    }

    .nav-actions .nav-label {
        font-size: 10px;
    }

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

/* =====================================================
   BOTTOM NAVIGATION
   LAPTOP + TABLET + MOBILE
   ===================================================== */
.mobile-bottom-nav {
    position: fixed;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 8px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 74px;
    padding: 8px 12%;
    background: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.bottom-nav-item {
    max-width: 220px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.bottom-nav-item:hover {
    background: #fce4ed;
}

.bottom-cart-count {
    line-height: 15px;
    text-align: center;
}

/* Fixed bar ke peeche content hide na ho */
body {
    padding-bottom: 85px;
}

/* =====================================================
   TABLET
   ===================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-bottom-nav {
        height: 72px;
        padding: 8px 8%;
        gap: 5px;
    }

    .bottom-nav-item {
        font-size: 13px;
    }

    .bottom-nav-icon {
        font-size: 21px;
    }
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        height: 66px;
        padding: 5px 3px;
        gap: 2px;
    }

    .bottom-nav-item {
        font-size: 10px;
        gap: 3px;
    }

    .bottom-nav-icon {
        font-size: 19px;
    }

    .bottom-cart-count {
        top: 1px;
        right: 12%;
    }

    body {
        padding-bottom: 75px;
    }
}

/* =====================================================
   SMALL MOBILE
   ===================================================== */
@media (max-width: 480px) {
    .mobile-bottom-nav {
        height: 64px;
    }

    .bottom-nav-item {
        font-size: 9px;
    }

    .bottom-nav-icon {
        font-size: 18px;
    }
}

/* =====================================================
   CONTINUE TO PAYMENT BUTTON
   ===================================================== */
.checkout-btn {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-top: 20px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: #e84b86;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.checkout-btn:hover {
    background: #d93670;
}

#cartPage {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    #cartPage {
        padding-bottom: 100px;
    }

    .checkout-btn {
        min-height: 52px;
        font-size: 16px;
    }
}

/* =====================================================
   CHECKOUT ORDER SUMMARY - IMAGE FIX
   ===================================================== */
#orderPage {
    padding-bottom: 120px;
    overflow-x: hidden;
}

#orderSteps {
    margin: 0 auto;
    padding: 20px;
}

/* Each product row */
/* Product image size FIX */
/* Product information */
#orderSteps .order-item-info {
    overflow-wrap: anywhere;
}

#orderSteps .order-item-info h4 {
    color: #1d2939;
}

#orderSteps .order-item-info p {
    color: #555555;
}

#orderSteps .order-item>strong {
    color: #222222;
}

/* Price summary */
#orderSteps .price-summary {
    background: #f8f8f8;
}

/* Buttons */
#orderSteps .order-actions {
    padding-bottom: 30px;
}

#orderSteps .order-actions button {
    cursor: pointer;
}

/* =====================================================
   TABLET AND MOBILE
   ===================================================== */
@media (max-width: 768px) {
    #orderSteps {
        padding: 12px;
    }

    #orderSteps .order-item {
        gap: 10px;
        padding: 10px;
    }

    #orderSteps .order-item img {
        flex: 0 0 75px;
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
    }

    #orderSteps .order-item-info h4 {
        font-size: 14px;
    }

    #orderSteps .order-item-info p {
        font-size: 12px;
    }

    #orderSteps .order-item>strong {
        font-size: 13px;
    }

    #orderSteps .price-summary {
        padding: 15px;
    }

    #orderSteps .order-actions {
        flex-direction: column;
    }

    #orderSteps .order-actions button {
        width: 100%;
    }
}

/* =====================================================
   FINAL ORDER SUMMARY FIX
   MOBILE + TABLET + LAPTOP
===================================================== */
/* Main checkout container */
#orderSteps {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Order container */
#orderSteps .order-container {
    display: block !important;
    width: 100% !important;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Header */
#orderSteps .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* IMPORTANT:
   Summary must not display as multiple columns */
#orderSteps .order-summary {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 20px 0 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

/* Your Items heading */
#orderSteps .order-summary>h3 {
    display: block;
    width: 100%;
    margin: 0 0 15px;
    font-size: 24px;
}

/* Products must be one below another */
#orderSteps .order-items {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100%;
    gap: 12px;
    box-sizing: border-box;
}

/* Individual product */
#orderSteps .order-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 15px;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

/* Product image */
#orderSteps .order-item img {
    display: block;
    flex: 0 0 90px;
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    object-fit: cover;
    border-radius: 10px;
}

/* Product details */
#orderSteps .order-item-info {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Prevent one-letter product name */
#orderSteps .order-item-info h4 {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
}

#orderSteps .order-item-info p {
    margin: 4px 0;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Product total */
#orderSteps .order-item>strong {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
    font-size: 16px;
}

/* Price summary must stay below products */
#orderSteps .price-summary {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin-top: 20px;
    padding: 18px;
    box-sizing: border-box;
    border-radius: 12px;
    overflow: hidden;
}

/* Summary rows */
#orderSteps .price-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* Buttons below summary */
#orderSteps .order-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    width: 100% !important;
    max-width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

/* Both buttons */
#orderSteps .order-actions button {
    flex: 1 1 200px;
    width: auto;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    box-sizing: border-box;
    white-space: normal;
}

/* =====================================================
   TABLET
===================================================== */
@media (max-width: 1024px) {
    #orderSteps .order-container {
        padding: 12px;
    }

    #orderSteps .order-item {
        gap: 12px;
    }

    #orderSteps .order-item img {
        flex-basis: 80px;
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }

    #orderSteps .order-actions button {
        flex: 1 1 180px;
    }
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 600px) {
    #orderSteps .order-container {
        padding: 10px;
    }

    #orderSteps .order-header {
        display: block;
    }

    #orderSteps .checkout-steps {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 10px;
        font-size: 13px;
    }

    #orderSteps .order-summary>h3 {
        font-size: 22px;
    }

    #orderSteps .order-item {
        display: grid !important;
        grid-template-columns: 75px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    #orderSteps .order-item img {
        width: 75px !important;
        height: 75px !important;
        max-width: 75px !important;
        max-height: 75px !important;
    }

    #orderSteps .order-item-info h4 {
        font-size: 14px;
    }

    #orderSteps .order-item-info p {
        font-size: 13px;
    }

    #orderSteps .order-item>strong {
        grid-column: 2;
        justify-self: start;
        margin-left: 0;
        font-size: 14px;
    }

    #orderSteps .price-summary {
        padding: 15px;
    }

    #orderSteps .order-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    #orderSteps .order-actions button {
        flex: none;
        width: 100% !important;
        min-height: 48px;
    }
}

/* =========================================================
   RESPONSIVE FIX - LAPTOP, TABLET AND MOBILE
========================================================= */
/* Prevent horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Keep page content visible above bottom navigation */
.main-content {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 0;
}

.page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

/* =========================================================
   TABLET AND MOBILE HEADER
========================================================= */
@media (max-width: 1024px) {
    .header {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .nav-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 12px;
    }

    .logo-section {
        flex: 1 1 180px;
        min-width: 0;
    }

    .logo-section img {
        max-width: 100px;
        height: auto;
    }

    .logo-text {
        font-size: 22px;
        line-height: 1;
    }

    .nav-actions {
        display: flex;
        flex: 1 1 100%;
        width: 100%;
        gap: 8px;
        order: 2;
    }

    .nav-actions .nav-btn {
        flex: 1;
        min-width: 0;
        text-align: center;
        padding: 12px 6px;
        white-space: normal;
    }

    .nav-label {
        overflow-wrap: break-word;
    }

    .search-bar {
        display: flex;
        flex: 1 1 100%;
        width: 100%;
        order: 3;
        min-width: 0;
    }

    .search-bar input {
        min-width: 0;
        width: 100%;
    }

    .panel {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
    }

    .panel>* {
        flex-shrink: 0;
    }

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

    /* Cart page */
    #cartPage .container {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }

    #cartItems {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .cart-item {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: minmax(90px, 130px) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 12px;
        overflow: hidden;
    }

    .cart-item img {
        width: 100%;
        max-width: 130px;
        height: 130px;
        object-fit: cover;
        border-radius: 12px;
    }

    .cart-item-details {
        min-width: 0;
        width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .cart-item-details h3 {
        width: 100%;
        margin: 0 0 8px;
        font-size: 18px;
        line-height: 1.3;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .cart-item-details p,
    .cart-item-details span {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .cart-item>.btn-secondary {
        grid-column: 1 / -1;
        width: 100%;
    }

    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 6px;
        max-width: 100%;
    }

    .quantity-input {
        width: 55px;
        min-width: 0;
    }

    /* Cart summary */
    #cartSummary {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
        padding: 18px;
        overflow: hidden;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    #cartSummary .btn-primary {
        width: 100% !important;
        min-height: 65px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /* Order page */
    #orderPage .container,
    #ordersPage .container {
        width: 100%;
        max-width: 100%;
        padding: 12px;
    }

    #orderPage h1,
    #ordersPage h1 {
        font-size: 32px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    /* Order cards */
    .order-card {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 18px;
    }

    .order-card * {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* Product grids */
    .product-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .product-card img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* =========================================================
   MOBILE SCREEN
========================================================= */
@media (max-width: 600px) {
    .nav-container {
        padding: 8px;
        gap: 8px;
    }

    .logo-section {
        flex: 1 1 100%;
        justify-content: center;
    }

    .logo-section img {
        max-width: 85px;
    }

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

    .nav-actions {
        gap: 5px;
    }

    .nav-actions .nav-btn {
        font-size: 14px;
        min-height: 65px;
        padding: 8px 3px;
    }

    .nav-icon {
        display: block;
        font-size: 18px;
    }

    .nav-label {
        font-size: 14px;
    }

    .search-bar {
        width: 100%;
    }

    .search-bar input {
        font-size: 16px;
    }

    .search-bar button {
        padding: 0 16px;
    }

    .panel {
        min-height: 68px;
    }

    .panel a,
    .dropdown-btn {
        font-size: 14px;
    }

    /* Cart mobile layout */
    .cart-item {
        grid-template-columns: 95px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .cart-item img {
        width: 95px;
        height: 110px;
    }

    .cart-item-details h3 {
        font-size: 16px;
    }

    .cart-item-details {
        font-size: 14px;
    }

    #cartSummary {
        padding: 15px;
    }

    .summary-row {
        font-size: 16px;
        align-items: flex-start;
    }

    #cartSummary .summary-total {
        font-size: 20px;
        font-weight: 700;
    }

    #cartSummary .btn-primary {
        font-size: 18px;
        padding: 18px 10px;
    }

    /* Product cards mobile */
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* Orders mobile */
    .order-card {
        padding: 15px;
        border-radius: 18px;
    }

    .order-card h3 {
        font-size: 18px;
    }

    /* Prevent large headings from overflowing */
    h1,
    h2,
    h3 {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    /* Give content space above fixed bottom nav */
    .main-content {
        padding-bottom: 125px;
    }
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    max-width: 100%;
    min-height: 85px;
    padding: 8px 5px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #dddddd;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
}

.bottom-nav-item {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    text-align: center;
    color: #512238;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 2px;
}

.bottom-nav-icon {
    font-size: 24px;
    line-height: 1.2;
}

.bottom-cart-count {
    position: absolute;
    top: -2px;
    right: 18%;
    min-width: 24px;
    height: 24px;
    padding: 2px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #e83f78;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

@media (min-width: 1025px) {
    .bottom-nav {
        display: none;
    }
}

/* =========================================================
DYNAMIC CONTENT SPACING
========================================================= */
@media screen and (max-width: 1024px) {
    .page {
        padding-bottom: var(--bottom-nav-height) !important;
        position: relative;
        z-index: 1;
    }

    .main-content {
        padding-top: 0 !important;
        padding-bottom: 10px !important;
        min-height: calc( 50vh - var(--header-height) - var(--bottom-nav-height) );
    }

    .bottom-nav {
        z-index: 9999;
    }

    .header {
        z-index: 10000;
    }

    /* Home page spacing */
    #homePage .hero-section,
    #homePage .hero-slider,
    #homePage .banner-section {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .page {
        padding-bottom: var(--bottom-nav-height) !important;
    }

    .main-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* =========================================================
HOMEPAGE CATEGORY / RELATIONSHIP / FESTIVAL CONTAINERS
========================================================= */
#relationshipGrid,
#festivalGrid,
#categoryGrid {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================================================
PINNED CARDS - FIRST ROW
========================================================= */
.pinned-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 25px;
    box-sizing: border-box;
}

.pinned-shop-grid .shop-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* =========================================================
AUTO SLIDER - SECOND ROW
========================================================= */
.shop-slider-wrapper {
    position: relative;
    clear: both;
    margin: 0 auto;

    -webkit-mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent );

    mask-image: linear-gradient( to right, transparent, #000 4%, #000 96%, transparent );
}

.shop-slider-track {
    width: max-content;
    gap: 24px;

    animation: shopAutoSlide 45s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
    .shop-slider-track:hover {
        animation-play-state: paused;
    }
}

.shop-slider-track .shop-card {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-width: 220px !important;
}

/* =========================================================
SHARED CARD DESIGN
========================================================= */
.shop-card {
    background: #fff;
    border: 1px solid rgba(227, 84, 134, 0.12);
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 35px rgba(227, 84, 134, 0.18);
}

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

.shop-card .category-card-content {
    padding: 18px;
    min-height: 112px;
}

.shop-card .category-card-content h3 {
    margin: 0 0 8px;
    color: #292929;
    font-size: 18px;
    font-weight: 700;
}

.shop-card .category-card-content p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.5;
}

.shop-card .category-btn {
    display: block;
    margin: 0 18px 18px;
    padding: 11px 14px;

    text-align: center;
    text-decoration: none;

    background: linear-gradient(135deg, #e35486, #c9366d);
    color: #fff;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition: opacity 0.3s ease;
}

.shop-card .category-btn:hover {
    opacity: 0.88;
}

.empty-shop-message {
    width: 100%;
    padding: 30px;
    text-align: center;
    color: #777;
}

/* =========================================================
CONTINUOUS SLIDER ANIMATION
========================================================= */
@keyframes shopAutoSlide {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50% - var(--slider-half-gap, 12px)), 0, 0);
    }
}

/* =========================================================
TABLET
========================================================= */
@media (min-width: 651px) and (max-width: 992px) {
    .pinned-shop-grid {
        gap: 14px;
    }

    .shop-card img {
        height: 150px;
    }

    .shop-card .category-card-content {
        padding: 12px;
    }

    .shop-card .category-card-content h3 {
        font-size: 15px;
    }

    .shop-card .category-card-content p {
        font-size: 12px;
    }

    .shop-card .category-btn {
        margin: 0 12px 12px;
        padding: 9px 8px;
        font-size: 11px;
    }
}

/* =========================================================
MOBILE - FOUR PINNED CARDS + SAME SLIDER SPEED
========================================================= */
@media (max-width: 650px) {
    .pinned-shop-grid .shop-card {
        border-radius: 8px;
    }

    .pinned-shop-grid .shop-card img {
        height: 85px;
    }

    .pinned-shop-grid .shop-card h3 {
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .pinned-shop-grid .shop-card p {
        font-size: 9px;
    }

    .pinned-shop-grid .shop-card button,
    .pinned-shop-grid .shop-card a {
        padding: 5px 2px;
        font-size: 9px;
    }

    .shop-slider-track {
        animation-duration: 45s;
    }

    .shop-slider-track .shop-card {
        flex: 0 0 150px !important;
        width: 150px !important;
        min-width: 150px !important;
    }

    .shop-slider-track .shop-card img {
        height: 145px;
    }

    .shop-card .category-card-content {
        padding: 12px;
    }

    .shop-card .category-card-content h3 {
        font-size: 13px;
    }

    .shop-card .category-card-content p {
        font-size: 11px;
    }

    .shop-card .category-btn {
        margin: 0 12px 12px;
        padding: 8px;
        font-size: 11px;
    }
}

/* =========================================================
VERY SMALL MOBILE SCREENS
========================================================= */
@media (max-width: 380px) {
    .pinned-shop-grid .shop-card img {
        height: 60px;
    }

    .pinned-shop-grid .shop-card h3 {
        font-size: 8px;
    }

    .pinned-shop-grid .shop-card p {
        font-size: 9px;
    }

    .pinned-shop-grid .shop-card button,
    .pinned-shop-grid .shop-card a {
        padding: 4px 2px;
        font-size: 8px;
    }
}

/* =========================================
   PRODUCT REVIEWS - PREMIUM DESIGN
========================================= */
.product-reviews-section {
    margin-top: 40px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.product-reviews-section h2 {
    margin: 0 0 22px;
    color: #222222;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.4px;
}

/* Review Form */
.review-form-container {
    margin-bottom: 32px;
    padding: 22px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 16px;
}

.review-form-container h3 {
    margin: 0 0 18px;
    color: #333333;
    font-size: 20px;
    font-weight: 650;
}

.review-rating-input,
.review-comment-input {
    margin-bottom: 16px;
}

.review-rating-input label,
.review-comment-input label {
    display: block;
    margin-bottom: 8px;
    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

#reviewRating,
#reviewComment {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    outline: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

#reviewRating:focus,
#reviewComment:focus {
    border-color: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

#reviewComment {
    min-height: 110px;
    resize: vertical;
    font-family: inherit;
}

#reviewForm button[type="submit"] {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #c89425, #e6b84f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

#reviewForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 148, 37, 0.28);
}

#reviewForm button[type="submit"]:active {
    transform: translateY(0);
}

/* Review Message */
#reviewFormMessage {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

/* Reviews List */
#productReviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    padding: 20px;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.review-card:hover {
    border-color: #e3c77e;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.review-user-name {
    color: #222222;
    font-size: 15px;
    font-weight: 700;
}

.review-date {
    margin-top: 4px;
    color: #888888;
    font-size: 12px;
}

.review-stars {
    color: #f2b01e;
    font-size: 17px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.review-comment {
    margin: 10px 0 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.verified-review {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 5px 9px;
    border-radius: 20px;
    background: #edf8ef;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
}

/* Empty and Loading State */
.reviews-empty,
.reviews-loading {
    padding: 28px 15px;
    border: 1px dashed #dddddd;
    border-radius: 12px;
    color: #888888;
    font-size: 14px;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-reviews-section {
        margin-top: 28px;
        padding: 18px;
        border-radius: 16px;
    }

    .product-reviews-section h2 {
        font-size: 22px;
    }

    .review-form-container {
        padding: 16px;
    }

    .review-form-container h3 {
        font-size: 18px;
    }

    .review-card {
        padding: 16px;
    }

    .review-card-header {
        flex-direction: column;
        gap: 6px;
    }

    .review-stars {
        font-size: 16px;
    }

    #reviewForm button[type="submit"] {
        width: 100%;
        padding: 13px;
    }
}

@media (max-width: 420px) {
    .product-reviews-section {
        padding: 14px;
    }

    .review-form-container {
        padding: 14px;
    }

    .product-reviews-section h2 {
        font-size: 20px;
    }

    .review-comment {
        font-size: 13px;
    }
}

/* =========================================================
   CUSTOMER TESTIMONIAL AUTO SLIDER
   ALWAYS 3 CARDS VISIBLE
========================================================= */
.testimonials-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 45px;
    box-sizing: border-box;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    gap: 20px;
    width: 100%;

    transition: transform 0.6s ease;
}

.testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
    min-width: 0;
    box-sizing: border-box;
}

/* =========================================================
   ARROWS
========================================================= */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;

    background: var(--primary-color);
    color: #fff;

    font-size: 20px;
    font-weight: bold;

    cursor: pointer;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}

.testimonial-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.testimonial-prev {
    left: 0;
}

.testimonial-next {
    right: 0;
}

/* =========================================================
   DOTS
========================================================= */
.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: #d5d5d5;
    cursor: pointer;

    transition: 0.25s ease;
}

.testimonial-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--primary-color);
}

/* =========================================================
   MOBILE
   STILL 3 CARDS
========================================================= */
@media (max-width: 600px) {
    .testimonials-slider-wrapper {
        padding: 0 24px;
    }

    .testimonials-container {
        gap: 7px;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 14px) / 3);
        width: calc((100% - 14px) / 3);
        padding: 10px;
        border-radius: 10px;
    }

    .testimonial-card .customer-info {
        gap: 6px;
    }

    .testimonial-card .customer-info img {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .testimonial-card h3 {
        font-size: 11px;
        line-height: 1.2;
        margin: 0;
    }

    .testimonial-card .rating {
        font-size: 9px;
        line-height: 1;
        margin-top: 3px;
    }

    .testimonial-card .testimonial-text {
        font-size: 9px;
        line-height: 1.35;
        margin: 8px 0;
    }

    .testimonial-card .verified {
        font-size: 8px;
        line-height: 1.2;
    }

    .testimonial-arrow {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .testimonial-prev {
        left: 0;
    }

    .testimonial-next {
        right: 0;
    }

    .testimonial-dots {
        margin-top: 14px;
        gap: 5px;
    }

    .testimonial-dot {
        width: 6px;
        height: 6px;
    }

    .testimonial-dot.active {
        width: 16px;
    }
}

@media (max-width: 380px) {
    .testimonials-slider-wrapper {
        padding: 0 20px;
    }

    .testimonials-container {
        gap: 5px;
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 10px) / 3);
        width: calc((100% - 10px) / 3);
        padding: 7px;
    }

    .testimonial-card .customer-info img {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .testimonial-card h3 {
        font-size: 9px;
    }

    .testimonial-card .rating {
        font-size: 7px;
    }

    .testimonial-card .testimonial-text {
        font-size: 8px;
        line-height: 1.3;
    }

    .testimonial-card .verified {
        font-size: 7px;
    }

    .testimonial-arrow {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE BOTTOM NAVIGATION
========================================================= */
.bottom-nav {
    display: none;
}

/* Mobile */
@media (max-width: 700px) {
    .bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        height: 64px;

        display: flex;
        align-items: center;
        justify-content: space-around;

        background: #ffffff;

        border-top: 1px solid #eeeeee;

        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);

        z-index: 9999;

        padding: 6px 5px calc(6px + env(safe-area-inset-bottom));

        box-sizing: border-box;
    }

    .bottom-nav-item {
        position: relative;

        flex: 1;

        min-width: 0;

        height: 52px;

        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 3px;

        text-decoration: none;

        color: #666;

        font-size: 11px;
        font-weight: 500;

        border: none;
        background: transparent;

        cursor: pointer;

        transition: color 0.2s ease, transform 0.2s ease;
    }

    .bottom-nav-item:hover,
    .bottom-nav-item:active {
        color: #e35486;
    }

    .bottom-nav-item:active {
        transform: scale(0.95);
    }

    .bottom-nav-icon {
        width: 25px;
        height: 25px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 21px;

        line-height: 1;
    }

    .bottom-nav-item span:last-child {
        line-height: 14px;
    }

    /* Cart Count */
    .bottom-cart-count {
        position: absolute;

        top: 3px;
        right: calc(50% - 22px);

        min-width: 17px;
        height: 17px;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 4px;

        box-sizing: border-box;

        background: #e35486;
        color: #ffffff;

        border-radius: 50%;

        font-size: 9px;
        font-weight: 700;

        line-height: 17px;
    }

    /* Give page space for fixed bottom navigation */
    body {
        padding-bottom: 70px;
    }
}

/* =========================================================
   RISHTABOX - RESPONSIVE PRODUCT GRID
   Desktop / Laptop / Tablet / Mobile / Small Mobile
========================================================= */
/* =========================
   LARGE DESKTOP
   1201px+
========================= */
@media (min-width: 1201px) {
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        margin-top: 32px;
    }

    .product-card {
        min-width: 0;
        width: 100%;
    }

    .product-card img {
        width: 100%;
        height: 230px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 20px;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }
}

/* =========================
   LAPTOP
   901px - 1200px
========================= */
@media (min-width: 901px) and (max-width: 1200px) {
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-top: 28px;
    }

    .product-card {
        min-width: 0;
        width: 100%;
    }

    .product-card img {
        width: 100%;
        height: 210px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 18px;
    }

    .product-card h3 {
        font-size: 1.05rem;
    }

    .product-brand {
        font-size: 0.8rem;
    }

    .current-price {
        font-size: 1.1rem;
    }
}

/* =========================
   TABLET
   701px - 900px
========================= */
@media (min-width: 701px) and (max-width: 900px) {
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        margin-top: 24px;
    }

    .product-card {
        min-width: 0;
        width: 100%;
        border-radius: 12px;
    }

    .product-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 14px;
    }

    .product-card h3 {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .product-brand {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .product-price {
        gap: 7px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1rem;
    }

    .original-price {
        font-size: 0.75rem;
    }

    .discount {
        padding: 3px 7px;
        font-size: 0.65rem;
    }

    .product-rating {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .product-rating .stars {
        font-size: 14px;
    }
}

/* =========================
   MOBILE
   481px - 700px
   2 PRODUCTS PER ROW
========================= */
@media (min-width: 481px) and (max-width: 700px) {
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 20px;
    }

    .product-card {
        width: 100%;
        min-width: 0;
        border-radius: 11px;
    }

    .product-card img {
        width: 100%;
        height: 175px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 12px;
    }

    .product-card h3 {
        font-size: 0.9rem;
        line-height: 1.3;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-brand {
        font-size: 0.72rem;
        margin-bottom: 7px;
    }

    .product-price {
        gap: 5px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 0.95rem;
    }

    .original-price {
        font-size: 0.7rem;
    }

    .discount {
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .product-rating {
        gap: 4px;
        font-size: 11px;
        margin-bottom: 5px;
    }

    .product-rating .stars {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* =========================
   SMALL MOBILE
   361px - 480px
   2 PRODUCTS PER ROW
========================= */
@media (min-width: 361px) and (max-width: 480px) {
    .product-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 16px;
    }

    .product-card {
        min-width: 0;
        border-radius: 10px;
    }

    .product-card img {
        width: 100%;
        height: 145px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 10px;
    }

    .product-card h3 {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 5px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-brand {
        font-size: 0.65rem;
        margin-bottom: 6px;
    }

    .product-price {
        gap: 4px;
        margin-bottom: 6px;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 0.88rem;
    }

    .original-price {
        font-size: 0.65rem;
    }

    .discount {
        padding: 2px 5px;
        font-size: 0.55rem;
    }

    .product-rating {
        font-size: 10px;
        gap: 3px;
        margin-bottom: 3px;
    }

    .product-rating .stars {
        font-size: 11px;
        letter-spacing: 0;
    }
}

/* =========================
   VERY SMALL MOBILE
   320px - 360px
   STILL 2 PRODUCTS
========================= */
@media (max-width: 360px) {
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-top: 14px;
    }

    .product-card {
        min-width: 0;
        width: 100%;
        border-radius: 8px;
    }

    .product-card img {
        width: 100%;
        height: 125px;
        object-fit: cover;
    }

    .product-card-content {
        padding: 8px;
    }

    .product-card h3 {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 4px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-brand {
        font-size: 0.6rem;
        margin-bottom: 4px;
    }

    .product-price {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        margin-bottom: 4px;
    }

    .current-price {
        font-size: 0.8rem;
    }

    .original-price {
        font-size: 0.58rem;
    }

    .discount {
        padding: 2px 4px;
        font-size: 0.5rem;
    }

    .product-rating {
        font-size: 9px;
        gap: 2px;
        margin-bottom: 2px;
    }

    .product-rating .stars {
        font-size: 10px;
        letter-spacing: 0;
    }
}

/* =========================================================
   PRODUCT GRID CONTAINER SAFETY
========================================================= */
.product-grid,
.product-card {
    box-sizing: border-box;
}

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

/* Prevent long product names/prices from breaking cards */
.product-card h3,
.product-brand,
.product-price {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* =========================================================
   RISHTABOX PRODUCT DETAIL PAGE
   RESPONSIVE DESIGN
========================================================= */
/* =========================================================
   PRODUCT DETAIL - DESKTOP
   1201px+
========================================================= */
#productDetails {
    width: min(1400px, 94%);
    margin: 30px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 45px;
    align-items: start;
}

/* PRODUCT IMAGE */
#productDetails>div:first-child {
    width: 100%;
    min-width: 0;
}

#productDetails .product-image {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 520px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 18px;
}

/* PRODUCT INFORMATION */
#productDetails .product-info {
    width: 100%;
    min-width: 0;
    padding: 10px 5px;
}

#productDetails .product-info h1 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

#productDetails .brand {
    font-size: 15px;
    margin-bottom: 12px;
}

#productDetails .product-rating {
    margin-bottom: 15px;
}

#productDetails .product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

#productDetails .current-price {
    font-size: 28px;
    font-weight: 700;
}

#productDetails .original-price {
    font-size: 17px;
}

#productDetails .discount {
    font-size: 13px;
}

/* DESCRIPTION */
#productDetails .description {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 22px;
    overflow-wrap: anywhere;
}

/* OPTIONS */
#productDetails .product-option {
    width: 100%;
    margin-bottom: 20px;
}

#productDetails .option-group {
    margin-bottom: 15px;
}

#productDetails .option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

#productDetails .option-group select {
    width: 100%;
    max-width: 350px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
}

/* DELIVERY */
#productDetails .delivery-info {
    width: 100%;
    margin-top: 15px;
    padding: 18px;
    border-radius: 12px;
    box-sizing: border-box;
}

/* ACTION BUTTONS */
#productDetails .product-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

#productDetails .product-actions button {
    min-height: 52px;
    padding: 0 35px;
}

/* =========================================================
   LAPTOP
   901px - 1200px
========================================================= */
@media (min-width: 901px) and (max-width: 1200px) {
    #productDetails {
        width: 94%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 30px;
        margin: 25px auto;
    }

    #productDetails .product-image {
        height: 430px;
    }

    #productDetails .product-info h1 {
        font-size: 27px;
    }

    #productDetails .current-price {
        font-size: 24px;
    }

    #productDetails .description {
        font-size: 15px;
    }

    #productDetails .product-actions {
        gap: 12px;
    }

    #productDetails .product-actions button {
        padding: 0 25px;
    }
}

/* =========================================================
   TABLET
   701px - 900px
========================================================= */
@media (min-width: 701px) and (max-width: 900px) {
    #productDetails {
        width: 94%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
        margin: 22px auto;
    }

    #productDetails .product-image {
        height: 360px;
        border-radius: 14px;
    }

    #productDetails .product-info {
        padding: 5px;
    }

    #productDetails .product-info h1 {
        font-size: 23px;
    }

    #productDetails .brand {
        font-size: 14px;
    }

    #productDetails .current-price {
        font-size: 22px;
    }

    #productDetails .original-price {
        font-size: 14px;
    }

    #productDetails .description {
        font-size: 14px;
        line-height: 1.55;
    }

    #productDetails .delivery-info {
        padding: 14px;
        font-size: 14px;
    }

    #productDetails .product-actions {
        gap: 8px;
    }

    #productDetails .product-actions button {
        flex: 1;
        min-width: 0;
        padding: 0 12px;
        font-size: 14px;
    }
}

/* =========================================================
   MOBILE
   481px - 700px

   SINGLE COLUMN
========================================================= */
@media (min-width: 481px) and (max-width: 700px) {
    #productDetails {
        width: 94%;
        margin: 15px auto 30px;

        display: flex;
        flex-direction: column;

        gap: 18px;
    }

    /* IMAGE */
    #productDetails>div:first-child {
        width: 100%;
    }

    #productDetails .product-image {
        width: 100%;
        height: 330px;
        max-width: 100%;
        object-fit: contain;
        border-radius: 14px;
    }

    /* INFO */
    #productDetails .product-info {
        width: 100%;
        padding: 0;
    }

    #productDetails .product-info h1 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 7px;
    }

    #productDetails .brand {
        font-size: 13px;
        margin-bottom: 8px;
    }

    #productDetails .product-rating {
        margin-bottom: 10px;
    }

    #productDetails .current-price {
        font-size: 21px;
    }

    #productDetails .original-price {
        font-size: 14px;
    }

    #productDetails .discount {
        font-size: 11px;
    }

    /* DESCRIPTION */
    #productDetails .description {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 15px;
    }

    /* SELECT */
    #productDetails .option-group select {
        width: 100%;
        max-width: 100%;
        height: 44px;
    }

    /* DELIVERY */
    #productDetails .delivery-info {
        padding: 13px;
        font-size: 13px;
        margin-top: 10px;
    }

    /* BUTTONS */
    #productDetails .product-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 9px;
    }

    #productDetails .product-actions button {
        flex: 1;
        width: 50%;
        min-height: 48px;
        padding: 0 8px;
        font-size: 13px;
    }
}

/* =========================================================
   SMALL MOBILE
   361px - 480px
========================================================= */
@media (min-width: 361px) and (max-width: 480px) {
    #productDetails {
        width: 94%;
        margin: 12px auto 25px;

        display: flex;
        flex-direction: column;

        gap: 15px;
    }

    #productDetails .product-image {
        width: 100%;
        height: 270px;
        max-width: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    #productDetails .product-info {
        padding: 0;
        width: 100%;
    }

    #productDetails .product-info h1 {
        font-size: 19px;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    #productDetails .brand {
        font-size: 12px;
        margin-bottom: 6px;
    }

    #productDetails .product-rating {
        font-size: 12px;
        margin-bottom: 8px;
    }

    #productDetails .current-price {
        font-size: 19px;
    }

    #productDetails .original-price {
        font-size: 12px;
    }

    #productDetails .discount {
        padding: 3px 6px;
        font-size: 10px;
    }

    #productDetails .description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    #productDetails .option-group {
        margin-bottom: 10px;
    }

    #productDetails .option-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    #productDetails .option-group select {
        width: 100%;
        height: 41px;
        font-size: 13px;
    }

    #productDetails .delivery-info {
        padding: 11px;
        font-size: 12px;
        margin-top: 8px;
    }

    #productDetails .product-actions {
        width: 100%;
        display: flex;
        gap: 7px;
        margin-top: 14px;
    }

    #productDetails .product-actions button {
        flex: 1;
        width: 50%;
        min-height: 46px;
        padding: 0 5px;
        font-size: 12px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   <=360px
========================================================= */
@media (max-width: 360px) {
    #productDetails {
        width: 94%;
        margin: 10px auto 22px;

        display: flex;
        flex-direction: column;

        gap: 12px;
    }

    #productDetails .product-image {
        width: 100%;
        height: 225px;
        max-width: 100%;
        object-fit: contain;
        border-radius: 10px;
    }

    #productDetails .product-info {
        width: 100%;
        padding: 0;
    }

    #productDetails .product-info h1 {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 4px;
    }

    #productDetails .brand {
        font-size: 11px;
        margin-bottom: 5px;
    }

    #productDetails .product-rating {
        font-size: 11px;
        margin-bottom: 7px;
    }

    #productDetails .current-price {
        font-size: 17px;
    }

    #productDetails .original-price {
        font-size: 11px;
    }

    #productDetails .discount {
        font-size: 9px;
        padding: 2px 5px;
    }

    #productDetails .description {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    #productDetails .option-group label {
        font-size: 12px;
    }

    #productDetails .option-group select {
        width: 100%;
        height: 39px;
        font-size: 12px;
    }

    #productDetails .delivery-info {
        padding: 9px;
        font-size: 11px;
    }

    #productDetails .product-actions {
        width: 100%;
        gap: 6px;
        margin-top: 10px;
    }

    #productDetails .product-actions button {
        flex: 1;
        width: 50%;
        min-height: 43px;
        padding: 0 3px;
        font-size: 11px;
    }
}

/* =========================================================
   CUSTOMER REVIEWS
========================================================= */
#productPage .reviews-section,
#productPage .customer-reviews,
#productPage .review-section {
    width: min(1400px, 94%);
    margin: 35px auto;
    box-sizing: border-box;
}

/* TABLET */
@media (max-width: 900px) {
    #productPage .reviews-section,
    #productPage .customer-reviews,
    #productPage .review-section {
        width: 94%;
        margin: 25px auto;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    #productPage .reviews-section,
    #productPage .customer-reviews,
    #productPage .review-section {
        width: 94%;
        margin: 20px auto;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    #productPage .reviews-section,
    #productPage .customer-reviews,
    #productPage .review-section {
        width: 94%;
        margin: 16px auto;
    }
}

/* =========================================================
   ORDER SUMMARY - PRODUCT ITEM
   FIX IMAGE + PRODUCT NAME OVERLAPPING
========================================================= */
.order-items {
    width: 100%;
}

.order-item {
    width: 100%;
    min-width: 0;

    display: grid;

    /* Image | Product Details | Total Price */
    grid-template-columns: 120px minmax(0, 1fr) auto;

    align-items: center;

    gap: 22px;

    padding: 18px;

    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-sizing: border-box;

    overflow: hidden;
}

/* PRODUCT IMAGE */
.order-item>img {
    width: 120px;
    height: 120px;

    display: block;

    object-fit: cover;

    border-radius: 12px;

    flex-shrink: 0;
}

/* PRODUCT INFORMATION */
.order-item-info {
    min-width: 0;
    width: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    gap: 5px;

    overflow: hidden;
}

/* PRODUCT NAME */
.order-item-info h4 {
    width: 100%;

    margin: 0 0 8px;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.35;

    color: #1f2937;

    /* IMPORTANT:
       Long product name will wrap
       instead of going over image. */
    white-space: normal;

    overflow-wrap: anywhere;
    word-break: break-word;
}

/* QUANTITY */
.order-item-info p {
    margin: 0;

    font-size: 16px;

    line-height: 1.5;

    color: #64748b;
}

/* ITEM TOTAL */
.order-item>strong {
    white-space: nowrap;

    font-size: 18px;

    color: #1f2937;

    align-self: center;
}

/* =========================================================
   TABLET
   701px - 900px
========================================================= */
@media (min-width: 701px) and (max-width: 900px) {
    .order-item {
        grid-template-columns: 95px minmax(0, 1fr) auto;

        gap: 16px;

        padding: 14px;
    }

    .order-item>img {
        width: 95px;
        height: 95px;
    }

    .order-item-info h4 {
        font-size: 16px;
    }

    .order-item-info p {
        font-size: 14px;
    }

    .order-item>strong {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE
   481px - 700px
========================================================= */
@media (min-width: 481px) and (max-width: 700px) {
    .order-item {
        grid-template-columns: 100px minmax(0, 1fr);

        gap: 14px;

        padding: 13px;

        border-radius: 13px;
    }

    .order-item>img {
        width: 100px;
        height: 100px;
    }

    .order-item-info h4 {
        font-size: 15px;

        line-height: 1.35;

        margin-bottom: 6px;
    }

    .order-item-info p {
        font-size: 13px;
    }

    /* Total price moves below information */
    .order-item>strong {
        grid-column: 2;

        justify-self: start;

        margin-top: -5px;

        font-size: 15px;
    }
}

/* =========================================================
   SMALL MOBILE
   361px - 480px
========================================================= */
@media (min-width: 361px) and (max-width: 480px) {
    .order-item {
        grid-template-columns: 82px minmax(0, 1fr);

        gap: 11px;

        padding: 11px;

        border-radius: 12px;
    }

    .order-item>img {
        width: 82px;
        height: 82px;

        border-radius: 9px;
    }

    .order-item-info {
        min-width: 0;
    }

    .order-item-info h4 {
        font-size: 14px;

        line-height: 1.3;

        margin: 0 0 5px;

        /* Maximum 2 lines */
        display: -webkit-box;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .order-item-info p {
        font-size: 12px;

        line-height: 1.4;
    }

    .order-item>strong {
        grid-column: 2;

        justify-self: start;

        font-size: 14px;

        margin-top: -3px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
   <=360px
========================================================= */
@media (max-width: 360px) {
    .order-item {
        grid-template-columns: 72px minmax(0, 1fr);

        gap: 9px;

        padding: 9px;

        border-radius: 10px;
    }

    .order-item>img {
        width: 72px;
        height: 72px;

        border-radius: 8px;
    }

    .order-item-info {
        min-width: 0;
    }

    .order-item-info h4 {
        font-size: 13px;

        line-height: 1.25;

        margin: 0 0 4px;

        display: -webkit-box;

        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }

    .order-item-info p {
        font-size: 11px;

        line-height: 1.35;
    }

    .order-item>strong {
        grid-column: 2;

        justify-self: start;

        font-size: 13px;
    }
}

/* =========================================================
   RISHTABOX - ORDER PRODUCT
========================================================= */
.rb-order-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* PRODUCT CARD */
.rb-order-item {
    width: 100%;
    box-sizing: border-box;

    display: grid !important;

    grid-template-columns: 110px minmax(0, 1fr) auto;

    align-items: center;

    gap: 18px;

    padding: 16px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    overflow: visible !important;
}

/* IMAGE */
.rb-order-image {
    width: 110px;
    height: 110px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;
}

.rb-order-image img {
    width: 110px !important;
    height: 110px !important;

    max-width: 110px !important;
    max-height: 110px !important;

    object-fit: cover;

    display: block !important;

    border-radius: 12px;
}

/* DETAILS */
.rb-order-details {
    min-width: 0;

    width: 100%;

    display: flex !important;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    visibility: visible !important;

    opacity: 1 !important;

    overflow: visible !important;
}

/* PRODUCT NAME */
.rb-product-name {
    display: block !important;

    width: 100%;

    margin: 0 0 8px 0;

    color: #1f2937 !important;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.35;

    text-align: left;

    visibility: visible !important;

    opacity: 1 !important;

    overflow-wrap: anywhere;

    word-break: break-word;
}

/* QUANTITY */
.rb-product-quantity {
    display: block !important;

    margin: 2px 0;

    color: #64748b !important;

    font-size: 16px;

    line-height: 1.5;

    visibility: visible !important;

    opacity: 1 !important;
}

/* PRICE */
.rb-product-price {
    display: block !important;

    margin: 2px 0;

    color: #64748b !important;

    font-size: 16px;

    line-height: 1.5;

    visibility: visible !important;

    opacity: 1 !important;
}

/* ITEM TOTAL */
.rb-item-total {
    color: #1f2937 !important;

    font-size: 18px;

    font-weight: 700;

    white-space: nowrap;

    visibility: visible !important;

    opacity: 1 !important;
}

/* =========================================================
   TABLET
========================================================= */
@media (max-width: 900px) and (min-width: 701px) {
    .rb-order-item {
        grid-template-columns: 90px minmax(0, 1fr) auto;

        gap: 15px;

        padding: 14px;
    }

    .rb-order-image,
    .rb-order-image img {
        width: 90px !important;
        height: 90px !important;
    }

    .rb-product-name {
        font-size: 16px;
    }

    .rb-product-quantity,
    .rb-product-price {
        font-size: 14px;
    }

    .rb-item-total {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
    .rb-order-item {
        grid-template-columns: 85px minmax(0, 1fr);

        gap: 12px;

        padding: 12px;
    }

    .rb-order-image,
    .rb-order-image img {
        width: 85px !important;
        height: 85px !important;
    }

    .rb-product-name {
        font-size: 15px;

        line-height: 1.35;

        margin-bottom: 5px;
    }

    .rb-product-quantity,
    .rb-product-price {
        font-size: 13px;

        line-height: 1.45;
    }

    .rb-item-total {
        grid-column: 2;

        justify-self: start;

        font-size: 15px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .rb-order-item {
        grid-template-columns: 72px minmax(0, 1fr);

        gap: 10px;

        padding: 10px;
    }

    .rb-order-image,
    .rb-order-image img {
        width: 72px !important;
        height: 72px !important;
    }

    .rb-product-name {
        font-size: 13px;

        line-height: 1.3;
    }

    .rb-product-quantity,
    .rb-product-price {
        font-size: 12px;

        line-height: 1.4;
    }

    .rb-item-total {
        font-size: 13px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 360px) {
    .rb-order-item {
        grid-template-columns: 65px minmax(0, 1fr);

        gap: 9px;

        padding: 9px;
    }

    .rb-order-image,
    .rb-order-image img {
        width: 65px !important;
        height: 65px !important;
    }

    .rb-product-name {
        font-size: 12px;
    }

    .rb-product-quantity,
    .rb-product-price {
        font-size: 11px;
    }

    .rb-item-total {
        font-size: 12px;
    }
}

/* =========================================================
   ACCOUNT PANEL
========================================================= */
.account-panel {
    position: fixed;

    top: 0;
    right: 0;

    width: 340px;
    max-width: 90%;

    height: 100vh;

    background: #ffffff;

    z-index: 999999;

    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.20);

    transform: translateX(100%);

    transition: transform 0.3s ease;

    display: block;
}

.account-panel.active {
    transform: translateX(0);
}

/* Header */
.account-panel-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px;

    background: #3b1f2b;

    color: #ffffff;
}

.account-panel-header h3 {
    margin: 0 0 5px;
}

.account-panel-header p {
    margin: 0;

    font-size: 13px;

    color: #eadde2;
}

/* Close */
.account-close {
    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 30px;

    cursor: pointer;
}

/* Options */
.account-panel-body {
    padding: 10px 0;
}

.account-option {
    width: 100%;

    min-height: 50px;

    padding: 12px 20px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    gap: 14px;

    border: none;

    background: transparent;

    color: #333333;

    text-decoration: none;

    font-size: 15px;

    cursor: pointer;

    text-align: left;
}

.account-option:hover {
    background: #fff1f6;

    color: #e35486;
}

/* Divider */
.account-divider {
    height: 1px;

    background: #eeeeee;

    margin: 8px 20px;
}

/* Logout */
.logout-btn {
    color: #d9534f;
}

.logout-btn:hover {
    background: #fff1f1;

    color: #c9302c;
}

/* Mobile */
@media (max-width: 767px) {
    .account-panel {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   GIFTS BY RELATIONSHIP / FESTIVAL / CATEGORY
   CENTER HEADINGS
========================================================= */
#relationships>.container,
#festivals>.container,
#categories>.container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
}

#relationships>.container h2,
#festivals>.container h2,
#categories>.container h2 {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Space between section heading and cards */
#relationships>.container,
#festivals>.container,
#categories>.container {
    padding-bottom: 30px !important;
}

/* =========================================================
   SHOP NAVIGATION - BACK / SCROLL / MORE
========================================================= */
.shop-nav-wrapper {
    width: 100%;
    height: 56px;

    display: flex !important;
    align-items: stretch !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #f3e1e7 !important;

    box-sizing: border-box;

    position: relative;

    overflow: visible !important;
}

/* =========================================================
   BACK + MORE BUTTONS
========================================================= */
.nav-scroll-btn {
    flex: 0 0 auto !important;

    width: 100px;
    height: 56px;

    margin: 0 !important;
    padding: 0 14px !important;

    border: none !important;
    border-radius: 0 !important;
    outline: none !important;

    background: #f3e1e7 !important;
    color: #4a2635 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    white-space: nowrap;

    cursor: pointer;

    appearance: none !important;
    -webkit-appearance: none !important;

    box-sizing: border-box;

    z-index: 50;
}

/* =========================================================
   BACK BUTTON
========================================================= */
.nav-back-btn {
    border-right: 1px solid rgba(74, 38, 53, 0.15) !important;
}

/* =========================================================
   MORE BUTTON
========================================================= */
.nav-more-btn {
    border-left: 1px solid rgba(74, 38, 53, 0.15) !important;
}

/* =========================================================
   HOVER
========================================================= */
.nav-scroll-btn:hover {
    background: #f3c4d4 !important;
    color: #e35486 !important;
}

/* =========================================================
   ACTIVE
========================================================= */
.nav-scroll-btn:active {
    background: #3d202d !important;
}

/* =========================================================
   FOCUS
========================================================= */
.nav-scroll-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* =========================================================
   SCROLLABLE NAVIGATION
========================================================= */
.shop-nav-scroll {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    height: 56px;

    margin: 0 !important;
    padding: 0 !important;

    scroll-behavior: smooth;

    box-sizing: border-box;
}

/* =========================================================
   EXISTING PANEL
========================================================= */
.shop-nav-scroll .panel {
    width: max-content !important;
    min-width: 100% !important;

    height: 56px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;

    flex-wrap: nowrap !important;

    justify-content: flex-start !important;

    background: #f3e1e7 !important;

    box-sizing: border-box;

    overflow: visible !important;
}

/* =========================================================
   NAVIGATION ITEMS
========================================================= */
.shop-nav-scroll .panel>* {
    flex: 0 0 auto !important;

    height: 56px;

    margin: 0 !important;

    box-sizing: border-box;
}

/* =========================================================
   ALL GIFTS
========================================================= */
.shop-nav-scroll .panel-all {
    display: flex !important;
    align-items: center !important;

    height: 56px !important;
}

.shop-nav-scroll .panel-all a {
    height: 56px !important;

    padding: 0 18px !important;

    color: #4a2635 !important;
    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

/* =========================================================
   DROPDOWN ITEMS
========================================================= */
.shop-nav-scroll .nav-dropdown {
    height: 56px !important;

    display: flex !important;
    align-items: center !important;

    position: relative;

    flex: 0 0 auto !important;
}

.shop-nav-scroll .dropdown-btn {
    height: 56px !important;

    margin: 0 !important;

    padding: 0 18px !important;

    border: none !important;
    outline: none !important;

    background: transparent !important;

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    white-space: nowrap;

    cursor: pointer;
}

/* =========================================================
   SPECIAL OFFERS
========================================================= */
.shop-nav-scroll .panel-deals {
    height: 56px !important;

    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;
}

.shop-nav-scroll .panel-deals a {
    height: 56px !important;

    padding: 0 18px !important;

    color: #4a2635 !important;
    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
    .shop-nav-wrapper {
        height: 35px !important;
    }

    .nav-scroll-btn {
        width: 82px;

        height: 35px !important;

        padding: 0 10px !important;

        font-size: 14px !important;
    }

    .shop-nav-scroll {
        height: 35px !important;

        overflow-x: auto !important;

        touch-action: pan-x;
    }

    .shop-nav-scroll .panel {
        height: 35px !important;
    }

    .shop-nav-scroll .panel>* {
        height: 35px !important;
    }

    .shop-nav-scroll .panel-all,
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .nav-dropdown,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals,
    .shop-nav-scroll .panel-deals a {
        height: 35px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .nav-scroll-btn {
        width: 72px;

        height: 30px !important;

        padding: 0 7px !important;

        font-size: 12px !important;
    }

    .shop-nav-scroll .panel>* {
        height: 30px !important;
    }

    .shop-nav-scroll .panel-all,
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .nav-dropdown,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals,
    .shop-nav-scroll .panel-deals a {
        height: 30px !important;
    }
}

/* =========================================================
   TABLET + MOBILE + SMALL MOBILE
   NAVIGATION TEXT LEFT ALIGNMENT
========================================================= */
@media (max-width: 1024px) {
    /* All Gifts */
    .shop-nav-scroll .panel-all a {
        justify-content: flex-start !important;
        text-align: left !important;
        padding-left: 14px !important;
        padding-right: 8px !important;
    }

    /* Dropdown buttons */
    .shop-nav-scroll .dropdown-btn {
        display: flex !important;
        align-items: center !important;

        justify-content: flex-start !important;

        text-align: left !important;

        padding-left: 14px !important;
        padding-right: 8px !important;

        gap: 6px !important;
    }

    /* Special Offers */
    .shop-nav-scroll .panel-deals a {
        justify-content: flex-start !important;
        text-align: left !important;

        padding-left: 14px !important;
        padding-right: 8px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 768px) {
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals a {
        font-size: 13px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
/* =========================================================
   NAVIGATION - HORIZONTAL SCROLL ONLY
========================================================= */
.shop-nav-wrapper {
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: none !important;
}

/* Navigation scrolling area */
.shop-nav-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;

    touch-action: pan-x !important;

    overscroll-behavior-x: contain !important;
    overscroll-behavior-y: none !important;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

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

/* Navigation content */
.shop-nav-scroll .panel {
    touch-action: pan-x !important;
}

/* =========================================================
   MOBILE / TABLET
========================================================= */
@media (max-width: 1024px) {
    .shop-nav-wrapper {
        touch-action: pan-x !important;
    }
}

/* =========================================================
   NAVIGATION - LEFT ALIGN ALL TEXT
========================================================= */
.shop-nav-scroll .panel-all,
.shop-nav-scroll .nav-dropdown,
.shop-nav-scroll .panel-deals {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

/* All Gifts */
.shop-nav-scroll .panel-all a {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    text-align: left !important;

    padding-left: 18px !important;
    padding-right: 10px !important;

    box-sizing: border-box !important;
}

/* Dropdown buttons */
.shop-nav-scroll .dropdown-btn {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    text-align: left !important;

    padding-left: 18px !important;
    padding-right: 10px !important;

    gap: 7px !important;

    box-sizing: border-box !important;
}

/* Special Offers */
.shop-nav-scroll .panel-deals a {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    text-align: left !important;

    padding-left: 18px !important;
    padding-right: 10px !important;

    box-sizing: border-box !important;
}

/* =========================================================
   TABLET / MOBILE
========================================================= */
@media (max-width: 1024px) {
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals a {
        padding-left: 14px !important;
        padding-right: 8px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals a {
        padding-left: 10px !important;
        padding-right: 5px !important;
    }
}

/* =========================================================
   FIX MOBILE/TABLET NAV TEXT POSITION
========================================================= */
@media (max-width: 1024px) {
    .shop-nav-scroll .nav-dropdown {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        text-align: left !important;
    }

    .shop-nav-scroll .nav-dropdown .dropdown-btn {
        width: auto !important;
        min-width: max-content !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        text-align: left !important;

        padding-left: 14px !important;
        padding-right: 10px !important;

        margin: 0 !important;

        gap: 6px !important;
    }

    .shop-nav-scroll .nav-dropdown .dropdown-btn span {
        margin-left: 0 !important;

        position: static !important;

        display: inline-block !important;

        transform: none !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .shop-nav-scroll .nav-dropdown .dropdown-btn {
        padding-left: 10px !important;
        padding-right: 8px !important;

        font-size: 12px !important;
    }
}

/* =========================================================
   MOBILE / TABLET
   BACK + 2 CENTERED NAV ITEMS + MORE
========================================================= */
@media (max-width: 1024px) {
    .shop-nav-wrapper {
        display: flex !important;
        width: 100% !important;
        height: 40px !important;

        overflow: hidden !important;

        padding: 0 !important;
        margin: 0 !important;
    }

    /* =========================================
       BACK
    ========================================= */
    .nav-back-btn {
        flex: 0 0 82px !important;

        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;

        height: 40px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }

    /* =========================================
       MIDDLE SCROLL AREA
    ========================================= */
    .shop-nav-scroll {
        flex: 1 1 auto !important;

        width: auto !important;
        min-width: 0 !important;

        height: 40px !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        scrollbar-width: none !important;

        touch-action: pan-x !important;
    }

    .shop-nav-scroll::-webkit-scrollbar {
        display: none !important;
    }

    /* =========================================
       PANEL
    ========================================= */
    .shop-nav-scroll .panel {
        display: flex !important;

        width: max-content !important;
        min-width: 100% !important;

        height: 40px !important;

        padding: 0 !important;
        margin: 0 !important;

        align-items: stretch !important;
        justify-content: flex-start !important;

        flex-wrap: nowrap !important;
    }

    /* =========================================
       EACH NAV ITEM
       NO min-width
    ========================================= */
    .shop-nav-scroll .panel-all,
    .shop-nav-scroll .nav-dropdown,
    .shop-nav-scroll .panel-deals {
        flex: 0 0 calc(50vw - 82px) !important;

        width: calc(50vw - 82px) !important;

        min-width: calc(50vw - 82px) !important;

        max-width: calc(50vw - 82px) !important;

        height: 40px !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }

    /* =========================================
       TEXT INSIDE ITEMS
    ========================================= */
    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals a {
        width: 100% !important;
        height: 40px !important;

        padding: 0 5px !important;
        margin: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;
    }

    /* Arrow stays with text */
    .shop-nav-scroll .dropdown-btn span {
        position: static !important;

        display: inline-block !important;

        margin: 0 0 0 6px !important;

        transform: none !important;

        flex: 0 0 auto !important;
    }

    /* =========================================
       MORE
    ========================================= */
    .nav-more-btn {
        flex: 0 0 82px !important;

        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;

        height: 52px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;

        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .shop-nav-wrapper {
        height: 35px !important;
    }

    .nav-back-btn,
    .nav-more-btn {
        flex: 0 0 72px !important;

        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;

        height: 35px !important;
    }

    .shop-nav-scroll {
        height: 35px !important;
    }

    .shop-nav-scroll .panel {
        height: 35px !important;
    }

    .shop-nav-scroll .panel-all,
    .shop-nav-scroll .nav-dropdown,
    .shop-nav-scroll .panel-deals {
        flex: 0 0 calc(50vw - 72px) !important;

        width: calc(50vw - 72px) !important;

        min-width: calc(50vw - 72px) !important;

        max-width: calc(50vw - 72px) !important;

        height: 35px !important;
    }

    .shop-nav-scroll .panel-all a,
    .shop-nav-scroll .dropdown-btn,
    .shop-nav-scroll .panel-deals a {
        height: 35px !important;

        padding: 0 3px !important;

        font-size: 12px !important;

        justify-content: center !important;
        text-align: center !important;
    }
}

/* =========================================================
   FINAL SHOP NAV TEXT COLOR
========================================================= */
.shop-nav-scroll .panel-all a,
.shop-nav-scroll .dropdown-btn,
.shop-nav-scroll .panel-deals a {
    color: #4a2635 !important;
}

/* Hover */
.shop-nav-scroll .panel-all a:hover,
.shop-nav-scroll .dropdown-btn:hover,
.shop-nav-scroll .panel-deals a:hover {
    color: #e35486 !important;
    background: #f3c4d4 !important;
}

/* =========================================================
   FINAL SHOP NAV CLICK COLOR
========================================================= */
.nav-back-btn:active,
.nav-more-btn:active,
.shop-nav-scroll .panel-all a:active,
.shop-nav-scroll .dropdown-btn:active,
.shop-nav-scroll .panel-deals a:active {
    background: #f3c4d4 !important;
    color: #e35486 !important;
}

/* =========================================================
   DESKTOP ONLY - DROPDOWN FIX
   KEEP SCROLL + MORE WORKING
========================================================= */
@media (min-width: 1025px) {
    .shop-nav-scroll .nav-dropdown {
        position: relative !important;
        z-index: 10000 !important;
    }

    .shop-nav-scroll .nav-dropdown .dropdown-menu {
        position: fixed !important;

        display: none !important;

        min-width: 180px !important;

        padding: 8px 0 !important;
        margin: 0 !important;

        background: #ffffff !important;

        border: 1px solid #e8dce1 !important;
        border-radius: 0 0 10px 10px !important;

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;

        z-index: 999999 !important;

        transform: none !important;
    }

    .shop-nav-scroll .nav-dropdown:hover .dropdown-menu,
    .shop-nav-scroll .nav-dropdown.active .dropdown-menu {
        display: block !important;
    }

    .shop-nav-scroll .nav-dropdown .dropdown-menu a {
        display: block !important;
        padding: 10px 18px !important;
        background: #ffffff !important;
        color: #4a2635 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .shop-nav-scroll .nav-dropdown .dropdown-menu a:hover {
        background: #fff0f5 !important;
        color: #e35486 !important;
    }

    /* =========================================================
   LAPTOP / DESKTOP ONLY
   ENTIRE PINK NAVIGATION STRIP = 40px
========================================================= */
    /* COMPLETE OUTER PINK STRIP */
    .shop-nav-wrapper {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding: 0 !important;
        margin: 0 !important;

        box-sizing: border-box !important;

        overflow: visible !important;
    }

    /* BACK + MORE */
    .nav-scroll-btn {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        box-sizing: border-box !important;
    }

    /* SCROLL AREA */
    .shop-nav-scroll {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding: 0 !important;
        margin: 0 !important;

        box-sizing: border-box !important;

        overflow-x: auto !important;
        overflow-y: visible !important;
    }

    /* INNER PINK PANEL */
    .shop-nav-scroll .panel {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding: 0 !important;
        margin: 0 !important;

        box-sizing: border-box !important;
    }

    /* EVERY ITEM INSIDE PANEL */
    .shop-nav-scroll .panel>* {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        padding-top: 0 !important;
        padding-bottom: 0 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;

        box-sizing: border-box !important;
    }

    /* ALL GIFTS */
    .shop-nav-scroll .panel-all,
    .shop-nav-scroll .panel-all a {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        box-sizing: border-box !important;
    }

    /* DROPDOWN BUTTONS */
    .shop-nav-scroll .nav-dropdown,
    .shop-nav-scroll .dropdown-btn {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        box-sizing: border-box !important;
    }

    /* SPECIAL OFFERS */
    .shop-nav-scroll .panel-deals,
    .shop-nav-scroll .panel-deals a {
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        box-sizing: border-box !important;
    }

    /* Desktop dropdown placement */
    .nav-dropdown > .dropdown-menu.mobile-open {
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }
}

.auth-back-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: none;
    background: transparent;
    color: #e35486;
    font-size: 14px;
    cursor: pointer;
}

.auth-back-btn:hover {
    text-decoration: underline;
}

/* =========================================================
   OTP BUTTONS - WHITE BACKGROUND
========================================================= */
#sendMobileOtpBtn,
#sendEmailOtpBtn,
#sendLoginOtpBtn,
#verifyMobileOtpBtn,
#verifyEmailOtpBtn,
#verifyLoginOtpBtn {
    background: #ffffff;
    color: #e35486;
    border: 1px solid #e35486;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* Hover */
#sendMobileOtpBtn:hover,
#sendEmailOtpBtn:hover,
#sendLoginOtpBtn:hover,
#verifyMobileOtpBtn:hover,
#verifyEmailOtpBtn:hover,
#verifyLoginOtpBtn:hover {
    background: #fff5f8;
    color: #d94376;
    border-color: #d94376;
}

/* Disabled */
#sendMobileOtpBtn:disabled,
#sendEmailOtpBtn:disabled,
#sendLoginOtpBtn:disabled,
#verifyMobileOtpBtn:disabled,
#verifyEmailOtpBtn:disabled,
#verifyLoginOtpBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================================
   RISHTABOX - DISCOUNT BADGE VISIBILITY FIX
========================================================= */
.discount {
    background: #e53935 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* Fix unwanted page jumping during content updates */
html {
    overflow-anchor: none !important;
}

body {
    scroll-behavior: auto !important;
}

/* Dropdown opens only after clicking */
.nav-dropdown:hover > .dropdown-menu:not(.mobile-open) {
    display: none !important;
}

/* Position dropdown relative to its own button */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .dropdown-menu.mobile-open {
    display: block !important;
    z-index: 99999;
}

/* Same animation speed for all homepage sliders */
.relationship-card,
.festival-card,
.category-card {
    /* Do not set slider speed on cards */
}

/* RishtaBox: reduce slider-related scroll stutter */
.shop-slider-wrapper {
    max-width: 100%;
}

/* Pause animation when the slider is hovered (mouse devices only;
   on touch screens :hover sticks after a tap and froze the slider) */
@media (hover: hover) and (pointer: fine) {
    .shop-slider-wrapper:hover .shop-slider-track {
        animation-play-state: paused;
    }
}

/* Disable continuous motion when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .shop-slider-track {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }
}

/* My Orders - product name and image layout fix */
.order-details .order-items .cart-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    width: 100%;
    box-sizing: border-box;
}

.order-details .order-items .cart-item > img {
    display: block;
    flex: 0 0 84px;
    width: 84px !important;
    height: 84px !important;
    max-width: 84px;
    object-fit: cover;
    border-radius: 8px;
}

.order-details .order-items .cart-item-details {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    overflow-wrap: anywhere;
}

.order-details .order-items .cart-item-details h3 {
    display: block;
    position: static;
    width: 100%;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.order-details .order-items .cart-item-details p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
}

@media (max-width: 480px) {
    .order-details .order-items .cart-item {
        gap: 10px !important;
    }

    .order-details .order-items .cart-item > img {
        flex-basis: 76px;
        width: 76px !important;
        height: 76px !important;
        max-width: 76px;
    }

    .order-details .order-items .cart-item-details h3 {
        font-size: 14px;
    }
}

/* FIX: full blogs page grid; keep homepage blogs carousel unchanged */
#blogsPage #allBlogsContainer {
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    align-items: stretch;
    padding: 10px 0 30px;
}

@media (max-width: 900px) {
    #blogsPage #allBlogsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 560px) {
    #blogsPage #allBlogsContainer {
        grid-template-columns: 1fr;
    }
}

/* Blogs page: fix header overlap and responsive layout */
#blogsPage.blog-page {
    position: relative;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
    padding-top: 24px !important;
    min-height: 100vh;
    box-sizing: border-box;
}

#blogsPage #allBlogsContainer {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

#blogsPage #allBlogsContainer .blog-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: initial !important;
}

#blogsPage #allBlogsContainer .blog-infinite-scroll-sentinel {
    grid-column: 1 / -1;
}

/* Tablet */
@media (max-width: 1024px) {
    #blogsPage.blog-page {
        padding-top: 125px !important;
    }

    #blogsPage #allBlogsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
    }
}

/* Mobile: two cards per row */
@media (max-width: 560px) {
    #blogsPage.blog-page {
        padding-top: 105px !important;
    }

    #blogsPage #allBlogsContainer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    #blogsPage #allBlogsContainer .blog-card,
    #blogsPage #allBlogsContainer .blog-image-wrapper,
    #blogsPage #allBlogsContainer .blog-card img {
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* Laptop-only: remove excessive blank space on Blogs page */
@media (min-width: 1025px) {
    #blogsPage.blog-page {
        position: relative !important;
        margin-top: 0 !important;
        padding-top: 130px !important;
        top: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
        min-height: 100vh;
    }

    #blogsPage.blog-page .blog-page-header {
        margin-top: 0 !important;
    }
}

/* Back to Home: left aligned, other blog heading content centered */
#blogsPage .blog-page-header {
    text-align: center !important;
}

#blogsPage .blog-page-header .blog-back-btn {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 16px 0 !important;
    text-align: left !important;
}

/* =========================================================
   MOBILE SPACING FIX - OVERRIDES ONLY
   Keeps header, hero/banner and page content visible
========================================================= */
@media screen and (max-width: 1024px) {
    :root {
        --header-height: 172px;
        --bottom-nav-height: 70px;
    }

    .page {
        padding-top: var(--header-height) !important;
        box-sizing: border-box;
    }

    #homePage {
        padding-top: 120px !important;
        margin-top: 0 !important;
    }

    #homePage .hero,
    #homePage .hero-section,
    #homePage .hero-slider,
    #homePage .banner-section {
        margin-top: 0 !important;
    }

    #homePage .main-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    :root {
        --header-height: 150px;
        --bottom-nav-height: 65px;
    }

    .page {
        padding-top: var(--header-height) !important;
    }

    /* FIX: Keep homepage hero below the fixed header */
    #homePage {
        padding-top: 172px !important;
    }
}

@media screen and (max-width: 375px) {
    :root {
        --header-height: 140px;
    }

    #homePage {
        padding-top: 172px !important;
    }
}

/* TABLET ONLY: Keep homepage banner below the fixed header */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    #homePage {
        padding-top: 189px !important;
        margin-top: 0 !important;
        box-sizing: border-box;
    }

    #homePage .hero,
    #homePage .hero-slider {
        margin-top: 0 !important;
    }

    /* TABLET ONLY: Fix testimonial card sizing */
    .testimonials-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .testimonials-slider-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonials-slider {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .testimonials-container {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .testimonial-card {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    .testimonial-card .customer-info img {
        max-width: 100%;
        object-fit: cover;
    }

    .testimonial-card .testimonial-text {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    /* TABLET ONLY: Standardize testimonial card height */
    .testimonials-section .testimonial-card {
        height: 280px !important;
        min-height: 280px !important;
        max-height: 280px !important;
        padding: 18px !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .testimonials-section .testimonial-card .customer-info img {
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0;
        object-fit: cover;
    }

    .testimonials-section .testimonial-card .testimonial-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
}

/* MOBILE FIX: prevent shop navigation labels from overlapping */
@media screen and (max-width: 480px) {
    .shop-nav-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        gap: 0 !important;
    }

    .nav-back-btn,
    .nav-more-btn {
        flex: 0 0 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        padding: 0 3px !important;
        font-size: 11px !important;
    }

    .shop-nav-scroll {
        flex: 1 1 0 !important;
        width: 0 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        gap: 0 !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .shop-nav-scroll::-webkit-scrollbar {
        display: none !important;
    }

    .shop-nav-scroll .nav-dropdown {
        flex: 0 0 max-content !important;
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
        height: 35px !important;
        position: relative !important;
    }

    .shop-nav-scroll .dropdown-btn {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
        height: 35px !important;
        padding: 0 9px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        font-size: 12px !important;
        line-height: normal !important;
    }

    .shop-nav-scroll .dropdown-btn span {
        position: static !important;
        flex: 0 0 auto !important;
        margin-left: 4px !important;
    }
}

/* =========================================================
   RISHTABOX FIX: SLIDING CARD EMPTY SPACE
   Keep slider cards consistent; remove excess content height
========================================================= */
.shop-slider-track > .shop-card > .category-card-content p {
    overflow-wrap: anywhere;
}

/* =====================================================
   RISHTABOX MOBILE LAYOUT SPACING FIX
   Compact slider cards and remove unwanted vertical gaps
===================================================== */
@media (max-width: 650px) {
    .shop-slider-wrapper {
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .shop-slider-track > .shop-card > .category-card-content h3 {
        margin: 0 0 5px;
    }

    .shop-slider-track > .shop-card > .category-card-content p {
        margin: 0;
    }

    .shop-slider-track > .shop-card > .category-btn {
        line-height: 1.3;
    }

    .pinned-shop-grid {
        margin-top: 8px;
        margin-bottom: 12px;
    }
}

/* RISHTABOX CATEGORY SLIDER - ALIGN ALL CARDS */
.shop-slider-wrapper {
    display: block !important;
    overflow: hidden;
    width: 100%;
    contain: layout paint style;
}

.shop-slider-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
}

.shop-slider-track > .shop-card {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transform: none;
    justify-content: flex-start !important;
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

.shop-slider-track > .shop-card > .category-card-content {
    margin-top: 0 !important;
    overflow: hidden;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 14px 4px !important;
    box-sizing: border-box !important;
}

/* TEMP TEST: prevent slider cards moving on hover */
.shop-slider-track > .shop-card:hover {
    transform: none !important;
}

/* FIX: Keep category slider cards at equal height */
/* FINAL FIX: Remove unused space inside category slider cards */
.shop-slider-track > .shop-card > .category-card-content h3,
.shop-slider-track > .shop-card > .category-card-content p {
    margin-bottom: 4px !important;
}

.shop-slider-track > .shop-card > .category-btn {
    margin-top: 4px !important;
    margin-bottom: 10px !important;
}

/* FINAL FIX: Third slider cards aligned consistently */
.shop-slider-track > .shop-card > .category-card-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
    margin: 0 0 5px !important;
}

.shop-slider-track > .shop-card > .category-card-content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.4;
    margin: 0 !important;
}

.shop-slider-track > .shop-card > .category-btn {
    flex: 0 0 auto !important;
    margin: auto 14px 12px !important;
    box-sizing: border-box !important;
}

@media (max-width: 650px) {
    .shop-slider-track > .shop-card > img {
        flex-basis: 130px !important;
    }
}

/* STANDARD IMAGE SIZE - CATEGORY SLIDER */
.shop-slider-track > .shop-card > img {
    display: block !important;
    flex: 0 0 180px !important;
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    box-sizing: border-box !important;
}

/* PINNED CARDS: STANDARD IMAGE AND CARD SIZE */
.pinned-shop-grid > .shop-card > img,
.pinned-shop-grid > .category-card > img,
.pinned-shop-grid > .festival-card > img,
.pinned-shop-grid > .relationship-card > img {
    object-position: center !important;
    max-height: 140px !important;
    display: block !important;
    flex: 0 0 140px !important;
    width: 100% !important;
    height: 140px !important;
    min-height: 140px !important;
    object-fit: cover !important;
}

/* PINNED CARDS: REMOVE UNUSED SPACE */
.pinned-shop-grid > .shop-card,
.pinned-shop-grid > .category-card,
.pinned-shop-grid > .festival-card,
.pinned-shop-grid > .relationship-card {
    padding-bottom: 0 !important;
    justify-content: flex-start !important;
}

.pinned-shop-grid > .shop-card > .category-card-content,
.pinned-shop-grid > .category-card > .category-card-content,
.pinned-shop-grid > .festival-card > .category-card-content,
.pinned-shop-grid > .relationship-card > .category-card-content {
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

/* PINNED CARDS: ALIGN BOTTOM WITHOUT CUTTING CONTENT */
.pinned-shop-grid > .shop-card > .category-btn,
.pinned-shop-grid > .category-card > .category-btn,
.pinned-shop-grid > .festival-card > .category-btn,
.pinned-shop-grid > .relationship-card > .category-btn {
    margin: auto 8px 8px !important;
}

@media (max-width: 650px) {
    .pinned-shop-grid > .shop-card > img,
    .pinned-shop-grid > .category-card > img,
    .pinned-shop-grid > .festival-card > img,
    .pinned-shop-grid > .relationship-card > img {
        flex-basis: 85px !important;
    }
}

/* PINNED CARDS: REMOVE FLEX-GROWN EMPTY SPACE */
.pinned-shop-grid > .shop-card > .category-card-content,
.pinned-shop-grid > .category-card > .category-card-content,
.pinned-shop-grid > .festival-card > .category-card-content,
.pinned-shop-grid > .relationship-card > .category-card-content {
    margin-bottom: 0 !important;
}

/* PINNED CARDS: SAME BOTTOM, CONTENT-BASED LAYOUT */
.pinned-shop-grid {
    display: grid;
    align-items: stretch !important;
    grid-auto-rows: 1fr;
}

.pinned-shop-grid > .shop-card,
.pinned-shop-grid > .category-card,
.pinned-shop-grid > .festival-card,
.pinned-shop-grid > .relationship-card {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

.pinned-shop-grid > .shop-card > .category-card-content,
.pinned-shop-grid > .category-card > .category-card-content,
.pinned-shop-grid > .festival-card > .category-card-content,
.pinned-shop-grid > .relationship-card > .category-card-content {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.pinned-shop-grid > .shop-card > .category-btn,
.pinned-shop-grid > .category-card > .category-btn,
.pinned-shop-grid > .festival-card > .category-btn,
.pinned-shop-grid > .relationship-card > .category-btn {
    flex: 0 0 auto !important;
    margin-top: auto !important;
}

/* PINNED CARDS: STANDARD MOBILE + SMALL MOBILE */
@media (max-width: 650px) {
    .pinned-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pinned-shop-grid > .shop-card,
    .pinned-shop-grid > .category-card,
    .pinned-shop-grid > .festival-card,
    .pinned-shop-grid > .relationship-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        box-sizing: border-box !important;
    }

    .pinned-shop-grid > .shop-card > img,
    .pinned-shop-grid > .category-card > img,
    .pinned-shop-grid > .festival-card > img,
    .pinned-shop-grid > .relationship-card > img {
        width: 100% !important;
        height: 100px !important;
        min-height: 100px !important;
        max-height: 100px !important;
        flex: 0 0 100px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content,
    .pinned-shop-grid > .category-card > .category-card-content,
    .pinned-shop-grid > .festival-card > .category-card-content,
    .pinned-shop-grid > .relationship-card > .category-card-content {
        padding: 8px !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content h3,
    .pinned-shop-grid > .category-card > .category-card-content h3,
    .pinned-shop-grid > .festival-card > .category-card-content h3,
    .pinned-shop-grid > .relationship-card > .category-card-content h3 {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content p,
    .pinned-shop-grid > .category-card > .category-card-content p,
    .pinned-shop-grid > .festival-card > .category-card-content p,
    .pinned-shop-grid > .relationship-card > .category-card-content p {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .pinned-shop-grid > .shop-card > .category-btn,
    .pinned-shop-grid > .category-card > .category-btn,
    .pinned-shop-grid > .festival-card > .category-btn,
    .pinned-shop-grid > .relationship-card > .category-btn {
        margin: auto 8px 8px !important;
        padding: 8px 5px !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 380px) {
    .pinned-shop-grid {
        gap: 8px !important;
    }

    .pinned-shop-grid > .shop-card > img,
    .pinned-shop-grid > .category-card > img,
    .pinned-shop-grid > .festival-card > img,
    .pinned-shop-grid > .relationship-card > img {
        height: 85px !important;
        min-height: 85px !important;
        max-height: 85px !important;
        flex-basis: 85px !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content,
    .pinned-shop-grid > .category-card > .category-card-content,
    .pinned-shop-grid > .festival-card > .category-card-content,
    .pinned-shop-grid > .relationship-card > .category-card-content {
        padding: 6px !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content h3,
    .pinned-shop-grid > .category-card > .category-card-content h3,
    .pinned-shop-grid > .festival-card > .category-card-content h3,
    .pinned-shop-grid > .relationship-card > .category-card-content h3 {
        font-size: 12px !important;
    }

    .pinned-shop-grid > .shop-card > .category-btn,
    .pinned-shop-grid > .category-card > .category-btn,
    .pinned-shop-grid > .festival-card > .category-btn,
    .pinned-shop-grid > .relationship-card > .category-btn {
        margin-right: 6px !important;
        margin-left: 6px !important;
        padding: 7px 4px !important;
        font-size: 10px !important;
    }
}

/* ONLY PINNED CARDS: 4 PER ROW ON MOBILE */
@media (max-width: 650px) {
    .pinned-shop-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 8px !important;
        align-items: stretch !important;
    }

    .pinned-shop-grid > .shop-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }

    .pinned-shop-grid > .shop-card > img {
        width: 100% !important;
        height: 75px !important;
        min-height: 75px !important;
        max-height: 75px !important;
        flex: 0 0 75px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content {
        min-width: 0 !important;
        padding: 5px !important;
        overflow-wrap: anywhere !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content h3 {
        font-size: 10px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    .pinned-shop-grid > .shop-card > .category-card-content p {
        font-size: 9px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    .pinned-shop-grid > .shop-card > .category-btn {
        min-width: 0 !important;
        margin: auto 4px 5px !important;
        padding: 5px 2px !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    /* SLIDER: STANDARD SIZE ON MOBILE AND SMALL MOBILE */
    .shop-slider-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .shop-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .shop-slider-track > .shop-card {
        flex: 0 0 150px !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }

    .shop-slider-track > .shop-card > img {
        display: block !important;
        width: 100% !important;
        height: 130px !important;
        min-height: 130px !important;
        max-height: 130px !important;
        flex: 0 0 130px !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .shop-slider-track > .shop-card > .category-card-content {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }

    .shop-slider-track > .shop-card > .category-card-content h3 {
        font-size: 13px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }

    .shop-slider-track > .shop-card > .category-card-content p {
        font-size: 11px !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere !important;
    }

    .shop-slider-track > .shop-card > .category-btn {
        flex: 0 0 auto !important;
        margin: auto 10px 10px !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
        box-sizing: border-box !important;
    }
}

/* SMALL MOBILE */
@media (max-width: 380px) {
    .shop-slider-track {
        gap: 8px !important;
    }

    .shop-slider-track > .shop-card {
        flex-basis: 135px !important;
        width: 135px !important;
        min-width: 135px !important;
        max-width: 135px !important;
    }

    .shop-slider-track > .shop-card > img {
        flex-basis: 110px !important;
        height: 110px !important;
        min-height: 110px !important;
        max-height: 110px !important;
    }

    .shop-slider-track > .shop-card > .category-card-content {
        padding: 8px !important;
    }

    .shop-slider-track > .shop-card > .category-card-content h3 {
        font-size: 12px !important;
    }

    .shop-slider-track > .shop-card > .category-card-content p {
        font-size: 10px !important;
    }

    .shop-slider-track > .shop-card > .category-btn {
        margin-right: 8px !important;
        margin-left: 8px !important;
        padding: 7px 4px !important;
        font-size: 10px !important;
    }
}

/* =========================================================
   RISHTABOX: REDUCE TOP SPACE ABOVE HOME SECTION HEADINGS
   Keeps existing card grids and mobile pinned-card columns.
========================================================= */
#relationships,
#festivals,
#categories {
    padding-top: 20px !important;
}

#relationships > .container,
#festivals > .container,
#categories > .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#relationships > .container h2,
#festivals > .container h2,
#categories > .container h2 {
    margin-top: 0 !important;
}

/* ===== MERGED FROM image-loading.css ===== */
/* =====================================================
   Image loading polish (shared by customer site + admin)
   Adds a soft placeholder + fade-in. No layout or colour changes.
===================================================== */
img.img-loading {
    background: linear-gradient(110deg, #f1f3f5 8%, #e7eaee 18%, #f1f3f5 33%);
    background-size: 200% 100%;
    animation: rbShimmer 1.3s linear infinite;
}

img.img-loaded {
    background: none;
}

img.img-fade {
    animation: rbImageFade 0.4s ease both;
}

@keyframes rbShimmer {
    to {
        background-position-x: -200%;
    }
}

@keyframes rbImageFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

img {
    -webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
    img.img-loading,
    img.img-fade {
        animation: none;
    }
}

/* ===== MERGED FROM smooth-sliders.css ===== */
/* =====================================================
   Smooth sliding + smoother scrolling (customer site)
   Loaded AFTER store.css. Only adds motion/performance rules.
===================================================== */
/* ---- Hero slider: slides now glide sideways like the gift-card strip ---- */
.hero-slider {
    touch-action: pan-y;
}

.hero-track {
    display: flex;
    width: 100%;
    transition: transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.hero-track > .hero-slide,
.hero-track > .hero-slide.active {
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    animation: none;
}

.hero-slider.is-dragging .hero-track {
    transition: none;
}

/* ---- Gift cards strip: keep it on the GPU and never repaint the page ---- */
.shop-slider-track {
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.shop-slider-track .shop-card img,
.hero-image {
    transform: translateZ(0);
}

/* ---- Testimonials strip ---- */
.testimonials-container {
    will-change: transform;
}

/* ---- Below-the-fold sections render only when they are about to be seen ---- */
.testimonials-section,
.blog-section,
.footer {
}

@media (prefers-reduced-motion: reduce) {
    .hero-track {
        transition: none;
    }
}

/* =========================================================
   SLIDER PERFORMANCE - fast, smooth, no-stutter sliding
   Rendering hints only. No layout or colour changes.
========================================================= */

/* Placeholder shimmer repaints on the main thread every frame.
   Inside the moving strip keep the placeholder static so lazy
   images loading in do not make the slide stutter. */
.shop-slider-track img.img-loading,
.hero-track img.img-loading {
    animation: none;
}

/* Fade-in uses opacity only (GPU), keep it short inside sliders */
.shop-slider-track img.img-fade,
.hero-track img.img-fade {
    animation-duration: 0.25s;
}

/* Images in sliders: no drag ghost, no text selection while swiping */
.shop-slider-track img,
.hero-track img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Fixed header: backdrop blur is re-computed on every scroll frame
   (costly on phones/tablets). Header is 97% white so it looks the same. */
@media (hover: none), (max-width: 1024px) {
    .header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* =========================================================
   AUTO SLIDER - SEAMLESS LOOP
   The loop must travel exactly one card-set plus one gap.
   Half-gap follows the real gap at every breakpoint, so the
   strip no longer jumps when the animation restarts.
========================================================= */
.shop-slider-track {
    --slider-half-gap: 12px; /* gap: 24px */
}

@media (max-width: 650px) {
    .shop-slider-track {
        --slider-half-gap: 6px; /* gap: 12px */
    }
}

@media (max-width: 380px) {
    .shop-slider-track {
        --slider-half-gap: 4px; /* gap: 8px */
    }
}

/* =========================================================
   RISHTABOX MY ORDERS - CONSOLIDATED RESPONSIVE CSS
   Desktop base layout preserved; tablet and mobile optimized
========================================================= */
.order-card,
.order-details,
.order-info,
.order-header,
.order-summary,
.order-meta,
.tracking-preview,
.tracking-info-box,
.cart-summary {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.order-card.expanded {
    display: block;
}

.order-summary h3,
.order-meta p,
.order-info,
.tracking-info-box strong,
.tracking-step-content strong,
.tracking-step-content span {
    overflow-wrap: anywhere;
}

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

.tracking-courier-section select {
    box-sizing: border-box;
    max-width: 100%;
}

.track-shipment-btn {
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .order-header {
        padding: 18px;
        gap: 12px;
    }

    .order-summary {
        gap: 12px;
    }

    .order-meta {
        min-width: 0;
    }

    .tracking-preview {
        padding: 20px;
    }

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

/* Final mobile My Orders desktop-style layout */
@media (max-width: 767px) {
    .order-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
        padding: 12px;
    }

    .order-summary {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        flex: 1 1 0;
        min-width: 0;
        gap: 4px;
    }

    .order-summary h3 {
        flex: 1 1 0;
        min-width: 0;
        margin: 0;
        font-size: 0.68rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .order-summary .status-badge {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 45%;
        padding: 7px 8px;
        font-size: 0.62rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .order-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        flex: 0 1 39%;
        min-width: 0;
        gap: 5px;
        text-align: right;
    }

    .order-meta p {
        margin: 0;
        min-width: 0;
        max-width: 100%;
        font-size: 0.68rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .dropdown-arrow {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        margin-left: 0;
        padding: 2px;
    }
}

@media (max-width: 380px) {
    .order-header {
        gap: 4px;
        padding: 9px;
    }

    .order-summary {
        gap: 3px;
    }

    .order-summary h3 {
        font-size: 0.62rem;
    }

    .order-summary .status-badge {
        padding: 5px 4px;
        font-size: 0.56rem;
    }

    .order-meta {
        flex-basis: 38%;
    }

    .order-meta p {
        font-size: 0.62rem;
    }
}

/* RISHTABOX FIX: Remove page bottom padding after homepage on tablet/mobile */
@media screen and (max-width: 1024px) {
    #homePage {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* RISHTABOX FIX: Remove tiny remaining gap before testimonials */
@media screen and (max-width: 1024px) {
    #homePage {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    #homePage + #categoryPage {
        margin-top: 0 !important;
    }
}

/* RISHTABOX FIX: Remove final 10px strip before testimonials */
@media screen and (max-width: 1024px) {
    main.main-content {
        padding-bottom: 0 !important;
    }
}






/* =====================================================
   MY ORDERS - MOBILE HEADER LAYOUT
   ===================================================== */
@media screen and (max-width: 767px) {
    .order-header {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
    }

    .order-header .order-summary {
        flex: 1 1 55%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .order-header .order-summary h3 {
        max-width: 100%;
        margin: 0;
        font-size: 11px !important;
        line-height: 1.3;
        letter-spacing: -0.2px;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;
    }

    .order-header .order-meta {
        flex: 0 1 45%;
        min-width: 0;
        margin: 0 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end !important;
        text-align: right !important;
        align-self: flex-start !important;
    }

    .order-header .order-meta p {
        width: 100%;
        max-width: 100%;
        margin: 0 0 5px;
        text-align: right !important;
        overflow-wrap: anywhere;
    }

    /* Order Date spacing and font */
    .order-header .order-meta p:first-child {
        margin-top: 14px !important;
        font-size: 10px !important;
        line-height: 1.35;
        white-space: normal !important;
        word-break: normal;
    }
}


/* =====================================================
   MY ORDERS - TABLET HEADER
   ===================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .order-header .order-summary h3 {
        font-size: 15px !important;
    }

    .order-header .order-summary p,
    .order-header .order-meta p {
        font-size: 13px !important;
    }

    /* Keep Order Date/details on one line where possible */
    .order-header .order-meta p {
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;
    }

    /* Expand/collapse indicator */
    .order-header button {
        font-size: 15px !important;
    }
}


/* =====================================================
   MY ORDERS DETAILS - SMALL MOBILE ONLY
   ===================================================== */
@media screen and (min-width: 320px) and (max-width: 380px) {
    .order-card .order-details {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 12px !important;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .order-info,
    .order-card .order-details .address-section,
    .order-card .order-details .order-items {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .order-card .order-details .order-info p,
    .order-card .order-details .address-section p {
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .cart-item {
        box-sizing: border-box;
        display: flex;
        align-items: flex-start;
        gap: 8px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px !important;
    }

    .order-card .order-details .cart-item > img {
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        object-fit: cover;
    }

    .order-card .order-details .cart-item-details {
        flex: 1 1 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .cart-item-details h3 {
        font-size: 13px !important;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .cart-item-details p {
        font-size: 12px !important;
        line-height: 1.4;
    }

    .order-card .order-details .cart-summary {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 12px !important;
    }

    .order-card .order-details .summary-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
    }

    .order-card .order-details .summary-row > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .summary-row > span:last-child {
        text-align: right;
    }

    .order-card .order-details .order-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        min-width: 0;
        padding-bottom: 12px;
    }

    .order-card .order-details .order-actions button {
        box-sizing: border-box;
        flex: 1 1 120px;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 10px 8px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .tracking-preview {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 12px !important;
        margin-top: 16px;
    }

    .order-card .order-details .tracking-info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .order-card .order-details .tracking-info-box,
    .order-card .order-details .tracking-step-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .order-card .order-details .tracking-info-box {
        padding: 10px;
    }

    /* Open tracking details font */
    .order-tracking-box {
        font-size: 12px !important;
    }

    .order-tracking-box h3 {
        font-size: 16px !important;
        line-height: 1.4;
    }

    .order-tracking-box p,
    .order-tracking-box .tracking-info-box,
    .order-tracking-box .tracking-step,
    .order-tracking-box .tracking-step-content {
        font-size: 12px !important;
        line-height: 1.45;
    }
}


/* =====================================================
   CANCEL ORDER + TRACK ORDER - MATCHING BUTTON SIZE
   ===================================================== */
.order-card .order-details .order-actions button.cancel-order-btn,
.order-card .order-details .order-actions button.track-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 32px !important;
    padding: 6px 10px !important;
    font-family: inherit;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: normal;
}

/* =========================================================
   RISHTABOX PRODUCT DETAIL - REFERENCE STYLE
   Header intentionally untouched
========================================================= */

#productPage > .container {
    width: min(1440px, 100%);
    max-width: 1440px;
    padding: 24px 32px 48px;
    margin: 0 auto;
    box-sizing: border-box;
}

#productPage > .container > #productDetails {
    width: 100%;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 42px;
}

#productDetails > div:first-child {
    min-width: 0;
    width: 100%;
}

#productDetails .product-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: min(620px, 52vw);
    min-height: 380px;
    object-fit: contain;
    background: #f8f8f8;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    box-shadow: none;
    margin: 0 auto;
    transition: none;
}

#productDetails .product-image:hover {
    transform: none;
}

#productDetails .product-info {
    min-width: 0;
    width: 100%;
    padding: 4px 0;
    box-sizing: border-box;
}

#productDetails .product-info h1 {
    margin: 0 0 12px;
    color: #202124;
    font-size: clamp(25px, 2.3vw, 36px);
    line-height: 1.3;
    font-weight: 650;
    overflow-wrap: anywhere;
}

#productDetails .brand {
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 14px;
}

#productDetails .product-rating {
    margin: 0 0 18px;
    font-size: 14px;
    color: #f59e0b;
}

#productDetails .product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

#productDetails .current-price {
    color: #202124;
    font-size: clamp(25px, 2vw, 32px);
    font-weight: 750;
}

#productDetails .original-price {
    color: #777777;
    font-size: 17px;
    text-decoration: line-through;
}

#productDetails .discount {
    color: #16803c;
    font-size: 13px;
    font-weight: 700;
}

#productDetails .stock-status {
    margin: 0 0 18px;
    font-size: 14px;
}

#productDetails .description {
    margin: 0 0 22px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

#productDetails .product-option {
    margin: 18px 0;
}

#productDetails .option-group {
    margin-bottom: 14px;
}

#productDetails .option-group label {
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
}

#productDetails .option-group select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
}

#productDetails .address-section,
#productDetails .delivery-info {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
}

#productDetails .address-section h3,
#productDetails .delivery-info h4 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #202124;
}

#productDetails .address-section p,
#productDetails .delivery-info p {
    margin: 7px 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.5;
}

#productDetails .product-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 22px;
}

#productDetails .product-actions button {
    flex: 1;
    min-width: 0;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 650;
}

#productDetails .product-reviews-section {
    grid-column: 1 / -1;
    width: 100%;
    margin: 18px 0 0;
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    background: #ffffff;
}

#productDetails .reviews-header h2,
#productDetails .product-reviews-section h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    #productPage > .container {
        padding: 14px 14px 30px;
    }

    #productPage > .container > #productDetails {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 14px;
    }

    #productDetails .product-image {
        height: min(92vw, 440px);
        min-height: 260px;
        max-width: 100%;
        border-radius: 10px;
    }

    #productDetails .product-info {
        padding: 0;
    }

    #productDetails .product-info h1 {
        font-size: 24px;
    }

    #productDetails .current-price {
        font-size: 25px;
    }

    #productDetails .product-reviews-section {
        grid-column: auto;
        padding: 16px;
        margin-top: 6px;
    }

    #productDetails .product-actions button {
        min-height: 48px;
        padding: 10px 8px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    #productPage > .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    #productDetails .product-image {
        min-height: 225px;
    }

    #productDetails .product-info h1 {
        font-size: 20px;
    }
}

/* END REFERENCE-STYLE PRODUCT DETAIL */

/* PRODUCT DETAIL FIX - keep existing product image unchanged */
#productPage {
    box-sizing: border-box;
    padding-bottom: 110px !important;
}

#productPage > .container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 30px 150px !important;
}

#productDetails {
    align-items: start;
    min-width: 0;
    margin-top: 20px !important;
    margin-bottom: 40px !important;
}

#productDetails > div:first-child {
    min-width: 0;
}

#productDetails .product-info {
    min-width: 0;
    overflow-wrap: anywhere;
}

#productDetails .product-reviews-section {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-top: 28px;
}

@media (max-width: 768px) {
    #productPage > .container {
        padding: 16px 14px 160px !important;
    }

    #productDetails {
        gap: 20px !important;
        margin-top: 14px !important;
    }

    #productDetails .product-reviews-section {
        grid-column: 1 / -1;
    }
}
/* END PRODUCT DETAIL FIX */

/* Reference-style product detail components */
#productDetails .rb-product-features {
    display: grid;
    gap: 0;
    margin: 22px 0;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

#productDetails .rb-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
}

#productDetails .rb-feature + .rb-feature {
    border-top: 1px solid #f0f0f0;
}

#productDetails .rb-feature-icon {
    display: grid;
    place-items: center;
    width: 38px;
    min-width: 38px;
    height: 38px;
    font-size: 23px;
}

#productDetails .rb-feature strong,
#productDetails .rb-feature small {
    display: block;
}

#productDetails .rb-feature strong {
    color: #182b49;
    font-size: 14px;
}

#productDetails .rb-feature small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
}

#productDetails .rb-quantity-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 22px 0 14px;
    flex-wrap: wrap;
}

#productDetails .rb-quantity-row > label {
    font-weight: 600;
    font-size: 14px;
}

#productDetails .rb-quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d9dee8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

#productDetails .rb-quantity-control button {
    width: 40px;
    height: 40px;
    border: 0;
    background: #f7f8fa;
    font-size: 21px;
    cursor: pointer;
}

#productDetails .rb-quantity-control input {
    width: 48px;
    height: 40px;
    border: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    appearance: textfield;
}

#productDetails .rb-quantity-control input::-webkit-inner-spin-button,
#productDetails .rb-quantity-control input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

#productDetails .rb-product-description-panel {
    grid-column: 1 / -1;
    min-width: 0;
    margin-top: 28px;
    border-top: 1px solid #e8eaf0;
    background: #fff;
}

#productDetails .rb-product-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

#productDetails .rb-product-tabs button {
    flex: 0 0 auto;
    padding: 18px 12px 14px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #253550;
    font-weight: 600;
    cursor: pointer;
}

#productDetails .rb-product-tabs button.active {
    color: #ef3158;
    border-bottom-color: #ef3158;
}

#productDetails .rb-product-tab-content {
    padding: 24px 12px;
    color: #43536d;
    line-height: 1.8;
}

#productDetails .rb-product-tab-content h2 {
    color: #182b49;
    font-size: 20px;
    margin: 0 0 12px;
}

#productDetails .rb-product-tab-content li {
    margin: 5px 0;
}

@media (max-width: 768px) {
    #productDetails .rb-product-description-panel {
        grid-column: 1 / -1;
    }

    #productDetails .rb-product-tabs {
        gap: 8px;
    }

    #productDetails .rb-product-tabs button {
        padding: 14px 8px 12px;
        font-size: 13px;
    }

    #productDetails .rb-product-tab-content {
        padding: 18px 4px;
    }
}
/* End reference-style components */
/* Product detail display corrections */
#productDetails .product-price {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 12px !important;
    row-gap: 6px;
}

#productDetails .current-price {
    font-size: 30px;
    font-weight: 750;
    white-space: nowrap;
}

#productDetails .original-price {
    font-size: 17px;
    white-space: nowrap;
}

#productDetails .discount {
    display: inline-block;
    white-space: nowrap;
    margin-left: 2px;
}

#productDetails .product-actions {
    display: flex !important;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px !important;
}

#productDetails .product-actions button {
    flex: 1 1 150px;
    min-width: 0;
    min-height: 48px;
    white-space: normal;
}

#productDetails .rb-quantity-row {
    display: flex !important;
    align-items: center;
    gap: 16px;
}

#productDetails .rb-quantity-control {
    display: inline-flex !important;
    flex-wrap: nowrap;
    align-items: center;
}

#productDetails .rb-quantity-control button {
    flex: 0 0 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
}

#productDetails .rb-quantity-control input {
    flex: 0 0 48px;
    box-sizing: border-box;
}

#productDetails .rb-product-tabs {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
}

#productDetails .rb-product-tabs button {
    display: inline-block;
    flex: 0 0 auto;
}

#productDetails .product-rating {
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    #productDetails .current-price {
        font-size: 26px;
    }

    #productDetails .product-actions button {
        flex-basis: 130px;
    }

    #productDetails .rb-product-tabs {
        overflow-x: auto;
    }
}
/* End product detail display corrections */


/* =========================================================
   RISHTABOX PRODUCT PAGE - REFERENCE LAYOUT FINAL OVERRIDE
   ========================================================= */

#productPage > .container > #productDetails {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 38px !important;
    row-gap: 28px !important;
    width: min(1400px, 96%) !important;
    margin: 24px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#productDetails > div:first-child {
    min-width: 0 !important;
    width: 100% !important;
}

#productDetails .product-image {
    display: block !important;
    width: 100% !important;
    height: clamp(380px, 48vw, 580px) !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
}

#productDetails .product-info {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

#productDetails .product-info h1 {
    color: #182b49 !important;
    font-size: clamp(24px, 2vw, 32px) !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
    margin: 0 0 12px !important;
}

#productDetails .product-rating {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 18px !important;
}

#productDetails .product-price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    margin: 0 0 8px !important;
}

#productDetails .current-price {
    color: #182b49 !important;
    font-size: clamp(27px, 2.5vw, 38px) !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
}

#productDetails .original-price {
    color: #7b8493 !important;
    font-size: 17px !important;
    white-space: nowrap !important;
}

#productDetails .discount {
    display: inline-block !important;
    color: #138443 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

#productDetails .stock-status {
    margin: 0 0 16px !important;
}

#productDetails .rb-product-features {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin: 16px 0 20px !important;
    padding: 4px 12px !important;
    border: 1px solid #e6e9ef !important;
    border-radius: 7px !important;
    background: #fff !important;
}

#productDetails .rb-feature {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
    padding: 12px 2px !important;
}

#productDetails .rb-feature + .rb-feature {
    border-top: 1px solid #edf0f4 !important;
}

#productDetails .rb-feature-icon {
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 25px !important;
}

#productDetails .rb-feature strong {
    color: #182b49 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#productDetails .rb-feature small {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

#productDetails .address-section,
#productDetails .delivery-info {
    margin: 14px 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #e8ebf0 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

#productDetails .rb-quantity-row {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin: 18px 0 !important;
}

#productDetails .rb-quantity-control {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid #dce1e8 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

#productDetails .rb-quantity-control button {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fafc !important;
    color: #182b49 !important;
    font-size: 20px !important;
}

#productDetails .rb-quantity-control input {
    flex: 0 0 48px !important;
    width: 48px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

#productDetails .product-actions {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 18px 0 !important;
}

#productDetails .product-actions button {
    flex: 1 1 150px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    white-space: normal !important;
    font-size: 14px !important;
    font-weight: 650 !important;
}

#productDetails .rb-product-description-panel {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #edf0f4 !important;
    background: #fff !important;
}

#productDetails .rb-product-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px !important;
    overflow-x: auto !important;
    border-bottom: 1px solid #e6e9ef !important;
}

#productDetails .rb-product-tabs button {
    flex: 0 0 auto !important;
    padding: 18px 14px 14px !important;
    color: #182b49 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    background: transparent !important;
}

#productDetails .rb-product-tabs button.active {
    color: #ef3158 !important;
    border-bottom-color: #ef3158 !important;
}

#productDetails .rb-product-tab-content {
    padding: 24px 10px !important;
    color: #43536d !important;
    line-height: 1.7 !important;
}

#productDetails .rb-product-tab-content h2 {
    color: #182b49 !important;
    font-size: 20px !important;
    margin: 0 0 8px !important;
}

#productDetails .product-reviews-section {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 900px) {
    #productPage > .container > #productDetails {
        grid-template-columns: minmax(0, 1fr) !important;
        width: 94% !important;
        gap: 24px !important;
    }

    #productDetails .product-image {
        height: min(90vw, 520px) !important;
    }

    #productDetails .rb-product-description-panel,
    #productDetails .product-reviews-section {
        grid-column: 1 !important;
    }
}

@media (max-width: 480px) {
    #productPage > .container > #productDetails {
        width: 94% !important;
        margin-top: 14px !important;
    }

    #productDetails .product-image {
        height: 82vw !important;
        min-height: 240px !important;
        max-height: 380px !important;
    }

    #productDetails .product-info h1 {
        font-size: 22px !important;
    }

    #productDetails .product-actions {
        gap: 8px !important;
    }

    #productDetails .product-actions button {
        flex-basis: 125px !important;
        padding: 10px 8px !important;
    }

    #productDetails .rb-product-tabs {
        gap: 4px !important;
    }

    #productDetails .rb-product-tabs button {
        padding: 14px 9px 11px !important;
        font-size: 12px !important;
    }

    #productDetails .rb-product-tab-content {
        padding: 18px 4px !important;
    }
}

/* END REFERENCE LAYOUT */

/* Product image gallery and clickable thumbnails */
#productDetails .rb-product-gallery {
    min-width: 0;
    width: 100%;
}

#productDetails .rb-product-gallery > .product-image {
    width: 100% !important;
    max-width: 100%;
    object-fit: contain !important;
}

#productDetails .rb-product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

#productDetails .rb-product-thumbnail {
    display: block;
    width: 68px;
    height: 68px;
    padding: 3px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 6px;
}

#productDetails .rb-product-thumbnail.active {
    border: 2px solid #8b4513;
    padding: 2px;
}

#productDetails .rb-product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#productDetails .rb-product-thumbnail:focus-visible {
    outline: 2px solid #8b4513;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    #productDetails .rb-product-thumbnails {
        gap: 8px;
    }

    #productDetails .rb-product-thumbnail {
        width: 58px;
        height: 58px;
    }
}

/* Product detail: visible discount badge */
#productDetails .discount {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    padding: 5px 10px !important;
    margin: 4px 0 4px 6px !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #b91c1c !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    visibility: visible !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}



/* Delivery Information - soft green highlight */
#productDetails .delivery-info {
    background: #f7fdf8 !important;
    border: 1px solid #c8e6ce !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 4px rgba(22, 163, 74, 0.05) !important;
}

#productDetails .delivery-info h4,
#productDetails .delivery-info p {
    color: #287a43 !important;
}



/* RishtaBox: compact product filter layout */
.filter-section .filter-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-section .filter-group {
    flex: 1 1 180px;
    min-width: 0;
    gap: 6px;
}

.filter-section .filter-group label {
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.filter-section .filter-group select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    line-height: 1.4;
}

.filter-section .filter-group #priceRange {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
}

#priceValue {
    line-height: 1.4;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .filter-section .filter-row {
        gap: 12px;
    }

    .filter-section .filter-group {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* RISHTABOX ACCOUNT DRAWER VISIBILITY FIX */
.account-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 2147483647 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    pointer-events: none;
}

.account-panel.active {
    right: 0 !important;
    left: auto !important;
    transform: translateX(0) !important;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .account-panel {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}
/* END RISHTABOX ACCOUNT DRAWER VISIBILITY FIX */





/* RISHTABOX TARGETED CATEGORY-TO-TESTIMONIAL GAP FIX */
@media screen and (max-width: 1024px) {
    #homePage #categories {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    #customerTestimonials {
        margin-top: 0 !important;
    }
}

/* PERFORMANCE FIX: MOBILE BOTTOM NAV LAYOUT STABILITY */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        box-sizing: border-box;
        min-height: 64px;
        padding-bottom: max(5px, env(safe-area-inset-bottom));
        contain: layout;
    }

    .bottom-nav-item {
        box-sizing: border-box;
        min-width: 0;
        flex-shrink: 1;
    }

    .bottom-nav-icon {
        flex-shrink: 0;
    }
}

/* ===== RISHTABOX CLS GRID SPACE RESERVATION ===== */
/* Reserve space while relationship, festival and category cards load. */
#relationshipGrid,
#festivalGrid,
#categoryGrid {
    min-height: 474px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #relationshipGrid,
    #festivalGrid,
    #categoryGrid {
        min-height: 434px;
    }
}
/* ===== END RISHTABOX CLS GRID SPACE RESERVATION ===== */





/* ===== RISHTABOX MOBILE FOUR COLUMN GRID FIX ===== */
@media (max-width: 650px) {
    #relationshipGrid .pinned-shop-grid,
    #festivalGrid .pinned-shop-grid,
    #categoryGrid .pinned-shop-grid {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-auto-flow: row !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card,
    #festivalGrid .pinned-shop-grid > .shop-card,
    #categoryGrid .pinned-shop-grid > .shop-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* ===== END MOBILE FOUR COLUMN GRID FIX ===== */



/* ===== RISHTABOX FOUR COLUMN COMPACT CARDS ===== */
@media (max-width: 650px) {
    #relationshipGrid .pinned-shop-grid,
    #festivalGrid .pinned-shop-grid,
    #categoryGrid .pinned-shop-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card > img,
    #festivalGrid .pinned-shop-grid > .shop-card > img,
    #categoryGrid .pinned-shop-grid > .shop-card > img {
        display: block;
        width: 100% !important;
        height: 60px !important;
        object-fit: cover !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card > .category-card-content,
    #festivalGrid .pinned-shop-grid > .shop-card > .category-card-content,
    #categoryGrid .pinned-shop-grid > .shop-card > .category-card-content {
        min-width: 0 !important;
        padding: 5px 3px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card > .category-card-content h3,
    #festivalGrid .pinned-shop-grid > .shop-card > .category-card-content h3,
    #categoryGrid .pinned-shop-grid > .shop-card > .category-card-content h3 {
        margin: 0 0 4px !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card > .category-card-content p,
    #festivalGrid .pinned-shop-grid > .shop-card > .category-card-content p,
    #categoryGrid .pinned-shop-grid > .shop-card > .category-card-content p {
        margin: 0 !important;
        font-size: 8px !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere !important;
    }

    #relationshipGrid .pinned-shop-grid > .shop-card > .category-btn,
    #festivalGrid .pinned-shop-grid > .shop-card > .category-btn,
    #categoryGrid .pinned-shop-grid > .shop-card > .category-btn {
        min-width: 0 !important;
        margin: auto 3px 4px !important;
        padding: 4px 1px !important;
        font-size: 8px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }
}
/* ===== END FOUR COLUMN COMPACT CARDS ===== */


/* ===== FINAL MOBILE FOUR-COLUMN IMAGE HEIGHT FIX ===== */
@media (max-width: 650px) {
    .pinned-shop-grid > .shop-card > img {
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        flex: 0 0 60px !important;
        object-fit: cover !important;
        object-position: center !important;
        box-sizing: border-box !important;
    }
}
/* ===== END FINAL IMAGE HEIGHT FIX ===== */


/* ===== RISHTABOX EQUAL MOBILE GRID WIDTH FIX ===== */
@media (max-width: 650px) {
    #relationshipGrid.pinned-shop-grid,
    #festivalGrid.pinned-shop-grid,
    #categoryGrid.pinned-shop-grid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        column-gap: 6px !important;
    }

    #relationshipGrid,
    #festivalGrid,
    #categoryGrid {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}
/* ===== END EQUAL MOBILE GRID WIDTH FIX ===== */



/* =========================================================
   PERFORMANCE PATCH (LCP / CLS / INP)
========================================================= */

/* INP: no 300ms tap delay / double-tap zoom wait, no heavy tap flash */
a, button, .bottom-nav-item, .mobile-bottom-nav, .dropdown-btn, .category-card, .relationship-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* INP: fixed bar is its own layer; emoji icons never swallow the event target */
.bottom-nav-icon { pointer-events: none; }

/* CLS: reserve space before JS fills these in */
.hero-slider { min-height: 300px; }

/* Mobile / small mobile / small tablet (up to 1024px):
   the old fixed min-height (180px / 300px) was taller than the banner image,
   which left an empty gap under the slider. The space is now reserved with the
   banner's own aspect ratio instead, so there is no gap AND no layout shift.
   If your banner ratio is different, change 2.8 (width / height). */
@media (max-width: 1024px) {
    .hero-slider {
        min-height: 0;
        aspect-ratio: 2.8 / 1;
    }

    .hero-loading {
        min-height: calc(100vw / 2.8);
    }
}
.category-grid:empty { min-height: 420px; }
.testimonials-container:empty,
.testimonial-loading { min-height: 220px; }
.blog-loading { min-height: 260px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* LCP: hero image must paint immediately - no fade, no shimmer */
.hero-image, .hero-image.img-fade, .hero-image.img-loading, .hero-track img {
    animation: none !important;
    opacity: 1 !important;
}
/* Main-thread: infinite shimmer on every lazy image is costly - make it static */
img.img-loading { animation: none !important; }
/* Drop expensive will-change / GPU hints on non-moving elements */
.testimonials-container { will-change: auto; }
.shop-slider-track img, .hero-image { transform: none; }

/* INP: gift strips stand still for a moment right after a tap/click */
.rb-interacting .shop-slider-track {
    animation-play-state: paused;
}

/* RISHTABOX_CATEGORY_HUB_CSS_V1 */
.category-hub-container {
    padding-top: 20px;
    padding-bottom: 32px;
}

.category-hub-heading {
    margin-bottom: 22px;
}

.category-hub-heading h1 {
    margin: 0 0 8px;
}

.category-hub-heading p {
    margin: 0;
    color: #666;
}

.category-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-hub-card {
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    border: 1px solid #eadfe7;
    border-radius: 16px;
    background: #fff;
    color: #29212a;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font: inherit;
}

.category-hub-emoji {
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.2;
}

.category-hub-card-title {
    font-weight: 700;
    font-size: clamp(14px, 3.5vw, 17px);
}

.category-hub-card-subtitle {
    color: #716773;
    font-size: 12px;
    line-height: 1.4;
}

.category-hub-back {
    margin: 0 0 18px;
    padding: 9px 12px;
    border: 1px solid #e5dbe3;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    font: inherit;
}

.category-hub-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.category-hub-options-grid > .shop-card,
.category-hub-option {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.category-hub-options-grid > .shop-card img {
    max-width: 100%;
}

.category-hub-option {
    min-height: 145px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    border: 1px solid #eadfe7;
    border-radius: 14px;
    background: #fff;
    color: #29212a;
    cursor: pointer;
    font: inherit;
}

.category-hub-option-emoji {
    font-size: 32px;
}

.category-hub-option-title {
    font-weight: 700;
}

.category-hub-option-description,
.category-hub-empty {
    color: #716773;
    font-size: 13px;
}

@media (min-width: 768px) {
    .category-hub-container {
        padding-top: 28px;
    }

    .category-hub-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .category-hub-options-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* RISHTABOX_COMPACT_ALL_HUB_CARDS_V1 */
/* Compact, consistent cards for all Category Hub options. */

.category-hub-options-grid {
    gap: 10px;
    grid-auto-rows: 1fr;
}

.category-hub-options-grid > .shop-card {
    border-radius: 10px;
}

.category-hub-options-grid > .shop-card > img {
    flex-basis: 95px;
    height: 95px;
    min-height: 95px;
    max-height: 95px;
}

.category-hub-options-grid > .shop-card > .category-card-content {
    min-height: 78px;
    padding: 8px;
}

.category-hub-options-grid > .shop-card .category-card-content h3 {
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.3;
}

.category-hub-options-grid > .shop-card .category-card-content p {
    font-size: 11px;
    line-height: 1.3;
}

.category-hub-options-grid > .shop-card > .category-btn {
    width: calc(100% - 16px);
    min-height: 32px;
    margin: auto 8px 8px;
    padding: 6px;
    font-size: 12px;
}

.category-hub-option {
    min-height: 105px;
    padding: 12px 8px;
    gap: 6px;
    border-radius: 10px;
}

.category-hub-option-emoji {
    font-size: 26px;
}

.category-hub-option-title {
    font-size: 13px;
}

.category-hub-option-description {
    font-size: 11px;
}

@media (min-width: 768px) {
    .category-hub-options-grid > .shop-card > img {
        flex-basis: 125px;
        height: 125px;
        min-height: 125px;
        max-height: 125px;
    }

    .category-hub-options-grid > .shop-card > .category-card-content {
        min-height: 88px;
    }
}

/* RISHTABOX PRODUCT PAGE STANDARD POLISH */
#productPage {
    color: #24324a;
    padding-bottom: 32px;
}

#productPage > .container > #productDetails {
    width: min(1320px, 94%) !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
    column-gap: clamp(24px, 3vw, 44px) !important;
    row-gap: 34px !important;
    margin: 28px auto 0 !important;
}

#productDetails > div:first-child,
#productDetails .rb-product-gallery {
    min-width: 0;
}

#productDetails .rb-product-gallery > .product-image,
#productDetails > div:first-child > .product-image {
    background: #fff !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 14px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    transition: box-shadow 180ms ease;
}

#productDetails .rb-product-gallery > .product-image:hover,
#productDetails > div:first-child > .product-image:hover {
    box-shadow: 0 8px 28px rgba(24, 43, 73, 0.07) !important;
}

#productDetails .product-info {
    padding: 4px 0 !important;
}

#productDetails .product-info h1 {
    color: #182b49 !important;
    font-size: clamp(25px, 2.2vw, 34px) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.45px;
    margin-bottom: 12px !important;
    overflow-wrap: anywhere;
}

#productDetails .product-rating {
    margin-bottom: 16px !important;
}

#productDetails .product-price {
    gap: 8px 12px !important;
    align-items: baseline !important;
    margin-bottom: 10px !important;
}

#productDetails .current-price {
    color: #172b4d !important;
    font-weight: 800 !important;
}

#productDetails .original-price {
    color: #7b8493 !important;
    text-decoration: line-through;
}

#productDetails .discount {
    background: #eaf8ef;
    padding: 5px 9px;
    border-radius: 5px;
}

#productDetails .stock-status {
    margin-top: 8px !important;
    margin-bottom: 14px !important;
}

#productDetails .description {
    color: #59677d !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin-top: 12px !important;
}

#productDetails .rb-product-features {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px !important;
    margin: 20px 0 !important;
    border-color: #e9edf3 !important;
    border-radius: 12px !important;
    background: #f9fafc !important;
}

#productDetails .rb-feature {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 8px !important;
    border-top: 0 !important;
}

#productDetails .rb-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 40px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px;
    background: #fff;
}

#productDetails .rb-feature strong {
    display: block;
    font-size: 12px !important;
    line-height: 1.4;
}

#productDetails .rb-feature small {
    display: block;
    font-size: 11px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
}

#productDetails .address-section,
#productDetails .delivery-info {
    padding: 17px !important;
    margin: 16px 0 !important;
    border: 1px solid #e4e9f0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(24, 43, 73, 0.035);
}

#productDetails .address-section h3,
#productDetails .delivery-info h4 {
    color: #182b49 !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    margin: 0 0 12px !important;
}

#productDetails .rb-delivery-check {
    padding: 12px;
    border-radius: 9px;
    background: #f7f9fc;
    border: 1px solid #edf0f5;
}

#productDetails .rb-delivery-check > label {
    display: block;
    color: #34445d;
    font-size: 13px;
    font-weight: 650;
    margin-bottom: 9px;
}

#productDetails #rbDeliveryPincode {
    flex: 1 1 150px;
    min-width: 0;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d8dee8;
    border-radius: 7px;
    background: #fff;
    color: #182b49;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

#productDetails #rbDeliveryPincode:focus {
    outline: none;
    border-color: #526f9e;
    box-shadow: 0 0 0 3px rgba(82, 111, 158, 0.12);
}

#productDetails #rbCheckDeliveryButton {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

#productDetails #rbDeliveryResult {
    margin: 10px 0 0 !important;
    color: #59677d;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#productDetails .delivery-info > p {
    color: #526078;
    font-size: 13px;
    line-height: 1.6;
    margin: 12px 0 0 !important;
}

#productDetails .rb-quantity-row {
    gap: 12px !important;
    margin: 20px 0 !important;
}

#productDetails .rb-quantity-row > label {
    color: #34445d;
    font-size: 14px;
    font-weight: 650;
}

#productDetails .rb-quantity-control {
    border-color: #d8dee8 !important;
    border-radius: 8px !important;
    background: #fff;
}

#productDetails .rb-quantity-control button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border: 0 !important;
    background: #f5f7fa !important;
    color: #182b49 !important;
    cursor: pointer;
}

#productDetails .rb-quantity-control button:hover {
    background: #e9eef6 !important;
}

#productDetails .rb-quantity-control input {
    color: #182b49;
    font-size: 14px;
    background: #fff;
}

#productDetails .product-actions {
    gap: 12px !important;
    margin: 18px 0 22px !important;
}

#productDetails .product-actions button {
    min-height: 50px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: transform 160ms ease, box-shadow 160ms ease,
                background-color 160ms ease;
}

#productDetails .product-actions button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(24, 43, 73, 0.12);
}

#productDetails .rb-product-description-panel,
#productDetails .product-reviews-section {
    border: 1px solid #e7ebf1 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff !important;
}

#productDetails .rb-product-description-panel {
    margin-top: 4px !important;
}

#productDetails .rb-product-tabs {
    gap: 12px !important;
    padding: 0 12px;
    background: #fafbfd;
    border-bottom: 1px solid #e7ebf1 !important;
}

#productDetails .rb-product-tabs button {
    padding: 17px 12px 13px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

#productDetails .rb-product-tab-content {
    padding: 24px !important;
    color: #526078 !important;
    font-size: 14px;
    line-height: 1.8 !important;
    overflow-wrap: anywhere;
}

#productDetails .rb-product-tab-content h2 {
    margin-bottom: 12px !important;
    font-size: 20px !important;
    line-height: 1.4;
}

#productDetails .rb-product-tab-content li {
    margin-bottom: 6px;
}

#productDetails .product-reviews-section {
    padding: 24px !important;
    margin-top: 0 !important;
    box-sizing: border-box;
}

#productDetails .product-reviews-section h2,
#productDetails .reviews-header h2 {
    color: #182b49 !important;
    font-size: 22px !important;
    line-height: 1.4;
}

#productDetails input:not([type="checkbox"]):not([type="radio"]):not(#rbProductQuantity),
#productDetails select,
#productDetails textarea {
    max-width: 100%;
    box-sizing: border-box;
}

#productDetails textarea {
    min-height: 110px;
    resize: vertical;
}

#productDetails button:focus-visible,
#productDetails input:focus-visible,
#productDetails select:focus-visible,
#productDetails textarea:focus-visible {
    outline: 2px solid #526f9e;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    #productPage > .container > #productDetails {
        width: min(720px, 94%) !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
        margin-top: 20px !important;
    }

    #productDetails .rb-product-features {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    #productDetails .rb-feature {
        border-top: 0 !important;
    }

    #productDetails .rb-feature + .rb-feature {
        border-top: 0 !important;
    }

    #productDetails .rb-product-description-panel,
    #productDetails .product-reviews-section {
        grid-column: 1 !important;
    }
}

@media (max-width: 600px) {
    #productPage > .container > #productDetails {
        width: 94% !important;
        gap: 20px !important;
        margin-top: 14px !important;
    }

    #productDetails .rb-product-gallery > .product-image,
    #productDetails > div:first-child > .product-image {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    #productDetails .product-info h1 {
        font-size: 23px !important;
        line-height: 1.35 !important;
    }

    #productDetails .rb-product-features {
        gap: 4px !important;
        padding: 8px !important;
        margin: 16px 0 !important;
    }

    #productDetails .rb-feature {
        gap: 6px !important;
        padding: 6px 3px !important;
    }

    #productDetails .rb-feature-icon {
        flex-basis: 34px !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 20px !important;
    }

    #productDetails .rb-feature strong {
        font-size: 11px !important;
    }

    #productDetails .rb-feature small {
        font-size: 10px !important;
    }

    #productDetails .address-section,
    #productDetails .delivery-info {
        padding: 13px !important;
        border-radius: 10px !important;
    }

    #productDetails .rb-delivery-check {
        padding: 10px;
    }

    #productDetails .product-actions {
        gap: 9px !important;
    }

    #productDetails .product-actions button {
        flex: 1 1 130px !important;
        min-height: 46px !important;
        padding: 11px 10px !important;
        font-size: 13px !important;
    }

    #productDetails .rb-product-tabs {
        gap: 2px !important;
        padding: 0 5px;
    }

    #productDetails .rb-product-tabs button {
        padding: 14px 9px 11px !important;
        font-size: 12px !important;
    }

    #productDetails .rb-product-tab-content {
        padding: 18px 14px !important;
    }

    #productDetails .product-reviews-section {
        padding: 16px !important;
    }

    #productDetails .product-reviews-section h2,
    #productDetails .reviews-header h2 {
        font-size: 19px !important;
    }
}

@media (max-width: 360px) {
    #productDetails .rb-product-features {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #productDetails .rb-feature {
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 8px !important;
    }

    #productDetails .rb-feature + .rb-feature {
        border-top: 1px solid #edf0f4 !important;
    }

    #productDetails .rb-feature small {
        font-size: 11px !important;
    }

    #productDetails .product-actions button {
        flex-basis: 100% !important;
    }
}

/* END RISHTABOX PRODUCT PAGE STANDARD POLISH */


/* RISHTABOX AMAZON STYLE SEARCH SUGGESTIONS */
.search-bar {
    position: relative;
    z-index: 1000;
}

.search-suggestions[hidden] {
    display: none !important;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99999;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5d5dc;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    color: #292027;
    text-align: left;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid #f1e8ec;
    background: #fff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.search-suggestion-item:last-child {
    border-bottom: 0;
}

.search-suggestion-item:hover,
.search-suggestion-item:focus-visible {
    background: #fff4f7;
    outline: none;
}

.search-suggestion-image {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
    border-radius: 5px;
    background: #fff;
}

.search-suggestion-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.search-suggestion-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.search-suggestion-price {
    color: #4a2635;
    font-size: 14px;
    font-weight: 700;
}

.search-suggestion-empty {
    padding: 16px;
    color: #665761;
    font-size: 14px;
}

@media (max-width: 480px) {
    .search-suggestions {
        max-height: 60vh;
    }

    .search-suggestion-item {
        gap: 9px;
        padding: 9px 10px;
    }

    .search-suggestion-image {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .search-suggestion-name,
    .search-suggestion-price {
        font-size: 13px;
    }
}

/* RISHTABOX SEARCH ALL SCREEN OVERLAY FIX */
body > .search-suggestions {
    position: fixed !important;
    z-index: 2147483647 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    max-width: calc(100vw - 16px) !important;
    max-height: min(420px, 60vh) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
    border: 1px solid #e5d5dc !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22) !important;
}

body > .search-suggestions[hidden] {
    display: none !important;
}

body > .search-suggestions .search-suggestion-item {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body > .search-suggestions {
        max-height: 55vh !important;
        border-radius: 0 0 10px 10px !important;
    }
}

@media (max-width: 480px) {
    body > .search-suggestions {
        max-height: 50vh !important;
        font-size: 14px;
    }
}

/* RISHTABOX SEARCH RESULTS RESPONSIVE STANDARD */

/* Search results page */
#searchPage {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

#searchPage #searchResultsTitle {
    padding: 16px 20px;
    margin: 0;
    color: #292027;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#searchPage #searchProductGrid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    align-items: stretch;
}

/* Product cards */
#searchPage #searchProductGrid .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #eee5e9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(74, 38, 53, 0.07);
}

/* Keep product photos from taking over the page */
#searchPage #searchProductGrid .product-card img {
    max-width: 100%;
    box-sizing: border-box;
    object-fit: contain;
}

#searchPage #searchProductGrid .product-card .product-image,
#searchPage #searchProductGrid .product-card .product-img-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Tablet */
@media (max-width: 1024px) {
    #searchPage #searchProductGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        padding: 12px;
    }

    #searchPage #searchResultsTitle {
        font-size: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    #searchPage {
        padding-bottom: 12px;
    }

    #searchPage #searchResultsTitle {
        padding: 12px 10px;
        font-size: 18px;
        text-align: center;
        line-height: 1.35;
    }

    #searchPage #searchProductGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
    }

    #searchPage #searchProductGrid .product-card {
        border-radius: 8px;
    }

    #searchPage #searchProductGrid .product-card img {
        max-height: 190px;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    #searchPage #searchProductGrid {
        gap: 7px;
        padding: 7px;
    }

    #searchPage #searchResultsTitle {
        font-size: 16px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    #searchPage #searchProductGrid {
        gap: 20px;
        padding: 20px;
    }
}

/* RISHTABOX SEARCH PRODUCT STANDARD DIMENSIONS */
#searchPage #searchProductGrid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

#searchPage #searchProductGrid .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
}

#searchPage #searchProductGrid .product-card img {
    width: 100%;
    height: 200px;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    #searchPage #searchProductGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    #searchPage #searchProductGrid .product-card img {
        height: 180px;
        max-height: 180px;
    }
}

@media (max-width: 600px) {
    #searchPage #searchProductGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
    }

    #searchPage #searchProductGrid .product-card img {
        height: 160px;
        max-height: 160px;
    }
}

@media (max-width: 360px) {
    #searchPage #searchProductGrid {
        gap: 7px;
        padding: 7px;
    }

    #searchPage #searchProductGrid .product-card img {
        height: 135px;
        max-height: 135px;
    }
}
/* RISHTABOX AMAZON STYLE RETURN TIMELINE */
/* RISHTABOX AMAZON STYLE RETURN TIMELINE */
.order-tracking-box {
    padding: 20px;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(25, 35, 55, 0.06);
}

.order-tracking-box .tracking-timeline {
    position: relative;
    padding: 8px 0 8px 0;
}

.order-tracking-box .tracking-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 54px;
    padding: 0 0 18px;
    box-sizing: border-box;
}

.order-tracking-box .tracking-step:last-child {
    min-height: 0;
    padding-bottom: 4px;
}

.order-tracking-box .tracking-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
    background: #eef0f4;
    color: #737b89;
    border: 2px solid #e1e5eb;
    font-size: 14px;
    font-weight: 700;
}

.order-tracking-box .tracking-step.completed .tracking-icon {
    background: #168653;
    border-color: #168653;
    color: #fff;
}

.order-tracking-box .tracking-step.current .tracking-icon {
    background: #fff;
    border: 3px solid #168653;
    color: #168653;
    box-shadow: 0 0 0 4px rgba(22, 134, 83, 0.10);
}

.order-tracking-box .tracking-step-content {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
    color: #283142;
    line-height: 1.45;
}

.order-tracking-box .tracking-step-content strong {
    display: block;
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.order-tracking-box .tracking-step-content p {
    display: inline-block;
    margin: 6px 0 0;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e8f6ee;
    color: #137347;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Separate return journey visually from delivery tracking */
.order-tracking-box .return-tracking-section {
    position: relative;
    z-index: 2;
    margin: 10px 0 4px;
    padding: 16px 14px 12px;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    background: #f8fafc;
}

.order-tracking-box .return-tracking-section h4 {
    position: relative;
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    color: #202b3c;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}

.order-tracking-box .return-tracking-timeline {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Cover any inherited parent connector behind the section heading */
.order-tracking-box .return-tracking-section h4 {
    isolation: isolate;
}

.order-tracking-box .return-tracking-timeline .tracking-step {
    min-height: 52px;
    padding-bottom: 15px;
}

.order-tracking-box .return-tracking-timeline .tracking-step:last-child {
    padding-bottom: 0;
}

.order-tracking-box .return-tracking-timeline .tracking-step-content {
    padding-top: 5px;
}

/* Mobile spacing */
@media (max-width: 600px) {
    .order-tracking-box {
        padding: 14px;
        border-radius: 11px;
    }

    .order-tracking-box .tracking-step {
        gap: 11px;
        min-height: 49px;
        padding-bottom: 14px;
    }

    .order-tracking-box .tracking-icon {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
        font-size: 13px;
    }

    .order-tracking-box .tracking-step-content {
        padding-top: 4px;
    }

    .order-tracking-box .tracking-step-content strong {
        font-size: 13px;
    }

    .order-tracking-box .return-tracking-section {
        margin-top: 8px;
        padding: 13px 10px 11px;
    }

    .order-tracking-box .return-tracking-section h4 {
        margin-bottom: 14px;
        font-size: 14px;
    }
}

/* RESTORE ORIGINAL RISHTABOX PINK TIMELINE COLORS */
/* RESTORE ORIGINAL RISHTABOX PINK TIMELINE COLORS */
.order-tracking-box .tracking-step.completed .tracking-icon {
    background: #e94f87;
    border-color: #e94f87;
    color: #fff;
}

.order-tracking-box .tracking-step.current .tracking-icon {
    background: #fff;
    border-color: #e94f87;
    color: #e94f87;
    box-shadow: 0 0 0 4px rgba(233, 79, 135, 0.12);
}

.order-tracking-box .tracking-step-content p {
    background: #fff0f6;
    color: #c92f6b;
}

.order-tracking-box .return-tracking-section {
    background: #fff;
    border-color: #f0dce5;
}

.order-tracking-box .return-tracking-section h4 {
    color: #252b38;
}

.order-tracking-box .tracking-step:not(.completed):not(.current) .tracking-icon {
    background: #eeeef0;
    border-color: #e5e5e8;
    color: #777;
}

/* RISHTABOX ADMIN RETURN PINK THEME */
/* RISHTABOX ADMIN RETURN PINK THEME */
#returnRequestsContent {
    color: #263244;
}

#returnRequestsContent table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f0dce5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

#returnRequestsContent th {
    padding: 12px 14px;
    background: #fff0f6;
    color: #8e2850;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid #f0dce5;
}

#returnRequestsContent td {
    padding: 12px 14px;
    border-bottom: 1px solid #f2edf0;
    vertical-align: top;
}

#returnRequestsContent tbody tr:last-child td {
    border-bottom: 0;
}

#returnRequestsContent tbody tr:hover {
    background: #fff9fb;
}

#returnRequestsContent select,
#returnRequestsContent textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e7c5d4;
    border-radius: 7px;
    padding: 9px 10px;
    background: #fff;
    color: #263244;
    font: inherit;
}

#returnRequestsContent select:focus,
#returnRequestsContent textarea:focus {
    outline: none;
    border-color: #e94f87;
    box-shadow: 0 0 0 3px rgba(233, 79, 135, 0.13);
}

#returnRequestsContent button {
    border-radius: 7px;
    border: 1px solid #e94f87;
    background: #e94f87;
    color: #fff;
    padding: 9px 14px;
    font-weight: 650;
    cursor: pointer;
}

#returnRequestsContent button:hover {
    background: #d83d76;
    border-color: #d83d76;
}

#returnRequestsContent button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    #returnRequestsContent {
        padding: 12px !important;
    }

    #returnRequestsContent table {
        font-size: 13px;
    }

    #returnRequestsContent th,
    #returnRequestsContent td {
        padding: 9px;
    }
}

/* RishtaBox product share button */
.product-card-image-wrapper {
    position: relative;
    overflow: hidden;
}
.rb-product-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.rb-product-share-btn svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}
.rb-product-share-btn:hover {
    background: #f5f5f5;
}
.rb-product-share-btn:focus-visible {
    outline: 2px solid #2874f0;
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .rb-product-share-btn {
        width: 36px;
        height: 36px;
        top: 8px;
        right: 8px;
    }
    .rb-product-share-btn svg {
        width: 19px;
        height: 19px;
    }
}
/* Product detail page - Share Product button */
.rb-product-detail-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    background: #fff;
    color: #222;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rb-product-detail-share-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.rb-product-detail-share-btn:hover {
    background: #f5f7fa;
    border-color: #aeb7c2;
}

.rb-product-detail-share-btn:focus-visible {
    outline: 2px solid #2874f0;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .rb-product-detail-share-btn {
        min-height: 42px;
        padding: 9px 14px;
    }
}
/* Share icon overlay on the product detail main image */
#productDetails .rb-product-detail-image-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

#productDetails .rb-product-detail-image-wrap > .product-image {
    display: block;
    width: 100%;
}

#productDetails .rb-product-detail-image-share {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

/* =========================================================
   TESTIMONIAL LISTING + DETAIL PAGE
========================================================= */

.testimonial-view-all {
    display: flex;
    justify-content: center;
    margin: 28px auto 10px;
}

.view-all-testimonials-btn {
    padding: 10px 20px;
    background: #e35486;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.view-all-testimonials-btn:hover {
    background: #a3154d;
    transform: translateY(-2px);
}

.testimonial-card[role="button"] {
    cursor: pointer;
}

.testimonials-page {
    min-height: 60vh;
    padding: 35px 5%;
}

.testimonials-page-header {
    text-align: center;
    margin: 10px auto 30px;
}

.testimonials-page-header .blog-back-btn {
    display: block;
    margin: 0 auto 25px 0;
}

.testimonials-page-header h1 {
    margin: 14px 0 8px;
}

.testimonials-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-list-card {
    width: auto !important;
    min-width: 0;
    flex: initial !important;
    transform: none;
    height: auto;
    min-height: 250px;
}

.testimonial-list-card:hover {
    transform: translateY(-4px);
}

.testimonial-read-more {
    display: inline-block;
    margin-top: 14px;
    color: #c2185b;
    font-weight: 700;
}

.testimonial-details-view {
    max-width: 900px;
    margin: 20px auto;
}

.testimonial-detail-card {
    margin: 25px auto;
    padding: 35px;
    max-width: 760px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.testimonial-detail-photo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 18px;
}

.testimonial-detail-card h1 {
    margin: 8px 0;
}

.testimonial-detail-rating {
    font-size: 25px;
    color: #f5a623;
    margin: 12px 0 20px;
}

.testimonial-detail-message {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .testimonials-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .testimonial-detail-card {
        padding: 22px 16px;
    }

    .testimonial-detail-message {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .testimonials-list-grid {
        grid-template-columns: 1fr;
    }

    .view-all-testimonials-btn {
        width: 90%;
    }
}
/* TESTIMONIAL BUTTON — MATCH BLOG BUTTON SIZE */
.view-all-testimonials-btn {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

/* =========================================================
   TESTIMONIAL PAGE — STANDARD SPACING AND BUTTONS
   View All Testimonials button intentionally untouched
========================================================= */

#testimonialsPage.testimonials-page {
    padding: 20px 4%;
    min-height: auto;
}

#testimonialsPage .testimonials-page-header {
    margin: 0 auto 20px;
}

#testimonialsPage .testimonials-page-header .blog-back-btn,
#testimonialsPage .testimonial-details-view > .blog-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 9px 16px;
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.3;
    box-sizing: border-box;
}

#testimonialsPage .testimonials-list-grid {
    gap: 18px;
}

#testimonialsPage .testimonial-list-card {
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
}

#testimonialsPage .testimonial-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 8px 14px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
}

#testimonialsPage .testimonial-details-view {
    margin: 12px auto;
}

#testimonialsPage .testimonial-detail-card {
    margin: 12px auto;
    padding: 28px 24px;
}

@media (max-width: 768px) {
    #testimonialsPage.testimonials-page {
        padding: 16px 4%;
    }

    #testimonialsPage .testimonials-list-grid {
        gap: 12px;
    }

    #testimonialsPage .testimonial-list-card {
        padding: 16px;
    }

    #testimonialsPage .testimonial-detail-card {
        padding: 20px 16px;
    }
}

/* TESTIMONIAL PAGE — LAPTOP VIEWPORT FIX */
@media (min-width: 769px) {
    #testimonialsPage.testimonials-page {
        box-sizing: border-box;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 24px;
    }

    #testimonialsPage .testimonials-list-grid {
        width: 100%;
        box-sizing: border-box;
    }
}
/* TESTIMONIAL PAGE — MATCH BLOGS HEADER SPACING */
#testimonialsPage.testimonials-page {
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    margin-top: 0 !important;
    padding-top: 130px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    #testimonialsPage.testimonials-page {
        padding-top: 125px !important;
    }
}

@media (max-width: 560px) {
    #testimonialsPage.testimonials-page {
        padding-top: 105px !important;
    }
}
/* TESTIMONIAL BACK HOME — BLOG STYLE LEFT ALIGNMENT */
#testimonialsPage .testimonials-page-header .blog-back-btn {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto 16px 0 !important;
    text-align: left !important;
}
/* TESTIMONIAL MOBILE — ALWAYS TWO CARDS PER ROW */
@media (max-width: 768px) {
    #testimonialsPage .testimonials-list-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #testimonialsPage .testimonial-list-card {
        min-width: 0 !important;
        width: 100% !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }
}
/* RISHTABOX COMMON RESPONSIVE BACK TO HOME BUTTON */
.rb-page-home-back-btn {
    display: block !important;
    width: fit-content !important;
    max-width: 92% !important;
    margin: 12px 4% 16px !important;
    padding: 9px 16px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    cursor: pointer;
}

@media (min-width: 769px) {
    .rb-page-home-back-btn {
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {
    .rb-page-home-back-btn {
        margin: 10px 4% 14px !important;
        padding: 8px 13px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .rb-page-home-back-btn {
        margin: 8px 4% 12px !important;
        padding: 8px 11px !important;
        font-size: 12px !important;
    }
}
/* =====================================================
   RISHTABOX: MY ORDERS PAYMENT STATUS OVERLAP FIX
   ===================================================== */
.order-card p:has(> strong + .status-badge) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    line-height: 1.6 !important;
    white-space: normal !important;
    overflow: visible !important;
}

.order-card p:has(> strong + .status-badge) > strong {
    flex: 0 0 auto !important;
    line-height: 1.6 !important;
}

.order-card p:has(> strong + .status-badge) .status-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    padding: 4px 9px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    vertical-align: middle !important;
}

@media screen and (max-width: 480px) {
    .order-card p:has(> strong + .status-badge) {
        align-items: flex-start !important;
        column-gap: 6px !important;
        row-gap: 4px !important;
        font-size: 13px !important;
    }

    .order-card p:has(> strong + .status-badge) .status-badge {
        font-size: 12px !important;
    }
}

/* MINI PHONE: MY ORDERS PAYMENT STATUS */
@media screen and (max-width: 380px) {
    .order-card,
    .order-card * {
        box-sizing: border-box;
    }

    .order-card p:has(> strong + .status-badge) {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 8px 0 !important;
        margin: 6px 0 !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .order-card p:has(> strong + .status-badge) > strong {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
    }

    .order-card p:has(> strong + .status-badge) .status-badge {
        display: inline-flex !important;
        flex: 0 1 auto !important;
        align-self: flex-start !important;
        width: fit-content !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        padding: 5px 8px !important;
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .order-card .order-header,
    .order-card .order-header * {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }
}

/* MINI PHONE: ORDER DETAILS AND ACTION BUTTON LAYOUT */
@media screen and (max-width: 380px) {
    .order-card .order-details {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 10px !important;
        overflow-wrap: anywhere !important;
    }

    .order-card .order-details .order-info p,
    .order-card .order-details p {
        line-height: 1.55 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .order-card .order-details .order-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 12px 0 !important;
    }

    .order-card .order-details .order-actions button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 10px 8px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        line-height: 1.4 !important;
    }

    .order-card .order-details .cart-summary {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .order-card .order-details .cart-summary *,
    .order-card .order-details .address-section * {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }
}

/* EXTRA SMALL PHONES: 290px AND BELOW */
@media screen and (max-width: 290px) {
    #orders,
    .orders-container,
    .order-list,
    .order-card,
    .order-card * {
        box-sizing: border-box !important;
        min-width: 0 !important;
    }

    #orders,
    .orders-container,
    .order-list {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .order-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 9px !important;
        overflow-wrap: anywhere !important;
    }

    .order-card h3,
    .order-card h4,
    .order-card p,
    .order-card strong,
    .order-card span {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        white-space: normal !important;
    }

    .order-card .order-header,
    .order-card .order-meta,
    .order-card .order-details,
    .order-card .order-info,
    .order-card .address-section,
    .order-card .order-items,
    .order-card .cart-summary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .order-card .order-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .order-card .order-actions button,
    .order-card .status-badge {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .order-card .cart-item {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .order-card .cart-item img {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px !important;
        flex: 0 0 48px !important;
        object-fit: cover !important;
    }

    .order-card .cart-item-details {
        flex: 1 1 100px !important;
        width: auto !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .order-card .summary-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 4px !important;
        width: 100% !important;
    }

    .order-card .summary-row > * {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .order-card p:has(> strong + .status-badge) {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
}
