/* Mandid Online — Cart24 partner storefront layout (exact replica structure) */

body.store-layout {
  --font-headline: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --store-content: 1320px;
  padding-bottom: 56px;
  font-family: var(--font-body);
  font-size: 14px;
  overflow-x: hidden;
  max-width: 100%;
  color: #121212;
  background: #fff;
}

/* Top announcement bar — single row */
.topbar {
  background: #121212;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 8px 12px;
  text-align: center;
  max-width: var(--store-content);
  margin: 0 auto;
}

.topbar__item {
  color: inherit;
  opacity: 0.95;
  white-space: nowrap;
}

.topbar__item:hover {
  color: #fff;
  opacity: 1;
}

.topbar__location {
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.topbar__promo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Store header — single bar row */
.store-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  max-width: 100%;
}

.store-header__bar {
  max-width: var(--store-content);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.store-header__logo img {
  height: clamp(28px, 5vw, 40px);
  width: auto;
  display: block;
}

.store-header__logo span {
  font-weight: 600;
}

.store-nav--inline {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.store-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

.store-header__left,
.store-header__mobile-actions {
  display: none;
}

.store-header__searchbar {
  display: none;
}

.store-header__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: inherit;
  flex-shrink: 0;
}

.store-header__icon-btn--cart .header__cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #f5c518;
  color: #121212;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
}

.store-header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  min-width: 40px;
  text-align: center;
}

.store-header__action svg {
  width: 18px;
  height: 18px;
}

.store-header__register {
  display: none;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 8px;
  white-space: nowrap;
}

.store-header__buy {
  display: none;
  padding: 10px 14px;
  background: #121212;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.store-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  background: none;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.store-nav__link:hover,
.store-nav__link.active {
  border-bottom-color: #121212;
}

.store-nav__dropdown {
  position: relative;
}

.store-nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 120;
  padding: 8px 0;
}

.store-nav__dropdown.is-open .store-nav__menu {
  display: block;
}

.store-nav__menu a {
  display: block;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-nav__menu a:hover {
  background: #f4f4f4;
}

.mobile-nav__label {
  font-size: 12px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav__label a {
  font-weight: 700;
  text-decoration: underline;
}

.mobile-nav__buy {
  display: block;
  margin-top: 16px;
  padding: 14px;
  text-align: center;
  background: #121212;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
  .store-nav--inline {
    display: flex;
  }

  .store-header__register {
    display: inline-block;
  }

  .store-header__buy {
    display: inline-flex;
    align-items: center;
  }

  .header__menu-btn {
    display: none;
  }
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  background: #121212;
  width: 100%;
  overflow: hidden;
}

.hero-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}

.hero-carousel__slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-carousel__label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  z-index: 2;
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-carousel__arrow:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.05);
}

.hero-carousel__arrow--prev {
  left: 12px;
}

