/*
 * ARY Chase - Amazon-inspired Homepage
 * High-fidelity, isolated stylesheet scoped under .arychase-homepage.
 * Loaded ONLY on the front page.
 *
 * Brand palette:
 *   Primary #15408A  (header / nav / footer / primary UI)
 *   Accent  #F9C100  (search / CTAs / deals / badges / highlights)
 *
 * Structural proportions follow the Amazon desktop & mobile layout.
 */

:root {
  --hp-primary: #15408a;
  --hp-primary-dark: #0e2e66;
  --hp-primary-darker: #0b2450;
  --hp-accent: #f9c100;
  --hp-accent-hover: #e3ad00;
  --hp-accent-soft: #fff3cc;
  --hp-bg: #e8edf2;
  --hp-card: #ffffff;
  --hp-text: #0f1111;
  --hp-text-light: #565959;
  --hp-border: #d5d9d9;
  --hp-link: #ffffff;
  --hp-link-hover: #f9c205;
  --hp-price: #b12704;
  --hp-star: #ffa41c;
  --hp-green: #067d62;
  --hp-red: #cc0c39;
  --hp-font: "Poppins", sans-serif;
}

/* Base reset stays scoped to the homepage document */
.arychase-homepage,
.arychase-homepage * {
  box-sizing: border-box;
}

.arychase-homepage {
  margin: 0;
  font-family: var(--hp-font);
  color: var(--hp-text);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
}

.arychase-homepage img {
  max-width: 100%;
  display: block;
}

.arychase-homepage a {
  text-decoration: none;
 
}

.arychase-homepage a:hover {
  color: #f4c000;
}

.arychase-homepage h1,
.arychase-homepage h2,
.arychase-homepage h3,
.arychase-homepage h4 {
  margin: 0;
  font-weight: 600;
  color: var(--hp-text);
}

.arychase-homepage ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.arychase-homepage button {
  font-family: var(--hp-font);
  cursor: pointer;
}

/* ── Layout container ─────────────────────────────────── */
.hp-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ═══════════ HEADER ═══════════ */
.hp-topbar {
  background: var(--hp-primary-darker);
  color: #ffffff;
}

.hp-topbar__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 7px 15px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hp-topbar__link {
  color: #ffffff;
  font-size: 13px;
  padding: 6px 4px;
  border: 0px solid transparent;
  border-radius: 2px;
  line-height: 1.2;
}

.hp-topbar__link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.hp-topbar__offers {
  color: var(--hp-accent);
  font-weight: 600;
  font-size: 13px;
}

.hp-topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Main header row — Amazon proportions (60px band) */
.hp-header {
  background: var(--hp-primary);
  color: #ffffff;
}

.hp-header__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hp-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border: 0px solid transparent;
  border-radius: 3px;
  padding: 4px 2px;
}

.hp-logo:hover {
  border-color: #ffffff;
}

.hp-logo img {
  height: 42px;
  width: auto;
  
  border-radius: 3px;
  padding: 3px 10px;
  object-fit: contain;
}

/* Deliver to */
.hp-location {
  flex-shrink: 0;
  padding: 5px 6px;
  border: 0px solid transparent;
  border-radius: 3px;
  color: #ffffff;
}

.hp-location:hover {
  border-color: #ffffff;
}

.hp-location__label {
  font-size: 11px;
  color: #d7dde6;
  display: block;
  line-height: 1.2;
}

.hp-location__value {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* Search — Amazon proportions (40px tall) */
.hp-search {
  flex: 1 1 300px;
  display: flex;
  align-items: stretch;
  border-radius: 5px;
  overflow: visible;
  background: #ffffff;
  min-width: 220px;
  position: relative;
}

.hp-search__select {
  border: none;
  background: #f3f3f3;
  color: #0f1111;
  font-size: 13px;
  padding: 0 10px;
  max-width: 190px;
  border-right: 1px solid #cdcdcd;
  outline: none;
  cursor: pointer;
  border-radius: 5px 0 0 5px;
  min-width: 64px;
  height: 40px;
}

.hp-search__form {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hp-search__input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 15px;
  color: #0f1111;
  outline: none;
  background: #ffffff;
  height: 40px;
  min-width: 60px;
}

.hp-search__select:hover {
  background: #e9e9e9;
}

.hp-search__submit {
  background: var(--hp-accent);
  border: none;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 5px 5px 0;
}

.hp-search__submit:hover {
  background: var(--hp-accent-hover);
}

.hp-search__submit svg {
  width: 20px;
  height: 20px;
  color: var(--hp-primary-dark);
}

/* Live search dropdown */
.hp-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--hp-border);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  max-height: 420px;
  overflow: auto;
  display: none;
  z-index: 950;
}

