/* ==================================================================
   Ellies UI refresh: product quick view + checkout sheet
   Loaded after the inline styles in index.php so these rules win.
   Visual only: every id used by the shop JavaScript is unchanged.
   ================================================================== */

/* ---------------------------- Product quick view ---------------------------- */
#productModal [hidden] {
    display: none !important;
}

#productModal {
    align-items: center;
    justify-content: center;
}

#productModal .modal-content.pd-sheet,
#productModal .modal-content.pd-sheet.is-description-expanded {
    width: 100%;
    max-width: 940px;
    max-height: min(90vh, 780px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(6, 40, 24, 0.22), 0 0 0 1px rgba(11, 93, 56, 0.06);
}

.pd-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0.9rem 0.8rem 1.5rem;
    border-bottom: 1px solid #eef2ef;
    background: #fff;
}

.pd-topbar-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-navy);
}

.pd-topbar-title i {
    color: var(--brand-pink);
    font-size: 0.85rem;
}

#productModal .close-btn.pd-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f2f5f3;
    color: #1f2a24;
    font-size: 1.35rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

#productModal .close-btn.pd-close:hover {
    background: #e6ece8;
    transform: rotate(90deg);
}

#productModal .modal-body.pd-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem;
    scrollbar-width: thin;
}

.pd-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.75rem;
    align-items: start;
}

.pd-media {
    position: sticky;
    top: 0;
}

.pd-media-frame {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid #eef2ef;
    background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f5f7f5 72%);
    overflow: hidden;
}

.pd-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pd-media-frame:hover img {
    transform: scale(1.04);
}

.pd-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--brand-pink);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(255, 122, 0, 0.3);
}

.pd-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pd-eyebrow {
    align-self: flex-start;
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(11, 93, 56, 0.08);
    color: var(--brand-navy);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#productModal .pd-title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #14281d;
    overflow-wrap: anywhere;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

#productModal .pd-price {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-pink);
}

.pd-was {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
}

.pd-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
}

.pd-stock,
.pd-condition {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.pd-stock {
    background: #ecf7f0;
    color: #0b5d38;
}

.pd-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a861;
    box-shadow: 0 0 0 3px rgba(34, 168, 97, 0.18);
}

.pd-condition {
    background: #f1f5f9;
    color: #475569;
}

.pd-condition:empty {
    display: none;
}

.pd-perks {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding: 0;
}

.pd-perks li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.4rem;
    border-radius: 14px;
    border: 1px solid #f0ebe2;
    background: #fffaf3;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    color: #3b4a42;
}

.pd-perks i {
    color: var(--brand-pink);
    font-size: 1rem;
}

#productModal .product-modal-description-wrap {
    margin: 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid #eef2ef;
}

#productModal .product-modal-description-wrap.is-empty {
    display: none;
}

.pd-section-label {
    margin-bottom: 0.6rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--brand-navy);
}

#productModal #modalProductDescription {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    white-space: normal;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #3f4b45;
    overflow: visible;
}

#productModal #modalProductDescription.is-collapsed {
    max-height: 11rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
    mask-image: linear-gradient(180deg, #000 62%, transparent);
}

#productModal #modalProductDescription p {
    margin: 0 0 0.65rem;
}

#productModal #modalProductDescription > p:first-child {
    font-weight: 700;
    color: #14281d;
}

#productModal #modalProductDescription h4 {
    margin: 1rem 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #14281d;
}

#productModal #modalProductDescription ul {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    padding: 0;
}

#productModal #modalProductDescription li {
    position: relative;
    padding-left: 1.7rem;
}

#productModal #modalProductDescription li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: rgba(11, 93, 56, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d38' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.62rem no-repeat;
}

#productModal .product-desc-read-more.pd-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(11, 93, 56, 0.07);
    color: var(--brand-navy);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease;
}

#productModal .product-desc-read-more.pd-read-more:hover {
    background: rgba(11, 93, 56, 0.13);
    color: var(--brand-navy);
}

.pd-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-decoration: none;
}

.pd-page-link:hover {
    color: var(--brand-pink);
}

.pd-page-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.pd-page-link:hover i {
    transform: translateX(3px);
}

#productModal .product-modal-actions.pd-actions {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.75rem;
    margin: 0;
    padding: 0.9rem 1.5rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eef2ef;
    background: #fff;
}

#productModal .pd-actions .btn {
    min-width: 0;
    height: 52px;
    margin: 0;
    padding: 0 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

#productModal .pd-actions #modalOrderNowBtn {
    border: none;
    background: linear-gradient(135deg, #ff7a00, #ff9a33);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.28);
}

#productModal .pd-actions #modalOrderNowBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 122, 0, 0.34);
}

#productModal .pd-actions .btn-outline-cart {
    box-shadow: none;
}

