@charset "UTF-8";
/* ============================================================
   Attractive - 追加スタイル
   style.css の後に読み込まれます（既存の指定は書き換えません）
   ============================================================ */

:root {
  --at-gold: #b8962e;
  --at-gold-dark: #9c7d24;
  --at-ink: #2a2a2a;
  --at-text: #3a3a3a;
  --at-muted: #6a6a6a;
  --at-faint: #9a9690;
  --at-line: #e0ddd8;
  --at-line-soft: #f0ede8;
  --at-panel: #f5f2ed;
  --at-bg: #faf9f7;
  --at-white: #fff;
  --at-ok: #4a7c59;
  --at-ng: #a94442;
  --at-radius: 4px;
  --at-shadow: 0 8px 32px rgba(42, 42, 42, .1);
  --at-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ===== v9: 配送・返品・交換ポリシー ===== */
.at-guide-card-en { display:block; margin-bottom:8px; color:var(--at-gold); font-family:'Cormorant Garamond',serif; font-size:12px; font-weight:500; letter-spacing:.2em; }
.at-shipping-grid { grid-template-columns:1fr; gap:24px; }
.at-shipping-grid .at-guide-card { padding:42px 46px; }
.at-shipping-grid .at-guide-card > h2 { margin-bottom:28px; }
.at-shipping-grid .at-guide-card > h3, .at-policy-section h3 { margin:0 0 12px; color:#302d2a; font-size:15px; font-weight:500; letter-spacing:.1em; }
.at-policy-list { margin:0; border-top:1px solid var(--at-line); }
.at-policy-list > div { display:grid; grid-template-columns:150px 1fr; border-bottom:1px solid var(--at-line); }
.at-policy-list dt, .at-policy-list dd { margin:0; padding:17px 18px; font-size:13px; line-height:1.8; }
.at-policy-list dt { background:#faf8f4; color:#403d39; font-weight:500; }
.at-policy-list dd { color:#57524c; }
.at-policy-section + .at-policy-section { margin-top:30px; padding-top:30px; border-top:1px solid var(--at-line); }
.at-policy-section p { margin:0; color:#57524c; font-size:13px; line-height:2; }
.at-policy-section p + p { margin-top:8px; }
.at-shipping-contact { padding:26px 30px; text-align:center; }
.at-shipping-contact p { margin:0 0 18px; color:#514d48; }

@media (max-width:640px) {
  .at-shipping-grid .at-guide-card { padding:30px 22px; }
  .at-policy-list > div { grid-template-columns:1fr; }
  .at-policy-list dt { padding-bottom:6px; border-bottom:0; }
  .at-policy-list dd { padding-top:7px; }
  .at-shipping-contact { padding:24px 18px; }
}

/* ===== v7: ジュエリーサイト向けタイポグラフィと可読性 ===== */
:root {
  --at-ink: #242220;
  --at-muted: #5f5a54;
  --at-faint: #746f68;
  --at-line: #ded8cf;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }

body, button, input, select, textarea, .woocommerce {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--at-ink);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}

p, li, dd, .product-card-name, .woocommerce-product-details__short-description { line-height: 1.85; }

h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .at-page-header-title,
.at-intro h1, .at-section-heading h2, .at-guide-card h2, .at-guide-card h3 {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .1em;
}

.sec-en, .at-section-title, .at-section-label, .at-page-header-en,
.footer-wordmark, .product-card-price, .price {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
}

.main-item, .head-icons, .mobile-drawer, .at-btn, button, input, select, textarea,
.woocommerce a.button, .woocommerce button.button {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}

.product-card-name, .footer-col-link, .at-guide-card p, .at-guide-card li { color: #514d48; }
.product-card-name { font-size: 13.5px; }
.at-bnr-slide img { aspect-ratio: 16 / 7; width: 100%; object-fit: cover; object-position: center; }

@media (max-width: 640px) {
  body { font-size: 14px; letter-spacing: .025em; }
  .at-bnr-slide img { aspect-ratio: 4 / 3; }
  .product-card-name { font-size: 13px; line-height: 1.75; }
}

/* ===== v8: 機能するお問い合わせフォーム ===== */
.at-contact-wrap {
  max-width: 720px;
  margin: 0 auto 96px;
}
.at-contact-form { max-width: none; }
.at-contact-form .at-form-group { margin-bottom: 26px; }
.at-contact-form .at-form-group label {
  display: block;
  margin-bottom: 9px;
  color: #403d39;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
}
.at-required, .at-optional {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
  vertical-align: 1px;
}
.at-required { background: #b8962e; color: #fff; }
.at-optional { background: #f0ede8; color: #68635d; }
.at-contact-form input[type="text"],
.at-contact-form input[type="email"],
.at-contact-form input[type="tel"],
.at-contact-form select,
.at-contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #d8d2c8;
  border-radius: 2px;
  background: #fff;
  color: #242220;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.at-contact-form textarea { min-height: 210px; resize: vertical; }
.at-contact-form input:focus,
.at-contact-form select:focus,
.at-contact-form textarea:focus {
  border-color: #a88632;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(184,150,46,.12);
}
.at-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  background: #faf8f4;
  border: 1px solid #e4ded4;
  color: #4d4944;
  font-size: 13px;
  line-height: 1.7;
}
.at-contact-consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: #a88632; flex: 0 0 auto; }
.at-contact-consent a { color: #8f6f22; text-decoration: underline; text-underline-offset: 3px; }
.at-contact-consent strong { color: #9a7420; font-size: 11px; margin-left: 4px; }
.at-contact-submit-wrap { margin-top: 32px; text-align: center; }
.at-contact-submit {
  min-width: 280px;
  min-height: 56px;
  padding: 15px 42px;
  border: 1px solid #242220;
  border-radius: 0;
  background: #242220;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.at-contact-submit:hover { background: #a88632; border-color: #a88632; color: #fff; }
.at-contact-note { margin: 15px 0 0; text-align: center; color: #67625c; font-size: 12px; }
.at-contact-errors, .at-contact-success {
  margin-bottom: 34px;
  padding: 24px 28px;
  border: 1px solid #d8d2c8;
  background: #fff;
  color: #403d39;
}
.at-contact-errors { border-left: 3px solid #9d4b43; }
.at-contact-errors > p { margin: 0 0 8px; font-weight: 500; }
.at-contact-errors ul { margin: 0; padding-left: 1.4em; font-size: 13px; }
.at-contact-success { padding: 48px 32px; text-align: center; border-top: 3px solid #b8962e; }
.at-contact-success h2 { margin: 0 0 16px; font-size: 22px; }
.at-contact-success p { margin: 0 0 28px; color: #5f5a54; font-size: 13px; }
.at-contact-back { display: inline-block; padding-bottom: 4px; color: #8f6f22; border-bottom: 1px solid #b8962e; font-size: 13px; }
.at-contact-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 640px) {
  .at-contact-wrap { margin-bottom: 64px; }
  .at-contact-form .at-form-group { margin-bottom: 22px; }
  .at-contact-form input[type="text"], .at-contact-form input[type="email"],
  .at-contact-form input[type="tel"], .at-contact-form select, .at-contact-form textarea { font-size: 16px; }
  .at-contact-consent { padding: 16px; }
  .at-contact-submit { width: 100%; min-width: 0; }
  .at-contact-success { padding: 38px 20px; }
}

/* ---------- アクセシビリティの基礎 ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--at-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

body.at-noscroll {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   ボタン
   ============================================================ */
.at-btn-solid {
  background: var(--at-gold);
  border: 1px solid var(--at-gold);
  color: #fff;
  padding: 15px 32px;
  font-size: 14px;
  letter-spacing: 2px;
  transition: background .25s var(--at-ease), border-color .25s var(--at-ease);
}

.at-btn-solid:hover {
  background: var(--at-gold-dark);
  border-color: var(--at-gold-dark);
  color: #fff;
}

/* カートの主要ボタンは親テーマのリンク色より優先し、常に読める状態にする */
.woocommerce-cart .at-cart-totals a.at-btn-solid,
.woocommerce-cart .at-cart-totals a.at-btn-solid:visited,
.woocommerce-cart .at-cart-totals a.at-btn-solid:focus,
.woocommerce-cart .at-cart-totals a.at-btn-solid:hover {
  color: #fff !important;
}

.woocommerce-cart .at-cart-totals a.at-btn-solid {
  background: var(--at-gold) !important;
  border-color: var(--at-gold) !important;
}

.woocommerce-cart .at-cart-totals a.at-btn-solid:hover,
.woocommerce-cart .at-cart-totals a.at-btn-solid:focus {
  background: var(--at-gold-dark) !important;
  border-color: var(--at-gold-dark) !important;
}

.at-btn.is-loading,
button.is-loading {
  opacity: .6;
  pointer-events: none;
}

.at-btn-outline.is-dirty {
  border-color: var(--at-gold);
  color: var(--at-gold);
  font-weight: 500;
}

/* ============================================================
   数量ステッパー
   ============================================================ */
.at-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  background: #fff;
  overflow: hidden;
  height: 40px;
}

.at-qty.is-loading {
  opacity: .5;
  pointer-events: none;
}

.at-qty-btn {
  width: 34px;
  border: 0;
  background: transparent;
  color: var(--at-muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.at-qty-btn:hover {
  background: var(--at-panel);
  color: var(--at-ink);
}

.at-qty .at-qty-input,
.at-qty input.qty {
  width: 42px;
  border: 0;
  border-left: 1px solid var(--at-line);
  border-right: 1px solid var(--at-line);
  text-align: center;
  font-size: 14px;
  font-family: inherit;
  color: var(--at-ink);
  background: #fff;
  -moz-appearance: textfield;
}

.at-qty input::-webkit-outer-spin-button,
.at-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.at-qty--single {
  margin-right: 12px;
  vertical-align: middle;
}

/* ============================================================
   送料無料までの進捗バー
   ============================================================ */
.at-ship-bar {
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.at-ship-bar-text {
  font-size: 12.5px;
  color: var(--at-muted);
  margin-bottom: 9px;
  letter-spacing: .4px;
}

.at-ship-bar-text strong {
  color: var(--at-gold);
  font-weight: 500;
}

.at-ship-bar-track {
  height: 4px;
  background: #e5e0d6;
  border-radius: 99px;
  overflow: hidden;
}

.at-ship-bar-fill {
  display: block;
  height: 100%;
  background: var(--at-gold);
  border-radius: 99px;
  transition: width .5s var(--at-ease);
}

.at-ship-bar-fill.is-done {
  background: var(--at-ok);
}

/* ============================================================
   ヘッダーのカート件数バッジ
   ============================================================ */
.head-icons a,
.mobile-icons a {
  position: relative;
}

.at-cart-count {
  display: none;
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--at-gold);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0;
}

.at-cart-count.is-active {
  display: block;
  animation: at-pop .35s var(--at-ease);
}

@keyframes at-pop {
  0% { transform: scale(.4); opacity: 0; }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); opacity: 1; }
}

.at-drawer-title .at-cart-count {
  position: static;
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
}

.at-drawer-title .at-cart-count:not(.is-active) {
  display: none;
}

/* ============================================================
   ミニカート ドロワー
   ============================================================ */
.at-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 28, 24, .38);
  opacity: 0;
  transition: opacity .3s var(--at-ease);
  z-index: 998;
}

.at-drawer-overlay.is-open {
  opacity: 1;
}

.at-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100dvh;
  background: var(--at-white);
  box-shadow: -6px 0 30px rgba(42, 42, 42, .12);
  transform: translateX(100%);
  transition: transform .34s var(--at-ease);
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.at-drawer.is-open {
  transform: translateX(0);
}

.at-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--at-line);
  flex-shrink: 0;
}

.at-drawer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--at-ink);
}

.at-drawer-close {
  border: 0;
  background: transparent;
  color: var(--at-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  transition: color .2s;
}

.at-drawer-close:hover {
  color: var(--at-ink);
}

.at-drawer-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.at-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.at-drawer-empty {
  text-align: center;
  padding: 56px 0;
}

.at-drawer-empty p {
  font-size: 13.5px;
  color: var(--at-muted);
  margin-bottom: 20px;
}

.at-drawer-items {
  list-style: none;
}

.at-drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--at-line-soft);
  transition: opacity .25s;
}

.at-drawer-item.is-removing {
  opacity: .35;
}

.at-drawer-item:first-child {
  padding-top: 0;
}

.at-drawer-item-img img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--at-panel);
}

.at-drawer-item-name {
  font-size: 13px;
  line-height: 1.55;
  color: var(--at-text);
  display: block;
  margin-bottom: 4px;
}

.at-drawer-item-name:hover {
  color: var(--at-gold);
}

.at-drawer-item-meta {
  font-size: 11px;
  color: var(--at-faint);
  margin-bottom: 6px;
}

.at-drawer-item-meta p {
  margin: 0;
}

.at-drawer-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.at-drawer-item-foot .at-qty {
  height: 32px;
}

.at-drawer-item-foot .at-qty-btn {
  width: 28px;
  font-size: 13px;
}

.at-drawer-item-foot .at-qty-input {
  width: 34px;
  font-size: 13px;
}

.at-drawer-item-price {
  font-size: 13.5px;
  color: var(--at-ink);
  white-space: nowrap;
}

.at-drawer-remove {
  border: 0;
  background: transparent;
  color: #c0bdb8;
  cursor: pointer;
  padding: 0;
  align-self: start;
  transition: color .2s;
}

.at-drawer-remove:hover {
  color: var(--at-ng);
}

.at-drawer-foot {
  border-top: 1px solid var(--at-line);
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
  background: var(--at-white);
  flex-shrink: 0;
}

.at-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--at-muted);
  margin-bottom: 4px;
}

.at-drawer-subtotal strong {
  font-size: 18px;
  color: var(--at-ink);
  font-weight: 500;
}

.at-drawer-note {
  font-size: 11px;
  color: var(--at-faint);
  margin-bottom: 14px;
}

.at-drawer-cartlink {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--at-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-drawer-cartlink:hover {
  color: var(--at-gold);
}

/* ============================================================
   トースト
   ============================================================ */
.at-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--at-ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: .6px;
  padding: 12px 24px;
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--at-ease);
  z-index: 1000;
}

.at-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.at-toast.is-error {
  background: var(--at-ng);
}

/* ============================================================
   購入ステップ
   ============================================================ */
.at-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin-bottom: 36px;
}

.at-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--at-faint);
  letter-spacing: 1px;
  padding-right: 8px;
}

