/** Shopify CDN: Minification failed

Line 361:0 Unexpected "}"

**/
/*
 * SO TARTE 商品ページ 複数フレーバー選択フォーム
 * assets/tarte-product-form.css
 *
 * Dawn系テーマのCSS変数を継承。
 * 下部固定サマリーバーがこのページの核。
 */

/* ══════════════════════════════
   ラッパー
══════════════════════════════ */
.stp {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-bottom: 120px; /* 固定サマリー分の余白 */
}

/* ══════════════════════════════
   ヒーロー（商品画像＋タイトル）
══════════════════════════════ */
.stp__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}
.stp__hero-img { border-radius: 12px; overflow: hidden; }
.stp__hero-img-el { width: 100%; height: auto; display: block; }
.stp__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.4);
  margin: 0 0 10px;
}
.stp__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgb(var(--color-foreground));
  margin: 0 0 16px;
  font-family: var(--font-heading-family, inherit);
}
.stp__desc {
  font-size: 13px;
  color: rgba(var(--color-foreground), 0.6);
  line-height: 1.9;
}

/* ══════════════════════════════
   ステップ
══════════════════════════════ */
.stp__step {
  margin-bottom: 40px;
}
.stp__step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}
.stp__step-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(var(--color-foreground), 0.3);
  font-family: var(--font-heading-family, inherit);
}
.stp__step-title {
  font-size: 15px;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  margin: 0;
  letter-spacing: 0.04em;
}
.stp__step-note {
  font-size: 11px;
  color: rgba(var(--color-foreground), 0.4);
  margin-left: auto;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════
   フレーバーグリッド
══════════════════════════════ */
.stp__flavor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
@media (min-width: 750px) {
  .stp__flavor-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* フレーバーカード */
.stp__flavor-card {
  border: 1.5px solid rgba(var(--color-foreground), 0.1);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  background: rgb(var(--color-background));
  user-select: none;
}
.stp__flavor-card:hover {
  border-color: rgba(var(--color-foreground), 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--color-foreground), 0.07);
}
.stp__flavor-card--selected {
  border-color: rgb(var(--color-foreground));
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(var(--color-foreground), 0.1);
}

/* 画像エリア */
.stp__flavor-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(var(--color-foreground), 0.04);
}
.stp__flavor-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.stp__flavor-card:hover .stp__flavor-img { transform: scale(1.04); }

.stp__flavor-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: rgba(var(--color-foreground), 0.2);
}

/* チェックマーク */
.stp__flavor-check {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.15s;
}
.stp__flavor-card--selected .stp__flavor-check {
  opacity: 1;
  transform: scale(1);
}

/* テキスト */
.stp__flavor-body {
  padding: 10px 12px 8px;
}
.stp__flavor-name {
  font-size: 12px;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  margin: 0 0 3px;
  line-height: 1.4;
}
.stp__flavor-price {
  font-size: 11px;
  color: rgba(var(--color-foreground), 0.55);
  margin: 0;
}

/* 個数コントロール */
.stp__flavor-qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(var(--color-foreground), 0.08);
  background: rgba(var(--color-foreground), 0.02);
}
.stp__qty-btn {
  width: 28px; height: 28px;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 50%;
  background: rgb(var(--color-background));
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  color: rgba(var(--color-foreground), 0.6);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.12s;
  padding: 0;
}
.stp__qty-btn:hover {
  border-color: rgb(var(--color-foreground));
  color: rgb(var(--color-foreground));
}
.stp__qty-num {
  font-size: 14px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
  color: rgb(var(--color-foreground));
}

/* ══════════════════════════════
   カード（日時・持ち歩き）
══════════════════════════════ */
.stp__card {
  background: rgb(var(--color-background));
  border: 1px solid rgba(var(--color-foreground), 0.1);
  border-radius: 10px;
  padding: 20px 24px;
}

/* 日時グリッド */
.stp__datetime {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}
.stp__field {}
.stp__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.5);
  margin-bottom: 8px;
}
.stp__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 6px;
  background: rgba(var(--color-foreground), 0.02);
  font-size: 13px;
  font-family: inherit;
  color: rgb(var(--color-foreground));
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}
.stp__input:focus { border-color: rgba(var(--color-foreground), 0.5); }

.stp__hint {
  font-size: 11.5px;
  color: rgba(var(--color-foreground), 0.45);
  margin: 0;
  line-height: 1.7;
}
.stp__hint--ok {
  color: #3a6032;
}

