/* ===== OML SHOP ===== */
.shop-wrap [hidden] { display: none !important; }
.form-feedback { min-height: 1.5em; color: #a7f3d0; line-height: 1.6; overflow-wrap: anywhere; }
.form-feedback.error, #order-feedback { color: #fcd34d; }
.admin-login-card { margin-top: 24px; border-color: rgba(79, 195, 247, 0.4); }
.auth-card [data-code-step] { display: grid; gap: 12px; }
.shop-wrap button:disabled { opacity: 0.55; cursor: wait; }
.admin-box { min-width: 0; }
.admin-box input[type="checkbox"] { width: auto; margin-right: 8px; }
#cat-list, #prod-list, #order-list { overflow-x: auto; margin-top: 16px; }
#admin-feedback { position: sticky; top: 85px; z-index: 5; background: #0f172a; border-radius: 8px; padding: 12px; }
#import-result { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  #prod-form { grid-template-columns: 1fr !important; }
  .account-panels { min-width: 0; }
}
.shop-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px 80px;
}

/* Dedicated catalog pages */
body[data-shop-line] {
  --line-accent: #7dd3fc;
}

body[data-shop-line="gaming"] {
  --line-accent: #fbbf24;
}

body[data-shop-line] .line-hero {
  margin-bottom: 44px;
}

body[data-shop-line] .line-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 42px);
}

.line-hero-title span {
  display: block;
  margin-top: 20px;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.22;
  color: #f1f5f9;
  letter-spacing: -0.025em;
}

.line-product-preview {
  margin: 0 0 6px;
  min-width: 0;
}

.line-product-preview img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f7fa;
  padding: 12px;
}

.line-product-preview figcaption {
  color: #b9c9db;
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 8px;
}

.ebay-badge-copy strong .ebay-wordmark {
  display: inline-flex;
  font-size: 1.3rem;
  letter-spacing: -0.06em;
}

.ebay-wordmark i { font-style: normal; }
.ebay-wordmark i:nth-child(1) { color: #ff7077; }
.ebay-wordmark i:nth-child(2) { color: #70b6ff; }
.ebay-wordmark i:nth-child(3) { color: #ffd45c; }
.ebay-wordmark i:nth-child(4) { color: #a3d85e; }

.ebay-store-description {
  color: #c6d3e2;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.catalog-heading h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.025em;
}

.catalog-heading > p {
  color: #b9c9db;
  font-size: 0.85rem;
  line-height: 1.6;
}

body[data-shop-line] .line-hero-kicker,
body[data-shop-line] .shop-cat { color: var(--line-accent); }

.shop-toolbar.shop-toolbar-line {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: #0d1625;
  align-items: end;
}

.catalog-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
}

.shop-toolbar-line .shop-result-count { grid-column: 1 / -1; }

body[data-shop-line] .shop-card { background: #101a2b; }
body[data-shop-line] .shop-card-media { background: #f5f7fa; }
body[data-shop-line] .shop-card-media img { height: 250px; padding: 18px; }
body[data-shop-line] .shop-card-body { padding: 22px; }
body[data-shop-line] .shop-card-meta { flex-wrap: wrap; }
body[data-shop-line] .shop-card-footer { flex-wrap: wrap; }
body[data-shop-line] .shop-card-actions { flex-grow: 1; }
body[data-shop-line] #catalogo { scroll-margin-top: 110px; }

body[data-shop-line] a:focus-visible,
body[data-shop-line] button:focus-visible {
  outline: 3px solid var(--line-accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-shop-line] #bg-video { display: none; }
  body[data-shop-line] .shop-card { transition: none; }
  body[data-shop-line] .shop-card:hover { transform: none; }
}

.shop-hero-note {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.25);
  color: var(--gray-text);
  line-height: 1.6;
}

.shop-hero-note a { color: var(--primary-color); }

.line-hero {
  max-width: 1200px;
  margin: 28px auto 10px;
  padding: 0 30px;
}

.line-hero-inner {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.line-hero-copy {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  backdrop-filter: blur(16px);
}

.line-hero-pro .line-hero-copy {
  background:
    linear-gradient(145deg, rgba(79, 195, 247, 0.12), rgba(10, 14, 25, 0.72)),
    var(--card-bg);
  border-color: rgba(79, 195, 247, 0.28);
}

.line-hero-gaming .line-hero-copy {
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.12), rgba(10, 14, 25, 0.72)),
    var(--card-bg);
  border-color: rgba(251, 191, 36, 0.28);
}

.line-hero-kicker {
  margin: 0 0 10px;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-hero-gaming .line-hero-kicker { color: #fbbf24; }

.line-hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.line-hero-subtitle {
  margin: 0 0 16px;
  color: #dbe6f2;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 54ch;
}

.line-hero-points {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.line-hero-points li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-text);
  line-height: 1.55;
}

.line-hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.16);
}

.line-hero-gaming .line-hero-points li::before {
  background: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.16);
}

.line-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.line-hero-actions .btn { text-decoration: none; }

.line-hero-aside { min-height: 100%; }


.shop-intro {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 18px;
  margin-bottom: 28px;
  align-items: stretch;
}

.shop-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}

