:root {
  --pf-bg: #f3f6fb;
  --pf-ink: #0f172a;
  --pf-muted: #64748b;
  --pf-line: #dbe4ef;
  --pf-card: #ffffff;
  --pf-brand: #0f766e;
  --pf-brand-strong: #0d5f59;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--pf-bg);
  color: var(--pf-ink);
}

.site-content-box {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px 18px;
}

.site-footer {
  margin: 28px 0 0;
  overflow: hidden;
}

.site-content-box .container {
  max-width: 1120px !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a,
button,
input,
select,
textarea {
  transition: all 0.18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.35);
  outline-offset: 2px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.site-header {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  background: #fff;
  isolation: isolate;
  z-index: 120;
  position: sticky;
  top: 0;
}

.site-topbar a {
  font-weight: 600;
}

.site-head-main {
  gap: 12px;
}

.site-actions,
.site-actions .icon-action {
  overflow: visible;
}

.site-logo-mark {
  letter-spacing: -0.03em;
}

.site-logo-name {
  letter-spacing: -0.02em;
}

.site-search input {
  border: 1px solid transparent;
}

.site-search input:focus {
  border-color: #99f6e4;
}

.icon-action {
  border-radius: 12px;
  border: 1px solid transparent;
}

.icon-action:hover {
  background: #f8fafc;
  border-color: #dbe7f3;
}

.site-nav {
  scrollbar-width: thin;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  transition: width 0.2s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 109;
  background: rgba(15, 23, 42, 0.35);
}

.site-mobile-menu nav a {
  border-radius: 10px;
  padding-left: 10px;
}

.site-mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 68px;
  bottom: 0;
  z-index: 110;
  background: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
}

.site-mobile-menu nav a:hover {
  background: #f1f5f9;
}

.site-footer {
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.14), transparent 35%),
    #0b1324;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #5eead4;
}

.site-footer-bottom img {
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.03);
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  display: inline-block;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-secondary {
  background: #fff;
  color: #1f2937;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #d1d5db;
  display: inline-block;
}

.btn-secondary:hover {
  background: #f8fafc;
}

.input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  outline: none;
}

.input-field:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.card {
  background: var(--pf-card);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid #ecf1f7;
  overflow: hidden;
}

.cart-sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-sidebar-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  z-index: 190;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  box-shadow: -12px 0 30px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.is-open {
  transform: translateX(0);
}

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.cart-sidebar-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
}

.cart-sidebar-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.cart-sidebar-empty {
  color: var(--pf-muted);
  padding: 14px 4px;
  font-size: 14px;
}

.cart-sidebar-head {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-sidebar-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.cart-sidebar-close {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.cart-sidebar-close:hover {
  background: #f1f5f9;
}

.cart-sidebar-foot {
  padding: 14px 16px;
  border-top: 1px solid #e5e7eb;
}

.cart-sidebar-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-sidebar-subtotal-label {
  font-weight: 600;
}

.cart-sidebar-subtotal-value {
  font-weight: 700;
}

.cart-sidebar-thumb-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #f1f5f9;
}

.cart-sidebar-item-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.cart-sidebar-item-qty {
  color: #64748b;
  font-size: 12px;
  margin-top: 3px;
}

.cart-sidebar-item-price {
  font-weight: 700;
  font-size: 13px;
}

.sf-shell {
  max-width: 1280px;
}

.sf-header {
  border: 1px solid #d6e2f0;
  background:
    radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.12), transparent 48%),
    linear-gradient(135deg, #ffffff, #f6fbff);
  border-radius: 20px;
  padding: 20px;
}

.sf-filter {
  border: 1px solid #d8e3ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.sf-card {
  border: 1px solid #dbe5f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.sf-card:hover {
  transform: translateY(-2px);
}

.pd-pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.pd-pay-icons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  line-height: 1;
}

.pd-order-now {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.24);
}

.pd-order-now:hover {
  filter: brightness(1.03);
}

