/* ================================================
   Merchant — Single merchant page
   Split banner, sidebar+content, voucher cards,
   FAQ, similar shops, newsletter
   ================================================ */

/* ===== Page Wrapper ===== */
.gc-merchant-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-7);
}

/* ===== Breadcrumbs (kept as-is) ===== */
.gc-breadcrumbs {
  padding: var(--space-6) 0 0;
  font-size: 13px;
  color: var(--gc-muted);
}

.gc-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.gc-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.gc-breadcrumbs li:not(:last-child)::after {
  content: '\203A';
  color: var(--gc-muted);
  font-size: 16px;
}

.gc-breadcrumbs a {
  color: var(--gc-muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.gc-breadcrumbs a:hover {
  color: var(--gc-text);
}

/* ===== Split Banner (NEW) ===== */
.gc-merchant-banner {
  background: var(--gc-surface);
  border-radius: 16px;
  margin-top: var(--space-7);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 220px;
}

.gc-merchant-banner-left {
  padding: var(--space-8) var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gc-merchant-banner-left h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: var(--font-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.gc-merchant-banner-left h1 .accent {
  color: var(--gc-accent);
}

.gc-banner-stats {
  font-size: 14px;
  color: var(--gc-muted);
  margin-bottom: var(--space-5);
}

.gc-banner-stats strong {
  color: var(--gc-text);
}

.gc-banner-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}

.gc-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #dcfce7;
  color: var(--gc-success);
  font-size: 12px;
  font-weight: var(--font-semibold);
  padding: 5px var(--space-5);
  border-radius: 20px;
}

.gc-trust-badge svg {
  flex-shrink: 0;
}

.gc-merchant-banner-right {
  background: linear-gradient(135deg, #FFD600 0%, #FFE14D 50%, #FFF4B0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  position: relative;
  min-height: 140px;
}

.gc-merchant-banner-right .gc-merchant-logo {
  width: 110px;
  height: 110px;
  border-radius: 16px;
  background: var(--gc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
}

.gc-merchant-banner-right .gc-merchant-logo img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
}

.gc-banner-stat-bubbles {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gc-stat-bubble {
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(4px);
  padding: var(--space-2) var(--space-5);
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--font-semibold);
  color: var(--gc-text);
  white-space: nowrap;
}

.gc-stat-bubble strong {
  color: var(--gc-accent);
}

/* ===== Social Sharing (in banner) ===== */
.gc-social-share {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.gc-social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .06);
  color: var(--gc-muted);
  transition: all 0.2s ease;
}

.gc-social-share a:hover {
  background: rgba(0, 0, 0, .12);
  color: var(--gc-text);
}

.gc-social-share .gc-share-x svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ===== Main 2-Column Layout ===== */
.gc-merchant-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

.gc-merchant-sidebar {
  order: 2;
}

.gc-merchant-main {
  order: 1;
  min-width: 0;
}

/* ===== Sidebar ===== */
.gc-merchant-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.gc-sidebar-section {
  background: var(--gc-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.gc-sidebar-section h2,
.gc-sidebar-section h3 {
  font-size: 15px;
  font-weight: var(--font-bold);
  margin-bottom: var(--space-5);
  letter-spacing: -0.01em;
}

/* --- Filter (vertical list) --- */
.gc-voucher-filter {
  /* uses .gc-sidebar-section for container styles */
}

.gc-filter-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gc-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.gc-filter-option:hover {
  background: #fafafa;
}

.gc-filter-option.active {
  background: #fffbeb;
  border-color: var(--gc-primary);
  font-weight: var(--font-bold);
}

.gc-filter-count {
  font-size: 12px;
  color: #999;
  background: var(--gc-bg);
  padding: 2px var(--space-3);
  border-radius: 10px;
}

.gc-filter-option.active .gc-filter-count {
  background: var(--gc-primary);
  color: var(--gc-text);
}

/* --- Sidebar Newsletter --- */
.gc-sidebar-nl {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow);
}

.gc-sidebar-nl h3 {
  color: var(--gc-primary);
  font-size: 15px;
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.gc-sidebar-nl p {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 14px;
}

.gc-sidebar-nl input {
  width: 100%;
  padding: var(--space-4) 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  margin-bottom: var(--space-3);
}

.gc-sidebar-nl input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.gc-sidebar-nl input:focus {
  border-color: var(--gc-primary);
  outline: none;
}

.gc-sidebar-nl button {
  width: 100%;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--gc-primary);
  color: var(--gc-text);
  font-weight: var(--font-bold);
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}

.gc-sidebar-nl button:hover {
  background: var(--gc-primary-strong);
}

/* --- Sidebar Similar Shops --- */
.gc-similar-shops {
  /* uses .gc-sidebar-section for container */
}

.gc-similar-shops-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.gc-similar-shop-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
  text-decoration: none;
  color: var(--gc-text);
}

.gc-similar-shop-item:hover {
  background: #fafafa;
}

.gc-similar-shop-item a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: var(--gc-text);
  width: 100%;
}

.gc-similar-shop-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: var(--font-bold);
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.gc-similar-shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gc-similar-shop-initial {
  font-size: 14px;
  font-weight: var(--font-bold);
  color: var(--gc-muted);
  line-height: 1;
}

.gc-similar-shop-info {
  flex: 1;
  min-width: 0;
}

.gc-similar-shop-name {
  font-size: 13px;
  font-weight: var(--font-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-similar-shop-count {
  font-size: 11px;
  color: #999;
}

/* --- Sidebar Info Sections (description, return, shipping, payment) --- */
.gc-sidebar-info {
  padding: var(--space-7);
  border-left: 3px solid var(--gc-border);
}

.gc-sidebar-info h2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--gc-text);
  line-height: 1.3;
}

.gc-sidebar-info h2::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--space-5);
  line-height: 1;
}