.shop-hub-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.shop-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: 0 16px 40px rgba(79, 195, 247, 0.12);
}

.shop-hub-card.pro {
  background: linear-gradient(150deg, rgba(79, 195, 247, 0.12), rgba(10, 14, 25, 0.75));
}

.shop-hub-card.gaming {
  background: linear-gradient(150deg, rgba(251, 191, 36, 0.12), rgba(10, 14, 25, 0.75));
}

.shop-hub-card h2 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
}

.shop-hub-card p {
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

.shop-hub-card .hub-kicker {
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-hub-card.gaming .hub-kicker { color: #fbbf24; }

.shop-intro-main,
.shop-ebay-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  backdrop-filter: blur(16px);
}

.shop-intro-lead {
  color: #e8eef7;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.shop-intro-points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.shop-intro-points li {
  position: relative;
  padding-left: 22px;
  color: var(--gray-text);
  line-height: 1.55;
  font-size: 0.95rem;
}

.shop-intro-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.18);
}

.shop-ebay-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(160deg, rgba(0, 100, 210, 0.16), rgba(10, 14, 25, 0.55)),
    var(--card-bg);
  border-color: rgba(0, 100, 210, 0.35);
}

.ebay-top-seller {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ebay-badge-icon {
  flex: 0 0 auto;
  display: inline-flex;
  filter: drop-shadow(0 6px 16px rgba(0, 100, 210, 0.35));
}

.ebay-badge-copy {
  display: grid;
  gap: 2px;
}

.ebay-badge-copy strong {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.ebay-badge-copy span {
  color: var(--gray-text);
  font-size: 0.86rem;
  line-height: 1.4;
}

.ebay-find-us {
  margin: 0;
  color: #dbe7f5;
  font-weight: 700;
  font-size: 0.95rem;
}

.ebay-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ebay-links .btn {
  text-decoration: none;
  justify-content: center;
}

.shop-catalog {
  display: grid;
  gap: 34px;
}

.shop-line-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-line-kicker {
  margin: 0 0 6px;
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-line-title {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.shop-line-desc {
  margin: 0;
  max-width: 62ch;
  color: var(--gray-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

.shop-line-count {
  flex: 0 0 auto;
  color: #cfe7f8;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.shop-line-pro .shop-line-kicker { color: #7dd3fc; }
.shop-line-gaming .shop-line-kicker { color: #fbbf24; }
.shop-line-gaming .shop-line-count {
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.28);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 28px;
  align-items: center;
}

.shop-toolbar input,
.shop-toolbar select,
.order-form input,
.order-form select,
.order-form textarea,
.auth-card input,
.auth-card select,
.auth-card textarea,
.qty-label input,
.cart-qty input,
.admin-box input,
.admin-box select,
.admin-box textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #f8fafc;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color-scheme: dark;
}

.shop-toolbar select,
.order-form select,
.auth-card select,
.admin-box select,
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #0f172a;
  background-image:
    linear-gradient(45deg, transparent 50%, #7dd3fc 50%),
    linear-gradient(135deg, #7dd3fc 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.shop-toolbar select option,
.order-form select option,
.auth-card select option,
.admin-box select option,
select option {
  background-color: #0f172a;
  color: #f8fafc;
}

.shop-toolbar input:focus,
.shop-toolbar select:focus,
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.auth-card input:focus,
.auth-card select:focus,
.cart-qty input:focus,
.admin-box input:focus,
.admin-box select:focus,
.admin-box textarea:focus {
  outline: none;
  border-color: rgba(79, 195, 247, 0.7);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.18);
  background-color: #111827;
  color: #ffffff;
}

.shop-result-count {
  color: var(--gray-text);
  font-size: 0.92rem;
  white-space: nowrap;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}

.shop-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.shop-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-hover-border);
  box-shadow: 0 18px 50px rgba(79, 195, 247, 0.12);
}

.shop-card-media {
  position: relative;
  display: block;
  background: linear-gradient(160deg, rgba(79, 195, 247, 0.08), rgba(10, 14, 25, 0.9));
  min-height: 190px;
}

.shop-card-media img,
.product-detail-media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 18px;
}

.shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.shop-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.shop-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.shop-cat {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shop-stock { color: var(--gray-text); }
.shop-stock.stock-disponibile { color: #6ee7b7; }
.shop-stock.stock-su_ordine { color: #fbbf24; }

.shop-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.shop-card h3 a {
  color: inherit;
  text-decoration: none;
}

.shop-card-desc {
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.shop-mini-specs {
  list-style: none;
  display: grid;
  gap: 4px;
  color: #cfd8e3;
  font-size: 0.86rem;
  margin: 4px 0 8px;
}

.shop-mini-specs li::before {
  content: '▹ ';
  color: var(--primary-color);
}

.shop-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: auto;
}

.shop-price {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-price small {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-text);
  font-weight: 500;
  margin-top: 2px;
}

.shop-price.xl { font-size: 2rem; margin: 8px 0 16px; }

.shop-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-sm {
  padding: 10px 14px !important;
  font-size: 13px !important;
  border: none;
  cursor: pointer;
}

button.btn { border: none; cursor: pointer; font: inherit; }

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.shop-empty h2 { margin-bottom: 10px; }
.shop-empty p { color: var(--gray-text); margin-bottom: 20px; }

/* product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.product-detail-media {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-media img {
  height: 320px;
}

.product-detail-info h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 10px 0 12px;
}

.product-lead {
  color: var(--gray-text);
  line-height: 1.7;
}

.product-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0 12px;
}

.qty-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-text);
}

.qty-label input { width: 72px; }

.order-hint {
  color: var(--gray-text);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 10px 0;
}

.ebay-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.product-specs-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.product-specs-box h2 { margin-bottom: 16px; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-table th {
  width: 140px;
  color: var(--gray-text);
  font-weight: 600;
}

.product-desc { color: var(--gray-text); line-height: 1.7; margin-bottom: 14px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(79, 195, 247, 0.12);
  color: var(--primary-color);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.cart-list,
.cart-summary,
.auth-card,
.account-panel,
.order-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-row img {
  width: 84px;
  height: 72px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.cart-info h3 { font-size: 1rem; margin-bottom: 4px; }
.cart-info h3 a { color: inherit; text-decoration: none; }
.cart-info p { color: var(--gray-text); font-size: 0.88rem; }

.link-btn {
  background: none;
  border: none;
  color: #f87171;
  cursor: pointer;
  padding: 0;
  margin-top: 6px;
  font: inherit;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-qty button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.cart-qty input {
  width: 54px;
  text-align: center;
  padding: 8px;
}

.cart-line-price {
  font-weight: 700;
  min-width: 90px;
  text-align: right;
}

.cart-summary { padding: 22px; position: sticky; top: 100px; }
.cart-summary h2 { margin-bottom: 16px; font-size: 1.25rem; }

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--gray-text);
}

.sum-row.total {
  color: #fff;
  font-size: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  margin-top: 12px;
}

.order-form,
.auth-card {
  display: grid;
  gap: 12px;
}

.order-form label,
.auth-card label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.login-needed {
  background: rgba(79, 195, 247, 0.08);
  border: 1px dashed rgba(79, 195, 247, 0.35);
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}

.login-needed p { color: var(--gray-text); margin-bottom: 12px; }

/* account */
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.auth-card { padding: 24px; }
.auth-grid > .auth-card { align-content: start; min-width: 0; }
.auth-card.flat { border: none; background: transparent; padding: 0; }
.auth-card h2 { margin-bottom: 6px; }
.muted { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 8px; }

.account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
}

.account-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.acc-tab {
  display: block;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-text);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

.acc-tab.active,
.acc-tab:hover {
  color: #fff;
  border-color: rgba(79, 195, 247, 0.35);
  background: rgba(79, 195, 247, 0.1);
}

.acc-tab.danger { color: #fca5a5; }

.account-panel { padding: 24px; }
.orders-list { display: grid; gap: 12px; margin-top: 14px; }
.order-card { padding: 16px; }
.order-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.order-status {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: #fbbf24;
  font-weight: 700;
}
.order-card ul {
  margin-top: 10px;
  padding-left: 18px;
  color: #dbe4ee;
}

.order-success {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* header cart */
.cart-link {
  position: relative;
  color: var(--light-text);
  text-decoration: none;
  font-size: 1.15rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background var(--transition);
}

.cart-link:hover { background: rgba(255, 255, 255, 0.06); }

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #041018;
  font-size: 11px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10, 14, 25, 0.95);
  border: 1px solid rgba(79, 195, 247, 0.45);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 2000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.shop-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* home teaser */
.shop-teaser {
  max-width: var(--container-width);
  margin: 0 auto var(--section-gap);
  padding: 0 30px;
}

.shop-teaser-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.shop-teaser-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 10px 0 12px;
}

.shop-teaser-box p { color: var(--gray-text); line-height: 1.7; margin-bottom: 18px; }

.shop-teaser-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shop-teaser-stats div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.shop-teaser-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.shop-teaser-stats span {
  color: var(--gray-text);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .shop-toolbar.shop-toolbar-line { grid-template-columns: 1fr; }
  .catalog-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .line-hero-inner,
  .shop-intro,
  .shop-hub-grid,
  .shop-toolbar,
  .shop-toolbar-line,
  .product-detail-grid,
  .cart-layout,
  .auth-grid,
  .account-layout,
  .shop-teaser-box {
    grid-template-columns: 1fr;
  }

  .shop-line-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-summary { position: static; }

  .cart-row {
    grid-template-columns: 72px 1fr;
  }

  .cart-qty,
  .cart-line-price {
    grid-column: 2;
  }

  .cart-line-price { text-align: left; }
}

@media (max-width: 640px) {
  body[data-shop-line] .shop-wrap,
  body[data-shop-line] .line-hero { padding-left: 16px; padding-right: 16px; }
  .line-hero-actions .btn { flex: 1; justify-content: center; }
  .shop-card-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-card-actions { justify-content: stretch; }
  .shop-card-actions .btn { flex: 1; justify-content: center; }
}
