/*
Theme Name: DiscountTilesTheme
Theme URI: https://example.com
Author: Discount Tiles
Author URI: https://example.com
Description: A minimal WooCommerce tile shop theme built with Tailwind CSS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: discount-tiles-theme
*/

/* Base styles – Tailwind handles layout and utilities via compiled output.css */

/* fonts used */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pacifico&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Menu links inherit Tailwind classes from header.php link_class */
header .menu a,
header .menu-item a {
    text-decoration: none;
}

/* Site header */
:root {
    --header-height: 4rem;
}

.site-header {
    position: fixed;
    top: -10px;
    left: 0;
    right: 0;
    z-index: 50;
}

.site-header-bar {
    padding: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.site-header-spacer {
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;  */
    height: var(--header-height); 
    background-color: var(--color-red-600);
}

.site-nav-desktop {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.site-header-cta {
    display: none;
}

.site-header-socials {
    display: none;
}

.mobile-menu-cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
}

.mobile-menu-shop {
    width: 100%;
}

.mobile-menu-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.site-social-link {
    background-color: #1f2937;
    color: #ffffff;
    text-decoration: none;
}

.site-social-link:hover {
    background-color: #374151;
    color: #ffffff;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin: 0 auto;
    background-color: #111;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    width: min(18rem, 85vw);
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    padding: 6rem 1.5rem 2rem;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.mobile-menu-link {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    text-decoration: none;
}

.mobile-menu-link:hover {
    color: #dc2626;
}

body.menu-open {
    overflow: hidden;
}

main {
    margin-top: 0;
}

@media (min-width: 1024px) {
    :root {
        --header-height: 4rem;
    }

    .site-header-spacer {
        /* height: var(--header-height); */
        background-color: var(--color-red-600);
    }

    .site-nav-desktop {
        display: flex;
    }

    .site-header-cta {
        display: flex;
    }

    .site-header-socials {
        display: flex;
    }

    .menu-toggle,
    .menu-overlay,
    .mobile-menu {
        display: none;
    }
}

/* Hero section */
.hero {
    display: flex;
    align-items: center;
    margin-top: 0;
    min-height: calc(100vh - var(--header-height));
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }
}

.hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.hero-col {
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .hero-col {
        width: 50%;
    }
}

.hero-headline {
    text-shadow: 3px 3px 0 #000;
}

.hero-script {
    font-family: 'Pacifico', cursive;
    font-size: 1.15em;
}

/* How we work section */
.how-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.how-step {
    flex: 1 1 10rem;
    max-width: 14rem;
    text-align: center;
}

.how-arrow {
    width: 80px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .how-steps {
        flex-direction: column;
        gap: 30px;
    }

    .how-arrow {
        display: none;
        /* transform: rotate(90deg); */
    }

    .how-step {
        max-width: 16rem;
    }
}

/* Ticker banner */
.ticker {
    --ticker-gap: clamp(2rem, 10vw, 8rem);
    padding-block: clamp(0.625rem, 1.5vw, 1rem);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 25s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: var(--ticker-gap);
    padding-inline: calc(var(--ticker-gap) / 2);
    flex-shrink: 0;
}

.ticker-text {
    white-space: nowrap;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (min-width: 1024px) {
    .ticker-text {
        font-size: 2.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
        transform: translateX(0);
    }
}

/* Tile grades section */
.grade-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.grade-card {
    flex: 1 1 11rem;
    max-width: 14rem;
    background-color: #fff;
    border: 3px solid #dc2626;
    border-radius: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 4px 4px 0 #111;
}

.grade-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #facc15;
    border-radius: 9999px;
    padding: 1rem 1.5rem;
    text-align: center;
}

.grade-banner-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #111;
}

/* Our Products page */
.our-products-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
}

.our-products-header-copy,
.our-products-disclaimer {
    flex: 1 1 auto;
    min-width: 0;
}

.our-products-disclaimer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #facc15;
    border: 1px solid #facc15;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    color: #111;
    align-self: stretch;
}

.our-products-disclaimer-label {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
}

.our-products-disclaimer-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.95;
}