.hp-search__results.hp-is-visible {
  display: block;
}

.hp-search__result-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  align-items: center;
}

.hp-search__result-item:hover {
  background: var(--hp-bg);
}

.hp-search__result-image {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
}

.hp-search__result-title {
  font-size: 13px;
  color: var(--hp-text);
  flex: 1;
}

.hp-search__result-price {
  font-size: 14px;
  color: var(--hp-price);
  font-weight: 600;
  white-space: nowrap;
}

.hp-search__result-empty,
.hp-search__result-loading {
  padding: 14px;
  font-size: 13px;
  color: var(--hp-text-light);
}

/* Header actions (account / orders / cart) */
.hp-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-action {
  color: #ffffff;
  padding: 6px 8px;
  border: 0px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  background: none;
  display: block;
}

.hp-action:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.hp-action__label {
  display: block;
  font-size: 11px;
  color: #d7dde6;
  line-height: 1.2;
}

.hp-action__value {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.hp-action .hp-action__icon {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -3px;
}

.hp-cart {
  position: relative;
}

.hp-cart__count {
  position: absolute;
  top: -2px;
  right: 4px;
  background: var(--hp-accent);
  color: var(--hp-primary-darker);
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Secondary nav — Amazon proportions (39px band, #232f3e equivalent) */
.hp-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--hp-primary-dark);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hp-nav__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  min-height: 39px;
}

.hp-nav__inner::-webkit-scrollbar {
  display: none;
}

.hp-nav__link {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 400;
  padding: 10px 9px;
  border: 0px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}

.hp-nav__link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.hp-nav__burger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

/* ═══════════ MOBILE HEADER ═══════════ */
.hp-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: none;
  color: #ffffff;
  flex-shrink: 0;
}

.hp-burger:hover {
  border-color: #ffffff;
}

.hp-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}

.hp-drawer.hp-is-open {
  visibility: visible;
  pointer-events: auto;
}

.hp-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hp-drawer.hp-is-open .hp-drawer__backdrop {
  opacity: 1;
}

.hp-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.hp-drawer.hp-is-open .hp-drawer__panel {
  transform: translateX(0);
}

