﻿/* ══════════════════════════════
   DISHES SECTION REDESIGN
══════════════════════════════ */

.popular-dishes-section {
    background: #fff;
    padding: 60px 0;
}

.popular-dishes-wrapper.style1 {
    background: transparent;
}

/* Title */
.popular-dishes-section .title-area {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

    .popular-dishes-section .title-area h2 {
        font-size: 36px;
        font-weight: 800;
        color: #111;
        display: inline-block;
        position: relative;
        padding-bottom: 14px;
    }

        .popular-dishes-section .title-area h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #fcb816, #ff6b9d);
            border-radius: 4px;
        }

/* Grid */
.dishes-card-wrap.style1 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    padding: 10px 4px;
}

/* Card */
.dishes-card.style1 {
    background: #fff;
    border-radius: 20px;
    padding: 20px 16px 16px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border: 1.5px solid #f5f5f5;
    overflow: hidden;
}

    .dishes-card.style1::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(232,24,93,0.04), transparent);
        opacity: 0;
        transition: opacity 0.25s;
        border-radius: 20px;
    }

    .dishes-card.style1:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 40px rgba(232,24,93,0.15);
        border-color: #fbd0dc;
    }

        .dishes-card.style1:hover::before {
            opacity: 1;
        }

    /* Heart Button */
    .dishes-card.style1 .social-profile {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 2;
    }

    .dishes-card.style1 .plus-btn a {
        width: 34px;
        height: 34px;
        background: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fcb816;
        font-size: 14px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
        transition: background 0.2s, color 0.2s, transform 0.2s;
        text-decoration: none;
    }

        .dishes-card.style1 .plus-btn a:hover {
            background: #fcb816;
            color: #fff;
            transform: scale(1.1);
        }

    /* Image */
    .dishes-card.style1 .dishes-thumb {
        width: 130px;
        height: 130px;
        margin: 0 auto 14px;
        border-radius: 50%;
        overflow: hidden;
        background: #fff5f8;
        border: 3px solid #fbd0dc;
        transition: border-color 0.25s, transform 0.25s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dishes-card.style1:hover .dishes-thumb {
        border-color: #fcb816;
        transform: scale(1.05);
    }

    .dishes-card.style1 .dishes-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Name */
    .dishes-card.style1 a h3 {
        font-size: 15px;
        font-weight: 700;
        color: #111;
        margin: 0 0 8px;
        line-height: 1.3;
        transition: color 0.2s;
        text-decoration: none;
    }

    .dishes-card.style1:hover a h3 {
        color: #fcb816;
    }

    /* Price */
    .dishes-card.style1 h6 {
        font-size: 15px;
        font-weight: 700;
        color: #fcb816;
        margin: 0 0 14px;
    }

    /* Add to Cart Button (appears on hover) */
    .dishes-card.style1::after {
        content: 'Order Now';
        position: absolute;
        bottom: -44px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #fcb816, #c0134e);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        padding: 12px;
        transition: bottom 0.25s ease;
        letter-spacing: 0.5px;
    }

    .dishes-card.style1:hover::after {
        bottom: 0;
    }

/* Mobile */
@media (max-width: 767px) {
    .dishes-card-wrap.style1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dishes-card.style1 .dishes-thumb {
        width: 100px;
        height: 100px;
    }

    .dishes-card.style1 a h3 {
        font-size: 13px;
    }

    .popular-dishes-section .title-area h2 {
        font-size: 26px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .dishes-card-wrap.style1 {
        grid-template-columns: repeat(3, 1fr);
    }
}
.option-chip input[type="checkbox"] {
    display: none;
}

.option-chip input[type="checkbox"]:checked + span {
    background: #fcb816;
    border-color: #fcb816;
    color: #fff;
    box-shadow: 0 3px 10px rgba(232,24,93,0.3);
}
/* ══════════════════════════════
   ORDER MODAL — 3 Section Design
══════════════════════════════ */
/* ── Toast Notifications ── */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    animation: toastIn 0.3s ease forwards;
    cursor: pointer;
}

.toast-msg.hide {
    animation: toastOut 0.3s ease forwards;
}

.toast-msg.success { background: linear-gradient(135deg, #1a9e4e, #16873f); }
.toast-msg.danger  { background: linear-gradient(135deg, #fcb816, #c0134e); }
.toast-msg.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.toast-msg.info    { background: linear-gradient(135deg, #1976d2, #1565c0); }

.toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-text {
    flex: 1;
    line-height: 1.4;
}

.toast-close {
    font-size: 16px;
    opacity: 0.7;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.toast-close:hover { opacity: 1; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
}

@media (max-width: 767px) {
    #toast-container {
        top: auto;
        bottom: 20px;
        right: 12px;
        left: 12px;
    }
    .toast-msg {
        min-width: unset;
        max-width: 100%;
    }
}
.order-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    position: relative;
}

/* Close Button */
.order-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #444;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
}

.order-modal-close:hover {
    background: #fcb816;
    color: #fff;
}

/* 3-Column Grid */
.order-modal-grid {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    min-height: 500px;
}

/* ── SECTION 1: Image ── */
.order-modal-image {
    background: linear-gradient(160deg, #1a1a2e, #16213e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
    border-radius: 20px 0 0 20px;
}

.order-img-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.order-img-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.order-img-badge {
    margin-top: 16px;
    background: #fcb816;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

/* ── SECTION 2: Options ── */
.order-modal-options {
    background: #fafafa;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.options-scroll {
    padding: 24px 20px;
    overflow-y: auto;
    max-height: 540px;
    flex: 1;
}

.options-scroll::-webkit-scrollbar {
    width: 4px;
}

.options-scroll::-webkit-scrollbar-thumb {
    background: #fcb816;
    border-radius: 4px;
}

.options-heading {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* Option Group */
.option-group {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.option-group-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.option-group-label i {
    color: #fcb816;
    font-size: 13px;
}

.option-size-badge {
    margin-left: auto;
    background: #fff5f8;
    color: #fcb816;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #fbd0dc;
}

/* Chips */
.option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.option-chip {
    cursor: pointer;
    user-select: none;
}

.option-chip input[type="radio"] {
    display: none;
}

.option-chip span {
    display: block;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    background: #fff;
    transition: all 0.2s;
    white-space: nowrap;
}

.option-chip input[type="radio"]:checked + span {
    background: #fcb816;
    border-color: #fcb816;
    color: #fff;
    box-shadow: 0 3px 10px rgba(232,24,93,0.3);
}

.option-chip:hover span {
    border-color: #fcb816;
    color: #fcb816;
}

/* ── SECTION 3: Summary ── */
.order-modal-summary {
    background: #fff;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 0 20px 20px 0;
}

.summary-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.summary-product-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.summary-price-tag {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.summary-currency {
    font-size: 14px;
    color: #fcb816;
    font-weight: 600;
}

#txtSalePrice {
    font-size: 30px;
    font-weight: 800;
    color: #fcb816;
    line-height: 1;
}

.summary-detail-badge {
    background: #fff8f0;
    border: 1px solid #fde8c8;
    color: #c47a00;
    font-size: 12.5px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
}

.summary-divider {
    height: 1px;
    background: #f0f0f0;
}

/* Quantity */
.summary-qty-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.summary-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f7f7;
    border-radius: 10px;
    padding: 4px 8px;
    border: 1px solid #eee;
}

.summary-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: #fcb816;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.summary-qty-btn:hover {
    background: #c0134e;
}

.summary-qty-input {
    width: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    outline: none;
}

/* Note */
.summary-note-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.summary-note-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.summary-note-input {
    width: 100%;
    border: 1.5px solid #eee;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #444;
    resize: none;
    height: 80px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.summary-note-input:focus {
    border-color: #fcb816;
}

.summary-note-input::placeholder {
    color: #bbb;
}

/* Add to Cart Button */
.summary-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, #fcb816, #c0134e);
    color: #fff !important;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 6px 20px rgba(232,24,93,0.35);
    margin-top: auto;
}

.summary-add-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff !important;
}

.summary-add-price {
    margin-left: auto;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 600;
}

/* ── Mobile ── */
@media (max-width: 991px) {
    .order-modal-grid {
        grid-template-columns: 1fr;
    }

    .order-modal-image {
        border-radius: 20px 20px 0 0;
        padding: 20px;
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .order-img-wrap {
        width: 120px;
        flex-shrink: 0;
    }

    .order-modal-summary {
        border-radius: 0 0 20px 20px;
    }

    .options-scroll {
        max-height: none;
    }
}
/* ── RESPONSIVE FIXES ── */

/* 1. Footer map - make it fluid */
.mapouter {
  width: 100% !important;
  height: 250px !important;
}
.gmap_canvas {
  width: 100% !important;
  height: 100% !important;
}
.gmap_canvas iframe {
  width: 100% !important;
  height: 100% !important;
}

/* 2. Logo - cap max size, allow shrinking */
.logo-image img,
.logo img,
.header-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* 3. Dishes card wrap - responsive grid */
.dishes-card-wrap.style1 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.dishes-card.style1 {
  flex: 1 1 140px;
  max-width: 180px;
  min-width: 120px;
}

/* 4. Location modal two-column layout */
.location-two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.location-left {
  flex: 1 1 280px;
  min-width: 260px;
}
.location-right {
  flex: 1 1 300px;
  min-width: 260px;
}
#map {
  width: 100%;
  height: 350px;
  min-height: 250px;
}

/* 5. CTA banner images on small screens */
.cta-thumb img {
  max-width: 100%;
  height: auto;
}

/* 6. Header location text overflow */
.top-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

/* 7. General mobile padding */
@media (max-width: 767px) {
  .top-text {
    max-width: 160px;
    font-size: 13px;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .offer-card.style1 {
    min-height: auto;
  }

  .dishes-card.style1 {
    flex: 1 1 100px;
    max-width: 130px;
  }

  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .location-left,
  .location-right {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .logo-image img,
  .header-logo img {
    max-width: 130px;
  }

  .dishes-card.style1 {
    flex: 1 1 80px;
    max-width: 110px;
  }
}
/* ── Location Modal Two-Column Layout ── */
.location-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* Header */
.location-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: linear-gradient(180deg, #1a0000 0%, #0A0A0A 60%);
    color: #fff;
}

.location-modal-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-icon-wrap {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.location-modal-title h5 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.location-modal-title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
    color: #fff;
}

.location-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .location-close-btn:hover {
        background: rgba(255,255,255,0.35);
    }

/* Two Column Layout */
.location-two-col {
    display: grid;
    grid-template-columns: 320px 1fr;
    min-height: 420px;
}

/* LEFT Side */
.location-left {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-right: 1px solid #f0f0f0;
    background: #fff;
}

.location-select-wrap label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-select-wrap .nice-select,
.location-select-wrap select {
    width: 100% !important;
    border-radius: 10px !important;
    border: 1.5px solid #eee !important;
    font-size: 14px !important;
    height: 44px !important;
    padding: 0 12px !important;
    transition: border-color 0.2s !important;
}

    .location-select-wrap .nice-select:hover {
        border-color: #fcb816 !important;
    }

/* GPS Button */
.location-gps-btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #1976d2, #1565c0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

    .location-gps-btn:hover {
        opacity: 0.9;
    }

/* Map hint label */
.map-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

    .map-label i {
        color: #fcb816;
    }

/* Address display box */
.location-address-box {
    background: #fff5f8;
    border: 1px solid #fbd0dc;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex-grow: 1;
    margin-top: 4px;
}

/* Confirm Button */
.location-confirm-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #fcb816, #c0134e);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
    margin-top: auto;
}

    .location-confirm-btn:hover {
        opacity: 0.9;
    }

/* RIGHT Side: Map */
.location-right {
    position: relative;
}

#map {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px !important;
    border-radius: 0 0 20px 0;
    margin: 0 !important;
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
    .location-two-col {
        grid-template-columns: 1fr;
    }

    .location-left {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 16px;
    }

    #map {
        min-height: 260px !important;
        border-radius: 0 0 20px 20px !important;
    }

    #exampleModalLocation .modal-dialog {
        margin: 10px !important;
    }
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Header: Logo sizing on mobile --- */
@media (max-width: 767px) {
    .logo-image img,
    .logo img {
        width: 130px !important;
    }
    /* Stack header top bar vertically */
    .header-top-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 6px;
        padding: 6px 10px;
        font-size: 13px;
    }

        .header-top-wrapper .social-icon {
            gap: 8px;
        }
    /* Make main header wrapper flex-friendly */
    .main-header-wrapper {
        flex-wrap: wrap;
    }
    /* Navigation menu: horizontal scroll on small screens */
    #mobile-menu ul {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        scrollbar-width: none; /* Firefox */
    }

        #mobile-menu ul::-webkit-scrollbar {
            display: none; /* Chrome/Safari */
        }

        #mobile-menu ul li {
            flex-shrink: 0;
        }

            #mobile-menu ul li a {
                white-space: nowrap;
                padding: 10px 14px;
                font-size: 13px;
                display: block;
            }
    /* Header cart icon tap area */
    .header__cart a {
        padding: 8px;
        font-size: 20px;
    }
}

