.maycep-store-hero {
  --maycep-line: var(--yc-border, #e9e9e9);
  --maycep-ink: var(--yc-text, #1a1a1a);
  --maycep-red: var(--yc-primary, #F27A1A);
  --maycep-paper: var(--yc-surface, #fff);
  --maycep-radius: var(--yc-radius-lg, 16px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(var(--yc-header-max, 1200px), calc(100% - 2 * var(--yc-gutter, 16px)));
  margin-inline: auto;
  color: var(--maycep-ink);
}

.maycep-store-hero.has-offers {
  grid-template-columns: minmax(0, 1fr) minmax(276px, 28%);
}

.maycep-campaign-carousel,
.maycep-store-offers {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--maycep-line);
  border-radius: var(--maycep-radius);
  background: var(--maycep-paper);
}

.maycep-campaign-carousel {
  position: relative;
  align-self: start;
}

.maycep-campaign-slide {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 51fr) minmax(0, 49fr);
  min-height: clamp(270px, 23vw, 312px);
}

.maycep-campaign-slide[hidden],
.maycep-campaign-controls[hidden] { display: none; }

.maycep-campaign-copy {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  min-width: 0;
  padding: 28px clamp(21px, 3vw, 44px);
}

.maycep-campaign-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--maycep-red);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.maycep-campaign-eyebrow::before {
  flex: 0 0 3px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
  content: '';
}

#main-content #yc-home-hero-slider .maycep-campaign-title {
  margin: 0;
  color: var(--maycep-ink);
  font-size: clamp(30px, 3.1vw, 44px) !important;
  font-weight: 750;
  line-height: 1.06 !important;
  letter-spacing: -.038em;
  text-wrap: balance;
}

.maycep-campaign-description {
  max-width: 38ch;
  margin: 14px 0 18px;
  color: var(--yc-muted, #555);
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.48;
}

#yc-home-hero-slider a.maycep-campaign-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--yc-radius-sm, 8px);
  background: var(--maycep-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

#yc-home-hero-slider a.maycep-campaign-cta:hover { filter: brightness(.91); }

.maycep-campaign-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f4f4f4;
}

.maycep-campaign-photo :is(a, picture, img) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#yc-home-hero-slider .maycep-campaign-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.maycep-campaign-slide.maycep-campaign-image-only { grid-template-columns: 1fr; }
#yc-home-hero-slider .maycep-campaign-image-only .maycep-campaign-photo img { object-fit: contain; }

.maycep-campaign-slide.maycep-campaign-art:not([hidden]) {
  display: block;
  min-height: 0;
  aspect-ratio: 2021 / 778;
}

#yc-home-hero-slider .maycep-campaign-art :is(a, picture, img),
.maycep-store-secondary-banner .yc-hb-banner :is(picture, img) {
  display: block;
  width: 100%;
}

#yc-home-hero-slider .maycep-campaign-art > a {
  position: absolute;
  inset: 0;
}

#yc-home-hero-slider .maycep-campaign-art :is(picture, img),
.maycep-store-secondary-banner .yc-hb-banner :is(picture, img) {
  height: 100% !important;
}

#yc-home-hero-slider .maycep-campaign-art img,
.maycep-store-secondary-banner .yc-hb-banner img { object-fit: cover; }

.maycep-store-secondary-banner .yc-hb-banner > :is(picture, img) {
  position: absolute;
  inset: 0;
}

.maycep-store-secondary-banner .yc-hb-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--yc-radius-lg, 16px);
  background: #f4f4f4;
  aspect-ratio: 2021 / 778;
}

.maycep-campaign-controls {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.maycep-campaign-controls button {
  --arrow-size: 32px;
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #262626;
  cursor: pointer;
  pointer-events: auto;
}

.maycep-campaign-controls button::before,
.maycep-campaign-controls svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.maycep-campaign-controls button::before {
  width: var(--arrow-size);
  height: var(--arrow-size);
  box-sizing: border-box;
  border: 1px solid #26262620;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #26262638;
  content: '';
}

.maycep-campaign-controls button:hover { color: var(--maycep-red); }

.maycep-store-hero .maycep-campaign-controls button:focus-visible {
  outline: none;
}

.maycep-campaign-controls button:focus-visible::before {
  outline: 2px solid #262626;
  outline-offset: 1px;
}

.maycep-campaign-controls svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 1199px) {
  .maycep-campaign-controls { align-items: end; }
  .maycep-campaign-controls button { --arrow-size: clamp(16px, 5vw, 26px); }
  .maycep-campaign-controls button::before,
  .maycep-campaign-controls svg { top: calc(100% - (var(--arrow-size) / 2 + 2px)); }
  .maycep-campaign-controls svg { width: clamp(13px, 4vw, 17px); height: clamp(13px, 4vw, 17px); }
}