.hp-drawer__head {
  background: var(--hp-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.hp-drawer__title {
  font-size: 16px;
  font-weight: 600;
}

.hp-drawer__close {
  background: none;
  border: none;
  color: #ffffff;
  display: flex;
  padding: 4px;
}

.hp-drawer__links {
  padding: 8px 0;
  border-bottom: 1px solid var(--hp-border);
}

.hp-drawer__link {
  display: block;
  color: var(--hp-text);
  font-size: 14px;
  padding: 10px 16px;
}

.hp-drawer__link:hover {
  color: var(--hp-primary);
  background: #f5f7fa;
}

.hp-drawer__sub {
  padding: 12px 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--hp-primary);
}

.hp-drawer__cat {
  padding: 0 0 8px;
}

.hp-drawer__foot {
  margin-top: auto;
  border-top: 1px solid var(--hp-border);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-drawer__footlink {
  font-size: 13px;
  color: var(--hp-text-light);
}

/* ═══════════ HERO ═══════════ */
.hp-hero {
  position: relative;
  background: #ffffff;
}

.hp-hero__slides {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
}

.hp-hero__slide.hp-is-active {
  opacity: 1;
}

.hp-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hp-hero__image--mobile {
  display: none;
}

.hp-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 30px 50px 44px;
}

.hp-hero__badge {
  display: inline-block;
  background: rgba(11, 36, 80, 0.9);
  color: var(--hp-accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.hp-hero__title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 680px;
  line-height: 1.15;
}

.hp-hero__text {
  color: #162f68;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  margin: 8px 0 16px;
  max-width: 600px;
  font-size: 16px;
  font-weight: 500;
}

.hp-hero__cta {
  display: inline-block;
  background: var(--hp-accent);
  color: var(--hp-primary-darker);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hp-hero__content .hp-hero__cta:hover {
  background: var(--hp-accent-hover);
  color: var(--hp-primary-darker);
}

.hp-hero__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 4;
  border: none;
  background: rgba(255, 255, 255, 0.75);
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-weight: 700;
  color: #0f1111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.hp-hero__arrow:hover {
  background: #ffffff;
}

.hp-hero__arrow--prev {
  left: 12px;
}

.hp-hero__arrow--next {
  right: 12px;
}

.hp-hero__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hp-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #0f1111;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.hp-hero__dot.hp-is-active {
  background: var(--hp-accent);
  border-color: var(--hp-accent);
}

/* ═══════════ MAIN CONTENT ═══════════ */
.hp-main {
  max-width: 1500px;
  margin: 0px auto 0;
  padding: 0 15px;
  position: relative;
  z-index: 3;
}

/* Category panel cards (Amazon style) */
.hp-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 15px 0 18px;
}

.hp-category-panel {
    background: var(--hp-card);
    padding: 15px 15px 10px;
    border-radius: 10px;
}

.hp-category-panel__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hp-category-panel__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 5px;
}

.hp-category-panel__item {
  display: block;
  color: var(--hp-text);
}

.hp-category-panel__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 5px;
}

.hp-category-panel__item span {
    font-size: 12px;
    color: #0f1111;
    height: 18px;
    display: block;
    overflow: hidden;
    padding: 0px 5px;
	font-weight: 500;
}

.hp-category-panel__item:hover span {
  color: var(--hp-link-hover);
}

.hp-category-panel__link {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #0b2450;
}

.hp-category-panel__link:hover {
  color: var(--hp-link-hover);
  text-decoration: underline;
}

/* Generic section (product carousels / rows) */
.hp-section {
  background: var(--hp-card);
  border-radius: 6px;
  padding: 18px 18px 20px;
  margin-bottom: 18px;
}

.hp-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hp-section__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.hp-section__link {
  font-size: 13px;
  color: var(--hp-link);
  white-space: nowrap;
}

.hp-section__link:hover {
  color: var(--hp-link-hover);
  text-decoration: underline;
}

/* Product carousel (horizontal scroll with arrows) */
.hp-rail {
  position: relative;
}

.hp-rail__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-rail__viewport::-webkit-scrollbar {
  display: none;
}

.hp-rail__track {
  display: flex;
  gap: 14px;
}

.hp-rail__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 70px;
  border: 1px solid var(--hp-border);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.hp-rail__arrow--prev {
  left: -14px;
}

.hp-rail__arrow--next {
  right: -14px;
}

.hp-rail:hover .hp-rail__arrow,
.hp-rail:focus-within .hp-rail__arrow {
  display: flex;
}

/* ── Product card ─────────────────────────────── */
.hp-product {
    background: #ffffff;
    border-radius: 15px;
    border: solid 1px #dbdbdb;
    overflow: hidden;
}

.hp-product__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.hp-product__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
}

.hp-product__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--hp-accent);
  color: var(--hp-primary-darker);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.hp-product__stock {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #ffffff;
  color: var(--hp-price);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 2px;
  border: 1px solid var(--hp-border);
}

.hp-product__title {
  display: block;
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  line-height: 1.4;
  margin: 6px 0 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: relative;
  white-space: nowrap;      /* Keeps the text on a single line */
  overflow: hidden;         /* Hides the text that goes past the edge */
  text-overflow: ellipsis;  /* Adds the three dots (...) at the end */
  width: 100%;              /* Or set a specific width like 200px */
}

