﻿/**
 * Landing Quantity Selector MERCH — isolated (.nf-lqty-merch)
 * Do not share nf-landing / nf-landing--option-1 classes with the standard quantity selector.
 */

:root {
  --nf-primary-green: #27ae60;
  --nf-red: #de1528;
  --nf-text-dark: #000000;
  --nf-text-gray: #7f8c8d;
  --nf-border-light: #ecf0f1;
  --nf-bg-light: #f8f9fa;
  --nf-white: #ffffff;
}

.nf-lqty-merch {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: inherit;
}

.nf-lqty-merch,
.nf-lqty-merch * {
  font-family: inherit;
}
.nf-lqty-merch {
  background: var(--nf-white);
}

/* ==========================================================================
   Order Form Title
   ========================================================================== */
.nf-lqty-merch__order-form-title {
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--nf-text-dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* ==========================================================================
   Countdown Timer (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 0 20px 0;
  padding: 10px 16px;
  line-height: 17px;
  color: #000000;
}

.nf-lqty-merch .nf-lqty-merch-timer__label {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.2px;
}

.nf-lqty-merch .nf-lqty-merch-timer__display {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  letter-spacing: 1px;
}

.nf-lqty-merch .nf-lqty-merch-timer__hours,
.nf-lqty-merch .nf-lqty-merch-timer__minutes,
.nf-lqty-merch .nf-lqty-merch-timer__seconds {
  display: inline-block;
  min-width: 24px;
  text-align: center;
}

/* ==========================================================================
   Product Hero Section (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  padding: 0;
}

.nf-lqty-merch .nf-lqty-merch-hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nf-lqty-merch .nf-lqty-merch-hero__image {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.nf-lqty-merch .nf-lqty-merch-hero__cookbook-image {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-lqty-merch .nf-lqty-merch-hero__cookbook-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nf-lqty-merch .nf-cookbook-free-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  background: var(--nf-red);
  color: var(--nf-white);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.nf-lqty-merch .nf-lqty-merch-hero__badge {
  position: absolute;
  top: -4px;
  right: -10px;
  width: 90px;
  height: 90px;
  background: var(--nf-red);
  color: var(--nf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  z-index: 1;
}

.nf-lqty-merch .nf-lqty-merch-hero__content {
  text-align: center;
  width: 100%;
}

.nf-lqty-merch .nf-lqty-merch-hero__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--nf-text-dark);
  line-height: 1.2;
}

.nf-lqty-merch .nf-lqty-merch-hero__delivery-notice {
  margin: 8px 0 0 0;
  font-size: 18px;
  color: #000;
  line-height: 1.4;
  font-weight: 700;
}

.nf-lqty-merch .nf-lqty-merch-hero__delivery-notice strong {
  color: var(--nf-text-dark);
  font-weight: 600;
}

.nf-lqty-merch .nf-lqty-merch-hero__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--nf-text-gray);
}

/* ==========================================================================
   Step Headers (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-step {
  margin: 15px 0px 10px;
  text-align: center;
}
.nf-lqty-merch .nf-lqty-merch-step__title_part_two {
  font-weight: 600;
}
.nf-lqty-merch .nf-lqty-merch-step__title_part_one,
.nf-lqty-merch .nf-lqty-merch-step__title_part_two {
  font-size: 18px;
  text-align: center;
}

/* ==========================================================================
   Package Cards (Mobile First - Stacked)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.nf-lqty-merch .nf-lqty-merch-guarantee {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin-left: 20px;
}

.nf-lqty-merch .nf-lqty-merch-guarantee__icon {
  width: 25px;
  height: auto;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-guarantee__text {
  margin: 0;
  font-size: 16px;
  color: var(--nf-text-dark);
  line-height: 1.3;
  white-space: pre-line;
}

.nf-lqty-merch .nf-lqty-merch-guarantee__text strong {
  font-weight: 700;
  margin-right: 5px;
}

.nf-lqty-merch .nf-lqty-merch-pack {
  position: relative;
  border: 2px solid var(--nf-border-light);
  border-radius: 8px;
  background: var(--nf-white);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: fit-content;
  min-height: 166px;
}

.nf-lqty-merch .nf-lqty-merch-pack:hover {
  border-color: var(--nf-primary-green);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nf-lqty-merch .nf-lqty-merch-pack--selected {
  border-color: var(--nf-primary-green);
  border-width: 1px;
}

/* ==========================================================================
   Top Section: Title/Checkbox + Pricing (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-pack__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.nf-lqty-merch .nf-lqty-merch-pack__top__left {
  flex: 1;
  min-width: 0;
}

.nf-lqty-merch .nf-lqty-merch-pack__title-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  align-items: center;
}

.nf-lqty-merch .nf-lqty-merch-pack__checkbox {
  width: 30px;
  height: 30px;
  position: relative;
  flex-shrink: 0;
  border: 2px solid var(--nf-border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-lqty-merch .nf-lqty-merch-pack__checkbox img {
  width: 30px;
  height: 30px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.nf-lqty-merch .nf-lqty-merch-pack__checkbox .nf-checkbox-selected {
  opacity: 0;
}

.nf-lqty-merch .nf-lqty-merch-pack--selected .nf-checkbox-selected {
  opacity: 1;
}

.nf-lqty-merch .nf-lqty-merch-pack--selected .nf-checkbox-default {
  opacity: 0;
}

.nf-lqty-merch .nf-lqty-merch-pack--selected .nf-lqty-merch-pack__checkbox {
  border: none;
}

.nf-lqty-merch .nf-lqty-merch-pack__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--nf-text-dark);
  line-height: 1.2;
  font-family: "Fira Sans", sans-serif;
}

.nf-lqty-merch .nf-lqty-merch-pack__subtitle {
  font-size: 14px;
  color: var(--nf-text-gray);
  line-height: 1.3;
  font-family: inherit;
  font-style: italic;
}

.nf-lqty-merch .wrapper_upper_section {
  padding: 15px;
}
.nf-lqty-merch .nf-lqty-merch-pack__top__right {
  text-align: right;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-pack__price-old {
  font-size: 20px;
  color: var(--nf-text-gray);
  text-decoration: line-through;
  margin-bottom: 5px;
  line-height: 1;
}

.nf-lqty-merch .nf-lqty-merch-pack__price-current {
  font-size: 20px;
  color: var(--nf-text-dark);
  margin-bottom: 2px;
  line-height: 1;
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
}

.nf-lqty-merch .nf-lqty-merch-pack__price-perday {
  position: absolute;
  top: 5px;
  right: 0;
  font-size: 14px;
  color: var(--nf-primary-green);
  font-weight: 400;
  border: 1px solid #dfdfdf;
  border-radius: 20px;
  background: var(--nf-white);
  padding: 0 15px;
  display: inline-block;
  text-align: center;
  z-index: 3;
  line-height: 20px;
}

.nf-lqty-merch .nf-lqty-merch-pack__price-perday bdi {
  font-weight: 800;
}

/* ==========================================================================
   Middle Section: Product Image (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-pack__image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 90px;
}

.nf-lqty-merch .nf-lqty-merch-pack__image {
  position: relative;
  width: 100%;
  max-width: 120px;
}

.nf-lqty-merch .nf-lqty-merch-pack__image img {
  width: 105px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}

.nf-lqty-merch .nf-lqty-merch-pack__cookbook-image {
  position: relative;
  flex-shrink: 0;
  height: auto;
  left: -17px;
  width:80px;
  top: 29px;
}

.nf-lqty-merch .nf-lqty-merch-pack__cookbook-image img {
  width: 100%;
  height: auto;
  display: block;
}

.nf-lqty-merch .nf-lqty-merch-pack__cookbook-image .nf-cookbook-free-badge {
  position: absolute;
  top: 0px;
  right: -16px;
  background: var(--nf-red);
  color: var(--nf-white);
  padding: 2px 6px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.nf-lqty-merch .nf-lqty-merch-pack__badge {
  position: absolute;
  top: 15px;
  right: 0;
  width: 45px;
  height: 45px;
  background: var(--nf-red);
  color: var(--nf-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  z-index: 1;
  font-family: "Fira Sans", sans-serif;
}

/* ==========================================================================
   Bottom Section: Features (Mobile First)
   ========================================================================== */
.nf-lqty-merch .nf-lqty-merch-pack__features {
  display: flex;
  flex-direction: column;
  background: #ededed;
  padding: 10px 16px;
  border-radius: 0 0px 6px 6px;
}

.nf-lqty-merch .nf-lqty-merch-pack__feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--nf-text-dark);
  line-height: 1.6;
  font-weight: 400;
}

