/* Index page theme overrides */

/* ---- Container: keep side gaps on laptop like large monitors ---- */
.container.container-lg {
  width: min(1680px, calc(100% - 5.5rem));
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 992px) and (max-width: 1599px) {
  .container.container-lg {
    width: min(1680px, calc(100% - 6.5rem));
  }
}

@media (max-width: 991px) {
  .container.container-lg {
    width: min(1680px, calc(100% - 1.5rem));
    padding-inline: 0.75rem;
  }
}

/* ---- Header: reference design palette ---- */
.header-top {
  background-color: var(--main-dark) !important;
  border-bottom: 0;
}

.header-top a,
.header-top .selected-text {
  color: rgba(255, 255, 255, 0.82) !important;
}

.header-top a:hover {
  color: hsl(var(--white)) !important;
}

.header-top .border-right-item:not(:last-child)::before {
  background-color: rgba(255, 255, 255, 0.2);
}

.header-top .arrow-white > a::before {
  color: rgba(255, 255, 255, 0.72) !important;
}

.header-top__right {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-top__right > .border-right-item {
  display: flex;
  align-items: center;
}

.header-top__right > .border-right-item:not(:last-child) {
  margin-inline-end: 24px;
  padding-inline-end: 24px;
}

@media (max-width: 767px) {
  .header-top > .container > .flex-between {
    justify-content: stretch;
  }

  .header-top__right {
    width: 100% !important;
    margin-inline-start: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
  }

  .header-top__right > .header-lang {
    margin-inline-end: auto;
    padding-inline-end: 0 !important;
  }

  .header-top__right > .header-lang::before {
    display: none !important;
  }

  .header-top__right li:last-child {
    margin-inline-start: 0 !important;
  }

  .header-top__right li:nth-last-child(2) {
    margin-inline-end: 12px !important;
    padding-inline-end: 12px !important;
  }

  .header-top__right li:nth-last-child(2)::before {
    display: block !important;
  }

  .header-top__right > .border-right-item:not(:last-child):not(.header-lang) {
    margin-inline-end: 12px;
    padding-inline-end: 12px;
  }

  .header-lang {
    gap: 0.2rem;
  }

  .header-lang__item {
    min-width: 1.5rem;
    padding: 0.12rem 0.3rem;
    font-size: 0.68rem;
  }
}

.header-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-lang__item:hover {
  color: hsl(var(--white)) !important;
  background-color: rgba(255, 255, 255, 0.08);
}

.header-lang__item.is-active {
  background-color: hsl(var(--white));
  color: var(--main-dark) !important;
}

.header-lang__item.is-active:hover {
  color: var(--main-dark) !important;
  background-color: hsl(var(--white));
}

/* Main category navigation is white, like the reference */
.header {
  background-color: hsl(var(--white)) !important;
  border-bottom-color: var(--gray-100) !important;
}

.header .category__button {
  color: var(--main-dark) !important;
  border-color: var(--gray-100) !important;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header .category__button .icon,
.header .category__button .arrow-icon {
  color: var(--main-600);
  transition: transform 0.2s ease;
}

.header .nav-menu__link {
  color: var(--main-dark);
  font-size: 14px;
  width: auto;
  white-space: nowrap;
}

.header .has-submenu > .nav-menu__link {
  padding-inline-end: 0;
  gap: 2px;
}

.header .nav-menu__link .nav-caret,
.header .nav-menu__link .icon.nav-caret {
  width: 10px;
  height: 10px;
  font-size: 10px;
  margin-inline-start: 0;
}

.header .nav-menu li,
.header .common-dropdown a {
  font-size: 14px;
}

.header .nav-menu__item:hover > .nav-menu__link,
.header .nav-menu__item.activePage > .nav-menu__link {
  color: var(--main-600) !important;
}

.header .has-submenu > a::before {
  display: none;
  content: none;
}

.header .has-submenu.active > a .nav-caret {
  color: var(--main-600);
}

@media (min-width: 992px) {
  .header .category:hover .category__button {
    color: var(--main-600) !important;
    background-color: var(--main-50) !important;
  }
}

.header .header-right .bg-main-600 {
  background-color: var(--main-600) !important;
  color: hsl(var(--white)) !important;
  font-size: 12px !important;
}

.header .header-right .bg-main-600:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: hsl(var(--white)) !important;
}

.header .header-right .text-gray-700,
.header .header-right .text-gray-500,
.header .header-right .text-gray-800,
.header .toggle-mobileMenu {
  color: var(--gray-800) !important;
}

.header .header-right .item-hover:hover .item-hover__text {
  color: var(--main-600) !important;
  opacity: 0.85;
}

.header .header-right .bg-main-600.text-white {
  color: hsl(var(--white)) !important;
}

.header.fixed-header {
  background-color: rgba(255, 255, 255, 0.96) !important;
}

.header-middle {
  background: hsl(var(--white)) !important;
}

@media (max-width: 991px) {
  .header-middle .header-inner {
    position: relative;
    justify-content: center;
    min-height: 58px;
  }

  .header-middle .form-location-wrapper {
    display: none !important;
  }

  .header-middle .logo {
    margin-inline: auto;
  }

  .header-middle .logo img {
    max-width: 186px;
  }
}

@media (max-width: 424px) {
  .header-middle .logo img {
    max-width: 172px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-action:hover {
  color: var(--main-600);
}

.header-action__icon {
  position: relative;
  display: flex;
  color: var(--gray-800) !important;
  font-size: 1.65rem;
}

.header-action__icon small {
  position: absolute;
  inset-block-start: -5px;
  inset-inline-end: -8px;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: var(--main-600);
  color: hsl(var(--white));
  font-size: 0.55rem;
  line-height: 1;
}

/* ---- Product card images ---- */
.recommended .row.g-12 {
  --bs-gutter-x: 1.8rem !important;
  --bs-gutter-y: 1.8rem !important;
}

.recommended .product-card:hover .product-card__thumb img,
.new-arrival .product-card:hover .product-card__thumb img,
.shop .product-card:hover .product-card__thumb img {
  transform: none;
}

.recommended .product-card__thumb,
.new-arrival .product-card__thumb,
.shop .product-card__thumb {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 2px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.recommended .product-card__thumb img,
.new-arrival .product-card__thumb img,
.shop .product-card__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: inherit;
  transition: none;
}

/* ---- Featured products: same 1.8rem gap, flush container edges ---- */
.new-arrival__slider .slick-list {
  margin-inline: -0.9rem;
}

.new-arrival__slider .slick-slide {
  margin-inline: 0;
  padding-inline: 0.9rem;
}

/* ---- Brand home page ---- */
.hero {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.hero__container {
  width: 100%;
}

.hero__grid {
  display: block;
  min-height: clamp(540px, 58vh, 620px);
}

.hero-slider,
.hero-slider__viewport {
  width: 100%;
  height: clamp(540px, 58vh, 620px);
  min-height: 0;
  border-radius: 0;
}

/* Large monitors: taller hero than laptop */
@media (min-width: 1600px) {
  .hero__grid,
  .hero-slider,
  .hero-slider__viewport {
    height: clamp(700px, 70vh, 900px);
    min-height: 700px;
  }
}

.hero-slide__content {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline-start: 0;
  /* Match .container.container-lg content edge: centered max 1680px, outer gap 5.5rem, pad 1rem */
  --sf-slide-inset: max(calc((100% - 1680px) / 2 + 1rem), 3.75rem);
  padding-inline: var(--sf-slide-inset);
  padding-block: clamp(1.25rem, 3vw, 2.75rem);
}

@media (min-width: 992px) and (max-width: 1599px) {
  .hero-slide__content {
    /* outer gap 6.5rem + pad 1rem */
    --sf-slide-inset: max(calc((100% - 1680px) / 2 + 1rem), 4.25rem);
  }
}

@media (max-width: 991px) {
  .hero-slide__content {
    /* outer gap 1.5rem + pad 0.75rem */
    --sf-slide-inset: 1.5rem;
  }
}

.hero-slide__panel {
  width: auto;
  max-width: 50%;
  box-sizing: border-box;
}

.hero-slide__text {
  max-width: none;
  text-transform: none;
  line-height: 1.65;
}

.hero-slide__title {
  text-transform: none;
  text-wrap: pretty;
}

.hero-promo--dark .hero-promo__eyebrow,
.hero-promo--dark .hero-promo__title,
.hero-promo--dark .hero-promo__text {
  color: hsl(var(--white));
}

.brand-section {
  padding-block: clamp(4rem, 7vw, 5rem);
}

.brand-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.brand-section__heading h2,
.brand-oem__intro h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  
}

.brand-collections .brand-section__heading h2 {
  font-size: var(--heading-four);
  text-transform: uppercase;
  font-weight: 700;
}

.brand-section__eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--main-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.brand-section__link:hover {
  color: var(--main-600);
}

/* Trust metrics */
.brand-metrics {
  background: hsl(var(--white));
}

.brand-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.brand-metric {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 104px;
  padding: 1.25rem;
}

.brand-metric:not(:last-child) {
  border-inline-end: 0;
}

.brand-metric:not(:last-child)::after {
  position: absolute;
  inset-block: 1.5rem;
  inset-inline-end: 0;
  width: 1px;
  content: "";
  background: var(--gray-100);
}

.brand-metric__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--main-200);
  border-radius: 50%;
  color: var(--main-600);
  font-size: 1.35rem;
}

.brand-metric strong,
.brand-metric div span {
  display: block;
}

.brand-metric strong {
  margin-bottom: 0.15rem;
  color: var(--gray-900);
  font-size: 1.15rem;
  line-height: 1;
}

.brand-metric div span {
  color: var(--gray-800);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-weight: 500;
}

/* Collections */
.brand-collections {
  background: #f8f8f6;
}

.brand-section__actions,
.brand-slider-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-slider-arrows button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: #f8f8f6;
  color: var(--main-dark);
  transition: 0.2s ease;
}