.hp-product__title:hover {
  color: #000000;
}

/* Dotted separator above the second line — only added by JS when the title
   actually wraps onto a second line (CSS cannot detect a text wrap). */
.arychase-homepage .hp-product__title--wrapped::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(1.4em - 0.5px);
  border-top: 1px dotted #999999;
}

.hp-product__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--hp-star);
  min-height: 18px;
}

.hp-product__rating-count {
  color: var(--hp-link);
  font-size: 12px;
}

.hp-product__prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 2px 0;
  min-height: 22px;
}

.hp-product__price {
  color: var(--hp-price) !important;
  font-size: 16px;
  font-weight: 700;
}

.hp-product__price-regular {
  color: var(--hp-text-light);
  font-size: 12px;
  text-decoration: line-through;
}

.hp-product__discount {
  color: #0f1111;
  font-size: 12px;
}

.hp-product__below {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-product__stock-state {
  font-size: 11px;
  font-weight: 600;
}

.hp-product__stock-state--in {
  color: var(--hp-green);
}

.hp-product__stock-state--out {
  color: var(--hp-price);
}

.hp-product__bottom {
  margin-top: 6px;
}

.hp-product__add {
  background: #15408a;
  border: 1px solid #15408a;
  color: white;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 20px;
  transition: background 0.15s ease;
  width: 100%;
}

.hp-product .hp-product__add:hover {
  background: var(--hp-accent-hover);
  border: 1px solid var(--hp-accent-hover);
  color: #15408a;
}

.hp-product__add.hp-is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.hp-product__add.hp-is-added {
  background: var(--hp-green);
  border-color: var(--hp-green);
  color: #ffffff;
}

a.hp-product__add {
    margin-top: 6px !important;
    display: block;
    text-align: center;
}

/* ── Shop by Category ─────────────────────────── */
.hp-shop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.hp-section__grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hp-section__grid .hp-product {
  width: 15.9%;
}

.hp-product .ProductContent {
    padding: 10px 5px;
    background: #fff;
}

.hp-shop-tile {
  background: var(--hp-card);
  border: 1px solid var(--hp-border);
  border-radius: 6px;
  padding: 14px 10px 12px;
  text-align: center;
  transition: box-shadow 0.15s ease;
}

.hp-shop-tile:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hp-shop-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 8px;
}

.hp-shop-tile__name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0f1111;
}

.hp-shop-tile:hover .hp-shop-tile__name {
  color: var(--hp-link-hover);
}

/* ── Promo banners ────────────────────────────── */
.hp-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.hp-promo {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 200px;
  display: block;
  aspect-ratio: 3 / 1.2;
}

.hp-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hp-promo:hover img {
  transform: scale(1.03);
}

.hp-promo__label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 36, 80, 0.9);
  color: var(--hp-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 3px;
}

/* ═══════════ FOOTER ═══════════ */
.hp-backtotop {
  background: var(--hp-primary-dark);
  text-align: center;
  padding: 15px 0;
  cursor: pointer;
  border: none;
  width: 100%;
}

.hp-backtotop:hover {
  background: var(--hp-primary);
}

.hp-backtotop span {
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
}

.hp-footer {
  background: var(--hp-primary-darker);
  color: #dddddd;
  padding: 40px 0 0;
}

.hp-footer__cols {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 15px 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.hp-footer__col h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.hp-footer__col ul li {
  margin-bottom: 6px;
}

.hp-footer__col a {
  color: #dddddd;
  font-size: 13px;
}

.hp-footer__col a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.hp-footer__brand {
  margin-bottom: 12px;
}

.hp-footer__brand img {
  height: 38px;
  width: auto;
  background: #ffffff;
  border-radius: 3px;
  padding: 3px 8px;
  object-fit: contain;
}

.hp-footer__bottom {
  border-top: 1px solid #2a4371;
}

.hp-footer__bottom .hp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 16px;
}

.hp-footer__copyright {
  font-size: 13px;
  color: #dddddd;
}

.hp-footer__social {
  display: flex;
  gap: 10px;
}