.at-step:not(:last-child)::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--at-line);
  margin-left: 8px;
}

.at-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--at-line);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.at-step.is-current {
  color: var(--at-ink);
}

.at-step.is-current .at-step-num {
  background: var(--at-gold);
  border-color: var(--at-gold);
  color: #fff;
}

/* ============================================================
   カートページ
   ============================================================ */
.at-cart-section {
  padding: 40px 32px 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.at-cart-inner {
  display: grid;
  grid-template-columns: 1fr 336px;
  gap: 48px;
  align-items: start;
}

/* 空カート */
.at-cart-empty {
  text-align: center;
  padding: 72px 0 96px;
  color: var(--at-muted);
}

.at-cart-empty svg {
  margin: 0 auto 20px;
  color: #cfcac1;
}

.at-cart-empty h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--at-ink);
  margin-bottom: 8px;
}

.at-cart-empty p {
  font-size: 13px;
  margin-bottom: 28px;
}

.at-cart-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 商品リスト（テーブルをやめてグリッドに） */
.at-cart-list-head,
.at-cart-row {
  display: grid;
  grid-template-columns: 1fr 130px 110px;
  gap: 16px;
  align-items: center;
}

.at-cart-list-head {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--at-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--at-line);
}

.at-cart-list-head span:nth-child(2),
.at-cart-list-head span:nth-child(3) {
  text-align: center;
}

.at-cart-list {
  list-style: none;
}

.at-cart-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--at-line-soft);
}

.at-cart-row-product {
  display: flex;
  gap: 16px;
}

.at-cart-row-img img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--at-panel);
}

.at-cart-row-name {
  font-size: 14px;
  line-height: 1.6;
  color: var(--at-ink);
  display: block;
  margin-bottom: 6px;
}

.at-cart-row-name:hover {
  color: var(--at-gold);
}

.at-cart-row-meta {
  font-size: 11.5px;
  color: var(--at-faint);
  margin-bottom: 4px;
}

.at-cart-row-meta p {
  margin: 0;
}

.at-cart-row-unit {
  font-size: 12px;
  color: var(--at-muted);
}

.at-cart-row-stock {
  font-size: 11.5px;
  margin-top: 5px;
}

.at-cart-row-stock .is-ok {
  color: var(--at-ok);
}

.at-cart-row-stock .is-ng {
  color: var(--at-ng);
}

.at-cart-row-remove {
  display: inline-block;
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--at-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-cart-row-remove:hover {
  color: var(--at-ng);
}

.at-cart-row-qty {
  display: flex;
  justify-content: center;
}

.at-cart-row-subtotal {
  text-align: center;
  font-size: 15px;
  color: var(--at-ink);
}

.at-cart-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* クーポン */
.at-coupon {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--at-line-soft);
}

.at-coupon label {
  display: block;
  font-size: 12px;
  color: var(--at-muted);
  margin-bottom: 10px;
}

.at-coupon-field {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.at-coupon-field input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
}

/* サマリー */
.at-cart-totals {
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 26px 24px;
  position: sticky;
  top: 24px;
}

.at-totals-discount span:last-child {
  color: var(--at-ok);
}

.at-trust {
  list-style: none;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--at-line);
}

.at-trust li {
  position: relative;
  padding-left: 18px;
  font-size: 11.5px;
  color: var(--at-muted);
  line-height: 2;
}

.at-trust li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--at-gold);
}

/* ---- カートページ：スマホ ---- */
@media (max-width: 900px) {
  .at-cart-section {
    padding: 24px 16px 48px;
  }

  .at-cart-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .at-cart-list-head {
    display: none;
  }

  .at-cart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product product"
      "qty subtotal";
    gap: 14px 12px;
    padding: 20px 0;
  }

  .at-cart-row-product {
    grid-area: product;
  }

  .at-cart-row-qty {
    grid-area: qty;
    justify-content: flex-start;
  }

  .at-cart-row-subtotal {
    grid-area: subtotal;
    text-align: right;
  }

  .at-cart-row-subtotal::before {
    content: attr(data-label);
    font-size: 11px;
    color: var(--at-faint);
    margin-right: 8px;
  }

  .at-cart-row-img img {
    width: 78px;
    height: 78px;
  }

  .at-cart-actions {
    flex-direction: column-reverse;
  }

  .at-cart-actions > * {
    text-align: center;
  }

  .at-cart-totals {
    position: static;
  }

  .at-coupon-field {
    max-width: none;
  }

  .at-steps {
    gap: 4px;
    margin-bottom: 26px;
  }

  .at-step {
    font-size: 11px;
  }

  .at-step:not(:last-child)::after {
    width: 16px;
  }
}

/* ============================================================
   2026-08 マイページ（未ログイン）
   ============================================================ */
.at-page-header-sub {
  margin: 10px 0 0;
  color: var(--at-faint);
  font-size: 10px;
  letter-spacing: .24em;
}

.at-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--at-line);
  background: #fff;
}

.at-auth-card {
  min-width: 0;
  padding: 46px 48px 50px;
}

.at-auth-card + .at-auth-card {
  border-left: 1px solid var(--at-line);
  background: var(--at-panel);
}

.at-auth-eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--at-gold);
  font-size: 9px;
  letter-spacing: .24em;
}

.at-auth-card h2 {
  margin: 0 0 13px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid var(--at-line) !important;
  color: var(--at-ink);
  font-family: 'Noto Serif JP', serif;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: .08em !important;
}

.at-auth-lead {
  min-height: 50px;
  margin: 0 0 24px;
  color: var(--at-muted);
  font-size: 12.5px;
  line-height: 2;
}

.at-auth-card .form-row {
  margin: 0 0 20px;
}