.brand-slider-arrows button:hover {
  border-color: var(--main-dark);
  background: var(--main-dark);
  color: hsl(var(--white));
}

.brand-collection-slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.brand-collection-slider:not(.slick-initialized) > div {
  flex: 0 0 16.666%;
  padding-inline: 0.425rem;
}

.brand-collection-slider .slick-list {
  margin-inline: -0.425rem;
}

.brand-collection-slider .slick-slide {
  margin-inline: 0;
  padding-inline: 0.425rem;
}

.brand-collection-slider .slick-slide > div,
.brand-collection-slider .slick-slide > div > div {
  height: 100%;
}

.brand-collection {
  position: relative;
  display: block;
  height: 100%;
  min-height: 285px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #e9e6e1;
  color: hsl(var(--white));
  isolation: isolate;
}

.brand-collection img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-collection::after {
  position: absolute;
  inset: 35% 0 0;
  z-index: 1;
  content: "";
  background: linear-gradient(transparent, rgba(7, 20, 20, 0.86));
}

.brand-collection > span {
  position: absolute;
  inset-inline: 1rem;
  inset-block-end: 1rem;
  z-index: 2;
  padding-inline-end: 2.5rem;
}

.brand-collection strong,
.brand-collection small {
  display: block;
}

.brand-collection strong {
  margin-bottom: 0.25rem;
  color: hsl(var(--white));
  font-size: 1.15rem;
  text-transform: uppercase;
}