.hero-carousel__arrow--next {
  right: 12px;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-carousel__dot.active {
  background: var(--color-white);
  transform: scale(1.15);
}

/* Mobile hero — full-screen image only (Cart24 style) */
@media (max-width: 767px) {
  .store-layout {
    --mobile-header-height: 56px;
  }

  .hero-carousel {
    margin: 0;
    width: 100%;
    background: #121212;
  }

  .hero-carousel__viewport,
  .hero-carousel__track {
    width: 100%;
    height: calc(100svh - var(--mobile-header-height));
    min-height: 420px;
    max-height: 720px;
    aspect-ratio: auto;
  }

  .hero-carousel__slide img {
    object-fit: cover;
    object-position: center center;
  }

  .hero-carousel__label {
    display: none;
  }

  .hero-carousel__arrow {
    display: none;
  }

  .hero-carousel__dots {
    display: flex;
    bottom: 16px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 4;
  }

  /* Cart24-style mobile header — white theme */
  .topbar {
    display: none;
  }

  .store-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
  }

  .store-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    gap: 0;
    min-height: 52px;
  }

  .header__menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #121212;
    flex-shrink: 0;
  }

  .store-header__left {
    display: flex;
    align-items: center;
    gap: 0;
    grid-column: 1;
    justify-self: start;
  }

  .store-header__icon-btn {
    color: #121212;
  }

  .store-header__icon-btn svg {
    stroke: #121212;
  }

  .store-header__logo {
    grid-column: 2;
    justify-self: center;
    align-self: center;
  }

  .store-header__logo img {
    max-height: 32px;
    max-width: min(46vw, 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .store-header__mobile-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    grid-column: 3;
    justify-self: end;
  }

  .store-header__actions--desktop {
    display: none;
  }

  .store-nav--inline {
    display: none;
  }

  /* Homepage product sections — Cart24 light containers */
  .store-home {
    background: #fff;
    color: #121212;
  }

  .store-home .product-section {
    border-top: none;
    padding: 20px 0 24px;
    background: #fff;
  }

  .store-home .product-panel {
    margin: 0 12px;
    max-width: none;
    width: auto;
  }

  .store-home .cat-icons {
    background: #fff;
    padding: 16px 12px 8px;
  }

  .store-home .cat-icons__title {
    color: #121212;
    text-align: center;
    margin-bottom: 14px;
  }

  .store-home .cat-icon__name {
    color: #121212;
  }

  .store-header__icon-btn--cart .header__cart-count {
    display: flex;
  }

  .cat-icons__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 8px;
  }

  .cat-icon__img {
    width: 64px;
    height: 64px;
  }

  .cat-icons__title {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  /* Cart24 dark bottom nav on mobile */
  .bottom-nav {
    background: #121212;
    border-top: none;
  }

  .bottom-nav__item {
    color: #9a9a9a;
  }

  .bottom-nav__item.active {
    color: #fff;
  }

  .bottom-nav__item svg {
    stroke: currentColor;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide {
    transition: none;
  }
}

/* Promo banner (legacy) */
.promo-banner {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-tertiary);
}

.promo-banner img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}

.promo-banner__label {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: var(--color-white);
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Category icons — Cart24 circular grid */
.cat-icons {
  padding: 28px 16px;
  max-width: var(--store-content);
  margin: 0 auto;
}

.cat-icons__title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.cat-icons__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
}

.cat-icon__img {
  width: 68px;
  height: 68px;
  margin: 0 auto;
}

.cat-icon__name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cat-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.cat-icon__img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gray-200);
  background: var(--color-tertiary);
}

.cat-icon__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-icon__name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Product sections — Cart24 white container + carousel */
.product-section {
  padding: 24px 0;
  border-top: 1px solid #ebebeb;
  background: #fff;
}

.product-section__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 400;
  text-align: center;
  color: #121212;
  max-width: var(--store-content);
  margin: 0 auto 16px;
  padding: 0 16px;
}

.product-section__header {
  max-width: var(--store-content);
  margin: 0 auto 14px;
  padding: 0 16px;
}

.product-section__subtitle {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.product-panel {
  max-width: var(--store-content);
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
}

.product-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 11px 16px;
  background: #121212;
  color: #fff;
  border-radius: 14px;
}

.product-panel__label {
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-panel__chev {
  font-size: 20px;
  line-height: 1;
  color: #fff;
  flex-shrink: 0;
}

.product-panel__scroll-wrap {
  position: relative;
}

.product-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #888;
  font-size: 20px;
  line-height: 1;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-scroll-btn--prev {
  left: -4px;
}

.product-scroll-btn--next {
  right: -4px;
}

.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 28px 4px;
  max-width: 100%;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-scroll .store-card {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 768px) {
  .product-scroll .store-card {
    flex: 0 0 calc(25% - 9px);
  }
}

/* Store product card */
.store-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
}

.product-panel .store-card__image {
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #f2f2f2;
}

.product-panel .store-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 12px 4px;
  color: #121212;
}

.product-panel .store-card__variants {
  font-size: 10px;
  color: #888;
  padding: 0 12px 2px;
}

.product-panel .store-card__price {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px 12px;
  color: #121212;
}

.store-card__image {
  position: relative;
  aspect-ratio: 3/4;
  background: #f2f2f2;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.store-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
}

.store-card__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 2px;
  text-align: left;
}

.store-card__variants {
  font-size: 10px;
  color: #888;
  margin-bottom: 2px;
}