.at-auth-card .form-row label {
  display: block;
  margin-bottom: 8px;
  color: var(--at-ink);
  font-size: 12px;
}

.at-auth-card .required {
  color: var(--at-gold);
}

.woocommerce-account .at-auth-card .input-text {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--at-line);
  border-radius: 0;
  background: #fff;
  color: var(--at-ink);
  font-size: 15px;
  outline: none;
}

.woocommerce-account .at-auth-card .input-text:focus {
  border-color: var(--at-gold);
  box-shadow: 0 0 0 3px rgba(170,133,41,.1);
}

.at-auth-card .password-input {
  display: block;
  position: relative;
}

.at-auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 22px;
}

.at-auth-options a,
.at-auth-privacy a {
  color: var(--at-gold);
  font-size: 11.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-auth-submit,
.woocommerce-account .at-auth-submit.button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px !important;
  border: 1px solid var(--at-ink) !important;
  border-radius: 0 !important;
  background: var(--at-ink) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: .12em;
}

.woocommerce-account .at-auth-submit-light.button {
  background: transparent !important;
  color: var(--at-ink) !important;
}

.woocommerce-account .at-auth-submit:hover.button {
  border-color: var(--at-gold) !important;
  background: var(--at-gold) !important;
  color: #fff !important;
}

.at-auth-merits {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.at-auth-merits li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--at-line-soft);
  color: var(--at-muted);
  font-size: 12px;
}

.at-auth-merits li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--at-gold);
}

.at-auth-password-note {
  margin: -4px 0 24px;
  padding: 13px 15px;
  background: #fff;
  color: var(--at-muted);
  font-size: 11.5px;
  line-height: 1.8;
}

.at-auth-privacy {
  margin: 22px 0 0;
  text-align: center;
  color: var(--at-faint);
  font-size: 11px;
}

/* ============================================================
   2026-08 カートページ
   ============================================================ */
.at-cart-page-head {
  margin: 4px 0 34px;
  text-align: center;
}

.at-cart-page-head > span {
  display: block;
  margin-bottom: 9px;
  color: var(--at-gold);
  font-size: 10px;
  letter-spacing: .27em;
}

.at-cart-page-head h1 {
  margin: 0;
  color: var(--at-ink);
  font-family: 'Noto Serif JP', serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: .13em;
}

.at-cart-page-head p {
  margin: 9px 0 0;
  color: var(--at-faint);
  font-size: 11px;
}

.at-empty-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 44px;
}

.at-empty-cart-layout .at-cart-empty {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 30px;
  border: 1px solid var(--at-line);
  background: #fff;
}

.at-empty-cart-count {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--at-muted);
  font-size: 11px;
}

.at-empty-cart-count strong {
  color: var(--at-ink);
  font-size: 14px;
}

.at-empty-cart-summary {
  padding: 26px 24px;
  border: 1px solid var(--at-line);
  background: var(--at-panel);
}

.at-empty-ship {
  margin-bottom: 12px;
  padding: 15px 12px;
  border: 1px solid var(--at-gold);
  background: #fff;
  color: var(--at-muted);
  text-align: center;
  font-size: 12px;
}

.at-empty-total {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid var(--at-ink);
  background: #fff;
  color: var(--at-ink);
  font-size: 13px;
}

.at-empty-total strong {
  font-size: 20px;
}

.at-empty-cart-summary > p {
  margin: 15px 0 24px;
  color: var(--at-muted);
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .at-auth-grid,
  .at-empty-cart-layout {
    grid-template-columns: 1fr;
  }

  .at-auth-card {
    padding: 34px 22px 38px;
  }

  .at-auth-card + .at-auth-card {
    border-top: 1px solid var(--at-line);
    border-left: 0;
  }

  .at-auth-lead {
    min-height: 0;
  }

  .at-auth-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .at-cart-page-head h1 {
    font-size: 23px;
  }

  .at-empty-cart-layout {
    gap: 18px;
  }

  .at-empty-cart-layout .at-cart-empty {
    min-height: 280px;
  }
}

/* ============================================================
   コラム
   ============================================================ */
.at-column-hero {
  text-align: center;
  padding: 56px 24px 40px;
  background: linear-gradient(180deg, #f7f4ee 0%, var(--at-bg) 100%);
}

.at-column-hero-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--at-gold);
  margin-bottom: 10px;
}

.at-column-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--at-ink);
  margin-bottom: 12px;
}

.at-column-hero-lead {
  font-size: 13px;
  line-height: 2;
  color: var(--at-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* カテゴリータブ */
.at-column-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 28px 16px 0;
  max-width: 1120px;
  margin: 0 auto;
}

.at-column-tab {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--at-muted);
  padding: 8px 18px;
  border: 1px solid var(--at-line);
  border-radius: 99px;
  background: #fff;
  transition: all .25s var(--at-ease);
  white-space: nowrap;
}

.at-column-tab:hover {
  border-color: var(--at-gold);
  color: var(--at-gold);
}

.at-column-tab.is-active {
  background: var(--at-ink);
  border-color: var(--at-ink);
  color: #fff;
}

/* 一覧グリッド */
.at-column-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.at-column-card {
  display: block;
}

.at-column-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--at-radius);
  background: var(--at-panel);
  margin-bottom: 14px;
}

.at-column-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--at-ease);
}

.at-column-card:hover .at-column-card-img img {
  transform: scale(1.05);
}

.at-column-card-noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: #c9c3b8;
}

.at-column-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--at-faint);
  margin-bottom: 8px;
}

.at-column-card-cat {
  color: var(--at-gold);
  letter-spacing: 1.5px;
}

.at-column-card-title {
  font-size: 15px;
  line-height: 1.7;
  color: var(--at-ink);
  font-weight: 500;
  margin-bottom: 8px;
  transition: color .25s;
}

.at-column-card:hover .at-column-card-title {
  color: var(--at-gold);
}

.at-column-card-excerpt {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--at-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 記事詳細 */
.at-column-single {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 40px;
}

.at-column-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--at-faint);
  margin-bottom: 14px;
}

.at-column-single-title {
  font-size: 26px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: .5px;
  margin-bottom: 28px;
}

.at-column-single-thumb {
  border-radius: var(--at-radius);
  overflow: hidden;
  margin-bottom: 36px;
}

.at-column-body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--at-text);
  letter-spacing: .3px;
}

.at-column-body > * + * {
  margin-top: 1.6em;
}

.at-column-body h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--at-ink);
  padding-left: 14px;
  border-left: 3px solid var(--at-gold);
  line-height: 1.6;
  margin-top: 2.6em;
}

.at-column-body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--at-ink);
  margin-top: 2.2em;
}

.at-column-body img {
  border-radius: var(--at-radius);
}

.at-column-body a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-column-body blockquote {
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--at-muted);
}

.at-column-body ul,
.at-column-body ol {
  padding-left: 1.4em;
}

.at-column-body li + li {
  margin-top: .5em;
}

/* 目次 */
.at-toc {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 22px 24px;
  margin-bottom: 40px;
}

.at-toc-title {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--at-gold);
  margin-bottom: 12px;
}

.at-toc ol {
  list-style: none;
  counter-reset: toc;
}

.at-toc li {
  counter-increment: toc;
  font-size: 13px;
  line-height: 1.9;
}

.at-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--at-faint);
  font-size: 11px;
  margin-right: 10px;
}

.at-toc a {
  color: var(--at-text);
}

.at-toc a:hover {
  color: var(--at-gold);
}

.at-toc .is-sub {
  padding-left: 26px;
  font-size: 12.5px;
}

.at-toc .is-sub::before {
  content: '—';
  margin-right: 8px;
}

/* 記事下 */
.at-column-share {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--at-line);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--at-faint);
}

.at-column-share a {
  color: var(--at-muted);
  display: flex;
  transition: color .2s;
}

.at-column-share a:hover {
  color: var(--at-gold);
}

.at-column-related {
  background: var(--at-panel);
  padding: 56px 32px 64px;
  margin-top: 64px;
}

.at-column-related-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.at-column-related .at-column-list {
  padding: 0;
  gap: 28px;
}

.at-column-nav {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
}

.at-column-nav a {
  color: var(--at-muted);
  max-width: 46%;
  line-height: 1.7;
}

.at-column-nav a:hover {
  color: var(--at-gold);
}

.at-column-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--at-muted);
  font-size: 13px;
  padding: 56px 0;
}

@media (max-width: 900px) {
  .at-column-list {
    grid-template-columns: repeat(2, 1fr);
    padding: 32px 16px 56px;
    gap: 32px 16px;
  }
}

@media (max-width: 560px) {
  .at-column-hero {
    padding: 36px 20px 28px;
  }

  .at-column-hero-title {
    font-size: 26px;
  }

  .at-column-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .at-column-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 14px;
    align-items: start;
  }

  .at-column-card-img {
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
  }

  .at-column-card-excerpt {
    display: none;
  }

  .at-column-single-title {
    font-size: 21px;
  }

  .at-column-body {
    font-size: 14.5px;
    line-height: 2;
  }
}

/* ============================================================
   商品詳細：スマホ用の固定カートバー
   ============================================================ */
.at-sticky-buy {
  display: none;
}

@media (max-width: 768px) {
  .at-sticky-buy {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--at-line);
    z-index: 90;
  }

  .at-sticky-buy-price {
    font-size: 15px;
    color: var(--at-ink);
    white-space: nowrap;
  }

  .at-sticky-buy .at-btn {
    flex: 1;
    text-align: center;
    padding: 13px 16px;
  }
}

/* ============================================================
   お気に入り（ウィッシュリスト）
   ============================================================ */

/* ---------- ハートボタン ---------- */
.at-wish-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: var(--at-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .25s var(--at-ease);
}

.at-wish-btn .at-wish-icon path {
  transition: fill .25s var(--at-ease), stroke .25s var(--at-ease);
}

.at-wish-btn.is-active {
  color: var(--at-gold);
}

.at-wish-btn.is-active .at-wish-icon path {
  fill: var(--at-gold);
  stroke: var(--at-gold);
}

.at-wish-btn.is-busy {
  opacity: .55;
  pointer-events: none;
}

