@charset "UTF-8";

/* =========================================================
   EC-CUBE 標準テンプレ用 ブティック寄り上書き（共通）
   path: /html/user_data/assets/css/suite_overrides.css
   - 商品一覧 / 商品詳細 / カート / 注文 / 会員 / マイページ 全部に効く
   - common_header_footer.css の :root 変数を前提に上書き
========================================================= */


/* ---------------------------------------------------------
   1) ベース：本文・余白
--------------------------------------------------------- */
body {
  color: var(--suite-text);
  background: var(--suite-bg);
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

/* EC-CUBE標準のレイアウトラッパー */
.ec-layoutRole,
.ec-layoutRole__main,
.ec-layoutRole__contents {
  background: var(--suite-bg);
}

.ec-pageHeader,
.ec-secHeading,
.ec-headingTitle,
.ec-secHeading__en {
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--suite-text);
}


/* ---------------------------------------------------------
   2) 見出し
--------------------------------------------------------- */
.ec-pageHeader h1,
.ec-secHeading,
.ec-secHeading__en,
.ec-orderRole h1,
.ec-cartRole h1,
.ec-mypageRole h1,
.ec-customerRole h1,
.ec-registerRole h1,
.ec-contactRole h1 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--suite-text);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: none;
}

.ec-pageHeader h1::after,
.ec-secHeading::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%);
}

.ec-secHeading__ja {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
}

.ec-secHeading__en {
  display: block;
  margin-top: 6px;
  color: var(--suite-accent);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   3) ボタン（EC-CUBE 標準クラスを上書き）
--------------------------------------------------------- */
.ec-blockBtn,
.ec-blockBtn--primary,
.ec-blockBtn--action,
.ec-blockBtn--cancel,
.ec-inlineBtn,
.ec-inlineBtn--primary,
.ec-inlineBtn--action,
.ec-inlineBtn--cancel,
.ec-registerRole__actions button,
.ec-cartRole__actions button,
.ec-orderRole button,
.ec-mypageRole button,
button.ec-blockBtn--primary,
a.ec-blockBtn--primary,
a.ec-inlineBtn--primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

.ec-blockBtn--action,
.ec-inlineBtn--action,
button.ec-blockBtn--action,
a.ec-blockBtn--action,
a.ec-inlineBtn--action {
  background: linear-gradient(135deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 24px rgba(79, 56, 32, 0.18);
}

.ec-blockBtn--action:hover,
.ec-inlineBtn--action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(79, 56, 32, 0.24);
  color: #fff !important;
}

.ec-blockBtn,
.ec-inlineBtn,
a.ec-blockBtn,
a.ec-inlineBtn,
button.ec-blockBtn {
  background: #fff !important;
  color: var(--suite-accent-deep) !important;
  border: 1px solid var(--suite-line-strong) !important;
}

.ec-blockBtn:hover,
.ec-inlineBtn:hover {
  border-color: var(--suite-accent) !important;
  background: #fdfaf5 !important;
  color: var(--suite-accent) !important;
  transform: translateY(-2px);
}

.ec-blockBtn--cancel,
.ec-inlineBtn--cancel {
  background: transparent !important;
  color: var(--suite-text-sub) !important;
  border: 1px solid var(--suite-line) !important;
}

.ec-blockBtn--cancel:hover,
.ec-inlineBtn--cancel:hover {
  background: var(--suite-accent-soft) !important;
  border-color: var(--suite-accent) !important;
  color: var(--suite-accent-deep) !important;
}


/* ---------------------------------------------------------
   4) フォーム部品
--------------------------------------------------------- */
.ec-input input[type="text"],
.ec-input input[type="email"],
.ec-input input[type="password"],
.ec-input input[type="tel"],
.ec-input input[type="number"],
.ec-input textarea,
.ec-input select,
.ec-select select,
.ec-halfInput input,
.ec-zipInput input,
.ec-telInput input,
.ec-birth select,
input[type="text"].form-control,
input[type="email"].form-control,
input[type="password"].form-control,
input[type="tel"].form-control,
input[type="number"].form-control,
textarea.form-control,
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--suite-line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--suite-text);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  transition:
    border-color var(--suite-transition),
    box-shadow var(--suite-transition);
}

.ec-input input:focus,
.ec-input textarea:focus,
.ec-input select:focus,
input.form-control:focus,
textarea.form-control:focus,
select.form-control:focus {
  outline: none;
  border-color: var(--suite-accent);
  box-shadow: 0 0 0 3px rgba(122, 90, 52, 0.12);
}