.brand-collection small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-collection:hover img {
  transform: scale(1.025);
}

/* Shared lower-right card arrow */
.brand-collection::before,
.new-arrival .product-card::after,
.shop .product-card::after {
  position: absolute;
  inset-inline-end: 0.85rem;
  inset-block-end: 0.85rem;
  z-index: 3;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  content: "→";
  font-size: 1.25rem;
  line-height: 1;
  transition: 0.2s ease;
}

.brand-collection::before {
  color: hsl(var(--white));
}

.new-arrival .product-card::after,
.shop .product-card::after {
  inset-block-end: 1.45rem;
  color: var(--main-dark);
}

.brand-collection:hover::before,
.new-arrival .product-card:hover::after,
.shop .product-card:hover::after {
  transform: translateX(3px);
}

/* Why us */
.brand-why {
  padding-block: 3.25rem;
  background: hsl(var(--white));
}

.brand-why .brand-section__heading {
  margin-bottom: 1rem;
}

.brand-why .brand-section__eyebrow {
  display: none;
}

.brand-why .brand-section__heading h2 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.brand-why__item {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-content: center;
  padding: 1.25rem clamp(1rem, 2.5vw, 2.5rem);
}

.brand-why__item:not(:last-child) {
  border-inline-end: 0;
}

.brand-why__item:not(:last-child)::after {
  position: absolute;
  inset-block: 1.4rem;
  inset-inline-end: 0;
  width: 1px;
  content: "";
  background: var(--gray-100);
}