.at-wish-btn.is-pop .at-wish-icon {
  animation: at-heart-pop .4s var(--at-ease);
}

@keyframes at-heart-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  60% { transform: scale(.92); }
  100% { transform: scale(1); }
}

/* 商品カードに重ねる丸ボタン */
.at-wish-btn--icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px);
  justify-content: center;
  box-shadow: 0 1px 6px rgba(42, 42, 42, .1);
}

.at-wish-btn--icon:hover {
  background: #fff;
  color: var(--at-gold);
}

/* カード内に絶対配置 */
.at-product-card,
.pcard,
.at-wish-card-media {
  position: relative;
}

.at-product-card > .at-wish-btn,
.pcard > .at-wish-btn,
.at-wish-card-media > .at-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

/* NEW バッジと重ならないよう左へ寄せる */
.new-badge {
  right: auto;
  left: 8px;
}

/* 商品詳細ページ用（文字つき） */
.at-wish-btn--text {
  width: 100%;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  background: #fff;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-family: inherit;
  color: var(--at-muted);
  margin-top: 12px;
}

.at-wish-btn--text:hover {
  border-color: var(--at-gold);
  color: var(--at-gold);
}

.at-wish-btn--text.is-active {
  border-color: var(--at-gold);
  background: #fdfaf2;
}

/* ---------- ヘッダーの件数バッジ ---------- */
.at-wish-count {
  display: none;
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--at-ink);
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0;
}

.at-wish-count.is-active {
  display: block;
  animation: at-pop .35s var(--at-ease);
}

/* ---------- トースト内のリンク ---------- */
.at-toast-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 12px;
  opacity: .85;
}

.at-toast-link:hover {
  opacity: 1;
}

/* ---------- お気に入りページ ---------- */
.at-wish-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 32px 72px;
}

.at-wish-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--at-line);
}

.at-wish-count-text {
  font-size: 13px;
  color: var(--at-muted);
}

.at-wish-count-text strong {
  font-size: 17px;
  color: var(--at-ink);
  font-weight: 500;
  margin-right: 2px;
}

.at-wish-notice {
  font-size: 12px;
  color: var(--at-faint);
  line-height: 1.8;
}

.at-wish-notice a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-wish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}

.at-wish-card {
  transition: opacity .28s var(--at-ease), transform .28s var(--at-ease);
}

.at-wish-card.is-removing {
  opacity: 0;
  transform: scale(.96);
}

.at-wish-card-img {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--at-radius);
  background: var(--at-panel);
}

.at-wish-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--at-ease);
}

.at-wish-card:hover .at-wish-card-img img {
  transform: scale(1.04);
}

.at-wish-soldout {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(42, 42, 42, .82);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  border-radius: 2px;
}

.at-wish-card-body {
  padding-top: 14px;
}

.at-wish-card-cat {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: var(--at-gold);
  margin-bottom: 6px;
}

.at-wish-card-name {
  display: block;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--at-ink);
  margin-bottom: 6px;
}

.at-wish-card-name:hover {
  color: var(--at-gold);
}

.at-wish-card-price {
  font-size: 14px;
  color: var(--at-ink);
  margin-bottom: 14px;
}

.at-wish-card-action .at-btn {
  padding: 11px 16px;
  font-size: 12.5px;
  letter-spacing: 1px;
}

.at-btn-disabled {
  border-color: var(--at-line);
  color: #b5b0a8;
  background: var(--at-panel);
  pointer-events: none;
  text-align: center;
}

.at-wish-foot {
  margin-top: 44px;
  text-align: center;
}

/* 空の状態 */
.at-wish-empty {
  text-align: center;
  padding: 64px 0 96px;
  color: var(--at-muted);
}

.at-wish-empty svg {
  margin: 0 auto 20px;
  color: #d6d0c5;
}

.at-wish-empty h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--at-ink);
  margin-bottom: 10px;
}

.at-wish-empty p {
  font-size: 13px;
  line-height: 2;
  margin-bottom: 28px;
}

.at-wish-inline-heart {
  color: var(--at-gold);
  margin: 0 2px;
}

.at-wish-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .at-wish-section {
    padding: 8px 16px 56px;
  }

  .at-wish-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }
}

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

  .at-wish-head {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   チェックアウト
   ============================================================ */
.at-step.is-done {
  color: var(--at-muted);
}

.at-step.is-done .at-step-num {
  background: #fff;
  border-color: var(--at-gold);
  color: var(--at-gold);
}

.at-step a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.at-step a:hover {
  color: var(--at-gold);
}

.at-checkout-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

.at-checkout-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* ---------- 左：入力欄 ---------- */
.at-checkout-block + .at-checkout-block {
  margin-top: 36px;
}

.at-checkout-fields h3,
.at-checkout-fields .at-checkout-block > h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: 1px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--at-line);
}

.woocommerce-checkout .form-row {
  margin-bottom: 18px;
  display: block;
}

.woocommerce-checkout .form-row label {
  display: block;
  font-size: 12.5px;
  color: var(--at-muted);
  letter-spacing: .5px;
  margin-bottom: 7px;
}

.woocommerce-checkout .form-row .required {
  color: var(--at-gold);
  text-decoration: none;
  margin-left: 3px;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  background: #fff;
  font-size: 15px; /* 16px 未満だと iOS でズームするため 15px 以上に */
  font-family: inherit;
  color: var(--at-ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.woocommerce-checkout select {
  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' fill='none' stroke='%236a6a6a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: var(--at-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, .12);
  outline: none;
}

.woocommerce-checkout textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.9;
}

.woocommerce-checkout .description {
  font-size: 11.5px;
  color: var(--at-faint);
  margin-top: 6px;
}

/* 姓名を横並びに */
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #shipping_last_name_field,
.woocommerce-checkout #shipping_first_name_field {
  width: calc(50% - 6px);
  display: inline-block;
  vertical-align: top;
}

.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #shipping_first_name_field {
  margin-left: 12px;
}

/* 郵便番号は短く */
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #shipping_postcode_field {
  max-width: 240px;
}

.at-zip-note {
  display: block;
  font-size: 11.5px;
  color: var(--at-ok);
  margin-top: 6px;
}

.at-zip-note.is-error {
  color: var(--at-ng);
}

/* エラー表示 */
.woocommerce-invalid .input-text,
.woocommerce-invalid select {
  border-color: var(--at-ng);
}

.woocommerce-validated .input-text,
.woocommerce-validated select {
  border-color: #cfd8c9;
}

/* 別住所チェック */
.woocommerce-shipping-fields .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--at-ink);
  cursor: pointer;
  padding: 14px 16px;
  background: var(--at-panel);
  border-radius: var(--at-radius);
}

.woocommerce-shipping-fields h3 {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-additional-fields h3 {
  margin-top: 36px !important;
}

/* ログイン・クーポンの案内 */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
  margin-bottom: 20px;
}

.woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  background: var(--at-panel);
  border-left: 2px solid var(--at-gold);
  border-radius: 2px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--at-muted);
  list-style: none;
}

.woocommerce-checkout .woocommerce-info a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-form-login,
.woocommerce-form-coupon {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  background: #fff;
}

/* ---------- 右：ご注文内容 ---------- */
.at-checkout-summary {
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 26px 24px;
  position: sticky;
  top: 24px;
}

.at-checkout-summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--at-ink);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--at-line);
}

/* スマホ用トグル（PCでは隠す） */
.at-review-toggle {
  display: none;
}

.at-review-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.at-review-table td,
.at-review-table th {
  padding: 14px 0;
  border-bottom: 1px solid var(--at-line);
  vertical-align: middle;
  font-weight: 400;
  text-align: left;
}

.at-review-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.at-review-item-img {
  position: relative;
  flex-shrink: 0;
}

.at-review-item-img img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  background: #fff;
}

.at-review-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--at-ink);
  color: #fff;
  font-size: 10.5px;
  line-height: 19px;
  text-align: center;
}

.at-review-item-name {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--at-ink);
}

.at-review-item-body dl,
.at-review-item-body .variation {
  font-size: 11px;
  color: var(--at-faint);
  margin-top: 3px;
}

.at-review-item-price {
  text-align: right !important;
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--at-ink);
}

.at-review-table tfoot th {
  font-size: 13px;
  color: var(--at-muted);
  padding: 11px 0;
}

.at-review-table tfoot td {
  text-align: right;
  font-size: 13.5px;
  color: var(--at-ink);
  padding: 11px 0;
}

.at-review-table tfoot .woocommerce-shipping-totals td {
  font-size: 13px;
}

.at-review-table tfoot #shipping_method {
  list-style: none;
  text-align: right;
}

.at-review-table tfoot #shipping_method li {
  padding: 3px 0;
  font-size: 13px;
}

.at-review-table tfoot .order-total th,
.at-review-table tfoot .order-total td {
  border-bottom: none;
  padding-top: 16px;
  font-size: 16px;
  color: var(--at-ink);
  font-weight: 500;
}

.at-review-table tfoot .cart-discount td {
  color: var(--at-ok);
}

.woocommerce-shipping-destination {
  font-size: 11.5px;
  color: var(--at-faint);
  margin-top: 6px;
}

/* ---------- 支払い方法 ---------- */
#payment {
  background: transparent;
  margin-top: 22px;
}

#payment .wc_payment_methods {
  list-style: none;
  margin-bottom: 18px;
}

#payment .wc_payment_methods li {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  background: #fff;
  margin-bottom: 10px;
  padding: 15px 16px;
  transition: border-color .2s, box-shadow .2s;
}

#payment .wc_payment_methods li:hover {
  border-color: #cfc7b4;
}

#payment .wc_payment_methods li.is-selected {
  border-color: var(--at-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, .12);
}

#payment .wc_payment_methods label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--at-ink);
  cursor: pointer;
  margin: 0 !important;
}

#payment .wc_payment_methods label img {
  margin-left: auto;
  max-height: 24px;
  width: auto;
}

#payment .payment_box {
  background: var(--at-panel);
  border-radius: 2px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--at-muted);
}

#payment .payment_box p:last-child {
  margin-bottom: 0;
}