@media (max-width: 767px) {
  .maycep-campaign-carousel:has(.maycep-campaign-art:not([hidden])) .maycep-campaign-controls { align-items: center; }
  .maycep-campaign-carousel:has(.maycep-campaign-art:not([hidden])) .maycep-campaign-controls button {
    --arrow-size: clamp(24px, 7vw, 30px);
    flex-basis: 44px;
    width: 44px;
  }
  .maycep-campaign-carousel:has(.maycep-campaign-art:not([hidden])) .maycep-campaign-controls button::before,
  .maycep-campaign-carousel:has(.maycep-campaign-art:not([hidden])) .maycep-campaign-controls svg { top: 50%; }
}

.maycep-store-offers {
  --offer-edge: 13px;
  --offer-peek: 24px;
  --offer-gap: 10px;
  --offer-action: #F27A1A;
  --offer-action-hover: #D05C00;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 14px;
  border-color: #383838;
  background: radial-gradient(ellipse at 100% 0%, #454545 0, transparent 65%),
    linear-gradient(138deg, #313131, #262626 56%, #1d1d1d);
}

.maycep-store-offers::before {
  position: absolute;
  z-index: -1;
  inset: -30% -55% -70% 0;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  box-shadow: 0 0 0 17px #ffffff09, 0 0 0 45px #ffffff06;
  transform: rotate(-28deg);
  pointer-events: none;
  content: '';
}

.maycep-store-offers header { margin-inline: var(--offer-edge); }

#yc-home-hero-slider .maycep-store-offers-all {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 30px 8px 13px;
  border: 1px solid #ffffff3b;
  border-radius: 10px;
  background: linear-gradient(165deg, #414141, #292929 85%);
  box-shadow: inset 0 1px 0 #ffffff1a, 0 4px 12px #00000026;
  color: #fff;
  text-decoration: none;
}

#main-content #yc-home-hero-slider .maycep-store-offers h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(19px, 1.85vw, 24px) !important;
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.023em;
  text-align: center;
  text-transform: uppercase;
}

.maycep-store-offers-all svg {
  position: absolute;
  right: 11px;
  width: 17px;
  height: 17px;
}

.maycep-store-offers-all svg,
.maycep-store-offers-controls svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

#yc-home-hero-slider .maycep-store-offers-all:hover { background: #484848; }

.maycep-store-offers-window {
  position: relative;
  display: grid;
  flex: 1;
  min-width: 0;
}

.maycep-store-offers-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% - var(--offer-peek));
  gap: var(--offer-gap);
  min-width: 0;
  overflow-x: auto;
  padding-inline: var(--offer-edge) calc(var(--offer-edge) + var(--offer-peek));
  scroll-padding-inline-start: var(--offer-edge);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.maycep-store-offers-track::-webkit-scrollbar { display: none; }
.maycep-store-offers-track:has(> :only-child) { grid-auto-columns: 100%; padding-inline: var(--offer-edge); }

#yc-home-hero-slider a.maycep-store-offer {
  display: grid;
  grid-template-columns: minmax(61px, 34%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 155px;
  padding: 11px;
  border: 1px solid #e4e4e4;
  border-radius: 13px;
  background: #fff;
  color: #262626;
  text-decoration: none;
  scroll-snap-align: start;
}

#yc-home-hero-slider a.maycep-store-offer:is(:hover, :focus-visible) .maycep-store-offer-cta {
  background: var(--offer-action-hover);
}

.maycep-store-offer-image {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
}

.maycep-store-offer-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.maycep-store-offer-info { display: grid; min-width: 0; gap: 6px; }

.maycep-store-offer-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  font-weight: 690;
  line-height: 1.22;
}

