/* Shop single page styles */
.shop-meta{display:grid;gap:8px;margin:12px 0}
.shop-row{display:flex;gap:8px;align-items:baseline;margin:0}
.shop-label{display:inline-block;min-width:72px;color: var(--color-muted);font-size: var(--fs-xsmall)}
.shop-value{flex:1}
.shop-action{margin-left:8px;font-size: var(--fs-xsmall);color:var(--color-primary)}
.shop-map-wrap{margin:12px 0;border:1px solid #e6e6e6}
.shop-map{width:100%;height:300px;border:0}
@media(min-width:768px){.shop-map{height:380px}}

/* Footer stores list */
.stores-section {
  background: #f8f9fa;
  /* Padding handled by .site-section in theme-base.css */
}

.stores-section .site-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stores-section .section-title {
  text-align: center;
  font-size: var(--fs-h2);
  font-weight: var(--fw-medium);
  margin-bottom: 2.5rem;
  color: var(--color-text);
  position: relative;
  padding-bottom: 1rem;
}

.stores-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d3b58c 0%, #a8926a 100%);
  border-radius: 3px;
}

.stores-grid{
  display:grid; 
  gap:16px; 
  align-items:stretch;
  grid-template-columns: 1fr; /* Mobile: 1 column (below 480px) */
}

/* Mobile: 2 columns starting from 360px */
@media(min-width:360px){
  .stores-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(min-width:480px){
  .stores-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) /* Keep 2 columns until tablet */
  }
}

@media(min-width:900px){
  .stores-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
}

@media(min-width:1280px){
  .stores-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
}

.stores-item{
  background:var(--surface, #fff); 
  border:none; 
  border-radius:12px; 
  padding:0; 
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:all 0.3s ease;
  display:flex;
  flex-direction: column;
}

.stores-item:hover {
  box-shadow:0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.stores-name{
  margin:0;
  padding: 0;
}

.stores-name .stores-open{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  text-align:left;
  padding:10px 10px;
  min-height:44px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--color-text);
  text-decoration:none;
  font-weight: var(--fw-medium);
  font-size: var(--fs-xsmall);
  line-height:1.35;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.stores-name .stores-open:hover{
  background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.stores-name .stores-open:active{
  transform: scale(0.98);
}

.stores-name .stores-open::after{
  content:'›'; 
  color: var(--color-beige); 
  font-size: var(--fs-xl); 
  font-weight: 300;
  line-height:1;
  transition: transform 0.3s ease;
}

.stores-name .stores-open:hover::after {
  transform: translateX(3px);
}

.stores-name .stores-open span{
  display:block; 
  font-weight:400; 
  font-size: var(--fs-xsmall); 
  color: var(--color-muted);
  margin-top: 2px;
}

.stores-name button{
  background:transparent; 
  border:0; 
  color:inherit; 
  cursor:pointer;
  outline: none;
}

/* Footer stores popup - ENHANCED DESIGN */
.stores-popup{
  position:fixed; 
  inset:0; 
  display:none; 
  z-index:9999; 
  padding:0; 
  background:transparent; 
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.stores-popup[aria-hidden="false"]{
  display:flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  pointer-events: auto;
}

.stores-popup-overlay{
  position:absolute; 
  inset:0; 
  background:rgba(0,0,0,.5);
  cursor: pointer;
  z-index: 1;
  pointer-events: auto;
}

.stores-popup-content{
  position: relative;
  z-index: 2;
  width: min(560px, calc(100vw - 32px)); 
  max-height: min(85vh, 700px); 
  overflow: hidden; 
  background: #fff; 
  border: none; 
  padding: 0; 
  border-radius: 20px; 
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: popupSlideIn 0.3s ease-out;
  margin: auto;
  flex-shrink: 0;
  align-self: center;
  transform: translateZ(0); /* GPU acceleration for smooth animation */
  pointer-events: auto;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.stores-close{
  position:absolute; 
  top:16px; 
  right:16px; 
  background:#f5f5f5; 
  border:0; 
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: all 0.2s ease;
  z-index: 10;
  color: var(--color-muted);
}

.stores-close:hover{
  background:#e0e0e0;
  color: var(--color-text);
  transform: rotate(90deg);
}

.stores-close:focus{
  outline:2px solid #0b74ff; 
  outline-offset:2px;
}

/* Popup Header */
.stores-popup-header {
  background: linear-gradient(135deg, #d3b58c 0%, #a8926a 100%);
  padding: var(--sp-32) var(--sp-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stores-popup-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.stores-popup-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  position: relative;
  z-index: 1;
}

.stores-popup-icon svg {
  color: var(--color-beige);
}

.stores-title {
  margin: 0;
  font-size: var(--fs-h4); /* Responsive: 22px mobile → 27px desktop */
  font-weight: var(--fw-medium);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,.1);
  position: relative;
  z-index: 1;
}

/* Popup Body */
.stores-popup-body {
  padding: var(--sp-24);
  max-height: 400px;
  overflow-y: auto;
}

.store-info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-16);
  padding: var(--sp-16);
  margin-bottom: var(--sp-12);
  background: #f8f9fa;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.store-info-row:hover {
  background: #f0f2f5;
  border-left-color: var(--color-beige);
  transform: translateX(4px);
}

.store-info-icon {
  flex-shrink: 0;
  width: 2.5rem; /* 40px - scales with rem */
  height: 2.5rem;
  background: linear-gradient(135deg, #d3b58c 0%, #a8926a 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(211,181,140,.3);
}

.store-info-icon svg {
  width: 20px;
  height: 20px;
}

.store-info-content {
  flex: 1;
  min-width: 0;
}

.store-info-label {
  display: block;
  font-size: var(--fs-xsmall);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-gray-light);
  margin-bottom: 4px;
}

.store-info-value {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-text);
  font-weight: 500;
}

.store-info-value a {
  color: var(--color-beige);
  text-decoration: none;
  font-weight: var(--fw-medium);
  transition: color 0.2s ease;
}

.store-info-value a:hover {
  color: var(--color-beige-dark);
  text-decoration: underline;
}

/* Popup Footer */
.stores-popup-footer {
  padding: var(--sp-20) var(--sp-24);
  border-top: 1px solid #e6e6e6;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #d3b58c 0%, #a8926a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(211,181,140,.3);
  position: relative;
  overflow: hidden;
}

.store-detail-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.store-detail-btn:hover::before {
  left: 100%;
}

.store-detail-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211,181,140,.4);
}

.store-detail-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(211,181,140,.3);
}