#payment .place-order {
  padding: 0;
  margin: 0;
}

#place_order,
.woocommerce-checkout #place_order {
  display: block;
  width: 100%;
  padding: 17px 24px;
  border: 1px solid var(--at-gold);
  border-radius: 2px;
  background: var(--at-gold);
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  font-family: inherit;
  cursor: pointer;
  transition: background .25s var(--at-ease);
  margin-top: 6px;
}

#place_order:hover {
  background: var(--at-gold-dark);
  border-color: var(--at-gold-dark);
}

.woocommerce-terms-and-conditions-wrapper {
  font-size: 12px;
  color: var(--at-muted);
  margin-bottom: 14px;
}

.at-checkout-notice {
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--at-faint);
  margin-top: 18px;
}

.at-checkout-notice a {
  color: var(--at-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- チェックアウト：スマホ ---------- */
@media (max-width: 900px) {
  .at-checkout-section {
    padding: 24px 16px 56px;
  }

  .at-checkout-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    /* 注文内容を先に見せる */
    display: flex;
    flex-direction: column-reverse;
  }

  .at-checkout-summary {
    position: static;
    padding: 0;
    background: transparent;
  }

  .at-checkout-summary-title {
    display: none;
  }

  /* 開閉ボタン */
  .at-review-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--at-line);
    border-radius: var(--at-radius);
    background: var(--at-panel);
    font-family: inherit;
    font-size: 13px;
    color: var(--at-muted);
    cursor: pointer;
    text-align: left;
  }

  .at-review-toggle-total {
    margin-left: auto;
    font-size: 15px;
    color: var(--at-ink);
    font-weight: 500;
  }

  .at-review-toggle-icon {
    transition: transform .25s var(--at-ease);
    flex-shrink: 0;
  }

  .at-review-toggle.is-open .at-review-toggle-icon {
    transform: rotate(180deg);
  }

  .at-review-body {
    display: none;
    padding: 4px 16px 8px;
    border: 1px solid var(--at-line);
    border-top: 0;
    border-radius: 0 0 var(--at-radius) var(--at-radius);
    background: #fff;
  }

  .at-review-body.is-open {
    display: block;
  }

  .at-trust,
  .at-checkout-notice {
    padding-left: 2px;
  }
}

/* ============================================================
   注文完了（サンクスページ）
   ============================================================ */
.at-thanks {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 8px;
}

.at-thanks-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fdfaf2;
  border: 1px solid var(--at-gold);
  color: var(--at-gold);
  display: grid;
  place-items: center;
  animation: at-mark-in .5s var(--at-ease);
}

@keyframes at-mark-in {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.at-thanks-label {
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--at-gold);
  margin-bottom: 10px;
}

.at-thanks-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--at-ink);
  margin-bottom: 14px;
}

.at-thanks-lead {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--at-muted);
  margin-bottom: 32px;
}

.at-thanks-lead strong {
  color: var(--at-ink);
  font-weight: 500;
}

.at-thanks-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--at-line);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  overflow: hidden;
  text-align: left;
  margin-bottom: 40px;
}

.at-thanks-meta > div {
  background: #fff;
  padding: 16px 18px;
}

.at-thanks-meta dt {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--at-faint);
  margin-bottom: 5px;
}

.at-thanks-meta dd {
  font-size: 14.5px;
  color: var(--at-ink);
}

.at-thanks-next {
  text-align: left;
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 26px 26px 22px;
  margin-bottom: 36px;
}

.at-thanks-next h2 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--at-gold);
  margin-bottom: 18px;
}

.at-thanks-flow {
  list-style: none;
}

.at-thanks-flow li {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
}

.at-thanks-flow li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 4px;
  width: 1px;
  background: var(--at-line);
}

.at-thanks-flow li:last-child {
  padding-bottom: 0;
}

.at-thanks-flow-num {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--at-line);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  color: var(--at-muted);
  position: relative;
  z-index: 1;
}

.at-thanks-flow strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--at-ink);
  margin-bottom: 3px;
}

.at-thanks-flow p {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--at-muted);
}

.at-thanks-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.at-thanks--failed .at-thanks-title {
  color: var(--at-ng);
}

.at-thanks-details {
  max-width: 720px;
  margin: 56px auto 0;
}

.at-thanks-details .woocommerce-order-details__title,
.at-thanks-details .woocommerce-column__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: 1px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--at-line);
}

.at-thanks-details .shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 36px;
}

.at-thanks-details .shop_table th,
.at-thanks-details .shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--at-line-soft);
  text-align: left;
  font-weight: 400;
  color: var(--at-text);
}

.at-thanks-details .shop_table td:last-child,
.at-thanks-details .shop_table th:last-child {
  text-align: right;
}

.at-thanks-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  font-size: 13px;
  line-height: 2;
  color: var(--at-muted);
}

@media (max-width: 640px) {
  .at-thanks-meta,
  .at-thanks-details .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  .at-thanks-title {
    font-size: 20px;
  }
}

/* ============================================================
   マイページ
   ============================================================ */
.at-account-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 32px 80px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------- サイドバー ---------- */
.at-account-side {
  position: sticky;
  top: 24px;
}

.at-account-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: var(--at-panel);
  border-radius: var(--at-radius);
  margin-bottom: 16px;
}

.at-account-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--at-gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
}

.at-account-hello {
  font-size: 14px;
  color: var(--at-ink);
  line-height: 1.5;
}

.at-account-since {
  font-size: 11px;
  color: var(--at-faint);
  margin-top: 3px;
}

.at-account-nav {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  overflow: hidden;
  background: #fff;
}

.at-account-nav-item {
  display: block;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--at-text);
  letter-spacing: .5px;
  border-bottom: 1px solid var(--at-line-soft);
  position: relative;
  transition: background .2s, color .2s;
}

.at-account-nav-item:last-child {
  border-bottom: none;
}

.at-account-nav-item:hover {
  background: var(--at-bg);
  color: var(--at-gold);
}

.at-account-nav-item.is-active {
  color: var(--at-gold);
  background: #fdfaf2;
  font-weight: 500;
}

.at-account-nav-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--at-gold);
}

.at-account-nav-item.is-logout {
  color: var(--at-faint);
  font-size: 12.5px;
}

/* ---------- 本文 ---------- */
.at-account-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--at-ink);
  margin-bottom: 24px;
}

.at-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.at-account-stat {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 20px 18px;
  text-align: center;
  transition: border-color .2s, transform .2s var(--at-ease);
}

.at-account-stat:hover {
  border-color: var(--at-gold);
  transform: translateY(-2px);
}

.at-account-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--at-ink);
  line-height: 1.2;
  margin-bottom: 4px;
}

.at-account-stat-label {
  font-size: 11.5px;
  color: var(--at-faint);
  letter-spacing: .5px;
}

.at-account-block {
  margin-bottom: 36px;
}

.at-account-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--at-line);
}

.at-account-block-head h2 {
  font-size: 15px;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: 1px;
}

.at-account-block-head a {
  font-size: 12px;
  color: var(--at-gold);
}

.at-account-block--empty {
  text-align: center;
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 44px 24px;
}

.at-account-block--empty h2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--at-ink);
  margin-bottom: 8px;
}

.at-account-block--empty p {
  font-size: 13px;
  color: var(--at-muted);
  line-height: 2;
  margin-bottom: 22px;
}

/* 注文カード */
.at-order-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.at-order-card {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 18px 20px;
}

.at-order-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.at-order-num {
  font-size: 13px;
  color: var(--at-muted);
  letter-spacing: 1px;
}

.at-order-status {
  font-size: 11px;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--at-panel);
  color: var(--at-muted);
  margin-left: auto;
}

.at-order-status.is-processing,
.at-order-status.is-on-hold {
  background: #fdf5e0;
  color: #8a6d16;
}

.at-order-status.is-completed {
  background: #eaf1ea;
  color: var(--at-ok);
}

.at-order-status.is-cancelled,
.at-order-status.is-failed,
.at-order-status.is-refunded {
  background: #f8ecec;
  color: var(--at-ng);
}

.at-order-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.at-order-thumb img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--at-panel);
}

.at-order-thumb-more {
  width: 52px;
  height: 52px;
  border-radius: 2px;
  background: var(--at-panel);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--at-muted);
}

.at-order-card-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--at-line-soft);
  font-size: 12.5px;
  color: var(--at-muted);
}

.at-order-total {
  color: var(--at-ink);
  font-size: 14px;
}

.at-order-link {
  margin-left: auto;
  color: var(--at-gold);
  border: 1px solid var(--at-line);
  border-radius: 2px;
  padding: 6px 16px;
  transition: border-color .2s;
}

.at-order-link:hover {
  border-color: var(--at-gold);
}

/* 登録情報 */
.at-account-info > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--at-line-soft);
  font-size: 13.5px;
}

.at-account-info dt {
  color: var(--at-faint);
  font-size: 12.5px;
}

.at-account-info dd {
  color: var(--at-ink);
  line-height: 1.8;
}

.at-account-info a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* WooCommerce 標準のマイページ中身を整える */
.woocommerce-MyAccount-content > h2,
.woocommerce-MyAccount-content legend {
  font-size: 15px;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: 1px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--at-line);
}

.woocommerce-MyAccount-content p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--at-muted);
  margin-bottom: 14px;
}

.woocommerce-MyAccount-content a {
  color: var(--at-gold);
}

.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content .shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.woocommerce-MyAccount-content .shop_table th {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--at-faint);
  font-weight: 400;
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--at-line);
}

.woocommerce-MyAccount-content .shop_table td {
  padding: 16px 10px;
  border-bottom: 1px solid var(--at-line-soft);
  color: var(--at-text);
}

.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
  display: inline-block;
  padding: 11px 24px;
  border: 1px solid var(--at-gold);
  border-radius: 2px;
  background: var(--at-gold);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background .25s;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
  background: var(--at-gold-dark);
  border-color: var(--at-gold-dark);
  color: #fff;
}

.woocommerce-MyAccount-content .woocommerce-Address {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}