.store-card__price {
  font-size: 14px;
  font-weight: 700;
}

/* Discover pants — Cart24 tab slider */
.discover-section {
  padding: 28px 12px 32px;
  max-width: var(--store-content);
  margin: 0 auto;
  border-top: 1px solid #ebebeb;
  background: #fff;
}

.discover-section__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #121212;
}

.discover-tabs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 22px;
  border: none;
}

.discover-tabs__btn {
  padding: 0 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #b0b0b0;
  cursor: pointer;
}

.discover-tabs__btn.active {
  color: #121212;
  border-bottom-color: #121212;
  background: transparent;
}

.discover-panel {
  display: none;
}

.discover-panel.active {
  display: block;
}

.discover-panel__scroll-wrap {
  position: relative;
}

.discover-scroll {
  padding: 0 30px 4px;
}

.discover-scroll .store-card {
  flex: 0 0 calc(50% - 6px);
}

.discover-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.discover-card .store-card__image {
  margin-bottom: 0;
  border-radius: 0;
  background: #f2f2f2;
  aspect-ratio: 3 / 4.2;
}

.discover-card .store-card__name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 0 4px;
  color: #121212;
}

.discover-card .store-card__price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 700;
  padding: 0 0 8px;
  color: #121212;
}

.discover-panel__scroll-wrap .product-scroll-btn {
  top: 38%;
}

@media (min-width: 768px) {
  .discover-scroll .store-card {
    flex: 0 0 calc(25% - 9px);
  }
}

/* Image compare — Cart24 "Check how it looks" */
.compare-section {
  padding: 32px 16px;
  max-width: var(--store-content);
  margin: 0 auto;
  border-top: 1px solid #ebebeb;
  text-align: center;
}

.compare-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.compare-section__subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.compare-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  user-select: none;
}

.compare-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-slider__after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #fff;
}

.compare-slider__after-wrap .compare-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

@media (min-width: 641px) {
  .compare-slider__after-wrap .compare-slider__img {
    width: 640px;
    max-width: 640px;
  }
}

.compare-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.compare-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #121212;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-slider__handle::before,
.compare-slider__handle::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border: 5px solid transparent;
}

.compare-slider__handle::before {
  border-right-color: #121212;
  margin-right: 2px;
}

.compare-slider__handle::after {
  border-left-color: #121212;
  margin-left: 2px;
}

