/* ===========================
   GLOBAL RESET & BASE LAYOUT
=========================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

main {
    flex: 1;
}

/* ===========================
   COLOR VARIABLES
=========================== */
:root {
    --light-purple: #754b9b;
    --light-purple-light: #f3e8ff;
    --light-purple-hover: #e9d5ff;
    --purple-text: #4b0082;
}

/* ===========================
   HEADER (DESKTOP)
=========================== */
.site-header {
    background-color: var(--light-purple);
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

/* Left brand title */
.header-left {
    width: 250px;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: 10px;
    padding-top: 40px;
}

.brand-title {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    color: white;
}

/* Center logo */
.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-header img {
    max-width: 200px;
    height: auto;
    display: block;
}

/* Right-side links (desktop only) */
.header-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 25px;
    padding-right: 10px;
    white-space: nowrap;
}

.header-links a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

/* ===========================
   HAMBURGER BUTTON (MOBILE)
=========================== */
.hamburger {
    display: none;
    font-size: 34px;
    color: white;
    cursor: pointer;
    padding: 10px 20px;
    user-select: none;
}

/* ===========================
   SIDEBAR (DESKTOP)
=========================== */
.content-area {
    display: flex;
    flex: 1;
    margin-top: 120px;
}


.side-header {
    position: fixed;
    top: 120px;
    left: 0;
    width: 130px;
    height: calc(100vh - 135px);
    overflow-y: auto;
    background-color: var(--light-purple-light);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
    border-right: 1px solid #e5d4ff;
}

.side-header a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.25s, color 0.25s;
}

.side-header a:hover {
    background-color: var(--light-purple-hover);
    color: var(--purple-text);
}

/* Main content beside sidebar */
.main-content {
    margin-left: 130px;
    padding: 20px;
    flex: 1;
    box-sizing: border-box;
}

    /* CONTACT PAGE — DESKTOP FIX */
    .contact-page .main-content {
        margin-left: 130px; /* same as sidebar width */
    }

/* HOMEPAGE SPACING FIX — overrides all earlier rules */
    body.index-page .main-content {
        margin-left: 170px !important;  /* 200px sidebar + 40px breathing room */
    }


    .index-page .content-area {
    display: block;
}




.mobile-menu a {
    padding: 14px 25px;
    font-size: 18px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    border-bottom: 1px solid #e5d4ff;
}

.mobile-menu a:last-child {
    border-bottom: none;
}



/* ===========================
   HERO SLIDER
=========================== */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1400px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hero-main-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-main-image.fade-in {
    opacity: 1;
}

/* Arrows */
.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.hero-arrow {
    font-size: 40px;
    color: white;
    cursor: pointer;
    pointer-events: auto;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: 0.2s;
}

.hero-arrow:hover {
    background: rgba(0,0,0,0.6);
}

/* Thumbnails */
.hero-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.hero-thumbnails .thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.hero-thumbnails .thumb:hover,
.hero-thumbnails .thumb.active {
    opacity: 1;
}

/* ===========================
   IMAGE DISPLAY (HORIZONTAL SCROLL)
=========================== */
.image-display {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 15px;
    padding: 20px;
}

.rectangle-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* ===========================
   SECTION TITLES
=========================== */
.section-title {
    width: 100%;
    text-align: center;
    margin: 30px 0 20px;
    position: relative;
}

.section-title span {
    font-family: 'Great Vibes', cursive;
    font-size: 42px;
    background-color: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    color: #d4af37;
}

.section-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-purple);
    z-index: 1;
}

/* ===========================
   PRODUCT ITEMS
=========================== */
.product-item {
    text-align: center;
    margin-bottom: 25px;
}

.product-item img {
    width: 100%;
    max-width: 260px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.product-item p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.3;
}

.product-item .desc {
    font-family: 'Great Vibes', cursive;
    font-size: 22px;
    color: #754b9b;
    margin-top: 8px;
}

.product-item .price {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}


/* ===========================
   PRODUCT DETAILS PAGE
=========================== */
.product-details-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.product-image-box {
    margin-left: 40px;
}

.product-image-box img {
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.left-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 450px;
}