.pd-add-cart {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.pd-add-cart:hover {
  background: #f8fafc;
}

.lux-checkout {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d7e0ee;
  --card: #ffffff;
  --brand: #0f766e;
  --brand-2: #0ea5a4;
  --good: #16a34a;
  --soft-gold: #fef3c7;
  --gold: #92400e;
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 16px 48px;
  color: var(--ink);
}

.lux-banner {
  background:
    radial-gradient(circle at 0% 0%, rgba(14, 165, 164, 0.16), rgba(14, 165, 164, 0) 42%),
    radial-gradient(circle at 100% 0%, rgba(15, 118, 110, 0.18), rgba(15, 118, 110, 0) 40%),
    linear-gradient(135deg, #ffffff, #f7fbff);
  border: 1px solid #dbe5f1;
  border-radius: 20px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.lux-banner h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lux-banner p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.lux-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px;
  align-items: start;
}

.lux-left {
  display: grid;
  gap: 16px;
}

.lux-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  padding: 18px;
}

.lux-card h2 {
  margin: 0 0 12px;
  font-size: 1.14rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lux-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lux-col {
  min-width: 0;
}

.lux-col.full {
  grid-column: 1 / -1;
}

.lux-col label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.lux-input,
.lux-select,
.lux-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 11px;
  border: 1px solid #c8d4e3;
  background: #fff;
  padding: 10px 12px;
  font-size: 0.92rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lux-input:focus,
.lux-select:focus,
.lux-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.lux-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

.lux-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.lux-sec-head .meta {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.lux-pay-main {
  border: 1px solid #9be9c5;
  border-radius: 18px;
  background: linear-gradient(160deg, #f0fdf4, #ecfeff 52%, #f8fafc);
  padding: 14px;
  margin-bottom: 12px;
}

.lux-pay-main-inner {
  border: 1px solid #bdeed8;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.lux-pay-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lux-pay-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lux-chip {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.lux-chip.green {
  background: #d1fae5;
  color: #065f46;
}

.lux-chip.gold {
  background: var(--soft-gold);
  color: var(--gold);
}

.lux-pay-sub {
  margin: 5px 0 0;
  color: #475569;
  font-size: 0.86rem;
}

.lux-state {
  color: #059669;
  font-weight: 800;
  font-size: 0.78rem;
}

.lux-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.lux-icons span {
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  color: #334155;
  padding: 4px 8px;
}

.lux-pay-list {
  border: 1px solid #d8e2ef;
  border-radius: 18px;
  background: #f8fafd;
  padding: 14px;
}

.lux-pay-list h3 {
  margin: 0;
  font-size: 1.18rem;
}

.lux-pay-note {
  margin: 4px 0 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.lux-method {
  border: 1px solid #d4deeb;
  border-radius: 12px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  margin-bottom: 9px;
}

.lux-method:last-of-type {
  margin-bottom: 0;
}

.lux-method-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lux-method-main strong {
  font-size: 0.98rem;
}

.lux-avail {
  color: #0f9f6e;
  font-size: 0.8rem;
  font-weight: 700;
}

.lux-summary {
  position: sticky;
  top: 176px;
  max-height: calc(100vh - 196px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 164, 0.12), transparent 44%),
    #ffffff;
}

.lux-legal {
  margin-top: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.lux-legal a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
}

.lux-legal a:hover {
  color: #115e59;
}

.lux-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.9rem;
}

.lux-line small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.lux-total {
  border-top: 1px solid #d9e3f0;
  margin-top: 8px;
  padding-top: 10px;
}

.lux-total .sum {
  font-size: 1.1rem;
  font-weight: 800;
}

.lux-btn {
  margin-top: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 20px rgba(14, 116, 144, 0.25);
}

.lux-btn:hover {
  filter: brightness(1.03);
}

.lux-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.lux-empty {
  background: #fff;
  border: 1px solid #d9e3f1;
  border-radius: 14px;
  padding: 18px;
}

.lux-empty a {
  color: var(--good);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .site-content-box {
    padding: 0 0 14px;
  }

  .lux-grid {
    grid-template-columns: 1fr;
  }

  .lux-summary {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (min-width: 1081px) and (max-width: 1340px) {
  .lux-summary {
    top: 160px;
    max-height: calc(100vh - 180px);
  }
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-content-box {
    position: relative;
    z-index: 1;
  }

  .lux-banner h1 {
    font-size: 1.7rem;
  }

  .lux-row {
    grid-template-columns: 1fr;
  }

  .site-head-main {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-logo-mark {
    font-size: 1.35rem;
  }

  .site-logo-name {
    font-size: 1rem;
  }

  .site-actions {
    gap: 0.4rem;
  }

  .site-mobile-menu {
    top: 68px;
    max-height: calc(100vh - 68px);
  }

  .site-footer {
    margin-top: 2.5rem;
  }
}