.woocommerce-MyAccount-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.woocommerce-MyAccount-content address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 2;
  color: var(--at-text);
}

.woocommerce-MyAccount-content .input-text,
.woocommerce-MyAccount-content select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
}

.woocommerce-MyAccount-content .input-text:focus,
.woocommerce-MyAccount-content select:focus {
  border-color: var(--at-gold);
  box-shadow: 0 0 0 3px rgba(184, 150, 46, .12);
  outline: none;
}

/* ---------- ログイン / 会員登録 ---------- */
.at-login-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

.at-login-benefits {
  background: var(--at-panel);
  border-radius: var(--at-radius);
  padding: 26px 28px;
  margin-bottom: 32px;
}

.at-login-benefits h2 {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--at-gold);
  margin-bottom: 14px;
}

.at-login-benefits ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 28px;
}

.at-login-benefits li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--at-muted);
}

.at-login-benefits li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--at-gold);
}

.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 30px 30px 34px;
  width: auto !important;
  float: none !important;
}

.woocommerce-account .u-columns h2 {
  font-size: 16px;
  font-weight: 500;
  color: var(--at-ink);
  letter-spacing: 1px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--at-line);
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--at-muted);
}

.woocommerce-account .woocommerce-LostPassword a {
  font-size: 12.5px;
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- マイページ：スマホ ---------- */
@media (max-width: 900px) {
  .at-account-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px 56px;
  }

  .at-account-side {
    position: static;
  }

  .at-account-nav {
    display: flex;
    overflow-x: auto;
    border-radius: var(--at-radius);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .at-account-nav::-webkit-scrollbar {
    display: none;
  }

  .at-account-nav-item {
    border-bottom: none;
    border-right: 1px solid var(--at-line-soft);
    white-space: nowrap;
    padding: 13px 18px;
    font-size: 13px;
  }

  .at-account-nav-item.is-active::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
  }

  .at-login-wrap {
    padding: 24px 16px 56px;
  }

  .at-login-benefits ul,
  .woocommerce-account .u-columns,
  .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  .at-account-stats {
    grid-template-columns: 1fr 1fr;
  }

  .at-account-info > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  /* 注文履歴テーブルをカードに */
  .woocommerce-MyAccount-content .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table tr {
    display: block;
    background: #fff;
    border: 1px solid var(--at-line);
    border-radius: var(--at-radius);
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: none;
  }

  .woocommerce-MyAccount-content .woocommerce-orders-table td::before {
    content: attr(data-title);
    font-size: 11.5px;
    color: var(--at-faint);
    flex-shrink: 0;
  }
}

/* ============================================================
   共通レイアウト（header.php / footer.php / page.php 用）
   ============================================================ */
.at-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1001;
  background: var(--at-ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
}

.at-skip-link:focus {
  left: 8px;
  top: 8px;
}

.at-page-main {
  display: block;
}

/* 固定ページの見出し */
.at-page-header {
  background: var(--at-panel);
  border-bottom: 1px solid var(--at-line);
  padding: 52px 24px;
  text-align: center;
}

.at-page-header-label {
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--at-gold);
  margin-bottom: 12px;
}

.at-page-header-title {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--at-ink);
  line-height: 1.5;
}

.at-page-header-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--at-gold);
  opacity: .6;
  margin: 16px auto 0;
}

/* 固定ページ本文（エディタで書いた内容） */
.at-page-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--at-text);
}

.at-page-body > * + * {
  margin-top: 1.5em;
}

.at-page-body h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--at-ink);
  padding-left: 14px;
  border-left: 3px solid var(--at-gold);
  line-height: 1.6;
  margin-top: 2.4em;
}

.at-page-body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--at-ink);
  margin-top: 2em;
}

.at-page-body a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.at-page-body ul,
.at-page-body ol {
  padding-left: 1.4em;
}

.at-page-body img {
  border-radius: var(--at-radius);
}

/* カート・レジ・マイページは中身が自前でレイアウトを持つ */
.at-page-body.is-bare {
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.at-page-body.is-bare > * + * {
  margin-top: 0;
}

@media (max-width: 640px) {
  .at-page-header {
    padding: 36px 20px;
  }

  .at-page-header-title {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .at-page-body {
    padding: 36px 16px 56px;
    font-size: 14.5px;
  }
}

/* ------------------------------------------------------------
   親テーマ(Astra)のテンプレートが使われる画面のフォールバック
   （ブログ記事・検索結果・404。専用テンプレートは作っていません）
   ------------------------------------------------------------ */
#page #primary {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

#page #secondary {
  display: none;
}

#page .entry-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--at-ink);
  line-height: 1.6;
  margin-bottom: 16px;
}

#page .entry-content {
  font-size: 15px;
  line-height: 2.1;
  color: var(--at-text);
}

@media (max-width: 640px) {
  #page #primary {
    padding: 36px 16px 56px;
  }
}

/* ============================================================
   リンク下線の抑制（親テーマ由来の下線が UI 部品に出るのを防ぐ）
   ============================================================ */
.at-account-nav-item,
.at-account-stat,
.at-order-link,
.at-column-card,
.at-column-tab,
.at-wish-card-name,
.at-cart-row-name,
.at-drawer-item-name,
.at-btn,
.at-btn-solid,
.at-btn-outline,
.at-step a,
.at-pagination a,
.at-pagination span,
.at-breadcrumb a,
.head-icons a,
.mobile-icons a,
.main-item {
  text-decoration: none !important;
}

.at-account-stat-num,
.at-column-card-title,
.at-account-nav-item {
  text-decoration: none;
}

/* ============================================================
   ページ送り
   ============================================================ */
.at-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 16px 80px;
}

.at-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  background: #fff;
  font-size: 13px;
  color: var(--at-muted);
  transition: border-color .2s, color .2s, background .2s;
}

.at-pagination a.page-numbers:hover {
  border-color: var(--at-gold);
  color: var(--at-gold);
}

.at-pagination .page-numbers.current {
  background: var(--at-ink);
  border-color: var(--at-ink);
  color: #fff;
}

.at-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

@media (max-width: 560px) {
  .at-pg-word {
    display: none;
  }
}

/* ============================================================
   ブログ
   ============================================================ */
.at-blog-featured {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px 0;
}

.at-column-card--wide {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  overflow: hidden;
}

.at-column-card--wide .at-column-card-img {
  aspect-ratio: 16 / 10;
  margin-bottom: 0;
  border-radius: 0;
}

.at-column-card--wide .at-column-card-text {
  padding: 8px 36px 8px 0;
}

.at-column-card--wide .at-column-card-title {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.at-column-card--wide .at-column-card-excerpt {
  -webkit-line-clamp: 3;
  font-size: 13px;
}

.at-card-type {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(42, 42, 42, .82);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  border-radius: 2px;
}

.at-column-card-img {
  position: relative;
}

.at-column-card-price {
  font-size: 14px;
  color: var(--at-ink);
}

.at-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.at-post-tags a {
  font-size: 12px;
  color: var(--at-muted);
  border: 1px solid var(--at-line);
  border-radius: 99px;
  padding: 5px 14px;
  transition: border-color .2s, color .2s;
}

.at-post-tags a:hover {
  border-color: var(--at-gold);
  color: var(--at-gold);
}

@media (max-width: 900px) {
  .at-blog-featured {
    padding: 28px 16px 0;
  }

  .at-column-card--wide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .at-column-card--wide .at-column-card-text {
    padding: 20px 20px 24px;
  }

  .at-column-card--wide .at-column-card-title {
    font-size: 17px;
  }
}

/* ============================================================
   検索フォーム / 検索結果なし / 404
   ============================================================ */
.at-search-again {
  max-width: 460px;
  margin: 22px auto 0;
}

.at-searchform {
  display: flex;
  align-items: center;
  border: 1px solid var(--at-line);
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
}

.at-searchform input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 13px 20px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  color: var(--at-ink);
}

.at-searchform input[type="search"]:focus {
  outline: none;
}

.at-searchform button {
  border: 0;
  background: transparent;
  color: var(--at-muted);
  padding: 0 18px;
  height: 46px;
  cursor: pointer;
  transition: color .2s;
}

.at-searchform button:hover {
  color: var(--at-gold);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.at-noresult {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px 96px;
}

.at-noresult h1,
.at-noresult h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--at-ink);
  margin-bottom: 14px;
}

.at-noresult p {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--at-muted);
  margin-bottom: 28px;
}

.at-noresult-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.at-404-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 76px;
  line-height: 1;
  color: var(--at-gold);
  opacity: .35;
  margin-bottom: 12px;
}

/* ============================================================
   チェックアウトの堅牢化（狭い幅での崩れ対策）
   ============================================================ */
.at-checkout-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
}

.at-checkout-inner > * {
  min-width: 0;
}

.at-checkout-summary-title,
.at-review-table tfoot th,
.at-review-table tfoot td {
  white-space: nowrap;
}

.at-review-item-name {
  overflow-wrap: anywhere;
}

.at-review-table {
  table-layout: fixed;
}

.at-review-item-price {
  width: 96px;
}

@media (max-width: 1080px) {
  .at-checkout-inner {
    grid-template-columns: minmax(0, 1fr);
    display: flex;
    flex-direction: column-reverse;
    gap: 28px;
  }

  .at-checkout-summary {
    position: static;
  }
}

/* ============================================================
   最近見た商品
   ============================================================ */
.at-recent {
  border-top: 1px solid var(--at-line);
  margin-top: 64px;
  padding-top: 48px;
}

.at-recent-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8px 24px;
}

.at-recent-title {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--at-muted);
  margin-bottom: 22px;
}

.at-recent-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.at-recent-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--at-radius);
  background: var(--at-panel);
  margin-bottom: 10px;
}

.at-recent-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--at-ease);
}

.at-recent-card:hover .at-recent-card-img img {
  transform: scale(1.05);
}

.at-recent-card-name {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--at-ink);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.at-recent-card:hover .at-recent-card-name {
  color: var(--at-gold);
}

.at-recent-card-price {
  font-size: 12.5px;
  color: var(--at-muted);
}