.store-detail-btn svg {
  transition: transform 0.3s ease;
}

.store-detail-btn:hover svg {
  transform: translateX(4px);
}

/* Prevent background scroll when popup open */
body.no-scroll{
  overflow:hidden;
}

/* Scrollbar styling for popup body */
.stores-popup-body::-webkit-scrollbar {
  width: 6px;
}

.stores-popup-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.stores-popup-body::-webkit-scrollbar-thumb {
  background: #d3b58c;
  border-radius: 10px;
}

.stores-popup-body::-webkit-scrollbar-thumb:hover {
  background: #a8926a;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .stores-popup[aria-hidden="false"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .stores-popup-content {
    width: calc(100vw - 32px);
    border-radius: 16px;
    margin: 0;
    max-height: 88vh;
  }
  
  .stores-popup-header {
    padding: var(--sp-24) var(--sp-20);
  }
  
  .stores-popup-body {
    padding: var(--sp-20);
    max-height: 60vh;
  }
  
  .stores-popup-footer {
    padding: var(--sp-16) var(--sp-20);
  }
  
  .store-detail-btn {
    width: 100%;
    /* Padding & min-height handled by button system */
  }
  
  .store-info-row {
    padding: 14px;
    margin-bottom: 10px;
  }
  
  .stores-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

/* Store Reserve Page */
#store-reserve-page { padding-top: 8px; }
#store-reserve-page .section-title-wrap {
  text-align: center;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#store-reserve-page .section-title-wrap .section-eyebrow { display: inline-block; }