/* Product Title */
.product-title {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: #d4af37;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

/* ===========================
   PRICE BOXES
=========================== */
.info-box {
    background-color: #c9a0dc;
    padding: 20px;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.info-box.full-width {
    width: 100%;
}

.info-box h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

/* Price options */
.price-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-btn {
    background-color: white;
    color: #c9a0dc;
    border: 2px solid #c9a0dc;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.25s;
}

.price-btn:hover {
    background-color: #f5e9ff;
}

.price-btn.active-price {
    background-color: #333;
    color: white;
    border: 2px solid #000;
}

/* Price alignment improvements */
.price-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
}

.price-label,
.price-value {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.price-label {
    color: #754b9b;
}

.price-value {
    color: #000;
}

/* ===========================
   DELIGHT ADD‑ONS
=========================== */
.delight-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.vertical-separator {
    width: 2px;
    background-color: #ccc;
    height: 140px;
    border-radius: 2px;
}

.delight-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.delight-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.delight-image {
    width: 80px;
    height: auto;
    border-radius: 6px;
}

.delight-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===========================
   DELIVERY & RECIPIENT
=========================== */
.delivery-section label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.delivery-section input[type="date"],
.delivery-section select {
    width: 200px;
    padding: 6px;
    border-radius: 6px;
    border: 2px solid white;
    margin-bottom: 10px;
}

.delivery-details-row {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.delivery-section,
.recipient-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.delivery-section input[type="date"],
.delivery-section select,
.recipient-section input,
.recipient-section textarea {
    width: 100%;
    padding: 6px;
    border-radius: 6px;
    border: 2px solid white;
    font-size: 14px;
}

/* ===========================
   PRODUCT DESCRIPTION + PRICE
=========================== */
.detail-desc {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    color: #754b9b;
    margin: 10px 0 6px;
    text-align: center;
}

.detail-price {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0 15px;
    color: #000;
}

.detail-price .price-label {
    color: #754b9b;
}

/* ===========================
   SIMILAR ITEMS SECTION
=========================== */
.similar-section {
    margin-top: 40px;
}

.similar-title {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: #754b9b;
    text-align: center;
    margin-bottom: 20px;
}

.similar-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.similar-item {
    width: 22%;
    min-width: 150px;
    text-align: center;
    text-decoration: none;
}

.similar-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
    transition: transform 0.25s;
}

.similar-img:hover {
    transform: scale(1.05);
}

.similar-name {
    margin-top: 8px;
    font-family: 'Great Vibes', cursive;
    font-size: 22px;
    color: #7b1e1e;
}



/* ===========================
   CART PAGE
=========================== */
.cart-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.cart-header {
    font-size: 28px;
    font-weight: 700;
    color: #4b0082;
    text-align: center;
    margin-bottom: 25px;
}

/* Table */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.cart-table th {
    background: #c9a0dc;
    color: white;
    padding: 12px;
    font-size: 16px;
    text-align: left;
}

.cart-table td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

/* Main product row */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Add-on rows */
.addon-row td {
    background: #faf5ff;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.addon-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

/* Quantity box */
.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #c9a0dc;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #a87ac7;
}

.qty-number {
    font-weight: 600;
}

/* Remove button */
.delete-btn {
    color: #d9534f;
    font-weight: bold;
    text-decoration: none;
}

.delete-btn:hover {
    text-decoration: underline;
}

/* Totals box */
.totals-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    font-size: 16px;
    width: 350px;
    margin-left: auto;
}

.totals-box p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.grand-total {
    font-size: 20px;
    font-weight: 700;
    color: #4b0082;
}

.checkout-btn {
    display: block;
    margin-top: 15px;
    background: #754b9b;
    color: white;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.25s;
}

.checkout-btn:hover {
    background: #5e3d7c;
}

/* ===========================
   PAYMENT / CHECKOUT PAGE
=========================== */
.payment-page .main-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.checkout-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* LEFT SIDE FORM */
.checkout-form {
    flex: 1;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.checkout-form h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #444;
}

.checkout-form label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    color: #333;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.checkout-form textarea {
    height: 80px;
    resize: vertical;
}

/* PLACE ORDER BUTTON */
.checkout-form .checkout-btn {
    margin-top: 20px;
    width: 100%;
    background: #b8860b;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.checkout-form .checkout-btn:hover {
    background: #a07509;
}

/* RIGHT SIDE ORDER SUMMARY */
.order-summary-box {
    width: 350px;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.order-summary-box h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #444;
}

.order-summary-box p {
    font-size: 16px;
    margin: 8px 0;
}

.order-summary-box hr {
    margin: 15px 0;
}