.compare-slider__label {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

.compare-slider__label--left {
  left: 12px;
}

.compare-slider__label--right {
  right: 12px;
}

/* USP bar */
.usp-bar {
  background: #f7f7f7;
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
}

.usp-bar__inner {
  max-width: var(--store-content);
  margin: 0 auto;
  padding: 28px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.usp-item__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.usp-item {
  text-align: center;
}

.usp-item__text {
  font-size: 12px;
  color: #666;
}

@media (min-width: 768px) {
  .help-store {
    grid-template-columns: 1fr 1fr;
  }
}

/* Testimonials — horizontal scroll on mobile like Cart24 */
.testimonials {
  padding: 32px 16px;
  max-width: var(--store-content);
  margin: 0 auto;
}

.testimonials__title {
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.testimonials__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.testimonials__grid::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid #e5e5e5;
  background: #fff;
  text-align: left;
}

@media (min-width: 768px) {
  .usp-bar__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

  .testimonial-card {
    flex: none;
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.testimonial-card__quote {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-neutral);
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  font-size: 12px;
  font-weight: 700;
}

.help-box__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.help-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-links a {
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  font-size: 13px;
  font-weight: 500;
}

.help-links a:hover {
  background: #f7f7f7;
}

/* Search modal — Cart24 top overlay (opens on icon tap) */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

.search-modal.is-open {
  display: block;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.search-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  padding: 16px 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.search-modal__title {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 700;
  color: #121212;
  line-height: 1.3;
}

.search-modal__close {
  font-size: 28px;
  line-height: 1;
  color: #121212;
  padding: 4px;
  flex-shrink: 0;
}

.search-modal__form {
  margin-bottom: 14px;
}

.search-modal__field {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

.search-modal__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 14px;
  color: #121212;
}

.search-modal__input::placeholder {
  color: #999;
}

.search-modal__input:focus {
  outline: none;
}

.search-modal__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121212;
  flex-shrink: 0;
  padding: 4px;
}

.search-modal__popular {
  font-size: 13px;
  color: #121212;
  line-height: 1.6;
}

.search-modal__popular strong {
  font-weight: 700;
  margin-right: 6px;
}

.search-modal__popular a {
  margin-right: 10px;
  text-decoration: underline;
  color: #121212;
}

body.search-open {
  overflow: hidden;
}

.store-header__action--lang {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 52px;
}

.store-box__map {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  margin-bottom: 12px;
}

@media (min-width: 1024px) {
  .store-header__action--lang {
    display: flex;
  }
}

.help-store {
  padding: 32px 16px;
  max-width: var(--store-content);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.store-box {
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  text-align: center;
}

.store-box__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.store-box__address {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.store-box__address a {
  color: inherit;
  font-weight: 600;
}

.store-box__rating {
  font-size: 13px;
  font-weight: 600;
}

.store-locations {
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
}

.store-locations__lead {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-bottom: 16px;
}

.store-locations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.store-location-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 14px 10px;
  text-align: center;
}

.store-location-card__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
  border-radius: 4px;
}

.store-location-card__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.store-location-card__map {
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  color: #121212;
}

@media (min-width: 768px) {
  .store-locations__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .store-locations__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Store footer — Cart24 columns */
.store-footer {
  background: #121212;
  color: #fff;
  padding: 40px 0 24px;
  margin-top: 8px;
}

.store-footer__inner {
  max-width: var(--store-content);
  margin: 0 auto;
  padding: 0 24px;
}

.store-footer__brand {
  display: inline-block;
  margin-bottom: 24px;
  line-height: 0;
}

.store-footer__brand img {
  height: 44px;
  width: auto;
  display: block;
}

.store-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  align-items: start;
}

.store-footer__col {
  min-width: 0;
}

.store-footer__heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}

.store-footer__text {
  font-size: 13px;
  color: #bbb;
  line-height: 1.65;
  margin-bottom: 8px;
}

.store-footer__text a {
  color: inherit;
  text-decoration: none;
}

.store-footer__text a:hover {
  color: #fff;
}

.store-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-footer__link {
  display: block;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

.store-footer__link:hover {
  color: #fff;
}

.store-footer__stores {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-footer__store-link {
  font-size: 13px;
  color: #999;
  text-decoration: none;
}

.store-footer__store-link:hover {
  color: #fff;
}

.store-footer__heading--spaced {
  margin-top: 20px;
}

.store-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  font-size: 12px;
  color: #777;
}

@media (max-width: 1023px) {
  .store-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
}

@media (max-width: 599px) {
  .store-footer {
    padding: 32px 0 20px;
  }

  .store-footer__inner {
    padding: 0 20px;
  }

  .store-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Mobile bottom navigation — Cart24 sticky bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-around;
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px));
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 8px;
  min-width: 52px;
  color: #666;
}

.bottom-nav__item.active {
  color: #121212;
}

.bottom-nav__item svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  body.store-layout {
    padding-bottom: 0;
  }

  .bottom-nav {
    display: none;
  }
}

/* Collections page store style */
.store-page-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  padding: var(--space-lg) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.store-collections {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-2xl);
}

.store-collections .collection-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .store-collections .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-collections .collection-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product page store style */
.store-pdp {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md);
}

.store-pdp .product-detail {
  gap: var(--space-xl);
}

.cod-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-tertiary);
  border: 1px solid var(--color-gray-200);
  font-size: 12px;
  margin-top: var(--space-md);
}

.cod-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .store-header__action:not(.store-header__action--cart) {
    display: none;
  }

  .store-header__action--cart {
    font-size: 0;
    min-width: 40px;
  }

  .store-header__action--cart svg {
    width: 22px;
    height: 22px;
  }
}

/* WhatsApp CTA */
.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: 14px 24px;
  background: #25d366;
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.whatsapp-cta:hover {
  background: #1ebe57;
  color: var(--color-white);
  transform: translateY(-1px);
}

