/* ========================================
   お酒一覧ページ用
   Drink Archive Page
======================================== */

/* -------------------------
   Page
-------------------------- */

.sake-list-page {
  min-height: 100vh;
  background: #050505;
  color: #f5f5f5;
}

/* -------------------------
   Controls
   検索・絞り込みエリア
-------------------------- */

.sake-list-page .sake-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(216, 181, 109, 0.08),
      rgba(255, 255, 255, 0.035)
    ),
    #151515;

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.sake-list-page .sake-controls__item {
  display: flex;
  flex-direction: column;
  gap: 4px;

  min-width: 120px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.sake-list-page .sake-controls__item--search {
  flex: 1;
  min-width: min(100%, 260px);
}

.sake-list-page .sake-controls label {
  color: rgba(255, 255, 255, 0.72);
}

.sake-list-page .sake-controls select,
.sake-list-page .sake-controls input[type='search'] {
  width: 100%;
  padding: 7px 10px;

  color: #f5f5f5;
  background: #0b0b0b;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;

  font-size: 14px;
  outline: none;
}

.sake-list-page .sake-controls select:focus,
.sake-list-page .sake-controls input[type='search']:focus {
  border-color: rgba(216, 181, 109, 0.72);
  box-shadow: 0 0 0 3px rgba(216, 181, 109, 0.14);
}

.sake-list-page .sake-controls input[type='search']::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.sake-list-page .sake-controls option {
  color: #f5f5f5;
  background: #0b0b0b;
}

/* -------------------------
   Status
   件数表示
-------------------------- */

.sake-list-page .sake-status {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

/* -------------------------
   Grid
-------------------------- */

.sake-list-page .sake-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .sake-list-page .sake-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------
   Sake Card
-------------------------- */

.sake-list-page .sake-card {
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 12px;
  border-radius: 18px;

  color: #f5f5f5;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    ),
    #151515;

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.sake-list-page .sake-card__thumb-wrap {
  overflow: hidden;
  border-radius: 12px;

  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sake-list-page .sake-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 画像なし */
.sake-list-page .sake-card__thumb-wrap--empty {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 180px;

  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.05);

  border: 1px dashed rgba(255, 255, 255, 0.18);

  font-size: 12px;
  letter-spacing: 0.16em;
}

.sake-list-page .sake-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sake-list-page .sake-card__title {
  margin: 0;

  color: #f5f5f5;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.sake-list-page .sake-card__meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sake-list-page .sake-card__desc,
.sake-list-page .sake-card__desc-short,
.sake-list-page .sake-card__desc-full {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.sake-list-page .sake-card__memo {
  margin: 2px 0 0;

  color: #d8b56d;
  font-size: 12px;
  font-weight: 700;
}

.sake-list-page .sake-card__more-btn {
  margin-left: 4px;

  color: #d8b56d;
  background: none;
  border: none;

  font-size: 12px;
  cursor: pointer;
}

.sake-list-page .sake-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 4px;
}

/* -------------------------
   Pills
   タグ
-------------------------- */

.sake-list-page .pill {
  display: inline-flex;
  align-items: center;

  padding: 2px 8px;
  border-radius: 999px;

  color: rgba(255, 255, 255, 0.82);
  background: rgba(216, 181, 109, 0.14);
  border: 1px solid rgba(216, 181, 109, 0.24);

  font-size: 11px;
  line-height: 1.6;
}

.sake-list-page .pill.link {
  text-decoration: none;
  cursor: pointer;
}

.sake-list-page .pill--type {
  color: #e8d29a;
  background: rgba(124, 179, 66, 0.18);
  border-color: rgba(124, 179, 66, 0.28);
}

.sake-list-page .pill--pref {
  color: #b8d7ff;
  background: rgba(25, 118, 210, 0.18);
  border-color: rgba(25, 118, 210, 0.28);
}

.sake-list-page .pill--round {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.sake-list-page .pill--category {
  color: #f0d99b;
  background: rgba(216, 181, 109, 0.18);
  border-color: rgba(216, 181, 109, 0.3);
}

/* -------------------------
   Small Buttons
-------------------------- */

.sake-list-page .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 10px;
  border-radius: 999px;

  border: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;

  font-size: 12px;
}

.sake-list-page .btn-amazon {
  color: #fff;
  background: #ff9900;
}

.sake-list-page .btn-rakuten {
  color: #fff;
  background: #bf0000;
}

/* -------------------------
   More Button Area
-------------------------- */

.sake-list-page .sake-list-more {
  grid-column: 1 / -1;

  display: flex;
  justify-content: center;

  padding: 16px 0 4px;
}

.sake-list-page .sake-list-more__button {
  min-width: 140px;
  padding: 8px 16px;
}

/* -------------------------
   Responsive
-------------------------- */

@media (max-width: 520px) {
  .sake-list-page .sake-controls {
    padding: 14px;
  }

  .sake-list-page .sake-controls__item {
    width: 100%;
  }

  .sake-list-page .sake-card {
    border-radius: 16px;
  }
}

.pill--link {
  text-decoration: none;
  cursor: pointer;
}

.pill--link:hover {
  text-decoration: underline;
}
.sake-card__actions {
  margin-top: 14px;
}

.sake-card__affiliate-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(214, 181, 91, 0.7);
  color: #f4d27a;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.sake-card__affiliate-link a:hover {
  text-decoration: underline;
}
.sake-card__thumb-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.sake-card__thumb-link:hover {
  opacity: 0.9;
}
