/* ================================
   Super Six – Neutral Theme (ITS)
   ================================ */

/* Easy per-page colour controls */
:root {
  --accent: #fce500;          /* ITS Yellow (accent) */
  --bg-dark: #111111;         /* Neutral dark background */
  --bg-panel: #ffffff;        /* Panel/card background */
  --text-on-dark: #ffffff;    /* Text on dark areas */
  --text-on-light: #111111;   /* Text on light areas */
  --border-soft: #e2e2e2;     /* Soft border for cards */
  --shadow-soft: 0 4px 12px rgba(0,0,0,.08);
  --shadow-strong: 0 8px 64px rgba(0,0,0,.6);
}

/* Hide elements not needed on Super Six */
.category-superstore-header, .its-global-banner {
  display: none;
}

.banner-placeholder {
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 200 / 47;
  overflow: hidden;
}

.superstore-gold-promotion-4-card-container
.superstore-gold-promotion-4-card-inner
.superstore-gold-promotion-4-card-card
.superstore-gold-promotion-4-card-image {
  aspect-ratio: auto !important;
}

.loading-circle {
  width: 40px;
  height: 40px;
  border: 4px solid #ddd;
  border-top: 4px solid #666;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .banner-placeholder { aspect-ratio: 300 / 157; }
  .loading-circle { width: 30px; height: 30px; }
}

/* Sweep away default chrome */
[hidden]{display:none!important}
ol.breadcrumbs,.category-plp-info,.plp-subcategories,.category-superstore-header,
.category-superstore-header-static,.breadcrumbs-back-to-product,.category-superstore-info,
.category-plp .page-heading,.its-global-banner{display:none!important}

/* Wrapper background now neutral dark */
.superstore-gold-banner-wrapper {
  background-color: var(--bg-dark);
}

/* Hide promo regions until ready (no white box, no flicker) */
.superstore-highlight-promotional-banners:not([data-ready="1"]) { display: none; }

/* Family image ratios to reserve space (prevents layout shift) */
.superstore-gold-promotion-4-card-image,
.superstore-gold-promotion-3-card-image,
.superstore-gold-promotion-2-card-image {
  display:block; width:100%; height:auto; 
}

/* 1-card container should max at 2000px and centre */
.superstore-gold-promotion-1-card-container {
  max-width: 2000px;
  margin: 0 auto;
}

/* 1-card image reserves 2000×470 on desktop (image handles ratio) */
.superstore-gold-promotion-1-card-image {
  display:block; width:100%; height:auto; 
}

/* On mobile, 1-card prefers square (matches square.webp fallback strategy) */
@media (max-width: 768px) {
  .superstore-gold-promotion-1-card-image { }
}

/* Optional: card look */
.superstore-gold-promotion-1-card-card{
  background: var(--bg-panel);
  border: 2px solid var(--border-soft);
  -webkit-box-shadow: var(--shadow-soft);
  box-shadow: var(--shadow-soft);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* Region frame */
.superstore-banner {
  width: 100%;
  background-color: var(--bg-dark);
  box-sizing: border-box;
}

.superstore-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.superstore-header {
  text-align: center;
  padding: 0rem 0;
}

/* Top graphic */
.hot-deals-banner {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 1rem;
  transition: transform 0.3s ease;
}
.hot-deals-banner:hover { transform: scale(1.02); }

/* Title chip: white chip with accent text */
.superstore-title {
  font-size: 42px;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
  font-style: italic;
  background: #ffffff;
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: 6px;
}

.superstore-description,
.superstore-subDescription {
  text-align: center;
  color: var(--text-on-dark);
  padding: 0.5rem 0;
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  opacity: 0.95;
}

.superstore-products {
  width: 100%;
  min-height: 385px;
  box-sizing: border-box;
}

.superstore-hotdeals-footer {
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hotdeals-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

/* =========================
   CTA Button (Neutral)
   ========================= */
.movie-btn.storage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 14px 28px;
  background: #ffffff;                   /* white background */
  color: var(--text-on-light);           /* black text */
  font-weight: 900;
  text-transform: uppercase;
  font-family: 'Oswald', Impact, Arial Black, sans-serif;
  font-size: 2rem;
  letter-spacing: 1.5px;
  border: 3px solid var(--text-on-light);/* black border */
  border-radius: 8px;
  box-shadow: 0 4px 36px rgba(0,0,0,.4);
  text-decoration: none;
  white-space: nowrap;
  min-width: 320px;
  text-shadow: none;
  transition: transform .15s ease, box-shadow .2s, background .3s, color .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}

.movie-btn.storage-btn:hover,
.movie-btn.storage-btn:focus {
  background: var(--accent);             /* yellow fill on hover */
  color: var(--text-on-light);           /* black text stays */
  border-color: var(--accent);           /* border switches to yellow */
  transform: scale(1.07) translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.movie-btn.storage-btn span {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.movie-btn.storage-btn .deals-banner {
  max-height: 46px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 10px var(--accent));
  transition: filter 0.2s;
}

/* Inside the promo region scope if you like */
.superstore-highlight-promotional-banners a[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}

.movie-btn.storage-btn:hover .deals-banner {
  filter: drop-shadow(0 0 20px #ffffff) drop-shadow(0 0 24px var(--accent));
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .superstore-title {
    font-size: 26px;
    line-height: 1.2;
  }
  .hot-deals-banner {
    max-width: 100%;
    padding: 1rem 0;
  }
  .superstore-products { min-height: 150px; }

  .hotdeals-inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
  }

  .movie-btn.storage-btn {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 18px;
    min-width: 180px;
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .movie-btn.storage-btn span {
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-align: center;
  }

  .movie-btn.storage-btn .deals-banner {
    max-height: 26px;
    width: auto;
    margin-top: 0;
    filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 8px var(--accent));
  }
}
