/* vtw-complete-the-set.css */
/* VendTheWeb Section Library — vendtheweb.com */
/* Version: 1.0.0 */

.vtw-complete-the-set {
  --_bg:           var(--vtw-section-bg,     var(--vtw-brand-bg,     #faf9f7));
  --_text:         var(--vtw-section-text,   var(--vtw-brand-text,   #1a1a1a));
  --_accent:       var(--vtw-section-accent, var(--vtw-brand-accent, #5c6b3a));
  --_accent-text:  var(--vtw-section-accent-text, var(--vtw-brand-accent-text, #ffffff));
  --_heading-font: var(--vtw-section-heading-font,
                   var(--vtw-brand-heading-font, Georgia, serif));
  --_body-font:    var(--vtw-section-body-font,
                   var(--vtw-brand-body-font, 'Assistant', Georgia, serif));
  --_padding:      var(--vtw-section-padding,
                   var(--vtw-brand-section-padding, 60px));
  --_gap:          var(--vtw-brand-element-gap, 24px);
  --_radius:       var(--vtw-brand-radius-md, 8px);
  --_max-width:    var(--vtw-brand-container-width, 1280px);
  --_speed:        var(--vtw-brand-speed, 250ms);
  --_border:       var(--vtw-brand-border, #e8e3dc);
  --_surface:      var(--vtw-brand-surface, #f0ede8);
  --_text-muted:   var(--vtw-section-text-muted, var(--vtw-brand-text-muted, #6b675f));
  --_focus:        var(--vtw-section-focus, var(--vtw-brand-focus, var(--_accent)));
  --_heading-scale: var(--vtw-brand-heading-scale, 1);
  --_body-size:    var(--vtw-brand-body-size, 16px);
  --_body-line-height: var(--vtw-brand-body-line-height, 1.6);
  --_button-radius: var(--vtw-brand-button-radius, var(--_radius));
  --_button-border-width: var(--vtw-brand-button-border-width, 1px);
  --_input-radius: var(--vtw-brand-input-radius, var(--_radius));
  --_focus-width:  var(--vtw-brand-focus-width, 2px);
  --_media-radius: var(--vtw-brand-media-radius, var(--_radius));
}

.vtw-complete-the-set {
  background-color: var(--_bg);
  color: var(--_text);
  padding-top: var(--_padding);
  padding-bottom: var(--_padding);
  font-family: var(--_body-font);
  font-size: var(--_body-size);
  line-height: var(--_body-line-height);
}

.vtw-complete-the-set .vtw-container {
  max-width: var(--_max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 48px);
}

.vtw-complete-the-set[data-section-width="full"] .vtw-container {
  max-width: none;
  padding-inline: clamp(24px, 6vw, 80px);
}

.vtw-complete-the-set[data-text-align="left"] .vtw-complete-the-set__header {
  text-align: left;
}

.vtw-complete-the-set[data-text-align="center"] .vtw-complete-the-set__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.vtw-complete-the-set__header {
  margin-bottom: 32px;
}

.vtw-complete-the-set__eyebrow {
  font-family: var(--_body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--_accent);
  margin: 0 0 12px;
}

.vtw-complete-the-set__heading {
  font-family: var(--_heading-font);
  font-size: calc(28px * var(--_heading-scale));
  font-weight: 700;
  line-height: 1.12;
  color: var(--_text);
  margin: 0;
}

.vtw-complete-the-set__body {
  margin: 12px 0 0;
  color: var(--_text-muted);
  max-width: 52ch;
}

.vtw-complete-the-set[data-text-align="center"] .vtw-complete-the-set__body {
  margin-inline: auto;
}

.vtw-complete-the-set__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--_gap);
}

.vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__grid {
  gap: 0;
  border: 1px solid var(--_text);
}

.vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__item:last-child {
  border-right: 0;
}

.vtw-complete-the-set[data-layout="complete-the-look"][data-count="1"] .vtw-complete-the-set__grid,
.vtw-complete-the-set[data-layout="complete-the-look"][data-count="2"] .vtw-complete-the-set__grid {
  grid-template-columns: minmax(0, 1fr);
}

.vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__grid {
  max-width: 720px;
  grid-template-columns: minmax(0, 1fr);
}

.vtw-complete-the-set[data-layout="suggested-partners"] .vtw-complete-the-set__grid {
  max-width: 720px;
  grid-template-columns: minmax(0, 1fr);
}

.vtw-complete-the-set__card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__card {
  background: var(--_surface);
  padding: 20px 16px 24px;
}

.vtw-complete-the-set[data-layout="suggested-partners"] .vtw-complete-the-set__card {
  padding: 0 0 8px;
}

.vtw-complete-the-set__media {
  position: relative;
  overflow: hidden;
  background: var(--_surface);
}

.vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__media {
  border-radius: 0;
  aspect-ratio: 3 / 4;
}

.vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__media {
  aspect-ratio: 1 / 1;
  max-width: 220px;
  margin-inline: auto;
  background: transparent;
}

.vtw-complete-the-set[data-layout="suggested-partners"] .vtw-complete-the-set__media {
  aspect-ratio: 1 / 1;
  max-width: 180px;
}

.vtw-complete-the-set__image-link,
.vtw-complete-the-set__image,
.vtw-complete-the-set__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vtw-complete-the-set__placeholder svg {
  width: 100%;
  height: 100%;
}

.vtw-complete-the-set__soldout {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--_surface);
  color: var(--_text-muted);
  padding: 4px 10px;
}

.vtw-complete-the-set__hover-variants {
  display: none;
}

.vtw-complete-the-set__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  min-width: 0;
}

.vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__copy,
.vtw-complete-the-set[data-layout="suggested-partners"] .vtw-complete-the-set__copy {
  padding: 16px 0 0;
}

.vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__copy {
  border-top: 1px solid var(--_text);
}

.vtw-complete-the-set__role {
  font-family: var(--_heading-font);
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}

.vtw-complete-the-set__title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.vtw-complete-the-set__check {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.vtw-complete-the-set__checkbox {
  position: absolute;
  inset: -10px;
  width: 44px;
  height: 44px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.vtw-complete-the-set__check-ui {
  display: block;
  width: 24px;
  height: 24px;
  border: 1px solid var(--_text);
  background: var(--_bg);
  pointer-events: none;
}

.vtw-complete-the-set__checkbox:checked + .vtw-complete-the-set__check-ui {
  background: var(--_accent);
  border-color: var(--_accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.vtw-complete-the-set__checkbox:focus-visible + .vtw-complete-the-set__check-ui,
.vtw-complete-the-set__select:focus-visible,
.vtw-complete-the-set__cta:focus-visible,
.vtw-complete-the-set__title:focus-visible {
  outline: var(--_focus-width) solid var(--_focus);
  outline-offset: 3px;
}

.vtw-complete-the-set__checkbox:disabled + .vtw-complete-the-set__check-ui {
  opacity: 0.4;
}

.vtw-complete-the-set__title {
  font-family: var(--_body-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--_text);
  text-decoration: none;
  line-height: 1.35;
  min-width: 0;
}

.vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vtw-complete-the-set__note,
.vtw-complete-the-set__size {
  margin: 0;
  font-size: 14px;
  color: var(--_text-muted);
}

.vtw-complete-the-set__price {
  margin: 0;
  font-size: 15px;
}

.vtw-complete-the-set__compare {
  color: var(--_text-muted);
  margin-right: 8px;
}

.vtw-complete-the-set__variant {
  margin: 0;
}

.vtw-complete-the-set__select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--_border);
  border-radius: var(--_input-radius);
  background: var(--_bg);
  color: var(--_text);
  font-family: var(--_body-font);
  font-size: 14px;
}

.vtw-complete-the-set__nojs {
  font-size: 14px;
  color: var(--_accent);
}

.vtw-complete-the-set.is-ready .vtw-complete-the-set__nojs {
  display: none;
}

.vtw-complete-the-set__savings {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--_text-muted);
}

.vtw-complete-the-set__savings-label {
  display: inline-block;
  margin-right: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--_accent);
}

.vtw-complete-the-set__actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.vtw-complete-the-set[data-text-align="center"] .vtw-complete-the-set__actions {
  align-items: center;
}

.vtw-complete-the-set__cta {
  min-height: 48px;
  padding: 12px 28px;
  border: var(--_button-border-width) solid var(--_accent);
  border-radius: var(--_button-radius);
  background: var(--_accent);
  color: var(--_accent-text);
  font-family: var(--_body-font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.vtw-complete-the-set__cta[hidden] {
  display: none;
}

.vtw-complete-the-set__cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.vtw-complete-the-set__status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
}

.vtw-complete-the-set__status.is-error {
  color: #8a3a2a;
}

.vtw-complete-the-set__empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--_text-muted);
}

.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;
}

.vtw-complete-the-set.vtw-animate-ready .vtw-complete-the-set__item {
  opacity: 0;
  transform: translateY(12px);
}

.vtw-complete-the-set.vtw-is-visible .vtw-complete-the-set__item {
  opacity: 1;
  transform: none;
  transition: opacity var(--_speed) ease, transform var(--_speed) ease;
}

.vtw-complete-the-set.vtw-is-visible .vtw-complete-the-set__item:nth-child(2) { transition-delay: 80ms; }
.vtw-complete-the-set.vtw-is-visible .vtw-complete-the-set__item:nth-child(3) { transition-delay: 160ms; }
.vtw-complete-the-set.vtw-is-visible .vtw-complete-the-set__item:nth-child(4) { transition-delay: 240ms; }

@media (min-width: 640px) {
  .vtw-complete-the-set[data-layout="complete-the-look"][data-count="2"] .vtw-complete-the-set__grid,
  .vtw-complete-the-set[data-layout="complete-the-look"][data-count="3"] .vtw-complete-the-set__grid,
  .vtw-complete-the-set[data-layout="complete-the-look"][data-count="4"] .vtw-complete-the-set__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vtw-complete-the-set[data-layout="pairs-well-with"] .vtw-complete-the-set__grid,
  .vtw-complete-the-set[data-layout="suggested-partners"] .vtw-complete-the-set__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .vtw-complete-the-set[data-layout="complete-the-look"][data-count="3"] .vtw-complete-the-set__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vtw-complete-the-set[data-layout="complete-the-look"][data-count="4"] .vtw-complete-the-set__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {
  .vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__hover-variants {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 12px;
    background: color-mix(in srgb, var(--_bg) 94%, transparent);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--_speed) ease, transform var(--_speed) ease;
  }

  .vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__item:hover .vtw-complete-the-set__hover-variants,
  .vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__item:focus-within .vtw-complete-the-set__hover-variants {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .vtw-complete-the-set[data-layout="complete-the-look"] .vtw-complete-the-set__variant--touch {
    display: none;
  }

  .vtw-complete-the-set__hover-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}

@media (max-width: 768px) {
  .vtw-complete-the-set[data-text-align-mobile="left"] .vtw-complete-the-set__header,
  .vtw-complete-the-set[data-text-align-mobile="left"] .vtw-complete-the-set__actions {
    text-align: left;
    align-items: flex-start;
    margin-inline: 0;
  }

  .vtw-complete-the-set[data-text-align-mobile="center"] .vtw-complete-the-set__header,
  .vtw-complete-the-set[data-text-align-mobile="center"] .vtw-complete-the-set__actions {
    text-align: center;
    align-items: center;
  }

  .vtw-complete-the-set[data-text-align-mobile="center"] .vtw-complete-the-set__body {
    margin-inline: auto;
  }

  .vtw-complete-the-set__cta {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vtw-complete-the-set * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* Only reveal targets: a universal opacity override would unhide the native checkbox. */
  .vtw-complete-the-set.vtw-animate-ready .vtw-complete-the-set__item,
  .vtw-complete-the-set.vtw-is-visible .vtw-complete-the-set__item {
    opacity: 1 !important;
    transform: none !important;
  }
}