.nf-lqty-merch .nf-feature-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--nf-text-gray);
}

.nf-lqty-merch .nf-feature-sub {
  display: block;
  font-size: 9px;
  color: var(--nf-text-dark);
  margin-top: 2px;
  line-height: 1.3;
}

.nf-lqty-merch .nf-lqty-merch-pack__feature--with-image {
  position: relative;
  padding-right: 40px;
}
.nf-lqty-merch__loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.nf-lqty-merch__loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--nf-border-light);
  border-top-color: var(--nf-primary-green);
  border-radius: 50%;
  animation: nf-spin 0.8s linear infinite;
}

@keyframes nf-spin {
  to {
    transform: rotate(360deg);
  }
}
.nf-lqty-merch {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--nf-white);
}

/* ==========================================================================
   Combined Media Queries - Desktop (1024px+)
   ========================================================================== */

/* Desktop: Option 1 (1024px+) */
@media (min-width: 1024px) {
  /* Order Form Title */
  .nf-lqty-merch__order-form-title {
    font-size: 28px;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
  }

  /* Timer */
  .nf-lqty-merch .nf-lqty-merch-timer {
    padding: 9px 24px;
    line-height: 20px;
  }

  .nf-lqty-merch .nf-lqty-merch-timer__label {
    font-size: 16px;
  }

  .nf-lqty-merch .nf-lqty-merch-timer__display {
    font-size: 20px;
  }

  .nf-lqty-merch .nf-lqty-merch-timer__hours,
  .nf-lqty-merch .nf-lqty-merch-timer__minutes,
  .nf-lqty-merch .nf-lqty-merch-timer__seconds {
    min-width: 28px;
  }
  .nf-lqty-merch .nf-lqty-merch-pack__features {
    min-height: 58px;
  }
  /* Hero */
  .nf-lqty-merch .nf-lqty-merch-hero {
    gap: 30px;
    margin-bottom: 20px;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__image-wrapper {
    max-width: 400px;
    gap: 15px;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__image {
    max-width: 100%;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__cookbook-image {
    width: 80px;
  }

  .nf-lqty-merch .nf-cookbook-free-badge {
    top: -6px;
    right: -6px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__badge {
    top: 0px;
    right: 10px;
    width: 100px;
    height: 100px;
    font-size: 40px;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__title {
    font-size: 32px;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__delivery-notice {
    font-size: 18px;
    margin: 10px 0 0 0;
  }

  .nf-lqty-merch .nf-lqty-merch-hero__subtitle {
    font-size: 15px;
  }

  /* Step */
  .nf-lqty-merch .nf-lqty-merch-step {
    margin: 30px 0 20px 0;
  }

  .nf-lqty-merch .nf-lqty-merch-step__title {
    padding: 16px 20px;
    font-size: 18px;
  }

  /* Packages - One row on desktop, full width */
  .nf-lqty-merch .nf-lqty-merch-packages {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .nf-lqty-merch .nf-lqty-merch-guarantee {
    display: none;
  }

  /* Pricing/Checkbox */
  .nf-lqty-merch .nf-lqty-merch-pack__top {
    gap: 15px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__checkbox {
    width: 25px;
    height: 25px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__subtitle {
    font-size: 14px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__price-old {
    font-size: 20px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__price-current {
    font-size: 20px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__price-perday {
    font-size: 13px;
  }

  /* Package Images */
  .nf-lqty-merch .nf-lqty-merch-pack__image-wrapper {
    gap: 10px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__cookbook-image {
    width: 80px;
    top: 29px;
    left: -16px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__cookbook-image .nf-cookbook-free-badge {
    top: 0px;
    right: -23px;
    font-size: 9px;
  }

  .nf-lqty-merch .nf-feature-icon {
    width: 16px;
    height: 16px;
  }

  .nf-lqty-merch .nf-feature-sub {
    font-size: 10px;
  }

  .nf-lqty-merch .nf-lqty-merch-pack__feature--with-image {
    padding-right: 45px;
  }

  /* Base Container */
  .nf-lqty-merch {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
  }
}
/* Merch landing â€” desktop: pack column + merch column (Step 1) */
@media (min-width: 1024px) {
  .nf-lqty-merch .nf-lqty-merch-step1 {
    display: grid;
    grid-template-columns: minmax(300px, 42%) minmax(340px, 58%);
    gap: 20px 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 32px;
    width: 100%;
  }

  .nf-lqty-merch .nf-lqty-merch-step1__packs {
    min-width: 0;
  }

  .nf-lqty-merch .nf-lqty-merch-packages {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }

  .nf-lqty-merch .nf-lqty-merch-step1__shirt {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .nf-lqty-merch .nf-lqty-merch-step1__shirt .nf-lqty-merch-shirt {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .nf-lqty-merch .nf-lqty-merch-step1__shirt .nf-lqty-merch-shirt__body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .nf-lqty-merch .nf-lqty-merch-shirt__add {
    margin-top: auto;
  }
}

@media (max-width: 1023px) {
  .nf-lqty-merch .nf-lqty-merch-step1 {
    display: block;
  }
}

/* Merch landing widget (T-shirt selector) â€” matches option-1 green landing design */
.nf-lqty-merch .nf-lqty-merch-shirt {
  --nf-merch-green: var(--nf-primary-green, #27ae60);
  --nf-merch-green-hover: #1b934b;
  --nf-merch-green-soft: #f0f9f4;
  --nf-merch-green-focus: rgba(39, 174, 96, 0.15);
  --nf-merch-title: #000000;
  --nf-merch-subtitle: #666666;
  --nf-merch-label: #000000;
  --nf-merch-design-label: #333333;
  --nf-merch-border: #d9d9d9;
  --nf-merch-bg: #ffffff;
  --nf-merch-head-bg: #f4fbf7;
  --nf-merch-card-bg: #ffffff;
  --nf-merch-notice-bg: #fff9e6;
  --nf-merch-link: var(--nf-merch-green);

  margin: 20px 0 24px;
  padding: 0;
  border: 1px solid var(--nf-merch-border);
  border-radius: 4px;
  background: var(--nf-merch-bg);
  color: var(--nf-merch-title);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  overflow: hidden;
}

.nf-lqty-merch .nf-lqty-merch-shirt__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--nf-merch-head-bg);
  border-bottom: 1px solid var(--nf-merch-border);
}

.nf-lqty-merch .nf-lqty-merch-shirt__head-icon {
  flex-shrink: 0;
  line-height: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__head-icon-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nf-lqty-merch .nf-lqty-merch-shirt__head-text {
  flex: 1;
  min-width: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__body {
  padding: 14px;
}

.nf-lqty-merch .nf-lqty-merch-shirt a {
  color: var(--nf-merch-link);
}

.nf-lqty-merch .nf-lqty-merch-shirt a:hover,
.nf-lqty-merch .nf-lqty-merch-shirt a:focus {
  color: var(--nf-merch-green-hover);
}

/* Block theme / WooCommerce red on any merch control */
.nf-lqty-merch .nf-lqty-merch-shirt button,
.nf-lqty-merch .nf-lqty-merch-shirt button:hover,
.nf-lqty-merch .nf-lqty-merch-shirt button:focus,
.nf-lqty-merch .nf-lqty-merch-shirt button:active {
  outline: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design,
.nf-lqty-merch .nf-lqty-merch-shirt__size-btn,
.nf-lqty-merch .nf-lqty-merch-shirt__color-pill,
.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  background-image: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--nf-merch-title);
}

.nf-lqty-merch .nf-lqty-merch-shirt__subtitle {
  margin: 0;
  color: var(--nf-merch-subtitle);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-wrap {
  position: relative;
  margin-bottom: 16px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs::-webkit-scrollbar {
  display: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design {
  position: relative;
  flex: 0 0 120px;
  width: 120px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  border: 2px solid var(--nf-merch-border);
  border-radius: 8px;
  background: var(--nf-merch-card-bg) !important;
  padding: 8px 8px 10px;
  cursor: pointer;
  text-align: center;
  color: var(--nf-merch-design-label) !important;
  font-family: inherit;
  overflow: hidden;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__design:focus {
  border-color: var(--nf-merch-green) !important;
  background: var(--nf-merch-card-bg) !important;
  color: var(--nf-merch-design-label) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design.is-selected {
  border-color: var(--nf-merch-green);
  border-width: 2px;
  box-shadow: inset 0 0 0 1px var(--nf-merch-green);
}

.nf-lqty-merch .nf-lqty-merch-shirt__design-check {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 5px 6px 0 0;
  box-sizing: border-box;
  background: var(--nf-merch-green);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 2;
  pointer-events: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design-check svg {
  display: block;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design.is-selected .nf-lqty-merch-shirt__design-check {
  display: flex;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 96px;
  min-height: 96px;
  margin-bottom: 8px;
  overflow: hidden;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.nf-lqty-merch .nf-lqty-merch-shirt__design-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 2.4em;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--nf-merch-design-label);
  word-break: break-word;
  text-transform: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--nf-merch-border);
  border-radius: 50%;
  background: var(--nf-merch-card-bg) !important;
  color: var(--nf-merch-design-label) !important;
  cursor: pointer;
  z-index: 2;
  font-family: inherit;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav--prev {
  left: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav--next {
  right: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav-icon {
  display: block;
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav:hover:not(:disabled),
.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav:focus:not(:disabled) {
  border-color: var(--nf-merch-green) !important;
  background: var(--nf-merch-card-bg) !important;
  color: var(--nf-merch-design-label) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__designs-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs {
  display: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs.is-active {
  display: block;
}

.nf-lqty-merch .nf-lqty-merch-shirt__field {
  margin-bottom: 14px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 16px;
  margin-bottom: 14px;
  align-items: start;
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs-row--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs-col {
  min-width: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__attrs-col .nf-lqty-merch-shirt__field {
  margin-bottom: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__tabela-wrap {
  margin: 8px 0 14px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__tabela-wrap .nf-lqty-merch-shirt__size-chart {
  margin: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--nf-merch-label);
}

.nf-lqty-merch .nf-lqty-merch-shirt__field-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__field-head label {
  margin: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__field-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 50%;
  font-size: 11px;
  color: var(--nf-merch-subtitle);
  cursor: help;
}

.nf-lqty-merch .nf-lqty-merch-shirt__style-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--nf-merch-border);
  border-radius: 10px;
  background: #f9f9fa;
  padding: 0 40px 0 12px;
  color: var(--nf-merch-title);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__style-select:focus {
  outline: none;
  border-color: var(--nf-merch-green);
  box-shadow: 0 0 0 2px var(--nf-merch-green-soft);
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-btn {
  flex: 1 1 auto;
  min-width: 36px;
  min-height: 42px;
  border: 1px solid var(--nf-merch-border);
  border-radius: 8px;
  background: var(--nf-merch-card-bg) !important;
  font-weight: 700;
  font-size: 16px;
  font-family: inherit;
  color: var(--nf-merch-title) !important;
  cursor: pointer;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-btn:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__size-btn:focus {
  border-color: var(--nf-merch-green) !important;
  background: var(--nf-merch-green-soft) !important;
  color: var(--nf-merch-green) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-btn.is-selected {
  border-color: var(--nf-merch-green);
  box-shadow: inset 0 0 0 1px var(--nf-merch-green);
  background: var(--nf-merch-card-bg) !important;
  color: var(--nf-merch-green) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-btn.is-selected:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__size-btn.is-selected:focus {
  border-color: var(--nf-merch-green) !important;
  background: var(--nf-merch-green-soft) !important;
  color: var(--nf-merch-green) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 40px;
  padding: 6px 10px 6px 8px;
  border: 1px solid var(--nf-merch-border);
  border-radius: 999px;
  background: var(--nf-merch-card-bg) !important;
  cursor: pointer;
  font-family: inherit;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-pill:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__color-pill:focus {
  border-color: var(--nf-merch-green) !important;
  background: var(--nf-merch-card-bg) !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-pill.is-selected {
  border-color: var(--nf-merch-green);
  box-shadow: inset 0 0 0 1px var(--nf-merch-green);
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-pill--light .nf-lqty-merch-shirt__color-dot {
  border-color: #bbb;
}

.nf-lqty-merch .nf-lqty-merch-shirt__color-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--nf-merch-title);
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-chart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 14px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: #666666 !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-chart-text {
  text-decoration: underline;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-chart:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__size-chart:focus {
  color: var(--nf-merch-green) !important;
  text-decoration: none;
}

.nf-lqty-merch .nf-lqty-merch-shirt__size-chart:hover .nf-lqty-merch-shirt__size-chart-text,
.nf-lqty-merch .nf-lqty-merch-shirt__size-chart:focus .nf-lqty-merch-shirt__size-chart-text {
  color: var(--nf-merch-green);
  text-decoration: underline;
}

.nf-lqty-merch .nf-lqty-merch-shirt__notice {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 14px 0;
  padding: 12px 14px;
  background: var(--nf-merch-notice-bg);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--nf-merch-title);
  font-weight: 400;
  text-align: left;
}

.nf-lqty-merch .nf-lqty-merch-shirt__notice-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nf-lqty-merch .nf-lqty-merch-shirt__notice-icon-img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.nf-lqty-merch .nf-lqty-merch-shirt__add {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 100px !important;
  border: 0 !important;
  background: var(--nf-merch-green) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  cursor: pointer;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal;
}

.nf-lqty-merch .nf-lqty-merch-shirt__add:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__add:focus,
.nf-lqty-merch .nf-lqty-merch-shirt__add:active {
  background: var(--nf-merch-green-hover) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nf-lqty-merch .nf-lqty-merch-shirt__skip {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0;
  background: transparent !important;
  border: 0 !important;
  color: var(--nf-merch-green) !important;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  box-shadow: none !important;
  text-align: center;
}

.nf-lqty-merch .nf-lqty-merch-shirt__skip:hover,
.nf-lqty-merch .nf-lqty-merch-shirt__skip:focus,
.nf-lqty-merch .nf-lqty-merch-shirt__skip:active {
  color: var(--nf-merch-green-hover) !important;
  background: transparent !important;
  border: 0 !important;
  text-decoration: underline;
}