.our-products-disclaimer-phone {
    color: #dc2626;
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .our-products-header {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .our-products-header-copy {
        flex: 1 1 55%;
    }

    .our-products-disclaimer {
        flex: 0 1 22rem;
        max-width: 24rem;
    }
}

.our-products-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.our-products-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.our-products-card-title {
    margin: 0 0 1rem;
}

.our-products-card-text {
    margin: 0;
}

.product-carousel {
    overflow: hidden;
    border-radius: 0.5rem;
    margin-top: 30px;
}

.product-carousel-track {
    display: flex;
    width: max-content;
    gap: 0.75rem;
    animation: product-carousel-scroll 30s linear infinite;
}

.product-carousel:hover .product-carousel-track {
    animation-play-state: paused;
}

.product-carousel-slide {
    flex-shrink: 1;
    width: 300px;
}

.product-carousel-slide img {
    display: block;
    width: 275px;
    height: 250px;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes product-carousel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Contact page */
.contact-block p,
.contact-block address {
    margin: 0;
}

/* Generic page template */
.page-content {
    font-size: 1rem;
    line-height: 1.625;
    color: #374151;
}

.page-content > :first-child {
    margin-top: 0;
}

.page-content > :last-child {
    margin-bottom: 0;
}

.page-content h1 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 1rem;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    margin: 0 0 1rem;
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 1rem;
}

.page-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 0.75rem;
}

.page-content h5 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #111827;
    margin: 0 0 0.75rem;
}

.page-content h6 {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.5;
    color: #111827;
    margin: 0 0 0.75rem;
}

.page-content h2:not(:first-child),
.page-content h3:not(:first-child),
.page-content h4:not(:first-child),
.page-content h5:not(:first-child),
.page-content h6:not(:first-child) {
    margin-top: 1.5rem;
}

.page-content p {
    margin: 0 0 1rem;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content li:last-child {
    margin-bottom: 0;
}

.page-content a {
    color: #dc2626;
    font-weight: 700;
    text-decoration: underline;
}

.page-content a:hover {
    color: #b91c1c;
}

.page-content strong,
.page-content b {
    font-weight: 700;
    color: #111827;
}

.page-content blockquote {
    margin: 0 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid #e5e7eb;
    color: #4b5563;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* 404 page */
.error-404 {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.error-404-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.error-404-col {
    width: 100%;
    min-width: 0;
}

.error-404-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #000; */
    border-radius: 0.75rem;
    overflow: hidden;
}

.error-404-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
    .error-404-inner {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .error-404-col {
        flex: 1;
        width: 50%;
    }
}

/* Newsletter section */
.newsletter-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
}

.newsletter-copy,
.newsletter-bottom {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 1024px) {
    .newsletter-inner {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .newsletter-copy,
    .newsletter-bottom {
        flex: 1;
        width: 50%;
    }
}

.newsletter-script {
    font-family: 'Pacifico', cursive;
    color: #fff;
}

.newsletter-form {
    width: 100%;
    max-width: 42rem;
    border-radius: 20px;
}

.newsletter-field {
    display: flex;
    width: 100%;
}

.newsletter-field input {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 0;
    color: #111;
    font-size: 1rem;
}

.newsletter-field input::placeholder {
    color: #9ca3af;
}

.newsletter-field button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0;
    background-color: #facc15;
    color: #111;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.newsletter-field button:hover {
    background-color: #eab308;
}

.newsletter-btn-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #111;
}

/* FAQ section */
.faq-list {
    width: 100%;
    border-top: 1px solid #e5e7eb;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 1.5rem;
    color: #374151;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    width: 100%;
    background-color: #111;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.5rem;
}

