/* ==========================================================================
   Platinum menu cards: image tile, discount badge, name, price + "Add".
   Each category is a horizontally scrolling row of cards.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk:wght@300..700&display=swap');

.plt-scroll {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin: 0 -15px;
    padding: 6px 15px 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.plt-scroll::-webkit-scrollbar {
    display: none;
}

.plt-card {
    flex: 0 0 176px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
}

.plt-card[data-open-item] {
    cursor: pointer;
}

@media (min-width: 768px) {
    .plt-card {
        flex-basis: 200px;
    }
}

/* image tile */
.plt-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    background: #f3f3f4;
    overflow: hidden;
}

.plt-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* discount badge (top-right) */
.plt-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f5c332;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

/* text */
.plt-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 2px 2px;
}

.plt-card-title {
    font-family: 'Space Grotesk', sans-serif !important;
    color: #1f2124;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.plt-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.plt-card-price {
    font-family: 'Space Grotesk', sans-serif !important;
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #1f2124;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.plt-old-price {
    color: #9aa0a7;
    font-size: 11px;
    font-weight: 500;
    text-decoration: line-through;
}

/* "+ Add" pill */
.plt-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    height: 32px;
    padding: 0;
    width: 32px;
    border: 0;
    border-radius: 999px;
    background: #f5c332;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: filter .2s ease, transform .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.plt-add i {
    font-size: 12px;
}

.plt-add:hover {
    filter: brightness(1.06);
}

.plt-add:active {
    transform: scale(.95);
}

/* ==========================================================================
   Special Promo card (under "About"): soft cream card, image left,
   title / short text / price right, round action button.
   ========================================================================== */

.plt-promo-wrap {
    padding: 4px 0 18px;
}

.plt-promo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 4px 10px;
}

.plt-promo-head span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4a4540;
}

.plt-promo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, #f6efe6 0%, #ece2d4 100%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.plt-promo-img {
    flex: 0 0 116px;
    height: 116px;
    border-radius: 16px;
    overflow: hidden;
    background: #e3d9ca;
}

.plt-promo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plt-promo-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 44px;
}

.plt-promo-body h3 {
    margin: 0 0 6px;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #1d1a17;
}

.plt-promo-body p {
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px;
    line-height: 1.45;
    color: #6b645c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plt-promo-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1d1a17;
}

.plt-promo-go {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1d1a17;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
}

/* Promo card additions: intro line, old price, "+" button, sold-out tag */
.plt-promo-intro {
    display: block;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a07a10;
}

.plt-promo-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plt-promo-old {
    font-size: 12px;
    color: #9a928a;
}

.plt-promo-go {
    background: #f5c332;
    color: #1d1a17;
    font-size: 22px;
}

.plt-promo-soldout {
    position: absolute;
    right: 14px;
    bottom: 16px;
    padding: 4px 10px;
    border-radius: 100px;
    background: #1d1a17;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* The price text lives in <span>s, and custom.css sets Figtree on every
   span with !important, so the font has to be set on the spans themselves. */
.plt-card-price span {
    font-family: 'Space Grotesk', sans-serif !important;
}

/* ==========================================================================
   About: same soft cream rounded card as the Special Promo
   ========================================================================== */

.plt-about-wrap {
    padding: 28px 0 14px;
    background: transparent;
}

.plt-about-wrap .about-section {
    padding: 0;
}

.plt-about {
    padding: 20px;
    text-align: left;
    border-radius: 22px;
    background: linear-gradient(135deg, #f6efe6 0%, #ece2d4 100%);
}

.plt-about p {
    margin: 0;
    color: #6b645c;
    font-size: 13px !important;
    line-height: 1.6;
    text-align: left;
}

/* ==========================================================================
   Promo pop-up: image on the left, cream panel on the right, round close button
   ========================================================================== */

.sb-popup-frame .sb-popup-body.plt-popup {
    max-width: 860px;
    min-height: 340px;
    border-radius: 24px;
    background: #f6efe6;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    align-items: stretch;
}

.plt-popup-img {
    flex: 0 0 48%;
    position: relative;
    align-self: flex-start;
    aspect-ratio: 1 / 1;
    background: #e9dfd0;
}

.plt-popup-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plt-popup-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 40px 44px 38px;
}

.plt-popup-title {
    margin: 0;
    color: #1d1a17;
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: clamp(1.4rem, 3.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
}

.plt-popup-price {
    margin-top: 10px;
    color: #c98f00;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1.1;
}

.plt-popup-detail {
    margin: 14px 0 0;
    color: #6b645c;
    font-size: 15px;
    line-height: 1.55;
}

.plt-popup-btn {
    align-self: flex-start;
    margin-top: 24px;
    padding: 13px 28px;
    border-radius: 999px;
    background: #1d1a17;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, transform .15s ease;
}

.plt-popup-btn:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.plt-popup-btn:active {
    transform: scale(.97);
}

.sb-popup-frame .plt-popup .sb-close-popup {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1d1a17;
    color: #fff;
    font-size: 16px;
    transform: none;
}

.sb-popup-frame .plt-popup .sb-close-popup:hover {
    transform: scale(1.08);
}

@media (max-width: 640px) {
    .sb-popup-frame .sb-popup-body.plt-popup {
        flex-direction: column;
        max-width: 420px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .plt-popup-img {
        flex: 0 0 auto;
        align-self: stretch;
        width: 100%;
        height: auto;
    }

    .plt-popup-text {
        padding: 24px 22px 26px;
    }

    .sb-popup-frame .plt-popup .sb-close-popup {
        top: 10px;
        right: 10px;
    }
}