.order-summary-box .grand-total {
    font-size: 20px;
    font-weight: bold;
    color: #b8860b;
}

/* ===========================
   CONTACT PAGE
=========================== */
.success-message {
    background: #d8b4f8;
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    border: 2px solid #b48ce0;
}

.contact-input,
.contact-textarea {
    width: 100%;
    max-width: 600px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #d8b4f8;
    border-radius: 8px;
    background: #faf5ff;
    transition: 0.25s ease;
    outline: none;
}

.contact-input:hover,
.contact-textarea:hover {
    background: #f3e8ff;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #754b9b;
    box-shadow: 0 0 6px rgba(117, 75, 155, 0.4);
    background: white;
}

/* ===========================
   LOGIN / SIGNUP
=========================== */
.login-container,
.signup-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-title,
.signup-title {
    font-size: 32px;
    font-family: 'Great Vibes', cursive;
    color: #754b9b;
    margin-bottom: 40px;
    text-align: center;
}

.login-box,
.signup-box {
    background: #fff;
    padding: 25px;
    width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

.login-input,
.signup-input {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #d8b4f8;
    border-radius: 8px;
    background: #faf5ff;
    transition: 0.25s ease;
}

.login-input:hover,
.signup-input:hover {
    background: #f3e8ff;
}

.login-input:focus,
.signup-input:focus {
    border-color: #754b9b;
    box-shadow: 0 0 6px rgba(117, 75, 155, 0.4);
    background: white;
}

.login-btn,
.signup-submit {
    width: 100%;
    padding: 12px;
    background: #754b9b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.25s ease;
}

.login-btn:hover,
.signup-submit:hover {
    background: #5e3d7c;
}

/* ===========================
   ADMIN PANEL
=========================== */
.admin-panel-body {
    background: linear-gradient(to bottom right, #faf5ff, #ffffff);
    margin: 0;
    padding: 40px 0;
}

.admin-panel-container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admin-title {
    font-family: 'Great Vibes', cursive;
    font-size: 60px;
    color: #d4af37;
}

.admin-logout-btn {
    background: #754b9b;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s ease;
}

.admin-logout-btn:hover {
    background: #5e3d7c;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.admin-card {
    background: white;
    padding: 25px;
    border-radius: 14px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e8d7fa;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.25s ease;
    text-align: center;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


 /* ===========================
       FOOTER HAS PURPLE
    ========================== */

    .site-footer {
        background-color: var(--light-purple); /* your purple */
        padding: 25px 20px;
        color: white;
        text-align: center;
        margin-top: 40px;
        position: relative;   /* REQUIRED */
        z-index: 10;          /* ABOVE SIDEBAR */
    }
    
    .footer-about-title {
        font-family: 'Great Vibes', cursive;
        font-size: 32px;
        color: #d4af37; /* gold accent */
        display: block;
        margin-bottom: 10px;
    }
    
    .footer-about-text {
        font-size: 15px;
        line-height: 1.5;
        display: block;
        color: white;
    }
    
    /* ===========================
       GOLD BOARDER COLOR
    ========================== */
        .site-header {
        border-top: 3px solid #d4af37;
        border-bottom: 3px solid #d4af37;
    }

    /* Hide mobile menu on desktop */
    .mobile-menu {
    display: none;
    }


/* ===========================
   UNIVERSAL SCROLL SYSTEM (DESKTOP + MOBILE)
=========================== */

.scroll-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

.scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

/* CATEGORY PAGE ARROWS (mobile only) */
.scroll-arrows {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 20px;
}

.scroll-arrows span {
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 0;
    background: none;
    color: black;
    border-radius: 0;
    box-shadow: none;
}

/* Disable old arrow system everywhere except homepage */
body:not(.index-page) .scroll-arrow {
    display: none !important;
}

/* FINAL CONTACT PAGE FIX — MUST BE LAST */
body.contact-page .main-content {
    margin-left: 0 !important;   /* remove sidebar push */
    margin-right: 0 !important;
    margin: 0 auto !important;   /* CENTER the whole content */
    display: block !important;   /* ensure vertical layout */
    max-width: 600px;            /* perfect centered width */
    text-align: left;            /* keep form text normal */
}

/* CONTACT PAGE — FONT ENHANCEMENTS */
body.contact-page .contact-submit {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #754b9b;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

body.contact-page .contact-submit:hover {
    background: #5e3d7c;
}

/* Phone + Email Titles */
body.contact-page .contact-box {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: #d4af37;
    text-align: center;
    margin-top: 25px;
}

/* Phone + Email Values */
body.contact-page .contact-text {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #754b9b;
    text-align: center;
    margin-bottom: 10px;
}

/* CONTACT PAGE — SINGLE‑LINE PHONE + EMAIL */
body.contact-page .contact-line {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #754b9b;
    text-align: center;
    margin: 8px 0;
    letter-spacing: 0.3px;
}

body.contact-page .contact-line span.label {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: #d4af37;
    margin-right: 6px;
}


/* CONTACT PAGE — FINAL PHONE + EMAIL FIX */
body.contact-page .contact-pair {
    text-align: center;
    margin: 12px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #754b9b;
}

body.contact-page .contact-pair .label {
    font-family: 'Great Vibes', cursive;
    font-size: 32px;
    color: #d4af37;
    margin-right: 6px;
}

body.contact-page .contact-textarea {
    height: 140px;          /* nice rectangle */
    border-radius: 6px;     /* subtle rounding */
    resize: none;           /* prevent pop‑out resizing */
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.popup-box button {
    margin-top: 15px;
    padding: 8px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Fix login + signup input overflow */
.login-box,
.signup-box {
    width: 100%;
    max-width: 400px;   /* keeps your intended size on desktop */
    box-sizing: border-box;
}

.login-input,
.signup-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ===========================
   Professional Link + Offer Styling
=========================== */

/* Forgot Username / Forgot Password */
.login-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #754b9b;
    text-decoration: none;
    letter-spacing: 0.3px;
    margin-top: 6px;
}

.login-link:hover {
    text-decoration: underline;
}

/* Sign Up link */
.signup-link {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #754b9b;
    text-decoration: none;
    letter-spacing: 0.4px;
}

.signup-link:hover {
    text-decoration: underline;
}

/* 20% Off Offer Text */
.signup-offer {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    margin-top: 6px;
    letter-spacing: 0.2px;
}



/* ===========================
   FINAL MOBILE LAYOUT (CLEAN)
=========================== */
@media (max-width: 768px) {

    html, body {
        width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Remove sidebar completely */
    .side-header {
        display: none !important;
    }

    /* Main content centered + pushed below header */
    .content-area {
        display: block !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 4px;
        box-sizing: border-box;
        margin-top: 110px !important;
    }

    /* Hero slider height for mobile */
    .hero-image-wrapper {
        width: 100%;
        height: 180px !important;
        overflow: hidden;
    }

    .hero-main-image {
        width: 100%;
        height: 180px !important;
        object-fit: cover;
    }

    /* ===========================
       CAROUSEL LAYOUT
    ========================== */

    .section-title {
        margin: 8px 0 4px;
    }

    .image-display-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 12px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .image-display {
        display: flex;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 12px;
        padding: 2px 0;
    }

    .image-display::-webkit-scrollbar {
        display: none;
    }

    .index-page .product-item {
        flex: 0 0 30%;
        text-align: center;
    }

    .scroll-arrow {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 20px;
        z-index: 50;
    }

    .scroll-left,
    .scroll-right {
        display: inline-block;
        min-width: 40px;
        text-align: center;
        font-size: 28px;
        color: rgba(0,0,0,0.45);
        padding: 10px 16px;
        background: rgba(255,255,255,0.9);
        border-radius: 8px;
        cursor: pointer;
        user-select: none;
        transition: opacity 0.3s ease;
    }

    .scroll-left {
        opacity: 1;
        pointer-events: auto;
    }

    /* ===========================
       MOBILE HEADER FIX
    ========================== */

    .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 90px;
        padding: 8px 12px;
        border-top: 3px solid #d4af37;
        border-bottom: 3px solid #d4af37;
    }

    .header-left {
        flex: 0 0 100px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: 0 !important;
        padding: 0;
    }

    .brand-title {
        font-size: 26px;
        line-height: 1.1;
        margin: 0;
        padding: 0;
        white-space: normal;
    }

    .logo-container {
        flex: 1 1 auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .site-header img {
        height: 60px;
        width: auto;
    }

    .header-links a {
        display: none !important;
    }

    .hamburger {
        display: block !important;
        margin-left: auto !important;
        padding-right: 6px !important;
        font-size: 34px;
        color: white;
        cursor: pointer;
    }

    .main-content {
        margin-left: 0 !important;
        padding: 15px;
    }

    .menu-overlay {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100% - 90px);
        background: rgba(0,0,0,0.3);
        z-index: 9998;
        display: none;
    }

    .mobile-menu {
        display: none;
        position: fixed;
        top: 90px;
    }

    .mobile-menu.open {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu.open + .menu-overlay {
        display: block;
    }

    /* Homepage full-width */
    body.index-page .main-content {
        margin-left: 0 !important;
    }

    .hero-image-wrapper {
        height: 160px;
    }

    .hero-main-image {
        height: 160px;
    }

    .hero-arrow {
        font-size: 30px;
        padding: 6px;
    }

    .hero-thumbnails .thumb {
        width: 50px;
        height: 32px;
    }

    .rectangle-image {
        width: 200px;
        height: 150px;
    }

    .product-item img {
        max-width: 220px;
    }

    .section-title span {
        font-size: 34px;
    }

    /* Product details mobile */
    .product-details-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image-box {
        margin-left: 0;
    }

    .product-image-box img {
        width: 90%;
        max-width: 320px;
    }

    .left-column {
        width: 100%;
        max-width: 500px;
    }

    .delight-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .vertical-separator {
        display: none;
    }

    .similar-grid {
        justify-content: center;
    }

    .similar-item {
        width: 45%;
    }

    /* Category scroll */
    .category-page .scroll-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 12px;
        row-gap: 0;
    }

    .category-page .scroll-container .product-item {
        flex: 0 0 30%;
        max-width: 30%;
    }

    /* CONTACT PAGE — MOBILE FIX */
    .contact-page .main-content {
        margin-left: 0 !important;
        padding: 10px !important;
    }

    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-input,
    .contact-textarea {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.contact-page .contact-form-container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    body.contact-page .contact-input,
    body.contact-page .contact-textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Login / Signup mobile */
    .login-box,
    .signup-box {
        width: 90%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* Stop horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Sidebar stacks on top */
    .content-area {
        display: block;
        width: 100%;
    }

    .side-header {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Main content fits screen */
    .main-content {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Signup box full width */
    .signup-box {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .signup-input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .signup-submit {
        width: 100%;
    }

    .signup-back-link {
        display: block;
        text-align: center;
        margin-top: 15px;
    }

    .success-message {
        background: #e8f9e8;
        color: #2d7a2d;
        padding: 12px 15px;
        border-radius: 6px;
        margin-bottom: 15px;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        border: 1px solid #b6e2b6;
    }

    .login-input,
    .login-btn {
        width: 100%;
    }

    /* Fix sidebar width on mobile */
    .side-header {
        width: 140px;
    }

    .main-content {
        margin-left: 140px;
    }

} /* ← THIS CLOSES THE MEDIA QUERY */



    /* ==========================================
       DESKTOP LAYOUT (min-width: 769px)
    ========================================== */
    @media (min-width: 769px) {
    
        /* Hide homepage arrows on desktop */
        .index-page .scroll-arrow {
            display: none !important;
        }
    
        /* Hide category arrows on desktop */
        .category-page .scroll-arrows {
            display: none !important;
        }
    
        /* Desktop product items should not shrink */
        .scroll-container .product-item {
            flex: 0 0 auto !important;
        }
    
        /* ==========================================
           UNIVERSAL CATEGORY PAGE LAYOUT — DESKTOP
        ========================================== */
    
        /* Desktop grid (5 per row) */
        .category-page .scroll-row {
            overflow: visible !important;
        }
    
        .category-page .scroll-container {
            display: flex;
            flex-wrap: wrap;          /* allow multiple rows */
            justify-content: center;
            gap: 20px;
            overflow-x: visible !important;
            padding-bottom: 0;
            row-gap: 40px;            /* spacing between rows */
        }
    
        /* EXACT 5 per row on desktop */
        .category-page .scroll-container .product-item {
            flex: 0 0 18% !important;
            max-width: 18% !important;
        }
    }


    /* REMOVE UNDERLINES + BLUE LINK COLOR FROM PRODUCT NAMES & PRICES */
    .product-item a,
    .product-item a *,
    .image-display a,
    .image-display a *,
    .scroll-container a,
    .scroll-container a * {
        text-decoration: none !important;
        color: inherit !important;
    }

.mobile-menu {
    background: white;
    z-index: 9999;
}

    
    
    
    
   