@media (max-width: 900px) {
  .at-recent {
    margin-top: 44px;
    padding-top: 32px;
  }

  .at-recent-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .at-recent-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   カート：あとで買う
   ============================================================ */
.at-cart-row-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
  flex-wrap: wrap;
}

.at-cart-save {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 11.5px;
  color: var(--at-gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}

.at-cart-save:hover {
  opacity: .7;
}

.at-cart-save:disabled {
  opacity: .5;
  cursor: default;
}

.at-cart-row-links .at-cart-row-remove {
  margin-top: 0;
}

/* お気に入りページのフッター */
.at-wish-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .at-wish-foot {
    flex-direction: column-reverse;
  }

  .at-wish-foot > * {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   ヘッダーの是正

   背景は画面いっぱいのまま、中身だけを中央 1400px に収めます。
   max-width で要素ごと縮めると、白い帯が途切れて左右に隙間が出ます。
   ============================================================ */
.info-bar,
.head-bar,
.main-bar {
  --at-gutter: max(24px, calc((100% - 1400px) / 2));
  padding-left: var(--at-gutter);
  padding-right: var(--at-gutter);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.head-bar {
  gap: 32px;
}

/* ロゴは高さで固定する（画像の実寸に引きずられないよう明示） */
.head-logo {
  flex: 0 0 auto;
  width: 230px;
  height: 76px;
  max-width: 300px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.head-logo-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.head-right {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.head-search {
  flex: 0 1 360px;
  min-width: 0;
}

.mobile-logo img {
  height: 34px;
  width: auto;
}

@media (max-width: 1200px) {
  .head-bar {
    gap: 20px;
  }

  .head-logo-img {
    width: 100% !important;
    height: 100% !important;
  }

  .head-logo { width: 190px; height: 62px; }

  .head-right {
    gap: 20px;
  }
}

/* ============================================================
   レジ画面：親テーマ / WooCommerce の float 指定を打ち消す

   Astra と WooCommerce は #customer_details と #order_review に
   float と % 幅を当てています。独自の2カラムの中でこれが効くと、
   注文内容の欄が数十pxまで潰れて文字が縦積みになります。
   ============================================================ */
.woocommerce-checkout .at-checkout-fields,
.woocommerce-checkout .at-checkout-summary,
.woocommerce-checkout .at-checkout-fields > *,
.woocommerce-checkout .at-checkout-summary > *,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #customer_details > *,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #payment,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set > .col-1,
.woocommerce-checkout .col2-set > .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  clear: both;
}

.woocommerce-checkout .at-checkout-fields,
.woocommerce-checkout .at-checkout-summary {
  min-width: 0;
}

.woocommerce-checkout #payment {
  background: transparent !important;
  border-radius: 0 !important;
}

/* テーブルが潰れないように */
.at-review-table {
  table-layout: auto;
  width: 100% !important;
}

.at-review-table td,
.at-review-table th {
  word-break: normal;
  overflow-wrap: anywhere;
}

.at-review-item-price {
  width: 1%;
  white-space: nowrap;
}

.at-checkout-summary-title {
  white-space: nowrap;
}

/* 支払い説明文が縦積みにならないように */
#payment .payment_box,
#payment .payment_box p,
#payment .wc_payment_methods label,
.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text p {
  writing-mode: horizontal-tb !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

#place_order {
  white-space: nowrap;
}

/* チェックアウト：国・地域セレクトの文字が上下に欠けないよう統一 */
.woocommerce-checkout select,
.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 48px !important;
  height: 48px !important;
  line-height: 1.5 !important;
}

.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--at-line) !important;
  border-radius: 2px !important;
  background: #fff !important;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0 42px 0 15px !important;
  line-height: 1.5 !important;
  color: var(--at-ink) !important;
  overflow: visible;
}

.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  top: 0 !important;
  right: 10px !important;
  height: 48px !important;
}

/* トップページ：ブランドロゴを余白のある適正サイズで表示 */
.at-story-banner > img {
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(44px, 5vw, 86px) !important;
  background: #1d1d1d;
}

@media (max-width: 900px) {
  .at-story-banner > img {
    min-height: 260px !important;
    padding: 34px 24px !important;
  }
}

/* ============================================================
   WooCommerce 標準の通知バーの体裁
   （アイコンフォントが豆腐文字になるため非表示にしています）
   ============================================================ */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-message {
  border-top: none !important;
  border-left: 2px solid var(--at-gold) !important;
  border-right: none !important;
  border-bottom: none !important;
  background: var(--at-panel) !important;
  border-radius: 2px;
  padding: 14px 18px !important;
  font-size: 13px;
  color: var(--at-muted) !important;
  list-style: none;
  margin-bottom: 20px;
}

.woocommerce-error {
  border-left-color: var(--at-ng) !important;
  background: #fbf1f1 !important;
  color: #8c3b39 !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-info::after,
.woocommerce-message::after {
  display: none !important;
  content: none !important;
}

.woocommerce-info a,
.woocommerce-message a {
  color: var(--at-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-info .button,
.woocommerce-message .button {
  float: none !important;
  margin-left: 12px;
}

/* ============================================================
   フッター（全ページ共通化にともなう微調整）
   ============================================================ */
.footer-new {
  --at-gutter: max(24px, calc((100% - 1400px) / 2));
  padding-left: var(--at-gutter);
  padding-right: var(--at-gutter);
  margin-top: 0;
}

.footer-new-inner,
.footer-new-bottom {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-col-link,
.footer-sns-item {
  text-decoration: none !important;
}

/* ============================================================
   トップページのセクションを全幅にする

   front-page.php の .sec は「背景 + max-width:1360px」を
   同じ要素に持っているため、画面が 1360px より広いと
   背景が途切れて左右に地の色が見えます（ヘッダーと同じ症状）。
   背景は全幅のまま、中身だけを中央 1280px に収めます。
   ============================================================ */
.sec {
  --at-gutter: max(40px, calc((100% - 1280px) / 2));
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--at-gutter) !important;
  padding-right: var(--at-gutter) !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .sec {
    --at-gutter: 16px;
  }
}

/* 親テーマの「箱型コンテナ」レイアウトを無効化（左右の地色対策） */
#page.site,
body #page {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

body.ast-separate-container,
body.ast-narrow-container,
body.ast-two-container {
  background-color: var(--at-bg) !important;
}

.ast-separate-container .site-content > .ast-container,
.ast-separate-container #content,
.site-content,
#content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* ============================================================
   ヘッダー検索バー
   ============================================================ */
.head-search {
  width: 420px;
  max-width: 34%;
  flex: 0 1 420px;
  min-width: 0;
}

.head-search form {
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  background: #f1f1f1;
  padding: 0 0 0 14px;
  transition: border-color .2s ease, background .2s ease;
  overflow: hidden;
}

.head-search form:hover {
  border-color: #c8c8c8;
}

.head-search form:focus-within {
  border-color: var(--at-gold);
  background: #fff;
}

.head-search input[type="search"],
.head-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  outline: none;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--at-ink);
  letter-spacing: .3px;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.head-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.head-search input::placeholder {
  color: #9b9b9b;
  font-size: 13px;
}

/* 虫めがねはボタンの装飾を消して、枠の中に収める */
.head-search button,
.head-search button[type="submit"] {
  flex: 0 0 auto;
  width: 46px;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #555 !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color .2s ease;
}

.head-search button:hover {
  color: var(--at-gold) !important;
  background: transparent !important;
}

.head-search button svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

/* スマホの検索パネルも同じ見た目に */
.mobile-search-panel form {
  display: flex;
  align-items: center;
  height: 42px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  background: #f1f1f1;
  padding-left: 14px;
  overflow: hidden;
}

.mobile-search-panel input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--at-ink);
}

/* ============================================================
   トップページ バナースライダー

   transform 方式（ブラウザのスクロール処理は使いません）
   --at-bnr-w : 中央スライドの幅。左右の見切れ幅はこれで決まります。
   ============================================================ */
.at-bnr {
  /* 中央スライドの幅。ここを変えるだけで見切れ幅と矢印位置も追従します */
  --at-bnr-w: min(920px, calc(100% - 96px));
  --at-bnr-gap: 20px;
  --at-bnr-dur: 550ms;
  --at-bnr-ease: cubic-bezier(.33, .02, .18, 1);
  position: relative;
  background: var(--at-bg);
  padding: 44px 0 50px;
}

.at-bnr-stage {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.at-bnr-track {
  overflow: hidden;
  padding: 4px 0;
}

.at-bnr-track:focus-visible {
  outline: 2px solid var(--at-gold);
  outline-offset: 2px;
  border-radius: var(--at-radius);
}

.at-bnr-strip {
  display: flex;
  gap: var(--at-bnr-gap);
  will-change: transform;
  transition: transform var(--at-bnr-dur) var(--at-bnr-ease);
  /* 縦スクロールは妨げず、横方向だけ自前で処理する */
  touch-action: pan-y;
  cursor: grab;
}

.at-bnr.is-dragging .at-bnr-strip {
  cursor: grabbing;
  transition: none;
}

/* 端をまたぐ瞬間だけ、すべての動きを止めて位置を差し替える */
.at-bnr.is-jumping .at-bnr-strip,
.at-bnr.is-jumping .at-bnr-slide {
  transition: none !important;
}

.at-bnr-slide {
  flex: 0 0 var(--at-bnr-w);
  width: var(--at-bnr-w);
  border-radius: var(--at-radius);
  overflow: hidden;
  background: var(--at-panel);
  aspect-ratio: 16 / 9;
  opacity: .4;
  /* 動きと同じ長さ・同じ緩急にすると滑らかに見えます */
  transition: opacity var(--at-bnr-dur) var(--at-bnr-ease);
  text-decoration: none !important;
  user-select: none;
  -webkit-user-drag: none;
}

.at-bnr-slide.is-current {
  opacity: 1;
}

.at-bnr-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* JS が動かない環境でも 1枚目が中央に出るようにしておく
   （非表示にはしません。読み込み失敗でバナーが消えるのを避けるため） */
.at-bnr:not(.is-js) .at-bnr-strip {
  margin-left: calc((100% - var(--at-bnr-w)) / 2);
  cursor: default;
}

.at-bnr:not(.is-js) .at-bnr-slide:first-child {
  opacity: 1;
}

.at-bnr:not(.is-js) .at-bnr-arrow,
.at-bnr:not(.is-js) .at-bnr-dots {
  display: none;
}

/* 見切れているスライドは誤タップを防ぐため反応させない */
.at-bnr-slide:not(.is-current) {
  pointer-events: none;
}

/* ---------- 矢印 ---------- */
.at-bnr-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  /* 親テーマのボタン指定に負けないよう明示する */
  width: 52px !important;
  height: 52px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex: none;
  border: 1px solid rgba(42, 42, 42, .08) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #3a3a3a !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 0 !important;
  font-size: 0;
  box-shadow: 0 2px 14px rgba(42, 42, 42, .14);
  transition: background .25s var(--at-ease), color .25s var(--at-ease),
    box-shadow .25s var(--at-ease), transform .25s var(--at-ease);
}