#store-reserve-page .section-title-wrap .section-title { margin: 0; }
#store-reserve-page .section-title-wrap .section-desc {
  font-size: 12.5px;
  color: var(--color-muted, #888);
  line-height: 1.7;
  margin: 4px 0 0;
}
#store-reserve-page .srp-intro {
  margin: 8px auto 28px;
  max-width: 640px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--brand-ink-soft, #6c5a45);
}
@media (min-width: 768px) {
  #store-reserve-page .srp-intro { font-size: 13.5px; }
}
#store-reserve-page .srp-intro strong {
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
}
#store-reserve-page .srp-intro a {
  color: var(--brand-gold-deep, #8a6a3f);
  text-decoration: underline;
  font-weight: 600;
}
#store-reserve-page .srp-intro br { display: none; }
@media (min-width: 768px) {
  #store-reserve-page .srp-intro br { display: inline; }
}
#store-reserve-page .srp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { #store-reserve-page .srp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 640px) { #store-reserve-page .srp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
/* 奇数件・最終行ぼっち対策（2列時）— 単独カードを中央配置 */
@media (max-width: 1024px) {
  #store-reserve-page .srp-grid > .srp-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 7px);
    justify-self: center;
  }
}

#store-reserve-page .srp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #eee3cf;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
#store-reserve-page .srp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(138,106,63,.12); }
#store-reserve-page .srp-media { aspect-ratio: 4/3; background: #fafafa; display: flex; align-items: center; justify-content: center; }
#store-reserve-page .srp-media img { width: 100%; height: 100%; object-fit: cover; }
#store-reserve-page .srp-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
#store-reserve-page .srp-title {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: var(--brand-ink, #2b2017);
  letter-spacing: 0.01em;
}
#store-reserve-page .srp-card-price {
  margin: 0 0 8px;
  font-family: var(--ff-serif, serif);
  font-size: 12.5px;
  color: var(--brand-gold-deep, #8a6a3f);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
#store-reserve-page .srp-price { font-weight: var(--fw-medium); margin: 0; }
#store-reserve-page .srp-open-modal {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: auto !important;
  padding: 10px 12px !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: var(--brand-gold, #b89764);
  color: #fff;
  border: 1px solid var(--brand-gold, #b89764);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#store-reserve-page .srp-open-modal:hover {
  background: var(--brand-gold-deep, #8a6a3f);
  border-color: var(--brand-gold-deep, #8a6a3f);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(138,106,63,.20);
}
#store-reserve-page .srp-open-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 12px;
  line-height: 1;
}

#store-reserve-page .srp-qty { display: inline-flex; align-items: center; gap: 8px; }
#store-reserve-page .qty-btn { width: 36px; height: 36px; border-radius: 18px; border: 1px solid #d2b48c; background: #fff; color: var(--color-beige-dark); cursor: pointer; font-size: var(--fs-md); line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
#store-reserve-page .qty-btn:focus { outline: 2px solid #0070f3; outline-offset: 2px; }
#store-reserve-page .qty-btn:hover { background: #f6efe5; }
#store-reserve-page .qty-input { width: 56px; text-align: center; padding: 6px 4px; border: 1px solid #ddd; border-radius: 8px; font-size: var(--fs-base); }


#store-reserve-page .srp-order {
  margin-top: 28px;
  border: 1px solid #eee3cf;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
#store-reserve-page .srp-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #faf7ef;
  border-bottom: 1px solid #eee3cf;
}
#store-reserve-page .srp-order-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-ink, #2b2017);
}
#store-reserve-page .srp-order-actions { display: flex; gap: 8px; }
#store-reserve-page .btn-outline {
  border: 1px solid var(--brand-gold, #b89764);
  color: var(--brand-gold-deep, #8a6a3f);
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .2s ease;
}
#store-reserve-page .btn-outline:hover { background: #faf7ef; }
#store-reserve-page .srp-order-panel { padding: 14px 16px; display: grid; gap: 14px; }
#store-reserve-page .srp-order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
#store-reserve-page .srp-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px dashed #eee3cf;
  padding-bottom: 10px;
  font-size: 12.5px;
}
#store-reserve-page .srp-order-item.srp-empty {
  color: var(--color-gray-light, #aaa);
  justify-content: center;
  border-bottom: none;
  padding: 18px 0;
  background: #fcfaf4;
  border-radius: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
#store-reserve-page .srp-order-item.srp-empty::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b89764' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3h2l.4 2M7 13h10l4-8H5.4'/><circle cx='9' cy='20' r='1.5'/><circle cx='17' cy='20' r='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: -3px;
}
#store-reserve-page .srp-order-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#store-reserve-page .srp-remove { border: none; background: transparent; color: var(--color-gray-light, #aaa); cursor: pointer; font-size: 16px; padding: 0 4px; }
#store-reserve-page .srp-remove:hover { color: var(--brand-gold-deep, #8a6a3f); }
#store-reserve-page .srp-breakdown {
  display: grid;
  gap: 6px;
  justify-content: end;
  text-align: right;
  padding-top: 8px;
  border-top: 1px solid #eee3cf;
  font-size: 12.5px;
  color: var(--brand-ink-soft, #6c5a45);
}
#store-reserve-page .srp-breakdown .total {
  font-size: 16px;
  font-family: var(--ff-serif, serif);
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 500;
}
#store-reserve-page .srp-breakdown strong { font-family: var(--ff-serif, serif); margin: 0 4px; }