@keyframes pdSheetUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 720px) {
    #productModal {
        align-items: flex-end;
        padding: 0;
    }

    #productModal .modal-content.pd-sheet,
    #productModal .modal-content.pd-sheet.is-description-expanded {
        max-width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 22px 22px 0 0;
        animation: pdSheetUp 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .pd-topbar {
        position: relative;
        padding: 0.95rem 0.75rem 0.65rem 1.1rem;
    }

    .pd-topbar::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 50%;
        width: 40px;
        height: 4px;
        margin-left: -20px;
        border-radius: 4px;
        background: #dfe5e1;
    }

    #productModal .modal-body.pd-body {
        padding: 1rem 1rem 1.25rem;
    }

    .pd-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pd-media {
        position: relative;
    }

    .pd-media-frame {
        aspect-ratio: auto;
        height: min(40vh, 290px);
        padding: 1rem;
    }

    #productModal .pd-price {
        font-size: 1.45rem;
    }

    .pd-perks li {
        padding: 0.6rem 0.3rem;
        font-size: 0.68rem;
    }

    #productModal .product-modal-actions.pd-actions {
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        gap: 0.6rem;
    }

    #productModal .pd-actions .btn {
        height: 50px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    #productModal .pd-actions .btn i {
        display: none;
    }
}

/* ------------------------------ Checkout sheet ------------------------------ */
#checkoutModal .modal-content.checkout-modal-layout {
    max-width: 540px;
    padding: 0;
    box-shadow: 0 30px 80px rgba(6, 40, 24, 0.22), 0 0 0 1px rgba(11, 93, 56, 0.06);
}

#checkoutModal .pkg-shop-close {
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f2f5f3;
    color: #1f2a24;
    transition: background 0.2s ease, transform 0.2s ease;
}

#checkoutModal .pkg-shop-close:hover {
    background: #e6ece8;
    transform: rotate(90deg);
}

#checkoutModal .pkg-shop-head.checkout-shop-head {
    flex-shrink: 0;
    align-items: center;
    margin: 0;
    padding: 1.15rem 4rem 1rem 1.4rem;
    border-bottom: 1px solid #eef2ef;
}

#checkoutModal .pkg-shop-head h2 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #14281d;
}

#checkoutModal .pkg-shop-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 1.1rem;
    line-height: 1.15;
}

#checkoutModal .pkg-shop-total::before {
    content: "Total";
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a9790;
}

#checkoutModal .checkout-modal-body {
    padding: 1rem 1.4rem 0.5rem;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

#checkoutModal .checkout-clear-link {
    display: inline-flex;
    margin: 0 0 0.5rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #fdf1f0;
    color: #c0392b;
    font-size: 0.72rem;
    text-decoration: none;
}

#checkoutModal .checkout-clear-link[style*="block"] {
    display: inline-flex !important;
}

#checkoutModal .checkout-lines-wrap {
    max-height: 250px;
    overflow-y: auto;
    margin: 0 0 0.75rem;
    padding: 0.15rem 0.9rem;
    border: 1px solid #eef2ef;
    border-radius: 16px;
    background: #fbfcfb;
    scrollbar-width: thin;
}

#checkoutModal .checkout-line {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e3e9e5;
    font-size: 0.85rem;
}

#checkoutModal .checkout-line:last-child {
    border-bottom: none;
}

#checkoutModal .checkout-line-thumb {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid #eef2ef;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#checkoutModal .checkout-line-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

#checkoutModal .checkout-line-thumb i {
    display: none;
    font-size: 1.1rem;
    color: #9fb3a8;
}

#checkoutModal .checkout-line-thumb.is-empty {
    background: #f2f6f3;
}

#checkoutModal .checkout-line-thumb.is-empty i {
    display: block;
}

#checkoutModal .checkout-line-info {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
}

#checkoutModal .checkout-line-name,
#checkoutModal .checkout-line-meta {
    flex-basis: 100%;
}

#checkoutModal .checkout-line-name {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
    color: #14281d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#checkoutModal .checkout-line-meta {
    margin-top: 0.15rem;
    font-size: 0.74rem;
    color: #7a8780;
}

#checkoutModal .cart-qty-row {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-top: 0.5rem;
    padding: 2px;
    border: 1px solid #e3e9e5;
    border-radius: 999px;
    background: #fff;
}

#checkoutModal .cart-qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: #f2f5f3;
    font-size: 1rem;
    font-weight: 700;
}

#checkoutModal .cart-qty-btn:hover {
    background: var(--brand-navy);
    color: #fff;
}

#checkoutModal .cart-qty-val {
    min-width: 30px;
    font-size: 0.88rem;
}

#checkoutModal .cart-remove-btn {
    margin-top: 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
}

#checkoutModal .cart-remove-btn:hover {
    color: #c0392b;
}

#checkoutModal .checkout-line-price {
    align-self: start;
    justify-self: end;
    text-align: right;
    white-space: nowrap;
    padding-top: 0.1rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #14281d;
}