.ec-input label,
.ec-halfInput label,
.ec-zipInput label,
.ec-telInput label,
.ec-birth label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--suite-text);
}

.ec-required,
.ec-label__required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--suite-accent-soft);
  color: var(--suite-accent-deep);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}


/* ---------------------------------------------------------
   5) パンくず
--------------------------------------------------------- */
.ec-topicpath,
.ec-topicpath__item,
.ec-topicpath ol {
  font-size: 12px;
  color: var(--suite-text-sub);
  letter-spacing: 0.06em;
}

.ec-topicpath a {
  color: var(--suite-text-sub);
  text-decoration: none;
  transition: color var(--suite-transition);
}

.ec-topicpath a:hover {
  color: var(--suite-accent-deep);
}

.ec-topicpath__divider {
  color: var(--suite-text-faint);
  margin: 0 6px;
}


/* ---------------------------------------------------------
   6) テーブル（注文確認・マイページ等）
--------------------------------------------------------- */
.ec-borderedDefs dl,
.ec-borderedDefs dt,
.ec-borderedDefs dd,
.ec-orderDelivery,
.ec-orderConfirm table,
.ec-orderRole table,
.ec-mypageRole table {
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--suite-text);
}

.ec-borderedDefs dt {
  color: var(--suite-text-sub);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ec-orderConfirm table th,
.ec-orderRole table th,
.ec-mypageRole table th {
  background: var(--suite-accent-soft);
  color: var(--suite-accent-deep);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ec-orderConfirm table,
.ec-orderRole table,
.ec-mypageRole table {
  border-collapse: collapse;
}

.ec-orderConfirm table th,
.ec-orderConfirm table td,
.ec-orderRole table th,
.ec-orderRole table td,
.ec-mypageRole table th,
.ec-mypageRole table td {
  border: 1px solid var(--suite-line);
  padding: 12px 14px;
}


/* ---------------------------------------------------------
   7) 商品一覧（後で A で詳しく触る共通部分）
--------------------------------------------------------- */
.ec-shelfGrid,
.ec-shelfGrid__item {
  gap: 20px;
}

.ec-shelfGrid__item {
  border: 1px solid var(--suite-line);
  border-radius: var(--suite-radius-lg);
  background: #fff;
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.ec-shelfGrid__item:hover {
  transform: translateY(-3px);
  border-color: var(--suite-accent);
  box-shadow: var(--suite-shadow-md);
}

.ec-shelfGrid__item img {
  transition: transform 0.6s ease;
}

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

.ec-shelfGrid__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.ec-price,
.ec-price__price {
  color: var(--suite-accent-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
}


/* ---------------------------------------------------------
   8) ページネーション
--------------------------------------------------------- */
.ec-pager,
.ec-pager__item,
.ec-pager__item--active {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.ec-pager__item a,
.ec-pager__item--active span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--suite-line);
  border-radius: 999px;
  background: #fff;
  color: var(--suite-text);
  text-decoration: none;
  transition:
    border-color var(--suite-transition),
    background-color var(--suite-transition),
    color var(--suite-transition);
}

.ec-pager__item a:hover {
  border-color: var(--suite-accent);
  background: var(--suite-accent-soft);
  color: var(--suite-accent-deep);
}

.ec-pager__item--active span {
  background: linear-gradient(135deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%);
  color: #fff;
  border-color: transparent;
}


/* ---------------------------------------------------------
   9) アラート・メッセージ
--------------------------------------------------------- */
.ec-errorMessage,
.ec-alertMessage,
.alert {
  padding: 14px 18px;
  border-radius: var(--suite-radius-lg);
  border: 1px solid var(--suite-line-strong);
  background: #fff;
  color: var(--suite-text);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.ec-errorMessage {
  border-color: #c98a6b;
  background: #fdf3ee;
  color: #6b3a23;
}


/* ---------------------------------------------------------
  10) リンク全般
--------------------------------------------------------- */
.ec-layoutRole__main a {
  color: var(--suite-accent-deep);
  text-decoration: none;
  transition: color var(--suite-transition);
}

.ec-layoutRole__main a:hover {
  color: var(--suite-accent);
}


/* ---------------------------------------------------------
  11) SP
--------------------------------------------------------- */
@media (max-width: 767px) {
  .ec-pageHeader h1,
  .ec-secHeading {
    font-size: 22px;
  }

  .ec-shelfGrid {
    gap: 14px;
  }
}


/* =========================================================
   A. 商品一覧ページ 統一強化
   - 追記位置：suite_overrides.css の末尾
   - 目的：トップページの Picks / Category の世界観に寄せる
========================================================= */


/* ---------------------------------------------------------
   1) 一覧ページ全体の余白と見出し
--------------------------------------------------------- */
.ec-productRole {
  padding-top: 12px;
  padding-bottom: 32px;
}

.ec-pageHeader {
  margin-bottom: 28px;
}

.ec-pageHeader h1 {
  margin-bottom: 0;
}

.ec-pageHeader p,
.ec-pageHeader .ec-pageHeader__description {
  margin-top: 14px;
  color: var(--suite-text-sub);
  font-size: 14px;
  line-height: 1.95;
}


/* ---------------------------------------------------------
   2) 上部の件数・並び替えエリア
--------------------------------------------------------- */
.ec-shelfRole__sort,
.ec-searchnavRole,
.ec-searchnavRole__actions,
.ec-searchnavRole__infos {
  color: var(--suite-text-sub);
  font-size: 13px;
  line-height: 1.7;
}

.ec-shelfRole__sort select,
.ec-searchnavRole select,
.ec-searchnavRole__actions select {
  min-height: 40px;
  padding: 8px 36px 8px 12px;
  border: 1px solid var(--suite-line-strong);
  border-radius: 999px;
  background-color: #fff;
  color: var(--suite-text);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.ec-shelfRole__sort select:focus,
.ec-searchnavRole select:focus {
  outline: none;
  border-color: var(--suite-accent);
  box-shadow: 0 0 0 3px rgba(122, 90, 52, 0.12);
}


/* ---------------------------------------------------------
   3) 商品グリッド全体
--------------------------------------------------------- */
.ec-shelfRole .ec-shelfGrid,
.ec-shelfRole ul.ec-shelfGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}


/* ---------------------------------------------------------
   4) 商品カード
--------------------------------------------------------- */
.ec-shelfGrid__item,
.ec-shelfGrid li,
.ec-shelfGrid .ec-shelfGrid__item {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--suite-line);
  border-radius: var(--suite-radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.ec-shelfGrid__item:hover,
.ec-shelfGrid li:hover {
  transform: translateY(-4px);
  border-color: var(--suite-accent);
  box-shadow: var(--suite-shadow-md);
}


/* ---------------------------------------------------------
   5) 商品画像
--------------------------------------------------------- */
.ec-shelfGrid__item .ec-shelfGrid__item-image,
.ec-shelfGrid__item .ec-shelfGrid__item-image a,
.ec-shelfGrid__item .ec-shelfGrid__item-thumb,
.ec-shelfGrid__item .ec-shelfGrid__item-photo {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5efe4;
}

.ec-shelfGrid__item img,
.ec-shelfGrid li img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.ec-shelfGrid__item:hover img,
.ec-shelfGrid li:hover img {
  transform: scale(1.05);
}


/* ---------------------------------------------------------
   6) 商品情報エリア
--------------------------------------------------------- */
.ec-shelfGrid__item .ec-shelfGrid__item-content,
.ec-shelfGrid__item .ec-shelfGrid__content,
.ec-shelfGrid__item .ec-shelfGrid__item-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 16px 18px;
}

.ec-shelfGrid__item .ec-shelfGrid__item-name,
.ec-shelfGrid__item .ec-shelfGrid__title,
.ec-shelfGrid__item .ec-shelfGrid__itemTitle {
  margin: 0;
  color: var(--suite-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.ec-shelfGrid__item .ec-shelfGrid__item-name a,
.ec-shelfGrid__item .ec-shelfGrid__title a,
.ec-shelfGrid__item .ec-shelfGrid__itemTitle a {
  color: inherit;
  text-decoration: none;
}

.ec-shelfGrid__item .ec-shelfGrid__item-name a:hover,
.ec-shelfGrid__item .ec-shelfGrid__title a:hover,
.ec-shelfGrid__item .ec-shelfGrid__itemTitle a:hover {
  color: var(--suite-accent-deep);
}


/* 2行揃え */
.ec-shelfGrid__item .ec-shelfGrid__item-name,
.ec-shelfGrid__item .ec-shelfGrid__title,
.ec-shelfGrid__item .ec-shelfGrid__itemTitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2em;
}


/* ---------------------------------------------------------
   7) 価格まわり
--------------------------------------------------------- */
.ec-shelfGrid__item .ec-price,
.ec-shelfGrid__item .ec-price__price,
.ec-shelfGrid__item .price02-default,
.ec-shelfGrid__item .ec-shelfGrid__item-price {
  margin-top: 10px;
  color: var(--suite-accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* 未ログイン時・価格非表示時のプレースホルダー */
.ec-shelfGrid__item .suite-price-note,
.ec-shelfGrid__item .price-note,
.ec-shelfGrid__item .ec-priceNote {
  margin-top: 10px;
  color: var(--suite-text-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* 価格欄の高さを揃える */
.ec-shelfGrid__item .ec-price,
.ec-shelfGrid__item .price02-default,
.ec-shelfGrid__item .ec-shelfGrid__item-price,
.ec-shelfGrid__item .suite-price-note,
.ec-shelfGrid__item .price-note,
.ec-shelfGrid__item .ec-priceNote {
  min-height: 20px;
}


/* ---------------------------------------------------------
   8) カテゴリラベル・補助情報
--------------------------------------------------------- */
.ec-shelfGrid__item .ec-shelfGrid__item-category,
.ec-shelfGrid__item .product-category,
.ec-shelfGrid__item .category_name {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(122, 90, 52, 0.16);
  border-radius: 999px;
  background: var(--suite-accent-soft);
  color: var(--suite-accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
}


/* ---------------------------------------------------------
   9) 一覧内リンクはカード全体の世界観に寄せる
--------------------------------------------------------- */
.ec-shelfGrid__item a {
  text-decoration: none;
}


/* ---------------------------------------------------------
   10) ページネーション
--------------------------------------------------------- */
.ec-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.ec-pager__item,
.ec-pager li {
  list-style: none;
}

.ec-pager__item a,
.ec-pager li a,
.ec-pager__item--active span,
.ec-pager li.active span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--suite-line);
  border-radius: 999px;
  background: #fff;
  color: var(--suite-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color var(--suite-transition),
    background-color var(--suite-transition),
    color var(--suite-transition);
}

.ec-pager__item a:hover,
.ec-pager li a:hover {
  border-color: var(--suite-accent);
  background: var(--suite-accent-soft);
  color: var(--suite-accent-deep);
}

.ec-pager__item--active span,
.ec-pager li.active span {
  border-color: transparent;
  background: linear-gradient(135deg, var(--suite-accent) 0%, var(--suite-accent-deep) 100%);
  color: #fff;
}


/* ---------------------------------------------------------
   11) 絞り込み・検索補助エリア
--------------------------------------------------------- */
.ec-searchnavRole,
.ec-searchnavRole__infos,
.ec-searchnavRole__actions {
  margin-bottom: 20px;
}

.ec-searchnavRole__keyword,
.ec-searchnavRole__result {
  color: var(--suite-text-sub);
  font-size: 13px;
  letter-spacing: 0.04em;
}


/* ---------------------------------------------------------
   12) 0件時
--------------------------------------------------------- */
.ec-searchnavRole + .ec-alertMessage,
.ec-shelfRole .ec-alertMessage,
.ec-layoutRole .ec-alertMessage {
  margin-top: 20px;
  border: 1px solid var(--suite-line);
  border-radius: var(--suite-radius-lg);
  background: #fcfaf6;
  color: var(--suite-text-sub);
}


/* ---------------------------------------------------------
   13) SP / Tablet
--------------------------------------------------------- */
@media (max-width: 1180px) {
  .ec-shelfRole .ec-shelfGrid,
  .ec-shelfRole ul.ec-shelfGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ec-shelfRole .ec-shelfGrid,
  .ec-shelfRole ul.ec-shelfGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ec-shelfGrid__item .ec-shelfGrid__item-content,
  .ec-shelfGrid__item .ec-shelfGrid__content,
  .ec-shelfGrid__item .ec-shelfGrid__item-info {
    padding: 12px 12px 14px;
  }

  .ec-shelfGrid__item .ec-shelfGrid__item-name,
  .ec-shelfGrid__item .ec-shelfGrid__title,
  .ec-shelfGrid__item .ec-shelfGrid__itemTitle {
    font-size: 13px;
  }

  .ec-shelfGrid__item .ec-price,
  .ec-shelfGrid__item .ec-price__price,
  .ec-shelfGrid__item .price02-default,
  .ec-shelfGrid__item .ec-shelfGrid__item-price {
    font-size: 12px;
  }
}
