﻿/* Restored checkout styles from pre-Emre storefront */

.cart-stock-warning {
  font-size: 12px;
  color: #666;
}

.checkout-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  min-height: 60px;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 30;
}

.checkout-header-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #666;
}

.checkout-header-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2d6a4f;
  font-weight: 500;
}

.checkout-header-trust__sep {
  color: #ccc;
}

.checkout-header-trust__back {
  color: #555;
  text-decoration: none;
  font-size: 12px;
}

.checkout-header-trust__back:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .checkout-site-header {
    padding: 0 14px;
    min-height: 52px;
  }

  .checkout-header-trust__sep,
  .checkout-header-trust__item {
    display: none;
  }
}

.free-shipping-bar {
  padding: 16px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.free-shipping-bar--done {
  background: linear-gradient(135deg, #ecfdf5 0%, #a7f3d0 100%);
  border-color: #6ee7b7;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.15);
  animation: barGlow 2s infinite alternate;
}

@keyframes barGlow {
  0% {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  }
  100% {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
  }
}

.free-shipping-bar__text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #14532d;
  margin-bottom: 10px;
  line-height: 1.4;
}

.free-shipping-bar__icon {
  flex-shrink: 0;
  color: #16a34a;
  animation: truckDrive 1.5s infinite ease-in-out;
}

@keyframes truckDrive {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px) translateY(-1px); }
}

.free-shipping-bar__icon--done {
  color: #059669;
  animation: checkPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes checkPop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.free-shipping-bar__track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.free-shipping-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: 99px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.free-shipping-bar__fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0) 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cart-panel,
.auth-form {
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  background: #fff;
  padding: 22px;
}

.auth-form {
  border: none;
  padding: 0;
}

.cart-lines {
  display: grid;
  gap: 0;
  border-top: 1px solid #eeeeee;
}

.cart-line,
.total-row {
  display: grid;
  align-items: center;
  gap: 12px;
}

.cart-line {
  grid-template-columns: minmax(0, 1fr) auto auto 36px;
  min-height: 72px;
  border-bottom: 1px solid #eeeeee;
  padding: 12px 0;
}

.cart-line-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-line-variant {
  font-size: 0.82rem;
  color: #888;
}

.cart-line-unit {
  font-size: 0.82rem;
  color: #aaa;
}

.cart-line-error {
  font-size: 0.82rem;
  color: #b42318;
}

.cart-line-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  height: 36px;
}

.qty-btn {
  width: 34px;
  height: 36px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}

.qty-btn:hover:not(:disabled) { background: #f3f4f6; }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line-total {
  color: #111111;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.cart-remove-btn:hover:not(:disabled) { color: #dc2626; background: #fee2e2; }
.cart-remove-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.discount-row strong { color: #16a34a; }

.cart-line strong,
.cart-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-line span,
.total-row span,
.auth-switch {
  color: #777777;
}

.cart-line b {
  color: #111111;
  text-align: right;
}

.total-row {
  grid-template-columns: 1fr auto;
}

.total-row.grand {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
  font-size: 17px;
  font-weight: 500;
}

.checkout-auth {
  display: grid;
  gap: 10px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--surface-background);
  color: var(--text-strong);
  padding: 0 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.15s;
}

.secondary-link:hover {
  border-color: var(--text-strong);
}


.auth-form label,
.field-grid {
  display: grid;
  gap: 7px;
}

.auth-form label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  background: var(--surface-background);
  transition: border-color 0.15s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--text-strong);
}

.field-grid.two {
  grid-template-columns: 1fr 1fr;
}

.field-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.auth-switch {
  margin: 0;
  font-size: 14px;
}

.auth-switch a {
  color: var(--text-strong);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-inline-link {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #777777;
  line-height: 1.5;
  margin-top: 4px;
}

.auth-consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #111111;
}

.auth-consent-label a {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
}

.guest-note {
  color: #777777;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-main {
  background: #fff;
  min-height: calc(100vh - 64px);
  --page-background: #fff;
  --surface-background: #fff;
}

body:has(.checkout-main) {
  background: #fff;
}

.checkout-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 28px;
  align-items: start;
  font-family: var(--font-montserrat, "Montserrat", "Jost", sans-serif);
}

.checkout-form,
.checkout-summary,
.checkout-success {
  display: grid;
  gap: 18px;
  min-width: 0;
  font-family: var(--font-montserrat, "Montserrat", sans-serif);
}

.checkout-success {
  max-width: 760px;
}

.checkout-form section,
.checkout-summary,
.checkout-success {
  border: 1px solid #ebebeb;
  border-radius: 14px;
  background: var(--surface-background);
  padding: 28px 28px 24px;
}