.footer-brand {
    flex: 1 1 16rem;
    max-width: 22rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-heading {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #facc15;
}

.footer-link {
    color: #fff;
    text-decoration: underline;
}

.footer-link:hover {
    color: #facc15;
}

.footer-nav li + li {
    margin-top: 0.75rem;
}

/* Shop (custom archive) */
.shop-page {
    background-color: #f3f4f6;
}

.shop-product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-product-card {
    flex: 1 1 14rem;
    max-width: 18rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.shop-product-card a {
    color: inherit;
    text-decoration: none;
}

.shop-product-card a:hover h2 {
    color: #dc2626;
}

.shop-product-card img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.shop-pagination {
    margin-top: 2.5rem;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
    padding: 0 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.shop-pagination .page-numbers.current {
    background-color: #dc2626;
    color: #fff;
}

/* Single product */
.product-page {
    background-color: #f3f4f6;
}

.product-back-link {
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
}

.product-back-link:hover {
    color: #dc2626;
}

.product-detail {
    margin: 0;
}

.product-detail-grid {
    align-items: flex-start;
}

.product-detail-media {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background-color: #facc15;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 700;
}

.product-main-image-wrap,
.product-main-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.product-main-image-wrap {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.product-gallery-image {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.product-detail-summary {
    background-color: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-meta {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid #e5e7eb;
}

.product-meta li + li {
    margin-top: 0.75rem;
}

.product-meta a {
    color: #dc2626;
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.product-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.product-cart .quantity {
    display: flex;
    align-items: center;
}

.product-cart .quantity input.qty {
    width: 4.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.product-cart .single_add_to_cart_button,
.product-cart button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 0;
    border-radius: 9999px;
    background-color: #dc2626;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.product-cart .single_add_to_cart_button:hover,
.product-cart button[type="submit"]:hover {
    background-color: #b91c1c;
}

.product-cart .variations {
    width: 100%;
    margin-bottom: 1rem;
}

.product-cart .variations td,
.product-cart .variations th {
    padding: 0.35rem 0;
}

.product-cart .variations select {
    width: 100%;
    max-width: 18rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
}

.product-description {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.product-description-content > :first-child {
    margin-top: 0;
}

.product-description-content > :last-child {
    margin-bottom: 0;
}

/* Map embed */
.map-embed {
    display: block;
    width: 100%;
    height: 28rem;
    border: 0;
}

.icon {
    width: 1.3rem;
    height: 1.3rem;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}

.social-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
    padding: 5px;
}

.icon-bold path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
    paint-order: stroke fill;
}

/* Promotion modal (home page) */
body.promotion-modal-open {
    overflow: hidden;
}

.promotion-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1000001 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
    margin: 0;
}

.promotion-modal[hidden] {
    display: none !important;
}

.promotion-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.72);
}

.promotion-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 52rem;
    max-height: 90vh;
    overflow: auto;
    border-radius: 1.25rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 45%, #facc15 100%);
}

.promotion-modal-inner {
    display: flex;
    align-items: center;
    min-height: 0;
}

.promotion-modal-body {
    flex: 1.1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem;
    color: #fff;
}

.promotion-modal-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
}

.promotion-modal-content {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.6;
}

.promotion-modal-content p {
    margin: 0 0 0.75rem;
}

.promotion-modal-content p:last-child {
    margin-bottom: 0;
}

.promotion-modal-image {
    flex: 0.9;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.5rem 1.5rem 0;
}

.promotion-modal-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(90vh - 5rem);
    object-fit: contain;
    object-position: center;
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.promotion-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.promotion-modal-close:hover {
    opacity: 0.8;
}

.promotion-modal-panel--image-only {
    max-width: 42rem;
    background: transparent;
    box-shadow: none;
}

.promotion-modal-panel--image-only .promotion-modal-image {
    padding: 0;
}

.promotion-modal-panel--image-only .promotion-modal-image img {
    width: auto;
    max-width: 100%;
    max-height: calc(90vh - 3rem);
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 1.25rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.promotion-modal-panel--image-only .promotion-modal-close {
    background: rgba(255, 255, 255, 0.95);
    color: #111;
    border-radius: 9999px;
}

@media (max-width: 767px) {
    .promotion-modal-inner {
        flex-direction: column;
        min-height: 0;
    }

    .promotion-modal-body {
        padding: 2rem 1.5rem 1rem;
    }

    .promotion-modal-image {
        padding: 0 1.5rem 1.5rem;
    }

    .promotion-modal-image img {
        max-height: min(calc(90vh - 14rem), 50vh);
    }

    .promotion-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1.35rem;
    }
}
