/* ===== Akai custom section: hero (ported from the Shopify store) ===== */
/* ── Akai Hero Carousel — Peek Layout ── */



  /*

   * HOW THE PEEK WORKS:

   * The section has horizontal padding (the "peek window").

   * The viewport fills the section's content area and has overflow: visible,

   * so the track extends into the section padding on both sides.

   * The section's overflow: hidden clips at its border-box edges,

   * making adjacent slides partially visible within the padding space.

   */



  .akai-hero {

    overflow: hidden;                          /* clips track at section edges */

    padding: 20px 5%;                          /* 5% = peek space on each side */

    box-sizing: border-box;

    background-color: rgb(var(--color-background));

    position: relative;

    user-select: none;

  }



  .akai-hero .akai-hero__viewport {

    overflow: visible;

    width: 100%;

    height: auto;

    aspect-ratio: 1920 / 580;

    max-height: 580px;

    position: relative;

  }



  .akai-hero .akai-hero__track {

    display: flex;

    height: 100%;

    gap: 16px;

    will-change: transform;

    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  }



  .akai-hero .akai-hero__slide {

    flex: 0 0 100%;                            /* each slide = viewport width */

    height: 100%;

    position: relative;

    border-radius: 14px;                       /* rounded corners */

    overflow: hidden;                          /* clips image within radius */

    flex-shrink: 0;

  }



  .akai-hero .akai-hero__slide-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

  }



  .akai-hero .akai-hero__slide-imgph {

    position: absolute;

    inset: 0;

  }



  /* Placeholder gradient slides */

  .akai-hero .akai-hero__slide--ph1 {

    background: linear-gradient(130deg, #0d0d0d 0%, #1a0000 40%, rgb(var(--color-button)) 130%);

  }

  .akai-hero .akai-hero__slide--ph2 {

    background: linear-gradient(130deg, rgb(var(--color-button)) -30%, #1a0000 40%, #0d0d0d 100%);

  }

  .akai-hero .akai-hero__slide--ph3 {

    background: linear-gradient(130deg, #0d0d0d 0%, #220000 60%, rgba(var(--color-button), 0.6) 130%);

  }



  /* Text overlay */

  .akai-hero .akai-hero__slide-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 0 7%;

    max-width: 560px;

    z-index: 2;

    background: linear-gradient(to right, rgba(0,0,0,0.52) 0%, transparent 100%);

    border-radius: inherit;

  }



  .akai-hero .akai-hero__slide-sub {

    font-family: var(--font-body-family);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: rgb(var(--color-button));

    margin: 0 0 12px;

  }



  .akai-hero .akai-hero__slide-heading {

    font-family: var(--font-heading-family);

    font-style: var(--font-heading-style);

    font-weight: var(--font-heading-weight);

    font-size: clamp(24px, 3.5vw, 50px);

    line-height: 1.1;

    color: #ffffff;

    margin: 0 0 28px;

    text-shadow: 0 2px 20px rgba(0,0,0,0.5);

  }



  .akai-hero .akai-hero__slide-cta {

    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    padding: 12px 28px;

    background-color: rgb(var(--color-button));

    color: rgb(var(--color-button-text));

    font-family: var(--font-body-family);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.07em;

    text-transform: uppercase;

    text-decoration: none;

    border-radius: var(--buttons-radius, 4px);

    transition: opacity 0.2s ease, transform 0.2s ease;

  }



  .akai-hero .akai-hero__slide-cta:hover {

    opacity: 0.88;

    transform: translateY(-2px);

  }



  /* Arrows — positioned relative to section so they sit over the peek area */

  .akai-hero .akai-hero__arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    border: 1.5px solid rgba(255,255,255,0.25);

    background: rgba(0,0,0,0.45);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    backdrop-filter: blur(6px);

    -webkit-backdrop-filter: blur(6px);

    padding: 0;

    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;

  }



  .akai-hero .akai-hero__arrow:hover {

    background: rgb(var(--color-button));

    border-color: rgb(var(--color-button));

    color: rgb(var(--color-button-text));

    transform: translateY(-50%) scale(1.08);

  }



  /* Arrows sit just inside the peek zone */

  .akai-hero .akai-hero__arrow--prev { left: 1.5%; }

  .akai-hero .akai-hero__arrow--next { right: 1.5%; }



  /* Dots */

  .akai-hero .akai-hero__dots {

    position: absolute;

    bottom: 32px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 7px;

    z-index: 2;

  }



  .akai-hero .akai-hero__dot {

    width: 8px;

    height: 8px;

    border-radius: 100px;

    background: rgba(255,255,255,0.35);

    border: none;

    cursor: pointer;

    padding: 0;

    flex-shrink: 0;

    transition: background 0.25s ease, width 0.25s ease;

  }



  .akai-hero .akai-hero__dot[aria-selected="true"] {

    background: rgb(var(--color-button));

    width: 28px;

  }



  /* Responsive */

  @media screen and (max-width: 768px) {

    .akai-hero {

      padding: 12px 3%;

    }

    .akai-hero .akai-hero__slide {

      border-radius: 10px;

    }

    .akai-hero .akai-hero__slide-content {

      padding: 0 5%;

    }

    .akai-hero .akai-hero__arrow--prev { left: 0.5%; }

    .akai-hero .akai-hero__arrow--next { right: 0.5%; }

  }



  @media screen and (max-width: 480px) {

    .akai-hero .akai-hero__slide-sub { display: none; }

    .akai-hero .akai-hero__slide-cta { padding: 10px 18px; font-size: 11px; }

  }

/* ===== Akai custom section: brands (ported from the Shopify store) ===== */
/* ── Akai Brand Marquee — Trade CSS variables ── */

  .akai-brands {

    background-color: rgb(var(--color-background));

    border-top: 1px solid rgba(var(--color-foreground), 0.08);

    border-bottom: 1px solid rgba(var(--color-foreground), 0.08);

    padding: 6px 0;

    overflow: hidden;

  }



  .akai-brands .akai-brands__outer {

    max-width: var(--page-width);

    margin: 0 auto;

    padding: 0 5rem;

    overflow: hidden;

    mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);

    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%);

  }



  .akai-brands .akai-brands__track {

    display: flex;

    align-items: center;

    width: max-content;

    animation: akai-marquee var(--marquee-speed, 25s) linear infinite;

  }



  .akai-brands .akai-brands__track:hover {

    animation-play-state: paused;

  }



  @keyframes akai-marquee {

    from { transform: translateX(0); }

    to   { transform: translateX(-50%); }

  }



  .akai-brands .akai-brands__item {

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 36px;

    height: 80px;

    flex-shrink: 0;

  }



  .akai-brands .akai-brands__link {

    display: flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

  }



  .akai-brands .akai-brands__logo {

    max-height: 42px;

    max-width: 130px;

    width: auto;

    height: auto;

    object-fit: contain;

    display: block;

    filter: grayscale(0%);

    opacity: 0.9;

    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.2s ease;

  }



  .akai-brands .akai-brands__link:hover .akai-brands__logo {

    filter: grayscale(0%);

    opacity: 1;

    transform: scale(1.06);

  }



  .akai-brands .akai-brands__ph-name {

    font-family: var(--font-heading-family);

    font-style: var(--font-heading-style);

    font-weight: var(--font-heading-weight);

    font-size: 16px;

    color: rgba(var(--color-foreground), 0.35);

    white-space: nowrap;

    transition: color 0.2s ease;

    cursor: default;

  }



  .akai-brands .akai-brands__link:hover .akai-brands__ph-name {

    color: rgb(var(--color-button));

  }



  @media screen and (max-width: 768px) {

    .akai-brands .akai-brands__outer { padding: 0 2rem; }

    .akai-brands .akai-brands__item { padding: 0 22px; height: 64px; }

    .akai-brands .akai-brands__logo { max-height: 32px; max-width: 100px; }

    .akai-brands .akai-brands__ph-name { font-size: 13px; }

  }