.checkout-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f0f0f0;
  margin-bottom: 8px;
}

.checkout-title h2,
.checkout-summary h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #111;
  font-family: var(--font-montserrat, sans-serif);
}

.checkout-title a,
.checkout-title span {
  color: #888;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-customer-state {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1.5px solid #ebebeb;
  border-radius: 10px;
  background: #fff;
}

.checkout-customer-state strong {
  color: #111;
  font-size: 13px;
  font-weight: 600;
}

.checkout-customer-state p {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.65;
}

.checkout-customer-state.is-customer {
  border-color: var(--line-soft);
  background: var(--page-background);
}

.checkout-customer-state.is-guest {
  border-color: rgba(107, 79, 58, 0.2);
  background: var(--page-background);
}

.checkout-inline-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #444 !important;
  font-size: 13px;
  font-weight: 400 !important;
  line-height: 1.6;
  cursor: pointer;
  letter-spacing: 0;
}

.checkout-inline-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  border: 1.5px solid var(--line-soft);
  background: var(--surface-background);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

.checkout-inline-check input[type="checkbox"]:checked {
  border-color: var(--text-strong);
  background: var(--text-strong);
}

.checkout-inline-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.checkout-trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft, #ececec);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  color: #2d6a4f;
  flex-shrink: 0;
}