/* 持ち歩きスライダー */
.stp__walk { margin-bottom: 14px; }
.stp__walk-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.stp__walk-val {
  font-size: 28px;
  font-weight: 400;
  color: rgb(var(--color-foreground));
  font-family: var(--font-heading-family, inherit);
}
.stp__walk-unit {
  font-size: 13px;
  color: rgba(var(--color-foreground), 0.5);
}
.stp__walk-fee {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.6);
}
.stp__walk-fee.is-free { color: #3a6032; }

#stp-walk-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(var(--color-foreground), 0.15);
  outline: none;
  margin-bottom: 8px;
  display: block;
}
#stp-walk-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgb(var(--color-foreground));
  cursor: pointer;
}
#stp-walk-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgb(var(--color-foreground));
  cursor: pointer;
  border: none;
}
.stp__walk-marks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  font-size: 10px;
  color: rgba(var(--color-foreground), 0.35);
  margin-top: 4px;
}
.stp__walk-marks span:nth-child(1) { text-align: left; }
.stp__walk-marks span:nth-child(2) { text-align: center; margin-left: -16px; }
.stp__walk-marks span:nth-child(3) { text-align: center; }
.stp__walk-marks span:nth-child(4) { text-align: center; margin-left: 16px; }
.stp__walk-marks span:nth-child(5) { text-align: right; }
.stp__walk-free {
  background: rgba(74,103,65,0.1);
  color: #3a6032;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
}
  .stp__opt-counter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(var(--color-foreground), 0.12);
  border-radius: 8px;
  background: rgb(var(--color-background));
}
.stp__opt-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;

  
}
}

/* ══════════════════════════════
   下部固定サマリーバー
══════════════════════════════ */
.stp-summary {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgb(var(--color-background));
  border-top: 1px solid rgba(var(--color-foreground), 0.12);
  box-shadow: 0 -4px 24px rgba(var(--color-foreground), 0.08);
  z-index: 200;
  padding: 14px 24px;
}
.stp-summary__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 左：選択フレーバー一覧 */
.stp-summary__left {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.stp-summary__empty {
  font-size: 12px;
  color: rgba(var(--color-foreground), 0.35);
  margin: 0;
}
.stp-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stp-summary__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(var(--color-foreground), 0.05);
  border: 1px solid rgba(var(--color-foreground), 0.12);
  border-radius: 20px;
  color: rgb(var(--color-foreground));
  white-space: nowrap;
}
.stp-summary__chip--opt {
  background: rgba(74,103,65,0.08);
  border-color: rgba(74,103,65,0.2);
  color: #3a6032;
}
.stp-summary__chip-price {
  font-weight: 500;
  color: rgba(var(--color-foreground), 0.6);
}

/* 右：合計＋ボタン */
.stp-summary__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.stp-summary__total-wrap { text-align: right; }
.stp-summary__total-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--color-foreground), 0.4);
  margin: 0 0 2px;
}
.stp-summary__total-price {
  font-size: 20px;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  margin: 0;
  font-family: var(--font-heading-family, inherit);
  letter-spacing: 0.02em;
}

.stp-summary__btn {
  padding: 13px 28px;
  background: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.stp-summary__btn:hover:not(:disabled) { opacity: 0.82; }
.stp-summary__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* ══════════════════════════════
   モバイル
══════════════════════════════ */
@media (max-width: 749px) {
  .stp { padding: 0 16px 140px; }

  .stp__hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }

  .stp__flavor-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stp__datetime { grid-template-columns: 1fr; }

  .stp-summary { padding: 12px 16px; }
  .stp-summary__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .stp-summary__right {
    justify-content: space-between;
  }
  .stp-summary__chips {
    max-height: 56px;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .stp__flavor-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════
   オプションボタン
══════════════════════════════ */
.stp__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .stp__options { grid-template-columns: 1fr; }
}

.stp__opt-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(var(--color-foreground), 0.12);
  border-radius: 8px;
  background: rgb(var(--color-background));
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.stp__opt-btn:hover {
  border-color: rgba(var(--color-foreground), 0.3);
}
.stp__opt-btn.is-active {
  border-color: rgb(var(--color-foreground));
  border-width: 2px;
  background: rgba(var(--color-foreground), 0.03);
}

.stp__opt-icon { font-size: 20px; flex-shrink: 0; }

.stp__opt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.stp__opt-name {
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  line-height: 1.3;
}
.stp__opt-desc {
  font-size: 11px;
  color: rgba(var(--color-foreground), 0.45);
}

.stp__opt-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--color-foreground), 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.15s;
}
.stp__opt-btn.is-active .stp__opt-check {
  background: rgb(var(--color-foreground));
  border-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}
.stp__input,
select.stp__input {
  -webkit-appearance: none;
  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 d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}