/* --- Location Modal: Fix fixed widths --- */
#exampleModalLocation .modal-dialog {
    width: 100% !important;
    max-width: 95vw !important;
    margin: 10px auto !important;
}

#map {
    width: 100% !important;
    height: 300px !important;
}

@media (min-width: 768px) {
    #exampleModalLocation .modal-dialog {
        max-width: 800px !important;
    }

    #map {
        height: 479px !important;
    }
}

/* Modal content padding on mobile */
@media (max-width: 575px) {
    #exampleModalLocation .modal-content {
        padding-right: 0 !important;
        padding-bottom: 10px !important;
    }

    #exampleModalLocation .modal-body {
        padding: 10px !important;
    }

    #exampleModalLocation .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #exampleModalLocation .row > [class*="col-"] {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .single-select {
        width: 100% !important;
        margin-bottom: 8px;
    }
}

/* --- Back to top button: safe area for mobile --- */
#back-top {
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: 20px;
    z-index: 9999;
    touch-action: manipulation;
}

/* --- Offcanvas sidebar: full width on mobile --- */
@media (max-width: 575px) {
    .offcanvas__info {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

/* --- Touch-friendly tap targets (min 44px) --- */
@media (max-width: 767px) {
    nav a,
    .header__cart a,
    .sidebar__toggle,
    .offcanvas__close button,
    .back-to-top {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- Social icons spacing on mobile --- */
@media (max-width: 767px) {
    .social-icon a {
        padding: 6px 8px;
        font-size: 14px;
    }
}

/* --- Location text truncation on small screens --- */
@media (max-width: 767px) {
    .top-text {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        cursor: pointer;
        font-size: 12px;
    }
}

/* --- Preloader: safe on all screens --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

/* --- Container fluid padding on mobile --- */
@media (max-width: 575px) {
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.cta-slider {
    position: relative;
    padding-bottom: 50px; /* space for pagination dots */
}

    .cta-slider .swiper-pagination-bullet-active {
        background: var(--theme-color, #e63312);
    }

.header__right__dropdown__wrapper {
    width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    padding: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f0f0;
}

    .cart-header h5 {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        color: #111;
    }

.cart-clear-btn {
    color: #fcb816;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

    .cart-clear-btn:hover {
        text-decoration: underline;
    }

.header__right__dropdown__inner {
    max-height: 260px;
    overflow-y: auto;
    padding: 10px 18px;
}

.single__header__right__dropdown {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.header__right__dropdown__img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.header__right__dropdown__content {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin: 4px 0 8px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #fcb816;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .qty-btn:hover {
        background: #c0134e;
    }

.qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 1px dashed #ccc;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Trash Icon */
.header__right__dropdown__close a {
    color: #aaa;
    font-size: 18px;
    transition: color 0.2s;
}

    .header__right__dropdown__close a:hover {
        color: #fcb816;
    }

/* Cart Footer */
.cart-footer {
    padding: 14px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.cart-summary {
    margin-bottom: 12px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #444;
    margin-bottom: 6px;
}

    .cart-summary-row.grand-total {
        font-size: 15px;
        color: #111;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

        .cart-summary-row.grand-total small {
            font-size: 11px;
            color: #777;
            font-weight: 400;
        }

/* Min Order Notice */
.cart-min-order-notice {
    background: #fff0f4;
    border: 1px solid #f5b8cb;
    color: #c0134e;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Checkout Button */
.checkout-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    background: #aaa;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

    .checkout-btn:hover {
        background: #888;
        color: #fff;
    }

    /* Active checkout (when min order met) */
    .checkout-btn.active {
        background: #fcb816;
    }

        .checkout-btn.active:hover {
            background: #c0134e;
        }

@media (max-width: 767px) {
    .header__right__dropdown__wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        border-radius: 0 !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        display: none !important;
    }

    .header__right__dropdown__wrapper.cart-open {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .header__right__dropdown__inner {
        max-height: calc(100vh - 280px) !important;
    }

    .cart-header {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
        padding: 20px 18px;
    }
}
/* ── Cart: click-based toggle (hover removed) ── */
.header-main .header-right .header__cart .header__right__dropdown__wrapper {
  position: absolute;
  width: 340px;
  max-height: 700px;
  padding: 0;
  border-bottom: 3px solid var(--border);
  background-color: var(--white);
  box-shadow: 0 0 50px 10px rgba(95, 45, 237, 0.15);
  top: 100%;
  left: -280px;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: none !important;
}

.header-main .header-right .header__cart .header__right__dropdown__wrapper.cart-open {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
@media (max-width: 767px) {
  .header-main .header-right .header__cart .header__right__dropdown__wrapper {
    left: -220px;
  }
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__close {
  position: absolute;
  right: 0;
  top: -10px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__close a :hover {
  color: var(--theme2);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner {
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 30px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  position: relative;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__img {
  width: 30%;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__img a {
  border: 1px solid var(--border);
  display: inline-block;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__img img {
  width: 100%;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__content {
  text-align: left;
  width: 70%;
  margin-left: 15px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__content a {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--title);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__content a:hover {
  color: var(--theme2);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__content p {
  color: var(--title);
  font-size: 14px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__inner .single__header__right__dropdown .header__right__dropdown__content p span {
  color: var(--theme2);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .dropdown__price {
  text-align: left;
  font-size: 17px;
  margin-bottom: 20px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .dropdown__price span {
  float: right;
  color: var(--theme2);
  font-weight: 700;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__button a {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  padding: 10px 0px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__button a.white__color {
  border: 1px solid var(--theme2);
  margin-bottom: 20px;
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__button a.white__color:hover {
  background: var(--theme2);
  color: var(--white);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__button a.blue__color {
  background: var(--title);
  color: var(--white);
}
.header-main .header-right .header__cart .header__right__dropdown__wrapper .header__right__dropdown__button a.blue__color:hover {
  background: var(--theme2);
}
.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #444;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-close-btn:hover {
    background: #fcb816;
    color: #fff;
}