.gc-sidebar-info-description {
  border-left-color: var(--gc-primary-strong);
}
.gc-sidebar-info-description h2::before {
  content: '\2139';
  background: var(--gc-bg-info);
  color: var(--gc-primary-strong);
}

.gc-sidebar-info-return_policy {
  border-left-color: var(--gc-accent);
}
.gc-sidebar-info-return_policy h2::before {
  content: '\21A9';
  background: var(--gc-bg-danger);
  color: var(--gc-accent);
}

.gc-sidebar-info-shipping {
  border-left-color: var(--gc-success);
}
.gc-sidebar-info-shipping h2::before {
  content: '\2708';
  background: var(--gc-bg-success);
  color: var(--gc-success);
}

.gc-sidebar-info-payment_methods {
  border-left-color: var(--gc-info);
}
.gc-sidebar-info-payment_methods h2::before {
  content: '\20AC';
  background: var(--gc-bg-info-alt);
  color: var(--gc-info);
}

.gc-sidebar-info-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gc-muted);
}

.gc-sidebar-info-content p {
  margin: 0 0 var(--space-3);
}

.gc-sidebar-info-content p:last-child {
  margin-bottom: 0;
}

.gc-sidebar-info-content ul,
.gc-sidebar-info-content ol {
  margin: 0 0 var(--space-3);
  padding-left: var(--space-7);
  font-size: 14px;
  line-height: 1.6;
}

.gc-sidebar-info-content li {
  margin-bottom: var(--space-1);
}

.gc-sidebar-info-content li:last-child {
  margin-bottom: 0;
}