.maycep-store-offer-price {
  color: #262626;
  font-size: 18px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.maycep-store-offer-price del { display: block; color: #666; font-size: 12px; font-weight: 500; }
.maycep-store-offer-price ins { color: inherit; text-decoration: none; }

.maycep-store-offer-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 37px;
  padding-inline: 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--offer-action);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.maycep-store-offer-cta span { font-size: 18px; }

.maycep-store-offers-controls {
  position: absolute;
  z-index: 1;
  inset: 0 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.maycep-store-offers-controls[hidden] { display: none; }

.maycep-store-offers-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #00000029;
  color: #262626;
  cursor: pointer;
  pointer-events: auto;
}

.maycep-store-offers-controls button:disabled { visibility: hidden; }
.maycep-store-offers-controls button:hover { color: var(--offer-action); }
.maycep-store-offers-controls svg { width: 18px; height: 18px; }
.maycep-store-hero .maycep-store-offer:focus-visible { outline-offset: -3px; }

.maycep-store-hero :is(a, button):focus-visible { outline: 2px solid var(--maycep-red); outline-offset: 2px; }

html body.drn-reference-global.nsc-baklava.maycep-storefront:has(#main-content .maycep-auth-shell) {
  background: linear-gradient(125deg, #FFA156F2 0%, #F37F22DF 46%, #F27A1AA8 100%),
    var(--maycep-store-photo, none) center 40% / cover no-repeat, #F27A1A !important;
}

html body.maycep-storefront #main-content :is(
  .yc-cp-hero--compact, .yc-about-intro, .yc-blog-hero, .yc-ot-hero-copy, .yc-contact-hero
),
html body.maycep-storefront.yc-taksit-apply-active #main-content .drna-page .drna-hero {
  --maycep-hero-background:
    linear-gradient(90deg, #262626 10%, #262626f2 38%, #26262650 83%),
    var(--maycep-store-photo, url("../maycep-vodafone/hero-electronics.svg")),
    linear-gradient(90deg, #262626, #463527);
  --maycep-hero-art-size: 69% auto;
  --maycep-hero-art-position: right center;
}

@media (max-width: 980px) {
  .maycep-store-hero.has-offers { grid-template-columns: minmax(0, 1fr); }
  .maycep-store-offers-track { grid-auto-columns: min(420px, calc(100% - var(--offer-peek))); }
  #yc-home-hero-slider a.maycep-store-offer { min-height: clamp(160px, 46vw, 195px); }
}

@media (max-width: 900px) {
  .maycep-store-secondary-banner .yc-hb-banner { aspect-ratio: 1080 / 760; }
}

@media (max-width: 767px) {
  .maycep-store-hero { gap: 12px; }

  .maycep-campaign-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 162px minmax(196px, auto);
  }

  .maycep-campaign-photo { grid-row: 1; }
  .maycep-campaign-copy { padding: 15px 17px 17px; }
  .maycep-campaign-eyebrow { margin-bottom: 6px; font-size: 10px; }
  #main-content #yc-home-hero-slider .maycep-campaign-title { font-size: clamp(25px, 6.8vw, 32px) !important; text-wrap: pretty; }
  .maycep-campaign-description { max-width: none; margin: 8px 0 12px; }
  #yc-home-hero-slider a.maycep-campaign-cta { min-height: 36px; }
  .maycep-campaign-slide.maycep-campaign-image-only { grid-template-rows: auto; min-height: 0; aspect-ratio: 2.6; }
  .maycep-campaign-slide.maycep-campaign-art:not([hidden]) { aspect-ratio: 1080 / 760; }

  .maycep-store-offers { --offer-edge: 11px; --offer-peek: 18px; padding-block: 12px; }

  html body.maycep-storefront #main-content :is(
    .yc-cp-hero--compact, .yc-about-intro, .yc-blog-hero, .yc-ot-hero-copy, .yc-contact-hero
  ),
  html body.maycep-storefront.yc-taksit-apply-active #main-content .drna-page .drna-hero {
    --maycep-hero-background:
      linear-gradient(90deg, #262626 2%, #262626ed 42%, #262626a8 100%),
      var(--maycep-store-photo, url("../maycep-vodafone/hero-electronics.svg")),
      linear-gradient(90deg, #262626, #463527);
    --maycep-hero-art-size: cover;
  }
}

@media (forced-colors: active) {
  html body.maycep-storefront #main-content :is(
    .yc-cp-hero--compact, .yc-about-intro, .yc-blog-hero, .yc-ot-hero-copy, .yc-contact-hero
  ),
  html body.maycep-storefront.yc-taksit-apply-active #main-content .drna-page .drna-hero {
    --maycep-hero-background: none;
  }
}