#store-reserve-page .srp-form {
  margin-top: 24px;
  border: 1px solid #eee3cf;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
#store-reserve-page .srp-form-title {
  margin: 0;
  padding: 14px 16px;
  background: #faf7ef;
  border-bottom: 1px solid #eee3cf;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-ink, #2b2017);
  text-align: center;
}
#store-reserve-page .srp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; }
#store-reserve-page .srp-form-grid label { display: grid; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--brand-ink, #2b2017); }
#store-reserve-page .srp-form-grid input,
#store-reserve-page .srp-form-grid select,
#store-reserve-page .srp-form-grid textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  appearance: auto;
  border: 1px solid #d8d0c0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.45;
  font-family: inherit;
  background: #fff;
  font-weight: normal;
  color: var(--brand-ink, #2b2017);
}
#store-reserve-page .srp-form-grid input,
#store-reserve-page .srp-form-grid select {
  min-height: 48px;
}
#store-reserve-page .srp-form-grid textarea {
  min-height: 112px;
  resize: vertical;
}
#store-reserve-page .srp-form-grid input:focus,
#store-reserve-page .srp-form-grid select:focus,
#store-reserve-page .srp-form-grid textarea:focus {
  outline: 2px solid var(--brand-gold, #b89764);
  outline-offset: 1px;
  border-color: var(--brand-gold, #b89764);
}
#store-reserve-page .srp-form-grid .srp-form-wide { grid-column: 1 / -1; }
#store-reserve-page #srpEmailNote { grid-column: 1 / -1; margin-top: -8px; }
#store-reserve-page .srp-date-field {
  position: relative;
}
#store-reserve-page .srp-date-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
#store-reserve-page .srp-form-grid .srp-date-display {
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background: #fff;
}
#store-reserve-page .srp-date-open {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8d0c0;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--brand-gold-deep, #8a6a3f);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
#store-reserve-page .srp-date-calendar {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(100%, 360px);
  padding: 12px;
  border: 1px solid #eee3cf;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(47, 42, 33, 0.16);
}
#store-reserve-page .srp-date-calendar__head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  text-align: center;
  color: var(--brand-ink, #2b2017);
}
#store-reserve-page .srp-date-nav {
  width: 40px;
  height: 36px;
  border: 1px solid #eee3cf;
  border-radius: 8px;
  background: #faf7ef;
  color: var(--brand-gold-deep, #8a6a3f);
  font-size: 20px;
  line-height: 1;
}
#store-reserve-page .srp-date-calendar__week,
#store-reserve-page .srp-date-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
#store-reserve-page .srp-date-calendar__week {
  margin-bottom: 4px;
  color: var(--color-muted, #888);
  font-size: 11px;
  text-align: center;
}
#store-reserve-page .srp-date-day {
  aspect-ratio: 1 / 1;
  min-width: 0;
  border: 1px solid #eee3cf;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--brand-ink, #2b2017);
  font-size: 13px;
  cursor: pointer;
}
#store-reserve-page .srp-date-day:disabled {
  color: #b8b1a8;
  background: #f4f1eb;
  border-color: #ebe6dc;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: .68;
}
#store-reserve-page .srp-date-day.is-selected {
  background: var(--brand-gold, #b89764);
  border-color: var(--brand-gold, #b89764);
  color: #fff;
}
#store-reserve-page .srp-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid #eee3cf;
  background: #fcfaf4;
}
#store-reserve-page .srp-form-actions .btn-primary {
  width: 100%;
  padding: 14px 20px !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--brand-gold, #b89764);
  color: #fff;
  border: 1px solid var(--brand-gold, #b89764);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(184,151,100,.25);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
#store-reserve-page .srp-form-actions .btn-primary:hover {
  background: var(--brand-gold-deep, #8a6a3f);
  border-color: var(--brand-gold-deep, #8a6a3f);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(138,106,63,.30);
}
#store-reserve-page .srp-form-note {
  color: var(--color-muted, #888);
  font-size: 11.5px;
  text-align: center;
  line-height: 1.6;
}
#store-reserve-page .srp-form-msg { padding: 10px 16px; font-size: 13px; }
#store-reserve-page .srp-form-msg.ok { color: #4a6e4f; background: #eef4ec; }
#store-reserve-page .srp-form-msg.ng { color: #b25c3a; background: #fdf1e9; }
#store-reserve-page .srp-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  #store-reserve-page .srp-form {
    border-radius: 12px;
  }
  #store-reserve-page .srp-form-title {
    padding: 16px 14px;
  }
  #store-reserve-page .srp-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 14px 20px;
  }
  #store-reserve-page .srp-form-grid label {
    gap: 10px;
    font-size: 14px;
  }
  #store-reserve-page .srp-form-grid input,
  #store-reserve-page .srp-form-grid select {
    min-height: 52px;
  }
  #store-reserve-page .srp-date-picker {
    grid-template-columns: 1fr;
  }
  #store-reserve-page .srp-date-open {
    width: 100%;
    min-height: 46px;
  }
  #store-reserve-page .srp-date-calendar {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
  }
  #store-reserve-page #srpEmailNote {
    margin-top: -10px;
  }
}