#checkoutModal .pkg-shop-summary-line {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.9rem;
    border: none;
    border-radius: 12px;
    background: #fff7ee;
    color: #6b4b2a;
    font-size: 0.84rem;
}

#checkoutModal #checkoutForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
}

#checkoutModal #checkoutForm::before {
    content: "Delivery details";
    grid-column: 1 / -1;
    margin: 0.25rem 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-navy);
}

#checkoutModal #checkoutForm > * {
    grid-column: 1 / -1;
}

#checkoutModal #checkoutForm > .pkg-shop-field:nth-child(2),
#checkoutModal #checkoutForm > .pkg-shop-field:nth-child(3) {
    grid-column: auto;
}

#checkoutModal .pkg-shop-field {
    margin-bottom: 0.85rem;
}

#checkoutModal .pkg-shop-field label {
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #5c6b63;
}

#checkoutModal .pkg-shop-field input,
#checkoutModal .pkg-shop-field select {
    height: 48px;
    padding: 0 0.95rem;
    border: 1.5px solid #e2e8e4;
    border-radius: 12px;
    background-color: #fbfcfb;
    font-size: 0.93rem;
    color: #14281d;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#checkoutModal .pkg-shop-field select.ellies-select {
    padding-right: 2.5rem;
}

#checkoutModal .pkg-shop-field input::placeholder {
    color: #a5b1aa;
}

#checkoutModal .pkg-shop-field input:hover,
#checkoutModal .pkg-shop-field select:hover {
    border-color: #cbd6cf;
}

#checkoutModal .pkg-shop-field input:focus,
#checkoutModal .pkg-shop-field select:focus {
    outline: none;
    border-color: var(--brand-pink);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

#checkoutModal .checkout-error-banner {
    border-radius: 12px;
}

#checkoutModal .checkout-modal-footer {
    padding: 0.9rem 1.4rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eef2ef;
    background: #fff;
}

#checkoutModal .checkout-modal-footer .pkg-shop-btn {
    height: 54px;
    border-radius: 14px;
    font-size: 1rem;
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#checkoutModal .checkout-modal-footer .pkg-shop-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255, 122, 0, 0.34);
}

#checkoutModal .checkout-pay-method.is-active {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

@media (max-width: 639px) {
    #checkoutModal .modal-content.checkout-modal-layout {
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 22px 22px 0 0;
    }

    #checkoutModal .pkg-shop-head.checkout-shop-head {
        padding: 1.1rem 3.6rem 0.85rem 1.1rem;
    }

    #checkoutModal .checkout-modal-body {
        padding: 0.9rem 1.1rem 0.5rem;
    }

    #checkoutModal .checkout-modal-footer {
        padding: 0.8rem 1.1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    }

    #checkoutModal .checkout-lines-wrap {
        max-height: 200px;
        padding: 0.1rem 0.75rem;
    }

    #checkoutModal .checkout-line {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 0.65rem;
    }

    #checkoutModal .checkout-line-thumb {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    #checkoutModal .checkout-line-price {
        font-size: 0.86rem;
    }
}

@media (max-width: 420px) {
    #checkoutModal #checkoutForm > .pkg-shop-field:nth-child(2),
    #checkoutModal #checkoutForm > .pkg-shop-field:nth-child(3) {
        grid-column: 1 / -1;
    }
}

/* ------------------------- Home: explore + guides ------------------------- */
.explore-section {
    margin: 2.5rem 0 1rem;
    display: grid;
    gap: 2rem;
}

.explore-intro p {
    max-width: 62rem;
    margin: 0 0 1.1rem;
    color: #4a5a51;
    font-size: 0.95rem;
    line-height: 1.75;
}

.explore-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.explore-links a {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(11, 93, 56, 0.14);
    background: #fff;
    color: var(--brand-navy);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.explore-links a:hover {
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    color: #fff;
}

.explore-blog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.explore-blog-head .shop-section-heading {
    margin: 0;
}

.explore-blog-head > a {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-decoration: none;
    white-space: nowrap;
}

.explore-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.explore-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(11, 31, 51, 0.06);
    background: #fff;
    text-decoration: none;
    color: #14281d;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.explore-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(11, 31, 22, 0.08);
}

.explore-post img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.explore-post-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.9rem 1rem 1.1rem;
}

.explore-post-cat {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-pink);
}

.explore-post-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

@media (max-width: 860px) {
    .explore-blog-grid {
        grid-template-columns: 1fr;
    }

    .explore-post {
        flex-direction: row;
        align-items: center;
    }

    .explore-post img {
        width: 120px;
        flex-shrink: 0;
        aspect-ratio: 1 / 1;
    }
}

/* The floating WhatsApp button must never cover modal actions (Order Now, Confirm order). */
body.modal-open .whatsapp-float-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