/* ===== Akai custom section: footer (ported from the Shopify store) ===== */
/* ── Akai Electronics Footer — Trade CSS variables ── */
  .akai-footer {
    background-color: rgb(var(--color-background));
    color: rgb(var(--color-foreground));
    font-family: var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);
    border-top: 3px solid rgb(var(--color-button));
  }

  .akai-footer__container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 5rem;
  }

  .akai-footer__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 48px;
  }

  /* Column headings */
  .akai-footer__heading {
    font-family: var(--font-heading-family);
    font-style: var(--font-heading-style);
    font-weight: var(--font-heading-weight);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgb(var(--color-foreground));
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgb(var(--color-button));
    display: inline-block;
  }

  /* About text */
  .akai-footer__about-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(var(--color-foreground), 0.6);
    margin: 0 0 24px;
  }

  .akai-footer__about-text strong {
    color: rgb(var(--color-foreground));
    font-weight: 600;
  }

  /* Contact list */
  .akai-footer__contact-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .akai-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: rgba(var(--color-foreground), 0.6);
  }

  .akai-footer__contact-icon {
    color: rgb(var(--color-button));
    flex-shrink: 0;
    margin-top: 3px;
  }

  .akai-footer__contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .akai-footer__contact-item strong {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(var(--color-foreground));
  }

  /* Links */
  .akai-footer__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .akai-footer__link:hover {
    color: rgb(var(--color-button));
  }

  /* Nav link lists (cols 2–4) */
  .akai-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
  }

  .akai-footer__links a {
    font-size: 13.5px;
    color: rgba(var(--color-foreground), 0.6);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.15s ease;
    display: block;
  }

  .akai-footer__links a:hover {
    color: rgb(var(--color-foreground));
    padding-left: 5px;
  }

  /* Social icons */
  .akai-footer__socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .akai-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(var(--color-foreground), 0.06);
    color: rgba(var(--color-foreground), 0.5);
    border: 1px solid rgba(var(--color-foreground), 0.1);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
  }

  .akai-footer__social:hover {
    background: rgb(var(--color-button));
    color: rgb(var(--color-button-text));
    border-color: rgb(var(--color-button));
  }

  /* Bottom bar */
  .akai-footer__bottom-bar {
    border-top: 1px solid rgba(var(--color-foreground), 0.08);
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 18px 5rem;
  }

  .akai-footer__copyright {
    font-size: 12px;
    color: rgba(var(--color-foreground), 0.5);
    margin: 0;
    text-align: center;
    letter-spacing: 0.03em;
  }

  /* ── Responsive ── */
  @media screen and (max-width: 1024px) {
    .akai-footer__grid {
      grid-template-columns: 1fr 1fr;
      gap: 36px;
      padding: 48px 0 40px;
    }
  }

  @media screen and (max-width: 749px) {
    .akai-footer__container { padding: 0 2rem; }
    .akai-footer__grid {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 40px 0 36px;
    }
    .akai-footer__bottom-bar { padding: 16px 2rem; }
  }