theme-featured-collection-tabs {
  display: contents;
}

.section-featured-collection {
  background-color: rgb(var(--color-background));
}

.featured-collection__tabs-wrapper {
  width: 100%;
}

.featured-collection__tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 40px;
}

.featured-collection__tabs-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.featured-collection__tabs-content {
  position: relative;
}

.featured-collection__tabs-content-inner {
  animation: column-fade-in 0.8s ease;
  animation-fill-mode: forwards;
}

@media (max-width: 959px) {
  .featured-collection__tabs-content-inner.mobile-full-width {
    width: var(--body-container-width);
    margin-inline-start: calc(50% - calc(var(--body-container-width) / 2));
  }

  .featured-collection__tabs-content-inner.mobile-full-width
    .product-card-border-shadow {
    border-radius: 0;
  }

  .featured-collection__tabs-content-inner.mobile-full-width
    .featured-collection__track {
    gap: 0;
  }
}

@media (min-width: 960px) {
  .featured-collection__tabs-content-inner.desktop-full-width
    .featured-collection__track {
    width: var(--body-container-width);
    padding-inline: var(--page-padding);
    margin-inline-start: calc(50% - calc(var(--body-container-width) / 2));
    scroll-padding-inline: var(--page-padding);
  }
}

.featured-collection__tab {
  padding: 10px 20px;
  color: var(--tab-color);
  white-space: nowrap;
  cursor: pointer;
  background-color: var(--tab-background-color);
  border-color: var(--tab-border-color);
  border-style: solid;
  border-width: 1px;
  border-radius: 6px;
}

.featured-collection__tab.active {
  color: var(--tab-active-color);
  background-color: var(--tab-active-background-color);
  border-color: var(--tab-active-border-color);
}

.featured-collection__tabs-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 550px;
}

.featured-collection__tabs-loading svg {
  width: 40px;
  height: 40px;
}

.featured-collection__carousel
  .featured-collection__carousel-indicator-progress {
  max-width: 480px;
  height: 6px;
}

.featured-collection__carousel-view-more {
  background-color: #e1e4e8;
}

.featured-collection__carousel-view-more a {
  color: #000;
}

.featured-collection__carousel-view-more a::after {
  display: none;
}

.featured-collection__carousel-view-more-button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.featured-collection__carousel-view-more-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
}

.featured-collection__button {
  position: absolute;
  inset-block-start: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: rgb(255 255 255 / 100%);
  background-color: rgb(0 0 0 / 100%);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
}

.featured-collection__button:disabled {
  display: none;
}

.featured-collection__button--previous {
  inset-inline-start: 0;
}

.featured-collection__button--previous svg {
  transform: rotate(180deg);
}

.featured-collection__button--next {
  inset-inline-end: 0;
}
/* ===== kd-wall custom (preview v4) ===== */
/* wall: title/subtitle/ViewAll same row, grid below */
[data-settings-id^="shopline-section-kd-wall"] .featured-collection__tabs-header{margin-block-end:0;}
[data-settings-id^="shopline-section-kd-wall"] .section-featured-collection .page-width > div{
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:"title viewall" "sub viewall" "grid grid";
  column-gap:12px;
  row-gap:2px;
  align-items:start;
  width:100%;
}
[data-settings-id^="shopline-section-kd-wall"] .block-heading{grid-area:title;font-size:18px;font-weight:800;color:#3d2b1f;line-height:1.25;margin:0;}
[data-settings-id^="shopline-section-kd-wall"] .subheading{grid-area:sub;font-size:12px;color:#8a6a55;line-height:1.4;margin:0;}
[data-settings-id^="shopline-section-kd-wall"] .featured-collection__view-more{
  grid-area:viewall;
  align-self:center;
  justify-self:end;
  background:#f8a978 !important;
  color:#3d2b1f !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:none !important;
  font-weight:800 !important;
  font-size:12px !important;
  padding:8px 18px !important;
  min-width:72px;
  text-align:center;
  white-space:nowrap;
  text-decoration:none;
}
[data-settings-id^="shopline-section-kd-wall"] .featured-collection__tabs-wrapper{grid-area:grid;width:100%;}
/* product grid: gap 12px, static grid */
[data-settings-id^="shopline-section-kd-wall"] .featured-collection__track{gap:12px;}
/* product card look */
[data-settings-id^="shopline-section-kd-wall"] .block-product-card{
  background:#fdf8f3;
  border:1px solid #f0e2d2;
  border-radius:14px;
  overflow:hidden;
}
[data-settings-id^="shopline-section-kd-wall"] .product-card-border-shadow{box-shadow:none;border-radius:14px;border:1px solid #f0e2d2;overflow:hidden;background:#fdf8f3;}
[data-settings-id^="shopline-section-kd-wall"] .block-product-title{
  font-size:12.5px;line-height:1.35;color:#3d2b1f;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:34px;padding-inline:10px;
}
[data-settings-id^="shopline-section-kd-wall"] .block-product-price{padding-inline:10px;}
[data-settings-id^="shopline-section-kd-wall"] .product-price__item{font-size:14px;font-weight:800;color:#c05a1b;}
[data-settings-id^="shopline-section-kd-wall"] .block-product-card__buy-button-wrapper{display:none;}