.at-bnr-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}

.at-bnr-arrow:hover {
  background: #fff !important;
  color: var(--at-gold) !important;
  box-shadow: 0 4px 20px rgba(42, 42, 42, .2);
  transform: translateY(-50%) scale(1.06);
}

.at-bnr-arrow:active {
  transform: translateY(-50%) scale(.97);
}

.at-bnr-prev {
  left: max(10px, calc(50% - var(--at-bnr-w) / 2 - 26px));
}

.at-bnr-next {
  right: max(10px, calc(50% - var(--at-bnr-w) / 2 - 26px));
}

/* ---------- ドット ---------- */
.at-bnr-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}

.at-bnr-dot {
  width: 8px !important;
  height: 8px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 99px !important;
  background: #d6d1c8 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: width .3s var(--at-ease), background .3s var(--at-ease);
}

.at-bnr-dot:hover {
  background: #bdb6a8 !important;
}

.at-bnr-dot.is-active {
  width: 26px !important;
  background: var(--at-gold) !important;
}

/* 1枚だけのとき */
.at-bnr.is-single .at-bnr-arrow,
.at-bnr.is-single .at-bnr-dots {
  display: none;
}

.at-bnr.is-single .at-bnr-slide {
  opacity: 1;
}

.at-bnr.is-single .at-bnr-strip {
  justify-content: center;
}

/* 管理者向けの案内 */
.at-bnr-notice {
  max-width: 920px;
  margin: 18px auto 0;
  padding: 10px 16px;
  background: #fdfaf2;
  border: 1px dashed var(--at-gold);
  border-radius: var(--at-radius);
  font-size: 12px;
  line-height: 1.9;
  color: var(--at-muted);
  text-align: center;
}

.at-bnr-notice a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .at-bnr-strip,
  .at-bnr-slide {
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .at-bnr {
    --at-bnr-w: min(920px, calc(100% - 72px));
    padding: 28px 0 32px;
  }

  .at-bnr-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .at-bnr-arrow svg {
    width: 18px;
    height: 18px;
  }

  .at-bnr-prev { left: 6px; }
  .at-bnr-next { right: 6px; }
}

@media (max-width: 640px) {
  .at-bnr {
    --at-bnr-w: 84vw;
    --at-bnr-gap: 10px;
  }

  /* スワイプで操作できるため矢印は隠す */
  .at-bnr-arrow { display: none; }

  .at-bnr-dots { margin-top: 14px; }

  .at-bnr-notice {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* ============================================================
   商品カード（トップページ・商品一覧で共用）

   もともと front-page.php のインライン <style> にあったため
   トップページでしか効いていませんでした。共通化のためここへ移しています。
   ============================================================ */
.sec-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  border-bottom: 0.5px solid #e0ddd8;
  padding-bottom: 14px;
}

.sec-meta .sec-en {
  margin-bottom: 0;
}

.sec-meta .sec-ja {
  display: block;
}

.at-home-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.at-home-heading .sec-en {
  color: var(--at-ink) !important;
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .15em !important;
}

.at-home-heading .sec-en span {
  color: var(--at-gold);
  font-size: 12px;
}

.at-home-heading .sec-ja {
  color: var(--at-muted);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .13em;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 14px;
}

.pcard {
  background: transparent;
  border: none;
  overflow: visible;
}

.pcard-img {
  aspect-ratio: 1/1;
  background: #ede9e3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8b890;
  position: relative;
  overflow: hidden;
}

.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.pcard:hover .pcard-img img {
  transform: scale(1.04);
}

.pcard-body {
  padding: 10px 2px 0;
  text-align: center;
}

.pcard-cat {
  font-size: 10px;
  letter-spacing: 1px;
  color: #c8962e;
  margin-bottom: 6px;
  font-weight: 500;
}

.pcard-name {
  font-size: 12px;
  color: #3a3a3a;
  line-height: 1.6;
  margin-bottom: 6px;
  font-weight: 400;
}

.pcard-price {
  font-size: 13px;
  color: #1a1a1a;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}


/* 商品一覧ページでもトップと同じ見た目にする */
.at-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 14px;
}

@media (max-width: 1024px) {
  .at-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

/* お気に入りボタンの位置はカード基準 */
.pcard {
  position: relative;
}

.pcard > .at-wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

/* 売り切れ・セールの表示 */
.pcard-soldout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .62);
  color: #2a2a2a;
  font-size: 11px;
  letter-spacing: 2px;
}

.pcard-sale {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: #a94442;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 2px;
}

/* ============================================================
   商品一覧ページ（トップの見た目に合わせる）
   ============================================================ */
.at-page-header-lead {
  font-size: 13px;
  line-height: 2;
  color: var(--at-muted);
  max-width: 620px;
  margin: 14px auto 0;
}

.at-shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--at-line);
}

.at-shop-count {
  font-size: 12.5px;
  color: var(--at-muted);
}

.at-shop-count strong {
  font-size: 16px;
  color: var(--at-ink);
  font-weight: 500;
  margin-right: 2px;
}

/* WooCommerce の並び替えセレクト */
.woocommerce-ordering select,
.at-shop-bar select {
  padding: 9px 34px 9px 14px;
  border: 1px solid var(--at-line);
  border-radius: 2px;
  background-color: #fff;
  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' fill='none' stroke='%236a6a6a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-size: 13px;
  font-family: inherit;
  color: var(--at-ink);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.woocommerce-ordering select:focus {
  border-color: var(--at-gold);
  outline: none;
}

/* 商品グリッドは1行あたりの間隔を少し広めに */
.at-shop-grid {
  row-gap: 34px;
}

.at-no-products {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13.5px;
  color: var(--at-muted);
  padding: 56px 0;
  line-height: 2;
}

.at-no-products a {
  color: var(--at-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* カテゴリフィルターの現在地 */
.at-filter-btn.active {
  background: var(--at-ink);
  border-color: var(--at-ink);
  color: #fff;
}

@media (max-width: 640px) {
  .at-shop-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .at-shop-grid {
    row-gap: 24px;
  }
}

/* v7 final cascade: keep typography consistent after legacy component rules. */
body, button, input, select, textarea, .woocommerce {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--at-ink);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .035em;
}
h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .at-page-header-title,
.at-intro h1, .at-section-heading h2, .at-guide-card h2, .at-guide-card h3 {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-weight: 500;
  line-height: 1.55;
}
.sec-en, .at-section-title, .at-section-label, .at-page-header-en,
.footer-wordmark, .product-card-price, .price {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 500;
}
.product-card-name, .footer-col-link, .at-guide-card p, .at-guide-card li { color: #514d48; }
.product-card-name { font-size: 13.5px; line-height: 1.85; }
.at-bnr-slide img { aspect-ratio: 16 / 7; width: 100%; object-fit: cover; object-position: center; }
@media (max-width: 640px) {
  body { font-size: 14px; letter-spacing: .025em; }
  .at-bnr-slide img { aspect-ratio: 4 / 3; }
  .product-card-name { font-size: 13px; line-height: 1.75; }
}

/* v21 member pages and fixed-size quantity controls */
body .at-qty { flex-shrink:0; min-width:112px; }
body .at-qty .at-qty-btn { display:inline-flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; min-width:34px; box-sizing:border-box; padding:0!important; margin:0; color:#292723; background:#fff; font:20px/1 Arial,sans-serif; text-indent:0; overflow:visible; }
body .at-qty .at-qty-input { flex:0 0 42px; min-width:0; width:42px; padding:0!important; box-sizing:border-box; }
body .at-qty .at-qty-btn:focus-visible { outline:2px solid #997935; outline-offset:-3px; }
.at-orders-page,.at-address-page { padding:24px 0 72px; }
.at-orders-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:32px; margin-top:40px; }
.at-order-summary { background:#f7f5f1; padding:24px; align-self:start; }
.at-order-summary select { width:100%; margin:8px 0 14px; }
.at-order-summary h2,.at-address-card h2,.at-order-card h2 { font-size:18px; }
.at-order-empty { padding:40px 24px; text-align:center; background:#f8f7f5; }
.at-order-card,.at-address-card { border:1px solid #e1dbd2; padding:28px; margin-bottom:20px; }
.at-order-actions,.at-order-pagination { display:flex; gap:16px; flex-wrap:wrap; }
.at-order-pagination [aria-current] { font-weight:bold; text-decoration:underline; }
.at-address-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:32px; }
.at-address-card form { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.at-address-card address { font-style:normal; line-height:1.9; }
.at-profile-form .form-row { display:grid; grid-template-columns:220px minmax(0,1fr); gap:24px; padding:24px 0; margin:0; border-bottom:1px solid #ebe7e0; width:100%; float:none; }
.at-profile-form .form-row input,.at-profile-form .form-row select { width:100%; box-sizing:border-box; }
.at-profile-form .form-row label { margin:0; align-self:center; }
.at-profile-form .at-account-save { margin-top:32px; }
@media(max-width:700px) { .at-orders-layout,.at-address-grid { grid-template-columns:1fr; } .at-order-summary { grid-row:1; } .at-profile-form .form-row { grid-template-columns:1fr; gap:8px; } .at-order-card,.at-address-card { padding:20px; } }
