.offers-stand,
.offers-mobile-heading,
.offers-mobile-pagination,
.deal-mobile-label {
  display: none;
}

@media (max-width: 600px) {
  body[data-page=home] .offers-world .offers-scene {
    --deck-card: 38.8cqw;
    --deck-height: max(238px, 66.8cqw);
    --floor: clamp(34px, 9.2cqw, 55px);
    --offer-pager-height: 40px;
    container-type: inline-size;
    isolation: isolate;
    display: grid !important;
    grid-template: auto auto / minmax(0, 1fr);
    gap: 0 !important;
    scroll-margin-top: var(--mobile-products-top, 92px);
    width: 100% !important;
    padding: clamp(16px, 4.6vw, 28px) 0 clamp(28px, 8vw, 48px) !important;
    background: radial-gradient(ellipse at 50% 40%, #24193664, transparent 60%),
      linear-gradient(#110e1b, #15101f 34%, #151120 76%, #282128) !important;
    overflow: hidden;
  }

  #special-scene:has(.offers-mobile-pagination:empty) {--offer-pager-height: 0px;}

  body[data-page=home] #special-scene.offers-scene :is(.offers-copy, .offers-shade, .showroom-scan, .deal-window-top, .deal-all, .deal-note, .mobile-product-entry-line) {
    display: none !important;
  }

  .offers-scene .offers-mobile-heading {
    grid-area: 1 / 1;
    display: grid;
    justify-items: center;
    z-index: 7;
  }

  .offers-mobile-title {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2.5cqw, 14px);
    margin: 0;
    padding: clamp(8px, 2.2cqw, 13px) clamp(10px, 3cqw, 18px);
    width: 67cqw;
    max-width: calc(100% - 22px);
    min-height: max(39px, 11cqw);
    background: none;
    font-size: clamp(13px, 4.55cqw, 27px);
    line-height: 1.32;
    font-weight: 900;
    color: #c8a9fc;
    text-shadow: 0 1px 2px #08060a;
    filter: drop-shadow(0 3px 9px #120b18b8) drop-shadow(0 0 7px #fdab6d37);
  }

  .offers-mobile-title::before,
  .offers-mobile-title::after {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(5% 0, 95% 0, 100% 24%, 100% 76%, 95% 100%, 5% 100%, 0 76%, 0 24%);
    z-index: -1;
  }

  .offers-mobile-title::before {
    background:
      radial-gradient(ellipse at 32% 0%,#ffe7b6 0,#ffbd7f 12%,transparent 50%),
      radial-gradient(ellipse at 56% 102%,#fff1c3 0,#fbb36b 18%,transparent 61%),
      linear-gradient(116deg,#a68086,#5a4966 37%,#a07594 73%,#c59479);
  }

  .offers-mobile-title::after {
    inset: 1px;
    background:
      linear-gradient(90deg,transparent,#e7bf8e84 32%,#8f78a640 66%,transparent) center 1px / 88% 1px no-repeat,
      radial-gradient(ellipse at 32% 0%,#ae755855,transparent 48%),
      radial-gradient(ellipse at 60% 100%,#d38b4e30,transparent 56%),
      linear-gradient(168deg,#35293a,#1a1524 57%,#272035);
  }

  .offers-mobile-title strong {color:#ffdaa2;}
  .offers-mobile-title .offers-title-mark {
    display: grid;
    place-items: center;
    padding-inline-end: clamp(7px, 2.3cqw, 13px);
    border-inline-end: 1px solid #a98b706e;
  }
  .offers-mobile-title :is(i, svg) {
    width: clamp(17px, 5.65cqw, 32px);
    height: auto;
    aspect-ratio: 1;
    color: #ffd89d;
    stroke-width: 1.8;
    filter: drop-shadow(0 0 6px #ffae624a);
  }

  .offers-mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content:center;
    min-height: 44px;
    margin:9px 0 10px;
    padding:6px clamp(18px,5.2cqw,30px);
    border:1px solid #efc184ad;
    border-radius:11px;
    background:linear-gradient(140deg,#553642,#292139 58%,#32243d);
    box-shadow:inset 0 1px #faca9952,0 4px 12px #d388442e;
    font-size: clamp(12px, 3.4cqw, 18px);
    font-weight: 800;
    color: #ffe0b3;
    text-align:center;
  }
  .offers-mobile-link:focus-visible {outline:2px solid #ffd698;outline-offset:3px;}
  .offers-mobile-link:active {box-shadow:inset 0 0 9px #f7c48459;}

  body[data-page=home] #special-scene.offers-scene .hero2-background {
    grid-area: 1 / 1 / 3 / 2;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    mask-image: linear-gradient(transparent,#0007 12%,#000 27%,#000 70%,#0009 84%,transparent);
  }
  body[data-page=home] #special-scene.offers-scene .hero2-background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
  }
  /* Reframe the outer shelves from the same artwork, matching its vertical scale. */
  #special-scene .hero2-background::before,
  #special-scene .hero2-background::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset-block: 0;
    width: 25%;
    background: url(hero2-showroom-optimized.webp) no-repeat;
    background-size: auto 100%;
    pointer-events: none;
  }
  #special-scene .hero2-background::before {
    left: 0;
    background-position: left center;
    mask-image: linear-gradient(90deg,#000 35%,transparent);
  }
  #special-scene .hero2-background::after {
    right: 0;
    background-position: right center;
    mask-image: linear-gradient(270deg,#000 35%,transparent);
  }

  body[data-page=home] #special-scene.offers-scene .showroom-guides {
    grid-area: 2 / 1;
    display: block !important;
    position: relative !important;
    width: 100%;
    height: auto;
    align-self: stretch;
    overflow: visible;
    pointer-events: none;
    z-index: 4;
  }
  body[data-page=home] #special-scene .showroom-guides .hero2-character {
    position: absolute !important;
    top: auto !important;
    bottom: calc(var(--offer-pager-height) + var(--floor)) !important;
    width: 36.5cqw !important;
    height: auto !important;
    aspect-ratio: 1086 / 1448;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  body[data-page=home] #special-scene .showroom-guides .hero2-left {left: -3.7cqw !important; right: auto !important;}
  body[data-page=home] #special-scene .showroom-guides .hero2-right {
    right: -2.5cqw !important;
    left: auto !important;
  }
  #special-scene .showroom-guides .character-sprite {
    translate: var(--offer-guide-x, 0%) 0;
  }
  body[data-page=home] #special-scene .showroom-guides .character-sprite,
  body[data-page=home] #special-scene .showroom-guides .character-sprite img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    max-width: none !important;
    transform: none !important;
    animation: none !important;
  }

  body[data-page=home] #special-scene.offers-scene .deal-window {
    grid-area: 2 / 1;
    position: relative !important;
    inset: auto !important;
    z-index: auto;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .offers-scene .offers-stand {
    position: relative;
    display: block;
    height: 0;
    pointer-events: none;
  }
  .offers-scene .offers-stand img {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 59cqw;
    height: auto;
    translate: -50% 0;
    filter: drop-shadow(0 6px 7px #080512ef) drop-shadow(0 0 6px #ed8e452c);
  }

  body[data-page=home] #special-scene.offers-scene .deal-track {
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: var(--deck-height) !important;
    padding: 0 calc((100% - var(--deck-card)) / 2) !important;
    gap: 32cqw !important;
    direction: rtl;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none;
    scroll-padding: 0;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
  }
  .offers-scene .deal-track::-webkit-scrollbar {display:none;}
  #special-scene .deal-window:has([data-offer-stack]) {touch-action:pan-y pinch-zoom;}

  body[data-page=home] #special-scene.offers-scene .deal-track[data-offer-stack] {
    display: grid !important;
    grid-template-columns: minmax(0, var(--deck-card));
    justify-content: center;
    gap: 0 !important;
    padding: 1px 0 0 !important;
    overflow: clip !important;
    overflow-clip-margin: 18px;
    scroll-snap-type: none !important;
    touch-action: pan-y pinch-zoom;
    z-index: auto;
    perspective: none;
  }

  body[data-page=home] #special-scene.offers-scene .deal-card {
    flex: 0 0 var(--deck-card) !important;
    width: var(--deck-card) !important;
    min-width: 0 !important;
    position: relative;
    min-height: var(--deck-height) !important;
    margin: 0 !important;
    padding: clamp(8px, 2.2cqw, 13px) !important;
    border: 1px solid transparent !important;
    border-radius: clamp(10px, 3cqw, 18px) !important;
    background: radial-gradient(ellipse at 10% 0%,#9462634f 0,transparent 45%) padding-box,
      radial-gradient(ellipse at 50% 100%,#6b403969 0,transparent 40%) padding-box,
      linear-gradient(145deg,#342b42,#1b1526 60%,#23192f) padding-box,
      linear-gradient(140deg,#ffdb9c 0,#e2a56d 13%,#a771b8 44%,#665375 62%,#ffd192 94%) border-box !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always;
    box-shadow: inset 0 0 10px #ffbf8028 !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card:nth-of-type(n+4) {display:none !important;}
  body[data-page=home] #special-scene.offers-scene [data-offer-stack] .deal-card {
    grid-area: 1 / 1;
    transform: perspective(780px) translate3d(var(--offer-x, 0px), var(--offer-y, 0px), 0) rotateY(var(--offer-turn, 0deg)) rotateZ(var(--offer-angle, 0deg)) scale(var(--offer-scale, 1)) !important;
    transform-origin: 50% 75%;
    filter: brightness(var(--offer-light, 1));
    transition: none !important;
  }
  #special-scene [data-offer-layer="0"] {z-index: 5;}
  #special-scene [data-offer-layer="1"] {z-index: 3;}
  #special-scene [data-offer-layer="2"] {z-index: 2;}
  body[data-page=home] #special-scene.offers-scene .deal-card[data-offer-layer="0"] {
    box-shadow: inset 0 0 13px #fbc18b3f,0 0 11px #e693523c !important;
  }
  #special-scene [data-offer-layer]:not([data-offer-layer="0"]) {pointer-events: none;}
  #special-scene [data-offer-stack] img {-webkit-user-drag: none;}
  body[data-page=home] #special-scene.offers-scene .deal-card .card-surface {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    gap: clamp(4px, 1.3cqw, 8px);
    height: 100% !important;
    padding: 0 !important;
    min-width: 0;
    background: transparent !important;
    overflow: visible !important;
    box-shadow: none !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .card-surface > a {
    display: block !important;
    min-width: 0;
    padding: 0 !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-card-image {
    width: 100% !important;
    height: clamp(78px, 26cqw, 156px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: radial-gradient(ellipse at center,#615069,#322638 69%,transparent 90%) !important;
    box-shadow: none !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: transparent !important;
    transform: none !important;
    border-radius: inherit;
    padding: 1px !important;
  }
  #special-scene .deal-card .deal-card-image:has(.offer-photo-cutout)>img {opacity:0 !important;}
  #special-scene .deal-card .offer-photo-cutout {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card h3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: auto !important;
    margin: 2px 0 0 !important;
    padding: clamp(4px, 1.2cqw, 7px) 2px;
    background: linear-gradient(90deg,transparent,#120d1c9c 25%,#120d1c9c 75%,transparent);
    border-block: 1px solid #c3a2ce24;
    text-align: center;
    color: #f7f1f8 !important;
    font-size: clamp(12px, 3.25cqw, 19px) !important;
    font-weight: 800;
    line-height: 1.48 !important;
    overflow-wrap: anywhere;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card :is(.product-brand, .deal-cart, .stock, .deal-discount svg) {display: none !important;}
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-price-meta {
    display: contents !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-price-meta del {
    display: block;
    position: static !important;
    text-align: center;
    font-size: clamp(10px, 2.5cqw, 14px) !important;
    line-height: 1.35;
    white-space: normal;
    color: #d6c5d7;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-discount {
    /* The badge takes its own flex row above the image. */
    position: static !important;
    order: -1;
    align-self: flex-end;
    display: inline-flex !important;
    align-items: baseline;
    gap: .4em;
    margin: 0 !important;
    padding: .26em .6em !important;
    border-radius: 6px !important;
    border: 1px solid #eeb77d !important;
    background: linear-gradient(150deg,#ffe4bc,#edb36c) !important;
    color: #2a1920 !important;
    box-shadow: 0 2px 7px #eda86424;
    font-size: clamp(12px, 3.15cqw, 18px) !important;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
  }
  .offers-scene .deal-mobile-label {display: inline;}
  .offers-scene .deal-discount small {font-size: clamp(10px, 2.55cqw, 15px);}
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-price-row {
    display: block !important;
    position: static !important;
    text-align: center;
    margin: 0 !important;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .price {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 1px;
    font-size: clamp(13px, 4cqw, 23px) !important;
    color:#ffcc83 !important;
    font-weight: 900;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .offers-scene .deal-card .woocommerce-Price-currencySymbol {font-size: .72em;}
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-actions {
    display: block !important;
    width: auto;
    margin-top: auto !important;
    padding-top: 3px;
  }
  body[data-page=home] #special-scene.offers-scene .deal-card .deal-buy {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 44px;
    height: auto !important;
    padding: 3px 1px !important;
    border: 1px solid #eeb574 !important;
    border-radius: 14px !important;
    background: radial-gradient(ellipse at 35% 0%,#7f504b69,transparent 67%),
      linear-gradient(115deg,#392c3b,#2c213b 72%) !important;
    box-shadow: 0 0 10px #fbc07935, inset 0 0 8px #fbc07928;
    color: #ffdfa2 !important;
    white-space: nowrap;
    font-size: clamp(12px, 3.3cqw, 19px) !important;
  }
  .offers-scene .deal-buy .deal-mobile-label {white-space: pre;}
  .offers-scene .offers-mobile-pagination:not(:empty) {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    direction: rtl;
    margin: var(--floor) auto 0;
  }
  .offers-scene .offers-mobile-pagination:empty {
    display: block;
    height: var(--floor);
  }
  .offers-mobile-pagination button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .offers-mobile-pagination button::after {
    content: "";
    width: 10px;
    height: 6px;
    border-radius: 6px;
    background: #7e6b91;
  }
  .offers-mobile-pagination button[aria-current=true]::after {
    width: 13px;
    background: #ffca82;
    box-shadow: 0 0 9px #f6ab5a88;
  }
  .offers-mobile-pagination button:focus-visible {outline: 2px solid #ffca82;}
  .offers-scene .deal-track .empty-state {
    margin: auto;
    min-width: var(--deck-card);
    text-align: center;
  }
  .offers-scene .deal-window:not(:has(.deal-card)) .offers-stand {display:none;}
}