.trust-badge--cards {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.trust-card-logo {
  width: 32px;
  height: 20px;
  border-radius: 3px;
}

.checkout-note-section {
  border-color: var(--line-soft) !important;
}

.checkout-note-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--theme-input-border, #e0e0e0);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-strong);
  background: var(--theme-input-bg, #fff);
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
  transition: border-color 0.15s;
}

.checkout-note-textarea:focus {
  outline: none;
  border-color: var(--theme-input-focus, #17253b);
}

.checkout-legal-section {
  border-color: var(--line-soft) !important;
  background: var(--page-background) !important;
}

.checkout-legal-documents {
  display: grid;
  gap: 14px;
}

.checkout-legal-documents article {
  border: 1px solid var(--line-soft);
  background: var(--surface-background);
  padding: 14px;
}

.checkout-legal-documents h3 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-legal-scroll {
  max-height: 160px;
  overflow-y: auto;
  padding-right: 10px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  scrollbar-width: thin;
  scrollbar-color: var(--line-soft) transparent;
}

.checkout-legal-scroll p {
  margin: 0 0 10px;
}

.checkout-legal-scroll p:last-child {
  margin-bottom: 0;
}

.checkout-legal-check {
  margin-top: 14px;
  align-items: flex-start;
  line-height: 1.5;
}

.checkout-legal-check a {
  color: var(--text-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-billing-block {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  background: var(--page-background);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-billing-label {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--text-muted);
}

.checkout-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 5px;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-montserrat, sans-serif);
  font-size: 14px;
  font-weight: 400;
  background: #fff;
  color: #111;
  transition: border-color 0.18s, box-shadow 0.18s;
  text-transform: none;
  letter-spacing: 0;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #b0b0b0;
  font-weight: 400;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.checkout-form textarea {
  resize: vertical;
  min-height: 90px;
}

.shipping-option,
.payment-option {
  display: grid;
  align-items: center;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.shipping-option {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.payment-option {
  grid-template-columns: auto minmax(0, 1fr);
}

.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.shipping-option input[type="radio"],
.payment-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  border: 1.5px solid var(--line-soft);
  border-radius: 50%;
  background: var(--surface-background);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
  flex-shrink: 0;
}

.shipping-option input[type="radio"]:checked,
.payment-option input[type="radio"]:checked {
  border-color: var(--text-strong);
}

.shipping-option input[type="radio"]:checked::after,
.payment-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-strong);
}

.shipping-option span,
.payment-option span {
  display: grid;
  gap: 3px;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.shipping-option small,
.payment-option small,
.checkout-item small,
.checkout-item span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
}

.payment-options {
  display: grid;
  gap: 8px;
}

.checkout-address-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-address-card {
  position: relative;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.checkout-address-card.selected {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.checkout-address-card.editing {
  border-color: var(--text-muted);
}

.checkout-address-card-select {
  flex: 1;
  display: grid;
  gap: 8px;
  padding: 14px 14px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.checkout-address-edit-btn {
  align-self: flex-end;
  margin: 0 14px 12px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  transition: color 0.12s;
}

.checkout-address-edit-btn:hover {
  color: var(--text-strong);
}

.checkout-address-edit-form {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.checkout-address-edit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkout-address-edit-close {
  border: 0;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: #777777;
  line-height: 1;
  padding: 4px;
}

.checkout-address-edit-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.checkout-address-edit-actions .primary-link,
.checkout-address-edit-actions .secondary-link {
  min-height: 40px;
  font-size: 13px;
  padding: 0 18px;
}

.checkout-address-card.new-address {
  cursor: pointer;
  padding: 14px;
  gap: 8px;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed var(--line-soft);
  background: transparent;
  transition: border-color 0.15s;
}

.checkout-address-card.new-address:hover,
.checkout-address-card.new-address.selected {
  border-color: var(--text-strong);
}

.checkout-address-card.new-address strong {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 500;
}

.payment-preview-note {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  background: var(--page-background);
  display: grid;
  gap: 4px;
}

.payment-preview-note strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-strong);
}

.payment-preview-note p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

.paytr-card-fields {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}

.payment-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}

.coupon-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.coupon-form label {
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coupon-form label span,
.coupon-applied {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coupon-form input {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 9px 12px;
  font: inherit;
  font-size: 14px;
  background: var(--surface-background);
  transition: border-color 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coupon-form input:focus {
  outline: none;
  border-color: var(--text-strong);
}

.coupon-form button {
  min-height: 42px;
  border: 1px solid var(--text-strong);
  border-radius: 0;
  background: var(--text-strong);
  color: #fff;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.coupon-form button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.coupon-applied {
  justify-content: space-between;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.coupon-applied button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.total-row.discount strong {
  color: #111111;
}

.checkout-summary {
  position: sticky;
  top: 88px;
}

.checkout-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.checkout-item div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.checkout-item strong,
.checkout-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-success p {
  color: var(--text-muted);
  line-height: 1.65;
}

.payment-summary-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 16px;
  background: var(--page-background);
}

.payment-detail-block {
  display: grid;
  gap: 16px;
  width: min(100%, 980px);
}

.guest-detail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line-soft);
  padding: 16px;
  background: var(--page-background);
}

.guest-detail-head h2 {
  margin: 0;
  font-size: 22px;
}

.guest-detail-head span {
  color: var(--text-muted);
  font-size: 13px;
  word-break: break-word;
}

.guest-lookup-fallback {
  display: grid;
  gap: 14px;
}

.guest-lookup-fallback > p {
  margin: 0;
  color: var(--text-muted);
}

.payment-retry-card {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 16px;
  background: var(--page-background);
}

.payment-retry-button {
  width: 100%;
  justify-content: center;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.summary-grid div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.summary-grid span,
.tracking-box span,
.summary-item-row span {
  color: var(--text-muted);
  font-size: 13px;
}

.summary-grid strong,
.tracking-box strong,
.summary-item-row strong {
  color: #111111;
}

.tracking-box {
  display: grid;
  gap: 6px;
  border-top: 1px solid #e8e8e8;
  padding-top: 14px;
}

.tracking-box a {
  color: #111111;
  font-weight: 800;
}

.summary-items {
  display: grid;
  gap: 8px;
  border-top: 1px solid #e8e8e8;
  padding-top: 14px;
}

.summary-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.summary-item-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* â”€â”€ New section types â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */


.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 0;
}

.two-column.layout-image_left img,
.two-column.layout-image_left .two-column-placeholder {
  order: -1;
}

.two-column-text {
  display: grid;
  gap: 16px;
}

.two-column-text p:not(.eyebrow) {
  color: #777777;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.two-column-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.two-column-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #f5f5f5;
  border: 1px dashed #d8d8d8;
}

/* â”€â”€â”€ Advanced section controls â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 767px) {
  .adv-hide-mobile  { display: none !important; }
  .adv-has-mobile-width { width: var(--adv-mobile-width, 100%); margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .adv-hide-tablet  { display: none !important; }
}
@media (min-width: 1024px) {
  .adv-hide-desktop { display: none !important; }
}
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€â”€ Scroll Animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes adv-fadeIn       { from { opacity: 0 }              to { opacity: 1 } }
@keyframes adv-fadeInUp     { from { opacity: 0; transform: translateY(30px) }  to { opacity: 1; transform: translateY(0) } }
@keyframes adv-fadeInDown   { from { opacity: 0; transform: translateY(-30px) } to { opacity: 1; transform: translateY(0) } }
@keyframes adv-fadeInLeft   { from { opacity: 0; transform: translateX(-30px) } to { opacity: 1; transform: translateX(0) } }
@keyframes adv-fadeInRight  { from { opacity: 0; transform: translateX(30px) }  to { opacity: 1; transform: translateX(0) } }
@keyframes adv-zoomIn       { from { opacity: 0; transform: scale(0.85) }       to { opacity: 1; transform: scale(1) } }
@keyframes adv-slideUp      { from { transform: translateY(40px) }              to { transform: translateY(0) } }

.adv-anim-fadeIn      { animation: adv-fadeIn      var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-fadeInUp    { animation: adv-fadeInUp    var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-fadeInDown  { animation: adv-fadeInDown  var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-fadeInLeft  { animation: adv-fadeInLeft  var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-fadeInRight { animation: adv-fadeInRight var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-zoomIn      { animation: adv-zoomIn      var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
.adv-anim-slideUp     { animation: adv-slideUp     var(--adv-anim-dur, 0.6s) var(--adv-anim-delay, 0s) both }
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* â”€â”€â”€ Icon Boxes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.icon-boxes-section {
  padding: 64px 40px;
}

.icon-boxes-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.icon-boxes-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.icon-boxes-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  max-width: 600px;
}

.icon-boxes-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.icon-boxes-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icon-boxes-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-boxes-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.icon-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: box-shadow 0.2s;
}

.icon-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.icon-box-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.icon-style-circle { border-radius: 50%; }
.icon-style-square  { border-radius: 8px; }
.icon-style-none    { background: transparent !important; }

.icon-box-body { display: grid; gap: 6px; }

.icon-box-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #111827;
}

.icon-box-text {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .icon-boxes-section { padding: 40px 20px; }
  .icon-boxes-grid.cols-2,
  .icon-boxes-grid.cols-3,
  .icon-boxes-grid.cols-4 { grid-template-columns: 1fr; }
}
/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.newsletter-section {
  border-radius: 0;
  padding: 60px 28px;
}

.newsletter-inner {
  display: grid;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner p:not(.eyebrow) {
  color: #777777;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.newsletter-form input {
  flex: 1;
  min-height: 46px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}

.newsletter-form button {
  min-height: 46px;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #fff;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #333333;
}

.instagram-section {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.instagram-head {
  align-items: end;
}

.instagram-head p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 8px;
  color: #686868;
}

.instagram-follow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #111111;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.instagram-section.cols-3 .instagram-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instagram-section.cols-4 .instagram-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.instagram-grid a,
.instagram-empty {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f3f3f3;
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.instagram-grid a:hover img {
  transform: scale(1.04);
}

.instagram-empty {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed #d8d8d8;
  color: #777777;
  font-size: 14px;
  text-align: center;
}

.cms-page {
  padding: 32px 20px 40px;
}

.cms-page--inner {
  padding-bottom: 24px;
}

.cms-page--contact {
  padding-top: 40px;
  padding-bottom: 16px;
}

.cms-page-inner {
  max-width: 840px;
  margin: 0 auto;
}

.cms-page--contact .cms-page-inner {
  max-width: 720px;
}

.cms-page-inner h1 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.cms-page--contact .cms-page-inner h1 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.cms-page--inner:not(.cms-page--contact) .cms-page-inner h1 {
  margin-bottom: 24px;
}

.cms-page--contact ~ .columns-section {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

.cms-page-content {
  color: #333333;
  font-size: 1rem;
  line-height: 1.8;
}

.cms-page-content > * + * {
  margin-top: 1em;
}

.cms-page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111111;
  margin-top: 2em;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.cms-page-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111111;
  margin-top: 1.75em;
  margin-bottom: 0.4em;
  line-height: 1.35;
}

.cms-page-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  margin-top: 1.5em;
  margin-bottom: 0.35em;
}

.cms-page-content p {
  margin: 0;
}

.cms-page-content p:empty,
.cms-page-content p > br:only-child {
  display: none;
}

.cms-page-content ul,
.cms-page-content ol {
  padding-left: 1.5rem;
  margin: 0;
}

.cms-page-content li + li {
  margin-top: 0.25em;
}

.cms-page-content a {
  color: #214f43;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cms-page-content a:hover {
  opacity: 0.75;
}

.cms-page-content strong, .cms-page-content b { font-weight: 700; }
.cms-page-content em, .cms-page-content i { font-style: italic; }

.cms-page-content blockquote {
  border-left: 3px solid #214f43;
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
  background: #f9fafb;
  color: #4b5563;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

.cms-page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.cms-page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.cms-page-content th,
.cms-page-content td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}

.cms-page-content th {
  background: #f3f4f6;
  font-weight: 600;
  color: #111827;
}

.cms-page-content tr:last-child td { border-bottom: none; }
.cms-page-content td:last-child, .cms-page-content th:last-child { border-right: none; }

.cms-page-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}

.cms-page-content pre,
.cms-page-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 0.125em 0.375em;
}

.cms-page-content pre {
  padding: 1em 1.25em;
  overflow-x: auto;
}

.rich-section.align-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.image-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  border-radius: 0;
  overflow: hidden;
}

.image-banner.layout-image_left img {
  order: -1;
}

.image-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  object-fit: cover;
}

.image-banner.layout-image_right img {
  order: 2;
}

.image-banner > div {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.image-banner > div p {
  color: #777777;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 980px) {
  main {
    padding: 0 20px 40px;
  }

  .image-slider-frame {
    margin-left: -20px;
    margin-right: -20px;
  }

  .hero,
  .product-detail,
  .cart-layout,
  .checkout-page,
  .two-column,
  .image-banner {
    grid-template-columns: 1fr;
  }

  .two-column {
    padding: 28px;
    gap: 24px;
  }

  .instagram-section {
    padding: 24px 18px;
  }

  .instagram-head {
    align-items: start;
  }

  .instagram-grid,
  .instagram-section.cols-3 .instagram-grid,
  .instagram-section.cols-4 .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column.layout-image_left img,
  .two-column.layout-image_left .two-column-placeholder {
    order: 0;
  }

  h1 {
    font-size: 40px;
  }

  /* Default mobile grid: 2 cols. Override with mob-cols-1 / mob-cols-2 */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.mob-cols-1 { grid-template-columns: 1fr; }
  .product-grid.mob-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .linked-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .summary {
    position: static;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .checkout-address-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  main {
    padding: 16px;
  }

  .announcement-bar {
    margin-left: -16px;
    margin-right: -16px;
  }

  .image-slider-frame {
    margin-left: -16px;
    margin-right: -16px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 32px;
  }

  .hero {
    min-height: auto;
  }

  .product-detail {
    gap: 24px;
    padding-inline: 0;
  }

  .gallery {
    gap: 8px;
  }

  .gallery-thumbs {
    flex: 0 0 60px;
    max-height: 480px;
  }

  .gallery-thumbs button {
    width: 60px;
  }

  .summary {
    gap: 16px;
  }

  .product-summary-head h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .price-line strong {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .buy-button {
    min-height: 48px;
    font-size: 12px;
  }

  .product-tabs-btn {
    padding: 0 18px;
    font-size: 12px;
  }

  .product-tabs-panel {
    padding: 24px 0;
    font-size: 14px;
  }

  .hero:not(.hero-style-immersive) img {
    height: auto;
  }

  .hero.hero-style-immersive > img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
  }

  .category-strip,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid.mob-cols-1 { grid-template-columns: 1fr; }
  .product-grid.mob-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cart-panel,
  .checkout-form section,
  .checkout-summary,
  .checkout-success {
    padding: 16px;
  }

  .cart-line {
    grid-template-columns: minmax(0,1fr) auto auto 36px;
    padding: 12px 0;
  }

  .cart-line b {
    text-align: left;
  }

  .field-grid.two {
    grid-template-columns: 1fr;
  }

  .field-grid.three {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .summary-item-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header,
  main {
    padding: 10px;
  }

  .announcement-bar,
  .image-slider-frame {
    margin-left: -10px;
    margin-right: -10px;
  }
}


/* Supporting utilities for restored /odeme checkout */

.primary-link,
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: var(--theme-button-primary-radius, 0);
  background: var(--hero-button-background, var(--theme-button-primary-bg, #1a1714));
  color: var(--hero-button-color, var(--theme-button-primary-text, #fff));
  padding: 0 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.empty {
  display: grid;
  gap: 6px;
  border: 1px solid var(--theme-color-border, #e8e2da);
  border-radius: 0;
  background: var(--theme-color-surface, #fdfbf8);
  padding: 18px;
}

.cart-notice,
.cart-error {
  margin: 0;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
}

.cart-notice {
  background: #f0f4f0;
  color: #2d6a4f;
}

.cart-error {
  background: #fdeceb;
  color: #8a1f17;
}

.acct-addr-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.acct-default-tag {
  font-size: 11px;
  font-weight: 700;
  background: #eeeeee;
  color: #111111;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.acct-addr-text {
  margin: 0;
  color: #777777;
  font-size: 14px;
  line-height: 1.6;
}

.manual-neighborhood-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.manual-neighborhood-wrapper input {
  padding-right: 110px !important;
}

.manual-neighborhood-switch-btn {
  position: absolute;
  right: 8px;
  background: var(--text-strong, #111);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.15s, background-color 0.15s;
}

.manual-neighborhood-switch-btn:hover {
  opacity: 0.9;
  background: var(--theme-input-focus, #17253b);
}

.cart-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--text-muted, #777);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