.hp-footer__social a {
  color: #dddddd;
  display: flex;
}

.hp-footer__social a:hover {
  color: var(--hp-accent);
}

/* ═══════════ SHOW/HIDE CLASSES ═══════════ */
.hp-only-mobile {
  display: none !important;
}

.hp-only-desktop {
  display: flex;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (min-width: 1200px) {
  .hp-location {
    display: block;
  }
}

/* ── Tablet ≤1024 ─────────────────────────────── */
@media (max-width: 1024px) {
  .hp-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hp-hero__slides {
    height: 420px;
  }

  .hp-hero__title {
    font-size: 30px;
  }

  .hp-main {
    margin-top: 0;
  }
}

/* ── Mobile ≤768 ───────────────────────────────── */
@media (max-width: 768px) {
  .hp-only-mobile {
    display: flex !important;
  }

  .hp-only-desktop {
    display: none !important;
  }

  .hp-col-mobile-hide {
    display: none !important;
  }

  .hp-topbar {
    display: none;
  }

  .hp-header__inner {
    padding: 6px 10px;
    gap: 8px;
    min-height: 48px;
  }

  .hp-logo img {
    height: 34px;
  }

  .hp-header__inner .hp-actions {
    margin-left: auto;
  }

  .hp-header__inner .hp-action {
    padding: 4px 6px;
  }
	
	.hp-header {
    padding-bottom: 10px;
}

  /* Full-width search row inside header */
  .hp-search--mobile {
    max-width: none;
    margin: 0 10px 0px;
    min-width: 0;
  }

  .hp-search--mobile .hp-search__select {
    max-width: 110px;
  }

  .hp-main {
    margin-top: 0;
    padding: 10px 10px 0;
  }

  .hp-hero__slides {
    height: 300px;
  }

  .hp-hero__image--mobile {
    display: block;
  }

  .hp-hero__image--desktop {
    display: none;
  }

  .hp-hero__content {
    padding: 20px 14px 36px;
  }

  .hp-hero__title {
    font-size: 24px;
  }

  .hp-hero__text {
    font-size: 13.5px;
    margin-bottom: 12px;
  }

  .hp-hero__arrow {
    width: 34px;
    height: 64px;
  }
	
	.hp-header {
    padding-bottom: 10px;
}

.hp-nav__link {
    font-size: 12.5px;
}

.hp-hero__arrow {
    bottom: -50px;
    top: unset;
    transform: unset;
    height: 40px;
    background: #15408a;
    color: #fff;
}

.hp-hero {
    margin-bottom: 60px;
}

.hp-hero__arrow--prev {
    left: calc(50% - 40px);
}

.hp-hero__arrow--next {
    right: calc(50% - 40px);
}

  .hp-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hp-category-panel {
    padding: 14px;
  }

  .hp-category-panel__title {
    font-size: 17px;
  }

  .hp-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hp-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .hp-section {
    padding: 14px 14px 16px;
    margin-bottom: 12px;
    border-radius: 4px;
  }

  .hp-section__title {
    font-size: 18px;
  }

  .hp-promos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .hp-promo {
    min-height: 120px;
  }

  .hp-footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-footer {
    padding-top: 30px;
  }
}

/* ── Small mobile ≤520 ─────────────────────────── */
@media (max-width: 520px) {
  .hp-category-grid {
    grid-template-columns: 2fr 2fr;
    gap: 10px;
  }

  .hp-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-product {
    flex-basis: 150px;
    max-width: 150px;
  }

  .hp-promos {
    grid-template-columns: 1fr;
  }

  .hp-promo {
    min-height: 160px;
  }

  .hp-footer__cols {
    grid-template-columns: 1fr;
  }

  .hp-hero__slides {
    height: 260px;
  }

  .hp-hero__title {
    font-size: 20px;
  }

  .hp-search__select {
    max-width: 86px;
    font-size: 12px;
    padding: 0 6px;
  }

  .hp-rail__track {
    gap: 10px;
  }

  .hp-product {
    flex-basis: 142px;
    max-width: 142px;
  }
}

/* ── Very small ≤380 ───────────────────────────── */
@media (max-width: 380px) {
  .hp-header__inner .hp-action {
    padding: 4px 4px;
  }

  .hp-product {
    flex-basis: 136px;
    max-width: 136px;
  }

  .hp-category-panel__items {
    gap: 8px 6px;
  }

  .hp-hero__arrow {
    width: 30px;
    height: 56px;
  }
}

/* ═══════════ BEST SELLERS — 6-COLUMN GRID ═══════════ */
.hp-grid--six {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*justify-items: center;*/
  gap: 12px;
}

.hp-grid--six .hp-product {
  flex: none;
  max-width: none;
}

@media (max-width: 1024px) {
  .hp-grid--six {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hp-grid--six {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hp-grid--six {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ═══════════ BEST SELLERS — END ═══════════ */

/* Allow horizontal swipe in rails on touch */
@media (hover: none) {
  .hp-rail__viewport {
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-hero__slide,
  .hp-drawer__panel,
  .hp-drawer__backdrop {
    transition: none;
  }

  .hp-rail__viewport {
    scroll-behavior: auto;
  }
}


@media (max-width: 1500px) {
    .hp-hero__content {
        z-index: 2;
        width: 100%;
        max-width: 1300px;
        margin: 0 auto;
    }
}




/* ==========================================================================
   20. Corporate Clients
   ========================================================================== */

.corporate-clients {
  padding: var(--section-gap) 0;
  background-color: var(--color-light-gray);
}

.corporate-clients .section-title {
  margin-bottom: 30px;
}

.corporate-clients__slider-wrap {
  position: relative;
}

.corporate-clients__slider {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 50px;
  -webkit-overflow-scrolling: touch;
}

.corporate-clients__slider::-webkit-scrollbar {
  display: none;
}

/* 8 logos per view on desktop */
.corporate-clients__item {
  flex-shrink: 0;
  width: calc((100% - 168px) / 8);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}

.corporate-clients__item:hover {
  opacity: 1;
}

.corporate-clients__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 81px;
  filter: hue-rotate(176deg);
  transition: filter var(--transition-fast);
}

.corporate-clients__item:hover img {
  filter: hue-rotate(176deg);
  opacity: 1;
}

/* Exactly one prev / one next arrow, inside the slider container */
.corporate-clients__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-round);
  z-index: 5;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  color: var(--color-heading);
}

.corporate-clients__arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.corporate-clients__arrow.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.corporate-clients__arrow--prev {
  left: 0;
}

.corporate-clients__arrow--next {
  right: 0;
}


.category-slider__wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider__wrapper::-webkit-scrollbar {
    display: none;
}

.category-slider__item {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    text-decoration: none;
}

.category-slider__image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
}

.category-slider__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-slider__name {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-rail__viewport .hp-product {
    flex: 0 0 176px;
    max-width: 176px;
}

/* ═══════════ WIDE DESKTOP — 1400px / 1600px ═══════════
   Balanced, controlled max-width at large screens (no over-stretching). */

@media (min-width: 1400px) {
  .hp-container,
  .hp-topbar__inner,
  .hp-header__inner,
  .hp-nav__inner {
    max-width: 1500px;
  }

  .hp-container {
    padding: 0 22px;
  }

  .hp-topbar__inner {
    padding: 7px 22px;
  }

  .hp-header__inner {
    padding: 8px 22px;
    gap: 18px;
  }

  .hp-nav__inner {
    padding: 0 22px;
  }

  .hp-search {
    flex-basis: 420px;
  }
}

@media (min-width: 1600px) {
  .hp-container,
  .hp-topbar__inner,
  .hp-header__inner,
  .hp-nav__inner {
    max-width: 1600px;
  }

  .hp-container {
    padding: 0 28px;
  }

  .hp-topbar__inner {
    padding: 8px 28px;
  }

  .hp-header__inner {
    padding: 8px 28px;
    gap: 20px;
  }

  .hp-nav__inner {
    padding: 0 28px;
  }

  .hp-search {
    flex-basis: 480px;
  }
}