.gc-sidebar-info-content a {
  color: var(--gc-primary-strong);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

.gc-sidebar-info-content a:hover {
  text-decoration-color: var(--gc-primary-strong);
}

.gc-sidebar-info-content strong,
.gc-sidebar-info-content b {
  color: var(--gc-text);
  font-weight: var(--font-semibold);
}

.gc-sidebar-info-content h3 {
  margin: var(--space-5) 0 var(--space-2);
  font-size: 14px;
  font-weight: var(--font-semibold);
  color: var(--gc-text);
}

.gc-sidebar-info-content h3:first-child {
  margin-top: 0;
}

/* --- Sidebar Related Categories & Similar Merchants --- */
.gc-sidebar-related-categories,
.gc-sidebar-similar-merchants {
  padding: var(--space-7);
}

.gc-sidebar-related-categories h2,
.gc-sidebar-similar-merchants h2 {
  margin: 0 0 var(--space-6);
  font-size: 16px;
  font-weight: var(--font-bold);
  color: var(--gc-text);
}

.gc-sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.gc-sidebar-pill {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  background: var(--gc-bg);
  color: var(--gc-text);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: var(--font-medium);
  text-decoration: none;
  border: 1px solid var(--gc-border);
  transition: all 0.2s ease;
}

.gc-sidebar-pill:hover {
  background: var(--gc-primary);
  color: var(--gc-text);
  border-color: var(--gc-primary);
}

/* ===== Main Content Area ===== */
/* Reset vouchers.css list styles */
.gc-merchant-page .gc-vouchers-list {
  gap: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.gc-voucher-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ===== Voucher Card Wrapper ===== */
/* Reset vouchers.css base styles that conflict with vcard design */
.gc-merchant-page .gc-voucher-wrapper {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  position: static;
  isolation: auto;
  margin-bottom: var(--space-8);
}

.gc-merchant-page .gc-voucher-wrapper:last-child {
  margin-bottom: 0;
}

.gc-merchant-page .gc-voucher-wrapper:hover {
  box-shadow: none;
  transform: none;
  z-index: auto;
}

/* ===== Horizontal Voucher Card ===== */
.gc-vcard {
  display: flex;
  background: var(--gc-surface);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.gc-vcard:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
}

/* --- Left color column --- */
.gc-vcard-left {
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px var(--space-3);
  gap: var(--space-1);
  border-radius: 14px 0 0 14px;
  position: relative;
  overflow: hidden;
}

.gc-vcard-left.code {
  background: linear-gradient(145deg, #1a1a1a, #333);
}

.gc-vcard-left.deal {
  background: linear-gradient(145deg, #F97316, #EA580C);
}

.gc-vcard:hover .gc-vcard-left.code {
  background: linear-gradient(145deg, #333, #444);
}

.gc-vcard:hover .gc-vcard-left.deal {
  background: linear-gradient(145deg, #EA580C, #DC2626);
}

/* --- Logo column --- */
.gc-vcard-logo {
  width: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  padding: 0 var(--space-3);
  margin-top: -14px;
}

.gc-vcard-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.gc-vcard-discount-wrap {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.gc-vcard-discount {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.gc-vcard-left.code .gc-vcard-discount {
  color: #FFD600;
}

.gc-vcard-discount-label {
  font-size: 10px;
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gc-vcard-type {
  display: inline-block;
  margin-top: var(--space-1);
  font-size: 9px;
  font-weight: var(--font-extrabold);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  padding: 3px var(--space-3);
  border-radius: 4px;
}

/* --- Middle content column --- */
.gc-vcard-mid {
  flex: 1;
  padding: 14px var(--space-7) 14px var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.gc-vcard-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
}

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

.gc-vcard-title {
  margin: 0;
  font-size: 16px;
  font-weight: var(--font-bold);
  color: var(--gc-text);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-vcard-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--space-3);
  border-radius: 10px;
  font-size: 10px;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.gc-vcard-pill.exclusive {
  background: #fffbeb;
  color: #92700c;
}

.gc-vcard-pill.new {
  background: #dcfce7;
  color: var(--gc-success);
}

.gc-vcard-desc {
  font-size: 13px;
  color: var(--gc-muted);
  margin-bottom: var(--space-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.gc-vcard-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #9ca3af;
  flex-wrap: wrap;
  padding-bottom: 5px;
}

.gc-vcard-meta span,
.gc-vcard-meta p {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin: 0;
}

.gc-vcard-meta svg {
  flex-shrink: 0;
}

.gc-vcard-usage {
  font-size: 11px;
  color: var(--gc-success);
  font-weight: var(--font-semibold);
  display: flex;
  align-items: center;
  gap: 3px;
}

.gc-vcard-usage svg {
  flex-shrink: 0;
}

.gc-vcard-countdown {
  font-weight: var(--font-semibold);
  padding: 2px 7px;
  border-radius: 4px;
}

.gc-vcard-countdown.warn {
  background: #fff7ed;
  color: #ea580c;
}

.gc-vcard-countdown.urgent {
  background: #fef2f2;
  color: #dc2626;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Right CTA column --- */
.gc-vcard-right {
  width: 160px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px var(--space-6);
  gap: var(--space-2);
  border-left: 1px solid #f3f3f3;
}

.gc-vcard-cta {
  width: 100%;
  padding: var(--space-5) var(--space-3);
  border-radius: 10px;
  font-weight: var(--font-bold);
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: none;
  text-decoration: none;
}

.gc-vcard-cta.code-btn {
  background: var(--gc-surface);
  color: var(--gc-text);
  border: 2px dashed var(--gc-text);
  border-right: none;
  border-radius: 10px 0 0 10px;
  position: relative;
}

.gc-vcard-cta.code-btn:hover {
  background: var(--gc-bg);
  border-color: #333;
  transform: translateY(-1px);
}

.gc-vcard-cta.code-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.gc-vcard-cta.code-btn:hover svg {
  animation: snip 0.5s ease;
}

@keyframes snip {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-15deg); }
  60%  { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.gc-vcard-cta.deal-btn {
  background: var(--gc-primary);
  color: var(--gc-text);
  border: none;
}

.gc-vcard-cta.deal-btn:hover {
  background: var(--gc-primary-strong);
  transform: translateY(-1px);
}

.gc-vcard-details-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
}

.gc-vcard-details-link:hover {
  color: var(--gc-text);
}

.gc-vcard-details-link.active .gc-vcard-details-arrow {
  transform: rotate(180deg);
}

.gc-vcard-details-arrow {
  transition: transform 0.2s ease;
}

/* ===== Expandable Details ===== */
.gc-vcard-expand {
  background: var(--gc-surface);
  border-radius: 0 0 14px 14px;
  margin-top: -14px;
  padding: 0 var(--space-7) 0 174px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.gc-vcard-expand.is-open {
  max-height: 400px;
  padding-bottom: var(--space-7);
}

.gc-vcard-expand-inner {
  padding-top: var(--space-5);
  background: var(--gc-surface);
  border-top: none;
}

p.gc-vcard-detail-row,
.gc-vcard-detail-row {
  margin: 0;
  padding: var(--space-2) 0;
  font-size: 13px;
  border-bottom: 1px solid #f9f9f9;
}

.gc-vcard-detail-row:last-child {
  border-bottom: none;
}

.gc-vcard-detail-label {
  font-weight: var(--font-semibold);
  color: var(--gc-text);
}

.gc-vcard-detail-value {
  color: var(--gc-muted);
  text-align: right;
  max-width: 60%;
}

/* ===== Trust Bar (between vouchers) ===== */
.gc-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-7);
  background: #f8fdf9;
  border: 1px solid #dcfce7;
  border-radius: 10px;
  font-size: 13px;
  font-weight: var(--font-medium);
  color: var(--gc-success);
}

.gc-trust-bar svg {
  flex-shrink: 0;
}

/* ===== Newsletter Inline Card (in voucher list) ===== */
.gc-newsletter-card {
  background: linear-gradient(135deg, #FFD600 0%, #FFE14D 100%);
  border-radius: 14px;
  padding: 28px var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  margin-bottom: var(--space-5);
}

.gc-newsletter-card h3 {
  font-size: 18px;
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-2);
}

.gc-newsletter-card p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: var(--space-6);
}

.gc-nl-inline {
  display: flex;
  gap: var(--space-3);
}

.gc-newsletter-card input {
  flex: 1;
  padding: var(--space-5) var(--space-6);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, .1);
  font-size: 14px;
  background: var(--gc-surface);
}

.gc-newsletter-card input:focus {
  border-color: var(--gc-text);
  outline: none;
}

.gc-newsletter-card button {
  padding: var(--space-5) var(--space-8);
  border-radius: 10px;
  background: var(--gc-text);
  color: var(--gc-primary);
  font-weight: var(--font-bold);
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.gc-newsletter-card button:hover {
  background: #333;
}

/* ===== No Vouchers Fallback ===== */
.gc-no-vouchers {
  background: var(--gc-surface);
  border-radius: 14px;
  padding: var(--space-10);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.gc-no-vouchers h3 {
  font-size: 18px;
  font-weight: var(--font-bold);
  margin-bottom: var(--space-3);
}

.gc-no-vouchers p {
  font-size: 14px;
  color: var(--gc-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.gc-no-vouchers p:last-child {
  margin-bottom: 0;
}

.gc-no-vouchers a {
  color: var(--gc-text);
  text-decoration: underline;
  font-weight: var(--font-semibold);
}

/* ===== Expired Section ===== */
.gc-expired-section {
  padding-top: var(--space-7);
}

.gc-expired-section details {
  background: var(--gc-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.gc-expired-section summary {
  padding: var(--space-6) var(--space-7);
  font-size: 14px;
  font-weight: var(--font-semibold);
  cursor: pointer;
  color: var(--gc-muted);
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.gc-expired-section summary::-webkit-details-marker {
  display: none;
}

.gc-expired-section summary::before {
  content: "\25B6";
  font-size: 10px;
  transition: transform 0.2s ease;
}

.gc-expired-section details[open] summary::before {
  transform: rotate(90deg);
}

.gc-expired-cards {
  padding: 0 var(--space-7) var(--space-7);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gc-expired-cards .gc-voucher-wrapper {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.6);
}

.gc-expired-cards .gc-vcard-cta {
  background: var(--gc-border) !important;
  color: #999 !important;
  border: none !important;
}

/* ===== Below-Grid Sections (full width) ===== */
.gc-below-grid {
  padding: 0 0 var(--space-9);
}

/* ===== Merchant Info Section ===== */
.gc-merchant-info-section {
  padding-top: var(--space-9);
}

.gc-merchant-info-card {
  background: var(--gc-surface);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.gc-merchant-info-card h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
}

.gc-merchant-info-card > p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.gc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin: var(--space-7) 0;
}

.gc-info-item {
  padding: 18px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid var(--gc-border);
}

.gc-info-item h4 {
  font-size: 12px;
  font-weight: var(--font-bold);
  color: var(--gc-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
}

.gc-info-item p {
  font-size: 14px;
  color: var(--gc-text);
  margin: 0;
}

.gc-btn-merchant {
  display: inline-block;
  padding: var(--space-5) 28px;
  border-radius: 10px;
  background: var(--gc-primary);
  color: var(--gc-text);
  font-weight: var(--font-bold);
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
  text-decoration: none;
}

.gc-btn-merchant:hover {
  background: var(--gc-primary-strong);
}

/* ===== SEO / Shop Long Description (kept) ===== */
.gc-shop-description {
  margin-top: var(--space-9);
  padding: var(--space-7) var(--space-6);
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: var(--radius-md);
}

.gc-shop-description-title {
  margin: 0 0 var(--space-7);
  padding-left: var(--space-5);
  font-size: 18px;
  font-weight: var(--font-bold);
  color: var(--gc-text);
  line-height: 1.3;
  border-left: 4px solid var(--gc-primary);
}

.gc-shop-description-body {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gc-text);
}

/* Collapsible: show only first paragraph, fade out */
.gc-shop-description-body.gc-collapsible {
  max-height: 6em;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.gc-shop-description-body.gc-collapsible::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(transparent, var(--gc-surface));
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gc-shop-description-body.gc-collapsible.is-expanded {
  max-height: 2000px;
}

.gc-shop-description-body.gc-collapsible.is-expanded::after {
  opacity: 0;
}

.gc-seo-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 0;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: var(--font-semibold);
  color: var(--gc-primary-strong);
  cursor: pointer;
  transition: color 0.2s ease;
}

.gc-seo-toggle:hover {
  color: var(--gc-text);
}

.gc-seo-toggle svg {
  transition: transform 0.3s ease;
}

.gc-seo-toggle.is-expanded svg {
  transform: rotate(180deg);
}

.gc-shop-description-body p {
  margin: 0 0 1.25em;
}

.gc-shop-description-body p:last-child {
  margin-bottom: 0;
}

.gc-shop-description-body strong {
  font-weight: var(--font-semibold);
  color: var(--gc-text);
}

.gc-shop-description-body a {
  color: var(--gc-primary-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.gc-shop-description-body a:hover {
  color: var(--gc-accent);
}

.gc-shop-description-body ul,
.gc-shop-description-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.gc-shop-description-body li {
  margin-bottom: 0.5em;
}

.gc-shop-description-body h3,
.gc-shop-description-body h4 {
  margin: 1.5em 0 0.75em;
  font-weight: var(--font-semibold);
  color: var(--gc-text);
  line-height: 1.4;
}

.gc-shop-description-body h3 {
  font-size: var(--text-xl);
}

.gc-shop-description-body h4 {
  font-size: var(--text-lg);
}

/* ===== SEO Section (below-grid variant) ===== */
.gc-seo-section {
  padding-top: var(--space-9);
}

.gc-seo-card {
  background: var(--gc-surface);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.gc-seo-card h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
}

.gc-seo-card h3 {
  font-size: 18px;
  font-weight: var(--font-bold);
  margin: var(--space-7) 0 var(--space-4);
}

.gc-seo-card p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

/* ===== FAQ Section (NEW 2-column grid) ===== */
.gc-faq-section {
  padding-top: var(--space-9);
}

.gc-faq-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
}

.gc-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.gc-faq-item {
  background: var(--gc-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.gc-faq-item summary {
  padding: 18px var(--space-7);
  font-size: 15px;
  font-weight: var(--font-semibold);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-5);
}

.gc-faq-item summary::-webkit-details-marker {
  display: none;
}

.gc-faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: var(--font-normal);
  color: #999;
  flex-shrink: 0;
}

.gc-faq-item[open] summary::after {
  content: "\2212";
}

.gc-faq-answer {
  padding: 0 var(--space-7) 18px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* ===== Similar Shops Section (full-width scroll) ===== */
.gc-similar-shops-section {
  padding: var(--space-9) 0;
}

.gc-similar-shops-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-6);
}

.gc-shops-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: var(--space-3);
  -webkit-overflow-scrolling: touch;
}

.gc-shops-scroll::-webkit-scrollbar {
  height: 4px;
}

.gc-shops-scroll::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 4px;
}

.gc-shops-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.gc-shop-card {
  background: var(--gc-surface);
  border-radius: 14px;
  padding: var(--space-7) 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  min-width: 140px;
  text-decoration: none;
  color: var(--gc-text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gc-shop-card:hover {
  transform: translateY(-3px);
}

.gc-shop-card-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--font-extrabold);
  color: #fff;
  overflow: hidden;
  background: var(--gc-bg);
  flex-shrink: 0;
}

.gc-shop-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gc-shop-card-name {
  display: block;
  font-size: 14px;
  font-weight: var(--font-bold);
  margin-bottom: 3px;
  white-space: nowrap;
}

.gc-shop-card-count {
  display: block;
  font-size: 12px;
  color: var(--gc-muted);
}

/* ===== Related Vouchers (legacy support) ===== */
.gc-related-vouchers {
  margin-top: var(--space-11);
  padding-top: var(--space-9);
  border-top: 2px solid var(--gc-border);
}

.gc-related-title {
  margin: 0 0 var(--space-8);
  font-size: 22px;
  font-weight: var(--font-bold);
  color: var(--gc-text);
}

/* ================================================
   Responsive
   ================================================ */

/* --- Mobile (max 768px) --- */
@media (max-width: 768px) {
  .gc-merchant-page {
    padding: 0 var(--space-6);
  }

  /* Banner stacks */
  .gc-merchant-banner {
    grid-template-columns: 1fr;
  }

  .gc-merchant-banner-right {
    min-height: 160px;
  }

  .gc-merchant-banner-left {
    padding: var(--space-8) var(--space-7);
  }

  /* Layout stacks */
  .gc-merchant-content {
    grid-template-columns: 1fr;
  }

  .gc-merchant-sidebar {
    position: static;
    order: 2;
  }

  /* Voucher card goes vertical */
  .gc-vcard {
    flex-direction: column;
    position: relative;
  }

  .gc-vcard-left {
    width: 100%;
    height: 40px;
    border-radius: 14px 14px 0 0;
    flex-direction: row;
    padding: var(--space-3) var(--space-6);
    gap: var(--space-4);
  }

  .gc-vcard-discount {
    font-size: 18px;
  }

  .gc-vcard-discount-label {
    font-size: 9px;
  }

  .gc-vcard-type {
    margin-top: 0;
  }

  .gc-vcard-mid {
    padding: 14px var(--space-5) 10px 56px;
  }

  .gc-vcard-title {
    white-space: normal;
  }

  .gc-vcard-desc {
    white-space: normal;
  }

  .gc-vcard-right {
    width: 100%;
    flex-direction: row;
    border-left: none;
    border-top: 1px solid #f3f3f3;
    padding: var(--space-6) var(--space-5);
    gap: var(--space-3);
    min-height: 64px;
    align-items: center;
  }

  .gc-vcard-cta {
    flex: 1;
    padding: var(--space-2) var(--space-2);
    font-size: 13px;
    border-radius: 8px;
    min-height: 0;
  }

  .gc-vcard-cta.code-btn {
    border-radius: 8px;
    border-right: 2px dashed var(--gc-text);
  }

  .gc-vcard-cta svg {
    display: none;
  }

  .gc-vcard-details-link {
    flex-shrink: 0;
    font-size: 10px;
  }

  .gc-vcard-logo {
    position: absolute;
    left: var(--space-5);
    top: 52px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-top: 0;
    background: var(--gc-surface);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    z-index: 1;
  }

  .gc-vcard-logo img {
    width: 32px;
    height: 32px;
  }

  .gc-vcard-expand {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  /* Newsletter inline */
  .gc-nl-inline {
    flex-direction: column;
  }

  /* Info grid stacks */
  .gc-info-grid {
    grid-template-columns: 1fr;
  }

  /* FAQ becomes 1 column */
  .gc-faq-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Small mobile (max 640px) --- */
@media (max-width: 640px) {
  .gc-merchant-banner-left {
    padding: var(--space-8) var(--space-7);
  }

  .gc-merchant-info-card {
    padding: var(--space-8);
  }

  .gc-seo-card {
    padding: var(--space-8);
  }
}

/* --- Tablet (min 769px) --- */
@media (min-width: 769px) {
  .gc-merchant-page {
    padding: 0 var(--space-7);
  }

  .gc-breadcrumbs {
    font-size: 14px;
  }

  .gc-merchant-banner {
    grid-template-columns: 1.6fr 1fr;
  }

  .gc-merchant-banner-left {
    padding: 36px var(--space-10);
  }

  .gc-shop-description {
    padding: var(--space-8);
    margin-top: var(--space-9);
  }

  .gc-shop-description-title {
    font-size: var(--text-xl);
    padding-left: var(--space-5);
  }

  .gc-shop-description-body {
    font-size: var(--text-base);
    line-height: 1.7;
  }
}

/* --- Desktop (min 1025px): 2-column layout --- */
@media (min-width: 1025px) {
  .gc-merchant-content {
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
  }

  .gc-merchant-sidebar {
    order: 1;
    position: sticky;
    top: 80px;
    align-self: start;
  }

  .gc-merchant-main {
    order: 2;
  }

  .gc-shop-description {
    padding: var(--space-10);
  }

  .gc-shop-description-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-8);
    padding-left: var(--space-6);
  }

  .gc-shop-description-body {
    font-size: 16px;
    line-height: 1.75;
  }
}