.brand-why__item > span {
  display: grid;
  width: 44px;
  height: 44px;
  grid-row: 1 / span 2;
  margin-bottom: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: var(--main-600);
  font-size: 1.75rem;
}

.brand-why__item h3 {
  margin-bottom: 0.3rem;
  color: var(--gray-900);
  font-size: 1.1rem;
}

.brand-why__item p {
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.55;
}

/* Video and online catalog offer */
.brand-media-showcase {
  background: #f7f7f5;
}

.brand-media-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.brand-video-card,
.brand-catalog-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--main-dark);
  isolation: isolate;
}

.brand-video-card {
  width: 100%;
  padding: 0;
  color: hsl(var(--white));
  font-family: var(--body-font);
  text-align: start;
  cursor: pointer;
}

.brand-video-card > img,
.brand-catalog-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  z-index: -2;
}

.brand-video-card__shade,
.brand-catalog-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 25, 26, 0.05) 22%, rgba(10, 25, 26, 0.88) 100%);
}

.brand-video-card__content {
  position: absolute;
  inset-inline: 1.75rem;
  inset-block-end: 1.75rem;
  display: block;
}

.brand-video-card__content small,
.brand-catalog-card__content > small {
  display: block;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-video-card__content strong,
.brand-catalog-card__content h3 {
  display: block;
  max-width: 27rem;
  margin-bottom: 0.7rem;
  color: hsl(var(--white));
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.brand-video-card__content p,
.brand-catalog-card__content p {
  max-width: 27rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.brand-video-card__content em {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: hsl(var(--white));
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-video-card__content em .icon {
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.brand-video-card:hover > img,
.brand-catalog-card:hover > img {
  transform: scale(1.025);
}

.brand-video-card.is-playing {
  background: #000;
}

.brand-video-card.is-playing iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.brand-catalog-card {
  color: hsl(var(--white));
}

.brand-catalog-card__shade {
  background:
    linear-gradient(180deg, rgba(20, 39, 40, 0.12), rgba(20, 39, 40, 0.94)),
    linear-gradient(135deg, transparent, rgba(41, 70, 71, 0.35));
}

.brand-catalog-card__content {
  position: absolute;
  inset-inline: 1.75rem;
  inset-block-end: 1.75rem;
}

.brand-catalog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: hsl(var(--white));
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-catalog-card__link span {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.brand-catalog-card__link:hover span {
  transform: translateX(3px);
}

.brand-catalog-card__link.is-notified {
  color: rgba(255, 255, 255, 0.65);
}

/* Featured products */
.new-arrival {
  padding-top: clamp(4rem, 7vw, 7rem);
  background: hsl(var(--white));
}

.new-arrival .section-heading h5 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  letter-spacing: -0.03em;
}

#featured-heading {
  text-transform: uppercase;
  color: var(--gray-900);
  font-weight: 700;
}

.new-arrival .product-card,
.shop .product-card {
  border-color: var(--gray-100) !important;
  background: var(--main-light);
}

.new-arrival .product-card:hover,
.shop .product-card:hover {
  border-color: var(--main-600) !important;
}

.new-arrival .product-card__price,
.shop .product-card__price {
  display: block;
  padding-inline-end: 1.5rem;
}

/* Shop listing */
.shop .list-grid-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 576px) {
  .shop .list-grid-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .shop .list-grid-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

.shop .shop-sidebar__box h6 {
  font-family: inherit;
  text-transform: uppercase;
}

.shop-filter-btn {
  background: #fff;
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
}

.shop-filter-btn i,
.shop-filter-btn .icon {
  font-size: 1.15rem;
  color: var(--main-600);
}

.shop-filter-btn:hover {
  border-color: var(--main-600) !important;
  color: var(--main-600);
}

/* Product detail */
.product-details__thumb-slider {
  padding: 0;
  aspect-ratio: 1 / 1;
  background: var(--main-light);
  overflow: hidden;
}

.product-details__thumb-slider .slick-list,
.product-details__thumb-slider .slick-track,
.product-details__thumb-slider .slick-slide,
.product-details__thumb-slider .slick-slide > div,
.product-details__thumb-slider .slick-slide > div > div {
  height: 100%;
}

.product-details__thumb {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.product-details__thumb .product-zoom-trigger {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.product-details__thumb .product-zoom-trigger img,
.product-details__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.product-details__thumb .product-zoom-trigger img {
  box-sizing: border-box;
  padding: 1.25rem;
}

.product-details__images-slider .max-w-120 {
  background: var(--main-light);
}

.product-details__content h5 {
  letter-spacing: -0.02em;
}

.product-variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  color: var(--gray-900);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

button.product-variant {
  cursor: pointer;
  font-family: inherit;
}

.product-variant:hover,
.product-variant.is-active {
  border-color: var(--main-600);
  color: var(--main-600);
  background: color-mix(in srgb, var(--main-600) 8%, white);
}

.coating-hint {
  margin-top: 0.5rem;
}

.coating-other {
  margin-top: 0.75rem;
}

.coating-other .common-input {
  margin-bottom: 0.35rem;
}

/* Product card coating dots */
.product-card__coatings {
  min-height: 1rem;
}

.coating-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.coating-dot--nikel {
  background: #b8b8b8;
}

.coating-dot--fume {
  background: #5c5c5c;
}

.coating-dot--antik {
  background: #c9a24a;
}

.coating-dot--free {
  background: #e8e8e8;
}

.product-card__price-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.25rem;
  min-width: 0;
}

.product-card__price-row .text-heading {
  white-space: nowrap;
}

.product-card__price-vat {
  flex-shrink: 0;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.product-card__price-from {
  display: block;
  margin-top: 0.15rem;
  color: var(--gray-800);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(17, 17, 17, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox__inner {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 100%;
}

.product-lightbox__inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  background: var(--main-light);
}

.product-lightbox__close {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--gray-900);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--gray-900);
  font-size: 1.15rem;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.product-lightbox__nav--prev {
  left: -0.75rem;
}

.product-lightbox__nav--next {
  right: -0.75rem;
}

@media (max-width: 767px) {
  .product-lightbox__nav--prev {
    left: 0.25rem;
  }

  .product-lightbox__nav--next {
    right: 0.25rem;
  }

  .product-lightbox__close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

.product-dContent {
  border-color: var(--gray-100) !important;
}

.related-section.shop {
  padding-top: 0;
}

.related-section .section-heading {
  margin-bottom: 1rem;
}

.cart .table-product__thumb {
  background: var(--main-light);
  overflow: hidden;
}

.cart .table-product__thumb img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
}

/* Cart: mobile spacing + visible horizontal scroll */
@media (max-width: 767px) {
  .cart .cart-table {
    padding: 1.25rem 1rem !important;
  }

  .cart .table.style-three tbody tr td {
    padding: 1.35rem 14px;
    vertical-align: middle;
  }

  .cart .table-product {
    gap: 0.85rem !important;
    min-width: 220px;
  }

  .cart .table-product__thumb {
    max-width: 92px;
    max-height: 92px;
    width: 92px;
    flex-shrink: 0;
  }

  .cart .table-product__thumb img {
    padding: 8px;
  }

  .cart .overflow-x-auto.scroll-sm {
    padding-bottom: 10px;
    margin-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--main-600) var(--gray-100);
  }

  .cart .overflow-x-auto.scroll-sm::-webkit-scrollbar {
    height: 6px !important;
    -webkit-appearance: none;
  }

  .cart .overflow-x-auto.scroll-sm::-webkit-scrollbar-thumb {
    background-color: var(--main-600);
    border-radius: 6px;
  }

  .cart .overflow-x-auto.scroll-sm::-webkit-scrollbar-track {
    background-color: var(--gray-100);
    border-radius: 6px;
  }
}

@media (max-width: 767px) {
  .product-dContent__box,
  .product-dContent__header {
    padding: 16px !important;
  }

  .product-dContent__box {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

.shop-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-category-list__item {
  margin-bottom: 1.1rem;
}

.shop-category-list__item:last-child {
  margin-bottom: 0;
}

.shop-category-list__link {
  display: block;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.shop-category-list__link:hover,
.shop-category-list__link.is-active {
  color: var(--main-600);
}

.shop-category-list__children {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0 0 0 0.85rem;
  border-left: 1px solid var(--gray-100);
}

.shop-category-list__children li + li {
  margin-top: 0.4rem;
}

.shop-category-list__children a {
  display: block;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.shop-category-list__children a:hover,
.shop-category-list__children a.is-active {
  color: var(--main-600);
}

/* OEM / ODM */
.brand-oem {
  padding-top: 0;

}

.brand-oem__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--main-600);
}

.brand-oem__intro .brand-section__eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.brand-oem__intro h2,
.brand-oem__intro p {
  color: hsl(var(--white));
}

.brand-oem__intro p {
  max-width: 42rem;
  margin-block: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-button--light {
  background: hsl(var(--white));
  color: var(--main-600);
}

.brand-oem__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.brand-oem__steps div {
  min-width: 0;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-oem__steps span,
.brand-oem__steps strong,
.brand-oem__steps small {
  display: block;
}

.brand-oem__steps span {
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.brand-oem__steps strong {
  margin-bottom: 0.4rem;
  color: hsl(var(--white));
  font-size: 0.85rem;
  text-transform: uppercase;
}

.brand-oem__steps small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
}

/* Certifications */
.brand-certifications {
  padding-block: 1.65rem;
  border-block: 1px solid var(--gray-100);
  background: hsl(var(--white));
}

.brand-certifications__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.brand-certifications__grid > * {
  display: flex;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
  padding-inline: 1.25rem;
  border-inline-end: 1px solid var(--gray-100);
}

.brand-certifications__grid > *:first-child {
  padding-inline-start: 0;
}

.brand-certifications strong {
  color: var(--gray-700);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand-certifications span {
  color: var(--gray-800);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.brand-certifications a {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  color: var(--gray-800);
}

.brand-certifications a i,
.brand-certifications a .icon {
  font-size: 1.25rem;
}

/* Brand footer */
.brand-footer {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  background: #294647;
  color: rgba(255, 255, 255, 0.7);
}

.brand-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 4rem;
}

.brand-footer__logo {
  display: inline-block;
  max-width: 210px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-sm);

}

.brand-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-footer__about p {
  max-width: 28rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.75;
}

.brand-footer__contact {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brand-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

.brand-footer__contact i,
.brand-footer__contact .icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.brand-footer__contact a {
  color: rgba(255, 255, 255, 0.62);
}

.brand-footer h2 {
  margin-bottom: 1.25rem;
  color: hsl(var(--white));
  font-size: 1.15rem;
  text-transform: uppercase;
}

.brand-footer__grid > div:not(:first-child) a,
.brand-footer__grid > div:not(:first-child) span {
  display: block;
  margin-bottom: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
}

.brand-footer a:hover {
  color: hsl(var(--white)) !important;
}

.brand-footer__socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.brand-footer__socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: hsl(var(--white));
}

.brand-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.brand-footer__bottom a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Mobile brand navigation */
.mobile-brand-nav {
  display: grid;
  gap: 0;
  padding: 0;
}

.mobile-brand-nav li {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-brand-nav a {
  display: block;
  padding: 1rem 0.25rem;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-brand-nav__cta {
  margin-top: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--main-600);
  color: hsl(var(--white)) !important;
  text-align: center;
}

@media (max-width: 1399px) {
  .hero__grid,
  .hero-slider,
  .hero-slider__viewport {
    height: clamp(420px, 46vh, 500px);
    min-height: 420px;
  }
}

@media (max-width: 1199px) {
  .brand-collection-slider:not(.slick-initialized) > div {
    flex-basis: 33.333%;
  }

  .brand-collection {
    min-height: 320px;
  }

  .hero__grid,
  .hero-slider,
  .hero-slider__viewport {
    height: clamp(380px, 44vh, 460px);
    min-height: 380px;
  }

  .hero-slide__content {
    width: 100%;
    max-width: none;
    margin-inline-start: 0;
  }

  .hero-slide__panel {
    width: auto;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .hero__grid,
  .hero-slider,
  .hero-slider__viewport {
    height: 380px;
    min-height: 380px;
  }

  .hero-slide__content {
    width: 100%;
    max-width: none;
    margin-inline-start: 0;
  }

  .hero-slide__panel {
    width: auto;
    max-width: 50%;
  }

  .brand-metrics__grid,
  .brand-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-media-showcase__grid {
    grid-template-columns: 1fr;
  }

  .brand-video-card,
  .brand-catalog-card {
    min-height: 360px;
  }

  .brand-metric:nth-child(even)::after,
  .brand-why__item:nth-child(even)::after {
    display: none;
  }

  .brand-metric:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .brand-why__item:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .brand-oem__panel {
    grid-template-columns: 1fr;
  }

  .brand-certifications__grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.5rem;
  }

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

@media (max-width: 575px) {
  .hero__grid,
  .hero-slider,
  .hero-slider__viewport {
    height: 320px;
    min-height: 320px;
  }

  .hero-slide__content {
    width: 100%;
    max-width: none;
    margin-inline-start: 0;
    padding-block: 1.25rem 2.5rem;
  }

  .hero-slide__panel {
    width: auto;
    max-width: 50%;
  }

  .brand-section__heading {
    align-items: flex-start;
  }

  .brand-video-card,
  .brand-catalog-card {
    min-height: 320px;
  }

  .brand-collection-slider:not(.slick-initialized) > div {
    flex-basis: 50%;
  }

  .new-arrival__slider .slick-slide {
    padding-inline: 0.45rem;
  }

  .new-arrival__slider .slick-list {
    margin-inline: -0.45rem;
  }

  .brand-collection {
    min-height: 240px;
  }

  .brand-metric {
    justify-content: flex-start;
    padding-inline: 0.75rem;
  }

  .brand-metric__icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .brand-oem__steps {
    grid-template-columns: 1fr;
  }

  .brand-oem__steps span {
    margin-bottom: 0.75rem;
  }

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

  .brand-footer__grid {
    grid-template-columns: 1fr;
  }

  .brand-footer__bottom {
    flex-direction: column;
  }
}

/* ---- Brand color overrides (kill Bootstrap blue) ---- */
:root {
  --bs-primary: hsl(182, 20%, 38%);
  --bs-primary-rgb: 77, 115, 117;
  --bs-link-color: hsl(182, 20%, 38%);
  --bs-link-hover-color: #294647;
  --bs-link-color-rgb: 77, 115, 117;
  --bs-link-hover-color-rgb: 41, 70, 71;
  --bs-focus-ring-color: hsla(182, 20%, 38%, 0.25);
}

.form-control:focus,
.search-box .form-control:focus,
.search-form__input:focus,
.common-input:focus {
  border-color: var(--main-600) !important;
  box-shadow: 0 0 0 0.2rem hsla(182, 20%, 38%, 0.2) !important;
}

.close-button,
.close-responsive-dropdown,
.remove-tr-btn,
.slick-arrow,
#new-arrival-prev,
#new-arrival-next,
.category__button .arrow-icon,
.header-action__icon,
.toggle-mobileMenu,
.search-icon {
  color: var(--main-600);
}

.close-button .icon,
.close-responsive-dropdown .icon,
.remove-tr-btn .icon,
.slick-arrow .icon,
#new-arrival-prev .icon,
#new-arrival-next .icon,
.category__button .arrow-icon .icon,
.category__button .icon {
  color: var(--main-600) !important;
  fill: currentColor;
}

.remove-tr-btn {
  color: var(--main-600) !important;
}

.remove-tr-btn:hover,
.remove-tr-btn.hover-text-danger-600:hover {
  color: var(--danger-600, #dc3545) !important;
}

.slick-arrow:hover,
#new-arrival-prev:hover,
#new-arrival-next:hover {
  color: hsl(var(--white)) !important;
}

.slick-arrow:hover .icon,
#new-arrival-prev:hover .icon,
#new-arrival-next:hover .icon {
  color: hsl(var(--white)) !important;
}

.close-button:hover,
.close-button:hover .icon {
  color: hsl(var(--white)) !important;
}

/* ---- Account Pages ---- */
.account-sidebar {
  position: sticky;
  top: 100px;
}

.account-sidebar__header {
  background: var(--main-50);
  border-bottom: 1px solid var(--gray-100);
}

.account-sidebar__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.account-sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.account-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-sidebar__link i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.account-sidebar__link:hover {
  background: var(--main-50);
  color: var(--main-600);
}

.account-sidebar__link.is-active {
  background: var(--main-50);
  color: var(--main-600);
  font-weight: 700;
  border-inline-start: 3px solid var(--main-600);
}

.account-sidebar__link--danger {
  color: #dc3545;
  border-top: 1px solid var(--gray-100);
  margin-top: 0.25rem;
  padding-top: 1rem;
}

.account-sidebar__link--danger:hover {
  background: #fff5f5;
  color: #c82333;
}

.account-welcome {
  background: linear-gradient(135deg, var(--main-50) 0%, hsl(var(--white)) 100%);
}

.account-stat {
  transition: border-color 0.2s ease;
}

.account-stat:hover {
  border-color: var(--main-600) !important;
}

.account-stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--main-50);
  color: var(--main-600);
}

.account-orders__table {
  white-space: nowrap;
}

.account-orders__table thead {
  background: #fafafa;
}

.account-orders__table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background 0.15s ease;
}

.account-orders__table tbody tr:last-child {
  border-bottom: 0;
}

.account-orders__table tbody tr:hover {
  background: #fafafa;
}

.account-orders__thumbs {
  display: flex;
}

.account-orders__thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 2px solid hsl(var(--white));
  object-fit: cover;
  background: #f5f5f5;
}

.account-orders__thumb + .account-orders__thumb {
  margin-inline-start: -10px;
}

.account-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.account-badge--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.account-badge--warning {
  background: #fff3e0;
  color: #e65100 !important;
}

.account-badge--danger {
  background: #ffebee;
  color: #c62828;
}

.account-badge--info {
  background: #e3f2fd;
  color: #1565c0;
}

@media (max-width: 991px) {
  .account-sidebar {
    position: static;
  }

  .account-sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 0.5rem;
  }

  .account-sidebar__link {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  .account-sidebar__link.is-active {
    border-inline-start: 0;
    background: var(--main-600);
    color: hsl(var(--white));
  }

  .account-sidebar__link--danger {
    border-top: 0;
    margin-top: 0;
    padding-top: 0.6rem;
  }
}

/* Account order items (siparislerim page) */
.account-order-item__thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
}

.account-order-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Account address cards */
.account-address {
  transition: border-color 0.2s ease;
}

.account-address:hover {
  border-color: var(--main-600) !important;
}

/* Toggle password button */
.toggle-password {
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* Account search */
.account-search {
  min-width: 220px;
}

.account-search .common-input {
  min-height: 40px;
  font-size: 0.85rem;
}

.account-search__icon {
  display: flex;
  pointer-events: none;
}

.account-search__icon .icon {
  width: 1rem;
  height: 1rem;
}

/* Account pagination */
.account-pagination {
  margin-block-start: 0 !important;
}

.account-pagination .page-link {
  width: 36px;
  height: 36px;
  padding: 0;
}

.account-pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

.account-orders__footer {
  background: #fafafa;
}

@media (max-width: 575px) {
  .account-search {
    width: 100%;
    min-width: 0;
  }
}
