/* ==========================================================================
   Stock status (single product page)
   ========================================================================== */

.gt-stock-widget {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 18px 0;
  padding: 20px 26px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}

.gt-stock-dot {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 12px;
  height: 12px;

  border-radius: 50%;
  background: var(--color-gold, #c9aa76);
}

.gt-stock-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* ==========================================================================
   Status indicator
   ========================================================================== */

.gt-stock-dot {
  position: relative;

  width: 10px;
  height: 10px;

  flex: 0 0 10px;

  border-radius: 50%;
  background: var(--color-gold, #c9aa76);
}

/* subtle ring */
.gt-stock-dot::after {
  content: "";

  position: absolute;
  inset: -4px;

  border: 1px solid var(--color-gold, #c9aa76);
  border-radius: 50%;

  opacity: 0.35;
}

/* ==========================================================================
   Content
   ========================================================================== */

.gt-stock-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gt-stock-title {
  color: var(--color-gold, #c9aa76);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gt-stock-text {
  color: rgba(255, 255, 255, 0.65);

  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* ==========================================================================
   Out of stock
   ========================================================================== */

.gt-stock-widget.is-out-of-stock {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gt-stock-widget.is-out-of-stock .gt-stock-dot {
  background: var(--color-error, #e07a7a);
}

.gt-stock-widget.is-out-of-stock .gt-stock-dot::after {
  border-color: var(--color-error, #e07a7a);
}

.gt-stock-widget.is-out-of-stock .gt-stock-title {
  color: var(--color-error, #e07a7a);
}

/* ==========================================================================
   Low stock
   ========================================================================== */

.gt-stock-widget.is-low-stock {
  border-color: var(--color-gold, #c9aa76);
}

.gt-stock-widget.is-low-stock .gt-stock-dot {
  background: var(--color-gold, #c9aa76);
}

.gt-stock-widget.is-low-stock .gt-stock-dot::after {
  border-color: var(--color-gold, #c9aa76);
  opacity: 0.55;
}

.gt-stock-widget.is-low-stock .gt-stock-title {
  color: var(--color-gold, #c9aa76);
}

.gt-stock-widget.is-low-stock .gt-stock-text {
  color: var(--color-white, #fff);
}

.qodef-quantity-buttons.quantity.hidden,
.stock.in-stock {
  display: none !important;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media only screen and (max-width: 680px) {
  .gt-stock-widget {
    padding: 11px 14px;
    gap: 10px;
  }

  .gt-stock-title {
    font-size: 13px;
  }

  .gt-stock-text {
    font-size: 12.5px;
  }
}