#store-reserve-page .srp-alert {
  border: 1px solid #f0d18a;
  background: #fffaf0;
  color: var(--brand-ink-soft, #6c5a45);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
}
#store-reserve-page .srp-alert strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
}
#store-reserve-page .srp-info {
  border: 1px solid #eee3cf;
  background: #fcfaf4;
  color: var(--brand-ink-soft, #6c5a45);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 12.5px;
  line-height: 1.75;
}
#store-reserve-page .srp-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
}
#store-reserve-page .srp-info ul { margin: 4px 0 0 1.1em; padding-left: 0; }
#store-reserve-page .srp-info li { margin-bottom: 2px; }
#store-reserve-page .srp-field-note { font-size: 11.5px; color: var(--color-muted, #888); margin-top: 4px; line-height: 1.6; }
@media (max-width: 640px) {
  #store-reserve-page .srp-form {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
  }
  #store-reserve-page .srp-alert,
  #store-reserve-page .srp-info {
    margin: 0 0 14px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(47, 42, 33, 0.04);
  }
  #store-reserve-page .srp-form-title {
    margin-top: 18px;
    border: 1px solid #eee3cf;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #faf7ef;
  }
  #store-reserve-page .srp-form-grid {
    border: 1px solid #eee3cf;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
  }
  #store-reserve-page .srp-form-actions {
    margin-top: 14px;
    border: 1px solid #eee3cf;
    border-radius: 12px;
    background: #fcfaf4;
  }
  #store-reserve-page .srp-form-msg {
    margin-top: 10px;
    border-radius: 10px;
  }
}
#store-reserve-page .srp-plate-guide {
  margin: 2px 0 8px;
  padding: 12px;
  border: 1px solid #eee3cf;
  border-radius: 12px;
  background: #fffdf8;
  overflow: visible;
}
#store-reserve-page .srp-plate-guide img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}
#store-reserve-page .srp-candles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: flex-start; margin-top: 6px; }
#store-reserve-page .srp-candles > div { min-width: 0; }
#store-reserve-page .srp-candles span { display: block; font-size: 11.5px; color: var(--color-muted, #888); margin-bottom: 6px; }
@media (max-width: 480px) {
  #store-reserve-page .srp-plate-guide {
    padding: 8px;
    max-height: 420px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #store-reserve-page .srp-candles {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   記念日ケーキ一覧ページ (pages/page-kinenbi.php) — WEB+電話予約
   ============================================================ */
.anniversary-list-page .section-desc { text-align: center; color: var(--color-muted, #888); margin-top: 8px; }

.anniversary-list-page .anniv-list-howto {
  list-style: none;
  margin: 24px auto 32px;
  padding: 18px;
  max-width: 780px;
  display: grid;
  gap: 10px;
  background: #fbf8f2;
  border: 1px solid #eee3cf;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .anniversary-list-page .anniv-list-howto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
.anniversary-list-page .anniv-list-howto li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--fs-small); line-height: 1.6;
}
.anniversary-list-page .anniv-list-howto a { color: #8a6a3f; text-decoration: underline; }
.anniversary-list-page .anniv-list-howto__badge {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  white-space: nowrap; border: 1px solid transparent;
}
.anniversary-list-page .anniv-list-howto__badge--web { background: #f5ecdc; color: #8a6a3f; border-color: #e3d2ad; }
.anniversary-list-page .anniv-list-howto__badge--tel { background: #eef4ec; color: #4a6e4f; border-color: #c9dec8; }

.anniversary-list-page .anniv-list-grid { margin-top: 8px; }
.anniversary-list-page .anniv-list-card__badges {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 6px;
}
.anniversary-list-page .anniv-list-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.5;
}
.anniversary-list-page .anniv-list-badge--web { background: #f5ecdc; color: #8a6a3f; border-color: #e3d2ad; }
.anniversary-list-page .anniv-list-badge--tel { background: #eef4ec; color: #4a6e4f; border-color: #c9dec8; }

/* ============================================================
   店舗一覧ページ (pages/page-shop.php) — 写真付きインライン一覧
   ============================================================ */

/* 見出しを中央寄せ + アンダーバーも中央 */
.shop-archive .shop-archive__header,
.shop-archive .page-header.shop-archive__header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0;
  background: none;
  border-radius: 0;
}
.shop-archive .shop-archive__title {
  display: inline-block;
  margin: 0 auto;
}
.shop-archive .shop-archive__title .underline {
  display: block;
  width: 64px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--brand-gold, #c19a3d);
}

.shop-archive .shops-list {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.shop-archive .shop-card.scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}
@media (min-width: 768px) {
  .shop-archive .shops-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1100px) {
  .shop-archive .shops-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border, #e8e0d4);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  min-width: 0;
}
.shop-card:hover {
  box-shadow: 0 6px 18px rgba(184, 153, 104, .18);
  transform: translateY(-1px);
}
.shop-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-accent-soft, #f5ede0);
  position: relative;
}
.shop-card__media img,
.shop-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.shop-card:hover .shop-card__img { transform: scale(1.03); }
.shop-card__placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-accent-soft, #f5ede0) 0%, #fff 100%);
}
.shop-card__placeholder::after {
  content: "Cake";
  font-family: var(--ff-serif, serif);
  font-weight: 600;
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 20px; letter-spacing: .08em; color: var(--color-accent, #b89968); opacity: .5;
}

.shop-card__body {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
  align-items: center;
  text-align: center;
}
.shop-card__title {
  margin: 0;
  font-size: 16px; font-weight: 700; line-height: 1.4;
  color: var(--color-primary, #2c2c2c);
  word-break: break-word;
}
.shop-card__title a { color: inherit; text-decoration: none; }
.shop-card__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-accent, #b89968);
  text-underline-offset: 3px;
}

.shop-card__meta {
  margin: 0; padding: 0;
  display: grid; gap: 6px;
  font-size: 13px; line-height: 1.55;
  color: var(--color-text, #2c2c2c);
  width: 100%;
  max-width: 320px;
}
.shop-card__row { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; min-width: 0; text-align: left; }
.shop-card__row dt { margin: 2px 0 0; color: var(--color-accent, #b89968); font-size: 13px; line-height: 1; text-align: center; }
.shop-card__icon { width: 14px; height: 14px; display: inline-block; fill: currentColor; vertical-align: -2px; }
.shop-card__row dd { margin: 0; min-width: 0; word-break: break-word; overflow-wrap: anywhere; }
.shop-card__row a { color: var(--color-primary, #2c2c2c); text-decoration: none; }
.shop-card__row a:hover { text-decoration: underline; }
/* .shop-card__inline-link は 2026-04-26 削除（住所横の「地図」丸ボタンを撤廃）。 */

.shop-card__more { margin: 4px 0 0; text-align: center; }
.shop-card__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--color-accent, #b89968);
  border-radius: 999px;
  color: var(--color-primary, #2c2c2c) !important;
  font-size: 13px; font-weight: 700;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.shop-card__btn:hover { background: var(--color-accent, #b89968); color: #fff !important; }
.shop-card__btn span { color: var(--color-accent, #b89968); font-weight: 700; transition: color .15s ease; }
.shop-card__btn:hover span { color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* /shop/ ページで Footer の Stores セクションを非表示 */
body.page-template-pages-page-shop-php .stores-section,
body:has(.shop-archive) .stores-section { display: none !important; }

/* フッター Stores の店舗名 ellipsis 化（長店舗名のはみ出し防止） */
.stores-name .stores-open .stores-open-name {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: var(--fw-medium);
  font-size: var(--fs-xsmall);
  color: var(--color-text);
  margin-top: 0;
  line-height: 1.35;
}

/* Force shrinkable column - extra safety */
.stores-grid > .stores-item {
  min-width: 0;
}
.stores-name .stores-open {
  min-width: 0;
  overflow: hidden;
}

/* =====================================================
 * 予約完了オーバーレイ / エラーオーバーレイ
 * 対象: pages/page-store-reserve.php
 * 設計: mobile-first / 半透明黒背景 + 中央カード
 * ===================================================== */
body.srp-overlay-open {
  overflow: hidden;
}

.srp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.srp-overlay[hidden] {
  display: none;
}
.srp-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 6, 0.55);
  z-index: 0;
}
.srp-overlay-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  background: #fffaf0;
  border: 1px solid #efe1c2;
  border-radius: 16px;
  padding: 24px 16px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: srpOverlayFadeIn 280ms ease-out both;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  min-width: 0;
}
@keyframes srpOverlayFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 成功カード ===== */
.srp-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-gold, #b89764);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 22px rgba(184, 151, 100, 0.35);
}
.srp-success-title {
  margin: 0 0 12px;
  font-family: var(--ff-serif, serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--brand-ink, #2b2017);
  outline: none;
}
.srp-success-lead {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--brand-ink-soft, #6c5a45);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.srp-success-lead strong {
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.srp-success-section-title {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #efe1c2;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-gold-deep, #8a6a3f);
  text-align: left;
}

.srp-success-summary {
  margin: 0 0 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #f0e5cc;
  border-radius: 12px;
  text-align: left;
}
.srp-success-orderlist {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.srp-success-orderlist li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
  font-size: 13px;
  color: var(--brand-ink, #2b2017);
}
.srp-success-orderlist li:last-child {
  border-bottom: none;
}
.srp-success-itemname {
  font-weight: 600;
  word-break: break-word;
}
.srp-success-itemsize {
  display: inline-block;
  margin-left: 4px;
  font-weight: normal;
  font-size: 12px;
  color: var(--brand-ink-soft, #6c5a45);
}
.srp-success-itemqty {
  font-size: 12.5px;
  color: var(--brand-ink-soft, #6c5a45);
  white-space: nowrap;
}
.srp-success-itemamt {
  font-weight: 600;
  white-space: nowrap;
  color: var(--brand-gold-deep, #8a6a3f);
}

.srp-success-meta {
  margin: 0;
  display: grid;
  gap: 6px;
  border-top: 1px solid #f0e5cc;
  padding-top: 10px;
}
.srp-success-meta-row {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
}
.srp-success-meta-row dt {
  color: var(--brand-ink-soft, #6c5a45);
  font-size: 12px;
  font-weight: 500;
}
.srp-success-meta-row dd {
  margin: 0;
  color: var(--brand-ink, #2b2017);
  word-break: break-word;
}
.srp-success-meta-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #efe1c2;
}
.srp-success-meta-total dt {
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
}
.srp-success-meta-total dd {
  font-family: var(--ff-serif, serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-gold-deep, #8a6a3f);
}

.srp-success-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #fdf8eb;
  border: 1px solid #efe1c2;
  border-radius: 12px;
  text-align: left;
}
.srp-success-steps {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--brand-ink-soft, #6c5a45);
}
.srp-success-steps a {
  color: var(--brand-gold-deep, #8a6a3f);
  font-weight: 600;
  text-decoration: underline;
}

.srp-success-cta {
  display: grid;
  gap: 10px;
}
.srp-success-btn {
  width: 100%;
  min-height: 48px;
  padding: 14px 20px !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.srp-success-btn.btn-primary {
  background: var(--brand-gold, #b89764);
  border: 1px solid var(--brand-gold, #b89764);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 151, 100, 0.25);
}
.srp-success-btn.btn-primary:hover,
.srp-success-btn.btn-primary:focus-visible {
  background: var(--brand-gold-deep, #8a6a3f);
  border-color: var(--brand-gold-deep, #8a6a3f);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(138, 106, 63, 0.30);
  outline: none;
}
.srp-success-btn.btn-outline {
  background: #fff;
  border: 2px solid var(--brand-gold, #b89764);
  color: var(--brand-gold-deep, #8a6a3f);
}
.srp-success-btn.btn-outline:hover,
.srp-success-btn.btn-outline:focus-visible {
  background: #faf5ea;
  outline: none;
}

/* ===== エラーカード ===== */
.srp-error-card {
  max-width: 480px;
  background: #fffaf6;
  border-color: #f4d6c5;
}
.srp-error-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c5704a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 18px rgba(197, 112, 74, 0.3);
}
.srp-error-title {
  margin: 0 0 12px;
  font-family: var(--ff-serif, serif);
  font-size: 20px;
  color: #8a3e1f;
  outline: none;
}
.srp-error-message {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--brand-ink, #2b2017);
}
.srp-error-note {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--brand-ink-soft, #6c5a45);
}
.srp-error-tel {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--brand-gold-deep, #8a6a3f);
}
.srp-error-tel a {
  font-family: var(--ff-serif, serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand-gold-deep, #8a6a3f);
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}
.srp-error-tel a:hover,
.srp-error-tel a:focus-visible {
  text-decoration: underline;
  outline: none;
}
.srp-error-actions {
  display: grid;
  gap: 10px;
}
.srp-error-btn {
  width: 100%;
  min-height: 44px;
  padding: 12px 18px !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.srp-error-btn.btn-primary {
  background: var(--brand-gold, #b89764);
  border: 1px solid var(--brand-gold, #b89764);
  color: #fff;
}
.srp-error-btn.btn-primary:hover,
.srp-error-btn.btn-primary:focus-visible {
  background: var(--brand-gold-deep, #8a6a3f);
  border-color: var(--brand-gold-deep, #8a6a3f);
  outline: none;
}
.srp-error-btn.btn-outline {
  background: #fff;
  border: 2px solid #d8d0c0;
  color: var(--brand-ink-soft, #6c5a45);
}
.srp-error-btn.btn-outline:hover,
.srp-error-btn.btn-outline:focus-visible {
  background: #faf5ea;
  border-color: var(--brand-gold, #b89764);
  color: var(--brand-gold-deep, #8a6a3f);
  outline: none;
}

/* ===== タブレット (≥640px) ===== */
@media (min-width: 640px) {
  .srp-overlay {
    align-items: center;
    padding: 6vh 24px;
  }
  .srp-overlay-card {
    padding: 36px 36px 32px;
  }
  .srp-success-title {
    font-size: 26px;
  }
  .srp-success-lead {
    font-size: 14px;
  }
  .srp-success-cta,
  .srp-error-actions {
    grid-template-columns: 1fr 1fr;
  }
  .srp-success-meta-row {
    grid-template-columns: minmax(110px, max-content) minmax(0, 1fr);
  }
}

/* ===== デスクトップ (≥1024px) ===== */
@media (min-width: 1024px) {
  .srp-success-title {
    font-size: 28px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .srp-overlay-card {
    animation: none;
  }
  .srp-success-btn,
  .srp-error-btn {
    transition: none;
  }
}