.whatsapp-cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.help-links a[href*="wa.me"] {
  border-color: #25d366;
  color: var(--color-primary);
}

.help-links a[href*="wa.me"]:hover {
  background: rgba(37, 211, 102, 0.08);
}

/* Floating WhatsApp button + Cart24 help menu */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 12px 14px;
  background: #25d366;
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float__dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #e53935;
  border: 2px solid #25d366;
  border-radius: 50%;
}

.whatsapp-help {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: none;
  pointer-events: none;
}

.whatsapp-help.is-open {
  display: block;
  pointer-events: auto;
}

.whatsapp-help__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.whatsapp-help__panel {
  position: absolute;
  right: 16px;
  bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.whatsapp-help__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #25d366;
  color: #fff;
}

.whatsapp-help__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.whatsapp-help__close {
  font-size: 24px;
  line-height: 1;
  color: #fff;
  padding: 2px 4px;
}

.whatsapp-help__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.whatsapp-help__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  color: #121212;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.whatsapp-help__option:hover {
  background: #f0f0f0;
}

.whatsapp-help__option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex-shrink: 0;
}

.whatsapp-help__option-icon svg {
  width: 22px;
  height: 22px;
}

body.whatsapp-help-open {
  overflow: hidden;
}

.whatsapp-float:hover {
  color: var(--color-white);
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-float__label {
  white-space: nowrap;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.65); }
}

@media (min-width: 1024px) {
  .whatsapp-float {
    bottom: 24px;
    padding: 14px 20px 14px 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  .whatsapp-float__label {
    display: none;
  }

  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }
}

/* Policy & content pages */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-2xl);
}

.policy-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--color-text, #121212);
}

.policy-content {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.policy-content__meta {
  font-size: 13px;
  color: #666;
  margin-bottom: var(--space-md);
}

.policy-content__lead {
  font-size: 16px;
  margin-bottom: var(--space-md);
}

.policy-content h2 {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  margin: var(--space-lg) 0 var(--space-sm);
  color: #121212;
}

.policy-content p {
  margin-bottom: var(--space-md);
}

.policy-content ul {
  margin: 0 0 var(--space-md) 1.25rem;
  padding: 0;
}

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

.policy-content a {
  color: #1a5f2a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover {
  color: #0d3d18;
}

.policy-content__rule {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin: var(--space-lg) 0;
}

.policy-content__stores {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
}

.policy-content__stores li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.policy-content__stores li:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .policy-page {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
  }
}

/* Account login / register pages */
.account-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-2xl);
}

.account-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: var(--space-md);
}

.account-breadcrumb a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: #121212;
}

.account-grid {
  display: grid;
  gap: var(--space-xl);
}

.account-grid--single {
  max-width: 520px;
}

.account-panel {
  padding: var(--space-lg);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.account-panel--register {
  background: #fafafa;
}

.account-panel__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: #121212;
}

.account-panel__lead,
.account-panel__text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: var(--space-lg);
}

.account-panel__footer {
  margin-top: var(--space-lg);
  font-size: 14px;
  color: #444;
}

.account-panel__footer a {
  font-weight: 700;
  text-decoration: underline;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.account-form__row {
  display: grid;
  gap: var(--space-md);
}

.account-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-form__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #333;
}

.account-form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  font-size: 15px;
  background: #fff;
  color: #121212;
}

.account-form__input:focus {
  outline: none;
  border-color: #121212;
}

.account-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: #121212;
  color: #fff;
  border: 2px solid #121212;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.account-form__submit:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.account-form__submit--outline {
  display: inline-flex;
  text-align: center;
  text-decoration: none;
}

.account-form__submit--inline {
  width: auto;
  min-width: 120px;
}

.account-form__link {
  align-self: flex-start;
  font-size: 13px;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.account-reset {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid #e8e8e8;
}

.account-reset__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.account-reset__text {
  font-size: 14px;
  color: #444;
  margin-bottom: var(--space-md);
}

.account-reset__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.account-panel--register-form {
  max-width: 520px;
}

.account-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  cursor: pointer;
}

.account-form__checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #121212;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .account-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .account-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
