* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b1020;
  --bg-soft: #11182d;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #edf2ff;
  --muted: #b5c0df;
  --accent: #78a6ff;
  --accent-strong: #5a8dff;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.light-mode {
  --bg: #f4f7fc;
  --bg-soft: #eaf0fb;
  --surface: rgba(255, 255, 255, 0.95);
  --surface-strong: #ffffff;
  --text: #172033;
  --muted: #5f6f92;
  --accent: #2f67f6;
  --accent-strong: #1d55e5;
  --border: rgba(23, 32, 51, 0.12);
  --shadow: 0 20px 40px rgba(34, 56, 102, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
  padding-top: 164px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.container-small {
  width: min(900px, 100%);
  margin: 0 auto;
}

/* HEADER STICKY CONTAINER */
.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* TOP BAR */
.promo-banner {
  background: var(--accent);
  color: #07101f;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  text-align: center;
  text-transform: uppercase;
}

.topbar {
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.light-mode .topbar {
  background: rgba(244, 247, 252, 0.9);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.brand {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.1;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0;
  letter-spacing: 0.3px;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
}

.theme-toggle:hover {
  background: var(--surface-strong);
}

/* NAV */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.light-mode .navbar {
  background: rgba(244, 247, 252, 0.9);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.navbar a {
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
}

.navbar a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

body.light-mode .navbar a:hover {
  background: rgba(23, 32, 51, 0.06);
}

/* GLOBAL UI */
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  width: auto;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-strong);
}

.section {
  padding: 100px 0 70px;
}

.section-alt {
  background: var(--bg-soft);
  border-radius: 24px;
  margin-bottom: 60px;
}

/* HERO */
.hero {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 73%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
}

.hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-inner-clean {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  min-height: 100%;
  padding: 0 48px 50px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-text {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.hero-note {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero + .section {
  padding-top: 40px;
}

/* HOMEPAGE SECTIONS */
.featured-strip {
  padding-top: 0;
  margin-top: -46px;
  position: relative;
  z-index: 2;
}

.feature-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-mini-card,
.product-card,
.info-panel,
.bottom-cta-card,
.faq-item,
.shop-toolbar,
.shop-card,
.no-results-message,
.product-image-card,
.product-info-card,
.detail-card,
.compliance-box {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-mini-card {
  border-radius: 22px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.feature-mini-card h3 {
  margin-bottom: 10px;
}

.feature-mini-card p {
  color: var(--muted);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
  margin-top: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.product-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card,
.info-panel {
  border-radius: 24px;
  padding: 24px;
}

.product-card h3,
.info-panel h3 {
  margin-bottom: 10px;
}

.product-card p,
.info-panel p {
  color: var(--muted);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(120, 166, 255, 0.14);
  border: 1px solid rgba(120, 166, 255, 0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.inline-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 700;
}

.inline-link:hover {
  color: var(--accent-strong);
}

.section-cta {
  margin-top: 30px;
  text-align: center;
}

.section-cta .btn {
  width: auto;
}

.compliance-box {
  border-radius: 24px;
  padding: 28px;
  margin-top: 30px;
}

.compliance-box h2,
.compliance-box h3 {
  margin-bottom: 12px;
}

.compliance-box p {
  color: var(--muted);
}

.homepage-bottom-cta {
  padding-top: 10px;
}

.bottom-cta-card {
  border-radius: 24px;
  padding: 36px;
  text-align: center;
}

.bottom-cta-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.bottom-cta-card p:not(.eyebrow) {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 22px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* PRODUCT PAGE */
.product-page {
  padding: 50px 0 70px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 50px;
}

.product-image-card {
  padding: 24px;
  border-radius: 24px;
}

.product-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px dashed var(--border);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.1rem;
}

.product-image-card img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
}

.product-info-card {
  padding: 30px;
  border-radius: 24px;
}

.product-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.product-summary {
  color: var(--muted);
  margin-bottom: 24px;
}

.quantity-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.quantity-row label {
  font-weight: 700;
}

.quantity-row input,
.quantity-row select,
.static-strength-field {
  width: 100%;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(18, 28, 52, 0.95), rgba(10, 18, 38, 0.98));
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.light-mode .quantity-row input,
body.light-mode .quantity-row select,
body.light-mode .static-strength-field {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 240, 251, 0.98));
  box-shadow: 0 10px 24px rgba(34, 56, 102, 0.1);
}

.quantity-row input:focus,
.quantity-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(120, 166, 255, 0.18);
}

.quantity-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.quantity-row select:hover,
.static-strength-field:hover {
  border-color: rgba(120, 166, 255, 0.45);
}

.quantity-row select option {
  background: #10192f;
  color: #edf2ff;
}

body.light-mode .quantity-row select option {
  background: #ffffff;
  color: #172033;
}

.static-strength-field {
  display: flex;
  align-items: center;
  min-height: 52px;
  cursor: default;
}

.product-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.product-meta {
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.detail-card {
  border-radius: 24px;
  padding: 24px;
}

.detail-card h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.detail-card p,
.detail-card li {
  color: var(--muted);
}

.detail-list {
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

/* FAQ PAGE */
.faq-page {
  padding: 30px 0 70px;
}

.faq-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 10px;
}

.faq-group {
  margin-bottom: 34px;
}

.faq-group-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text);
}

.faq-item {
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
}

.faq-note-box {
  margin-top: 40px;
}

/* SHOP PAGE */
.shop-page {
  padding: 40px 0 70px;
}

.shop-heading {
  margin-top: 40px;
}

.shop-heading h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 10px;
  margin-top: 20px;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
  padding: 20px;
  border-radius: 20px;
}

.shop-toolbar-block {
  display: grid;
  gap: 8px;
}

.shop-toolbar-block label {
  font-weight: 700;
}

.shop-input,
.shop-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.95rem;
}

.shop-results-bar {
  margin-bottom: 24px;
}

.results-text {
  color: var(--muted);
  font-weight: 700;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.featured-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.featured-products-grid .shop-card-image {
  aspect-ratio: 1 / 0.82;
}

.featured-products-grid .shop-card-body {
  padding: 18px;
}

.featured-products-grid .shop-card-body h3 {
  font-size: 1.08rem;
}

.featured-products-grid .shop-card-body p {
  font-size: 0.92rem;
}

.shop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.shop-card[hidden] {
  display: none !important;
}

.shop-card-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}

.shop-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.shop-card-image-link:hover {
  text-decoration: none;
  color: inherit;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.shop-card:hover .shop-card-image img {
  transform: scale(1.05);
}

.shop-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  text-align: center;
}

.shop-card-body h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.shop-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.shop-card-body p {
  color: var(--muted);
  margin-bottom: 18px;
}

.shop-card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.shop-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.no-results-message {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--muted);
  font-weight: 700;
}

.shop-note-box {
  margin-top: 40px;
}

/* PRODUCT DETAIL PAGE */
.product-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.product-image {
  width: 100%;
  max-width: 320px;
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  box-shadow: var(--shadow);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.product-description {
  color: var(--muted);
  line-height: 1.6;
}

.product-description h3 {
  color: var(--text);
  margin: 18px 0 8px;
}

.product-description ul {
  margin: 8px 0 14px 20px;
}

.product-description li {
  margin-bottom: 6px;
}

.product-notice {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.product-notice h3 {
  margin-top: 0;
  color: var(--text);
}

.product-notice ul {
  margin-bottom: 0;
}

.product-strength-options {
  margin: 20px 0;
}

.product-strength-options h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, max-content));
  gap: 12px;
  justify-content: start;
}

.strength-option {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: fit-content;
  min-width: 160px;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 48px;
  box-sizing: border-box;
  overflow: hidden;
}


.strength-option:hover {
  border-color: var(--accent);
  background: var(--surface-strong);
}

.strength-option input[type="radio"] {
  margin: 0;
}

.strength-label {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.strength-price {
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.product-detail .product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.quantity-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quantity-selector label {
  font-weight: 700;
}

.product-detail .product-actions input[type="number"] {
  width: 80px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: textfield;
}

.product-detail .product-actions input[type="number"]:focus {
  border-color: var(--accent);
}

.product-detail .product-actions input[type="number"]::-webkit-outer-spin-button,
.product-detail .product-actions input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-to-cart-btn {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
}

.product-detail .product-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-item strong {
  color: var(--text);
  font-weight: 700;
}

/* CART PAGE */
.cart-page {
  padding: 40px 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.cart-header h1 {
  margin: 0;
}

.continue-shopping {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 30px;
}

.cart-items-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: var(--surface-strong);
}

.cart-item-image img {
  width: 100%;
  max-width: 100px;
  border-radius: 10px;
  display: block;
}

.cart-item-details h3 {
  margin: 0 0 8px;
}

.cart-item-details p {
  margin: 4px 0;
  color: var(--muted);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.cart-item-total {
  text-align: right;
}

.cart-item-total p {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.remove-btn {
  border: none;
  background: none;
  color: #ff7f96;
  cursor: pointer;
  font-weight: 600;
}

.cart-summary {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  height: fit-content;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-summary h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.total-row {
  font-weight: 700;
  font-size: 1.05rem;
}

.checkout-btn {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 24px;
  display: block;
  text-align: center;
}

.checkout-btn {
  background: var(--accent);
  color: #fff;
  border: none;
}

.checkout-btn:hover {
  background: var(--accent-strong);
}

.checkout-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cart-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 16px;
}

.free-shipping-progress {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 8px 0 6px;
}

.checkout-acknowledgements {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-acknowledgements label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.checkout-acknowledgements input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.empty-cart {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  background: var(--surface);
  color: var(--muted);
  font-size: 1.1rem;
}

.empty-cart h2 {
  margin-top: 0;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-inner {
  text-align: center;
  color: var(--muted);
}

.footer-links-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .featured-products-grid .shop-card-body {
    padding: 16px;
  }

  .featured-products-grid .shop-card-body p {
    font-size: 0.88rem;
  }

  .product-grid,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .featured-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .featured-products-grid .shop-card-image {
    aspect-ratio: 1 / 0.72;
  }

  .featured-products-grid .shop-card-body {
    padding: 12px;
  }

  .featured-products-grid .shop-card-body h3 {
    font-size: 0.95rem;
  }

  .featured-products-grid .shop-card-body p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .featured-products-grid .shop-price {
    font-size: 1rem;
  }

  .featured-products-grid .btn {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .product-layout,
  .detail-grid,
  .feature-mini-grid,
  .quality-grid,
  .shop-toolbar,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .featured-strip {
    margin-top: 0;
    padding-top: 40px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: center;
  }

  .theme-toggle {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
  }

  .cart-item-qty,
  .cart-item-total {
    grid-column: 2 / 3;
  }

  .cart-item-total {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 65vh;
    min-height: 460px;
  }

  .admin-toolbar,
  .admin-order-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-order-grid,
  .order-detail-grid,
  .admin-tracking-form,
  .admin-order-settings {
    grid-template-columns: 1fr;
  }

  .admin-orders-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 12px;
  }

  .admin-orders-heading {
    display: none;
  }

  .admin-orders-row {
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
  }

  .admin-order-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .admin-order-tab {
    white-space: nowrap;
  }

  .admin-order-search {
    grid-template-columns: 1fr;
  }

  .admin-customer-header {
    flex-direction: column;
  }

  .admin-customer-stats {
    grid-template-columns: 1fr;
  }

  .admin-orders-summary span::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .hero-inner-clean {
    padding: 0 22px 30px;
  }

  .hero-actions,
  .hero-buttons,
  .product-actions,
  .footer-links-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-buttons .btn,
  .product-actions .btn,
  .theme-toggle {
    width: 100%;
  }

  .bottom-cta-card {
    padding: 26px;
  }

  .footer-inner,
  .footer-links-wrap {
    text-align: center;
    justify-content: center;
  }

  .quantity-row input,
  .quantity-row select,
  .static-strength-field {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .shop-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .featured-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-branding {
  max-width: 1100px;
  margin-bottom: 34px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.96);
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-title-line {
  width: min(78vw, 980px);
  height: 1px;
  margin: 18px auto;
  background: rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 2rem);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

/* Toast notification styles */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
  backdrop-filter: blur(10px);
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.toast-success .toast-icon {
  color: #4ade80;
}

.toast-error .toast-icon {
  color: #ef4444;
}

/* Cart count pulse animation */
.cart-count-pulse {
  animation: cartPulse 0.6s ease-out;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
    color: var(--accent);
  }
  50% {
    transform: scale(1.2);
    color: var(--accent-strong);
  }
  100% {
    transform: scale(1);
    color: var(--text);
  }
}

/* CHECKOUT STATUS STYLES */
.checkout-status {
  text-align: center;
  padding: 40px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.status-icon {
  margin-bottom: 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.checkmark,
.cross {
  font-size: 60px;
  display: inline-block;
}

.checkout-status.success .checkmark {
  color: #4ade80;
}

.checkout-status.failed .cross {
  color: #ef4444;
}

.checkout-status h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.checkout-status p {
  color: var(--muted);
  margin-bottom: 30px;
}

.checkout-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.checkout-actions .btn {
  min-width: 140px;
}

.admin-login {
  max-width: 420px;
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.admin-main-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.admin-main-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  padding: 12px 8px 14px;
}

.admin-main-tab:hover,
.admin-main-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: block;
}

.admin-order-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.admin-order-tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 6px 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.admin-order-tab:hover,
.admin-order-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.admin-order-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  margin: -4px 0 18px;
}

.admin-order-search label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  grid-column: 1 / -1;
  text-transform: uppercase;
}

.admin-order-search input {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  caret-color: #182033;
  color: #182033;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.admin-order-search input::placeholder {
  color: #6a7484;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-toolbar p {
  color: var(--muted);
  font-weight: 700;
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-order-list {
  display: grid;
  gap: 18px;
}

.admin-orders-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-orders-row {
  display: grid;
  grid-template-columns: 44px 1.1fr 1.15fr 1fr 0.45fr 1.15fr 0.75fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.admin-orders-row:last-child {
  border-bottom: 0;
}

.admin-orders-heading {
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.admin-orders-summary {
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease;
}

.admin-orders-summary:hover {
  background: var(--surface-strong);
}

.admin-order-number,
.admin-order-amount {
  font-weight: 800;
}

.admin-customer-link {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.admin-customer-link:hover {
  color: var(--accent-strong);
}

.admin-fulfillment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-fulfillment-badge.unfulfilled {
  background: #facc15;
}

.admin-fulfillment-badge.fulfilled {
  background: #4ade80;
}

.admin-fulfillment-badge.shipped {
  background: #93c5fd;
}

.admin-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-payment-badge.paid {
  background: #86efac;
}

.admin-payment-badge.unpaid,
.admin-payment-badge.pending {
  background: #fde68a;
}

.admin-payment-badge.refunded {
  background: #c4b5fd;
}

.admin-expand-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-inline-order-detail {
  border-top: 1px solid var(--border);
  padding: 18px;
  background: var(--surface);
}

.admin-order-record summary {
  list-style: none;
}

.admin-order-record summary::-webkit-details-marker {
  display: none;
}

.admin-order-detail-panel {
  margin-top: 20px;
}

.admin-customer-panel {
  margin-top: 20px;
}

.admin-customer-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.admin-customer-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-customer-header p {
  color: var(--muted);
}

.admin-customer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
  padding: 16px 0;
}

.admin-customer-stats div {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface-strong);
}

.admin-customer-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.admin-customer-stats strong {
  font-size: 1.4rem;
}

.admin-orders-table.compact .admin-orders-row {
  grid-template-columns: 1.15fr 0.85fr 0.45fr 1.15fr 0.75fr;
}

.customer-orders-table .admin-orders-row {
  grid-template-columns: 44px 1.15fr 1fr 0.45fr 1.15fr 0.75fr;
}

.admin-customer-edit-form {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.admin-order {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}

.admin-order-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-order-header h2 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.admin-order-header p,
.admin-order-grid p {
  color: var(--muted);
}

.admin-status-control {
  min-width: 190px;
}

.admin-status-control label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.admin-status-control select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.admin-detail-close {
  align-self: flex-start;
}

.admin-order-settings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: end;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.admin-order-settings .btn {
  width: 100%;
}

.admin-archive-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--muted);
  font-weight: 700;
}

.admin-archive-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.admin-status-control select option {
  background: #ffffff;
  color: #111827;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
}

.admin-order-grid h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.admin-items-table {
  overflow-x: auto;
}

.admin-tracking-form {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(260px, auto);
  gap: 14px;
  align-items: end;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.admin-tracking-form .form-group {
  min-width: 0;
}

.admin-tracking-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.admin-tracking-actions .btn {
  min-width: 120px;
  white-space: nowrap;
}

.admin-label-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-label-note {
  flex-basis: 100%;
  margin: 0;
  color: #f8c56a;
  font-size: 0.9rem;
  text-align: right;
}

.admin-items-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-items-table th,
.admin-items-table td {
  text-align: left;
  padding: 10px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}

.admin-items-table th {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-items-table span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-product-list,
.admin-product-editor {
  display: grid;
  gap: 18px;
}

.admin-products-table {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.55fr 0.55fr 1.15fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.admin-product-row:last-child {
  border-bottom: 0;
}

.admin-product-heading {
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-product-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.admin-product-status {
  display: inline-flex;
  justify-content: center;
  min-width: 76px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-product-status.active {
  background: #4ade80;
}

.admin-product-status.inactive {
  background: #facc15;
}

.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-product-actions .btn {
  min-width: 86px;
}

.admin-product-form,
.admin-settings-form {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.admin-marketing-status {
  color: var(--muted);
  font-weight: 700;
  margin: -8px 0 16px;
  min-height: 1.4em;
}

.admin-marketing-status.success {
  color: #176b3a;
}

.admin-marketing-status.warning {
  color: #8a5b00;
}

.admin-development-note {
  background: #fff4db;
  border: 1px solid #efcf85;
  border-radius: 8px;
  color: #6f4a00;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.admin-marketing-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.admin-marketing-form,
.admin-marketing-audience {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.admin-marketing-audience h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.admin-marketing-list {
  display: grid;
  gap: 12px;
}

.admin-marketing-table .admin-product-row {
  grid-template-columns: 1fr 1.25fr 1fr 0.45fr;
}

.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0;
}

.admin-product-form textarea {
  resize: vertical;
}

.admin-description-tabs {
  display: inline-flex;
  gap: 4px;
  margin: 8px 0;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
}

.admin-description-tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 7px 12px;
}

.admin-description-tab.active {
  background: var(--accent);
  color: #111827;
}

.form-help {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 6px;
}

.admin-product-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.admin-product-flags label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.admin-product-flags input,
.admin-archive-toggle input {
  accent-color: var(--accent);
}

.admin-strengths {
  padding: 16px 0;
}

.admin-strength-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(100px, 0.6fr) minmax(140px, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
}

.order-detail {
  max-width: 720px;
  margin: 24px auto 0;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: var(--surface);
}

.order-detail[hidden] {
  display: none;
}

.account-auth-grid,
.cart-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.account-auth-grid {
  align-items: start;
}

.account-auth-single {
  display: flex;
  justify-content: center;
}

.account-auth-single[hidden],
#accountPanel[hidden] {
  display: none;
}

.account-login-card {
  width: min(460px, 100%);
}

.account-login-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.account-auth-card,
.cart-account-panel,
.account-toolbar,
.account-order {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
}

.account-auth-card h2,
.cart-account-panel h2 {
  margin-bottom: 14px;
}

.account-profile-form {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 20px 0;
  padding: 20px;
}

.account-profile-form h2 {
  margin-bottom: 14px;
}

.account-profile-form h3 {
  margin: 18px 0 10px;
}

.account-detail-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 14px 0;
  padding: 16px;
}

.account-contact-section {
  max-width: 100%;
}

.account-address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-address-grid .account-detail-section {
  margin: 0;
}

.account-preferences-section {
  max-width: 720px;
  padding: 14px;
}

.account-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-detail-header h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 6px;
}

.account-detail-header p,
.account-summary-lines p {
  color: var(--muted);
  margin: 0;
}

.account-summary-lines {
  display: grid;
  gap: 4px;
}

.account-email-status {
  border: 0;
  border-radius: 999px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  margin-left: 8px;
  padding: 2px 8px;
  white-space: nowrap;
}

.account-email-status.unverified {
  background: rgba(248, 197, 106, 0.18);
  color: #9b6400;
  cursor: pointer;
}

.account-email-status.verified {
  background: rgba(63, 185, 120, 0.16);
  color: #187a45;
}

.account-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.account-section-update-btn {
  min-width: 86px;
  padding: 9px 14px;
}

.account-edit-panel {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}

.account-register-preferences {
  margin: 12px 0 18px;
}

.account-toggle-row {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  padding: 10px 12px;
}

.account-toggle-list .account-consent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.account-toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-toggle-control {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 24px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
  width: 44px;
}

.account-toggle-control::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 0.2s ease;
  width: 18px;
}

.account-toggle-row input:checked + .account-toggle-control {
  background: rgba(63, 185, 120, 0.85);
  border-color: rgba(63, 185, 120, 0.95);
}

.account-toggle-row input:checked + .account-toggle-control::after {
  transform: translateX(20px);
}

.account-toggle-row input:focus-visible + .account-toggle-control {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.account-toggle-state {
  color: var(--muted);
  font-weight: 700;
}

.account-verification-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(248, 197, 106, 0.45);
  border-radius: 14px;
  background: rgba(248, 197, 106, 0.1);
  margin: 20px 0;
  padding: 16px;
}

.account-verification-card[hidden] {
  display: none;
}

.account-verification-card.verified {
  border-color: rgba(120, 166, 255, 0.45);
  background: rgba(120, 166, 255, 0.1);
}

.account-verification-card h3 {
  margin-bottom: 4px;
}

.account-verification-card p {
  color: var(--muted);
}

.account-text-link {
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 4px;
  padding: 0;
  text-decoration: underline;
}

.account-create-button {
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.account-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 18, 0.74);
}

.account-modal-backdrop[hidden] {
  display: none;
}

.account-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  padding: 24px;
}

.account-modal h2 {
  margin-bottom: 8px;
}

.account-modal p {
  color: var(--muted);
  margin-bottom: 16px;
}

.account-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.cart-account-panel {
  margin-bottom: 24px;
}

.cart-account-panel p,
.account-toolbar p {
  color: var(--muted);
}

.cart-account-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.checkout-login-actions,
.checkout-guest-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.checkout-auth-heading {
  margin-bottom: 16px;
}

.checkout-auth-heading[hidden],
#manageAccountLink[hidden] {
  display: none;
}

.checkout-header-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.checkout-auth-grid {
  margin-top: 20px;
}

.checkout-auth-grid[hidden],
.checkout-account-success[hidden] {
  display: none;
}

.checkout-account-success {
  margin-top: 18px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(120, 166, 255, 0.45);
  border-radius: 8px;
  background: rgba(120, 166, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.checkout-account-success h3 {
  margin-bottom: 0;
}

.checkout-guest-row {
  justify-content: center;
}

.checkout-login-actions .btn,
.checkout-guest-row .btn {
  min-width: 180px;
}

.checkout-guest-inline {
  width: 100%;
  text-align: center;
}

.checkout-guest-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.checkout-guest-row .btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(120, 166, 255, 0.18);
}

.checkout-guest-inline.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(120, 166, 255, 0.18);
}

.checkout-login-form {
  margin-top: 18px;
}

.checkout-login-form h3 {
  margin-bottom: 14px;
}

.cart-account-options span,
.billing-card-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-choice-status {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.checkout-choice-status[hidden] {
  display: none;
}

.checkout-choice-status.active {
  color: var(--text);
  border-color: rgba(120, 166, 255, 0.55);
  background: rgba(120, 166, 255, 0.12);
}

.billing-card-note {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.checkout-info-section {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-info-section + .checkout-info-section {
  margin-top: 10px;
}

.checkout-info-section h2 {
  margin-bottom: 0;
}

.billing-card-note-important {
  color: var(--text);
  font-weight: 800;
  border-left-color: #b91c1c;
  border-left-width: 4px;
  background: rgba(185, 28, 28, 0.08);
}

.checkout-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 20px;
  margin: 18px 0;
  align-items: start;
}

.checkout-review-note {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
  color: var(--text);
  font-weight: 800;
}

.checkout-review-main {
  display: grid;
  gap: 12px;
}

.checkout-review-block,
.checkout-review-summary {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.checkout-review-block h3,
.checkout-review-summary h3 {
  margin-bottom: 14px;
}

.checkout-review-info-grid {
  display: grid;
  gap: 18px;
}

.checkout-review-block p,
.checkout-review-summary p {
  color: var(--muted);
  margin: 4px 0;
}

.checkout-review-info-grid h4 {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0;
  text-transform: none;
}

.checkout-review-customer-detail {
  padding-bottom: 2px;
}

.checkout-review-summary-items {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
}

.checkout-review-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.checkout-review-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.checkout-review-item span,
.checkout-review-summary p {
  color: var(--muted);
  font-size: 0.92rem;
}

.checkout-review-item-meta {
  text-align: right;
  display: grid;
  gap: 4px;
  white-space: nowrap;
}

.checkout-review-summary {
  position: sticky;
  top: 96px;
}

.checkout-summary-row,
.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.checkout-summary-total {
  margin-top: 4px;
  font-size: 1.2rem;
  color: var(--text);
}

.checkout-review-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.checkout-review-back-link {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.checkout-review-actions .checkout-btn {
  width: auto;
  min-width: 220px;
  margin-top: 0;
}

@media (max-width: 820px) {
  .checkout-review-layout {
    grid-template-columns: 1fr;
  }

  .checkout-review-summary {
    position: static;
  }
}

.privacy-field-group {
  position: relative;
}

.privacy-popover-trigger {
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  margin-left: 6px;
  padding: 0;
  text-decoration: underline;
}

.privacy-popover {
  position: absolute;
  z-index: 20;
  top: 28px;
  right: 0;
  width: min(320px, 90vw);
  padding: 12px 14px;
  border: 1px solid rgba(120, 166, 255, 0.45);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
}

.checkout-match-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-weight: 800;
}

.checkout-match-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.readonly-field {
  opacity: 0.78;
}

.cart-account-grid {
  margin-top: 16px;
}

.cart-account-form {
  padding: 0;
}

.account-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.account-orders {
  display: grid;
  gap: 14px;
}

.account-order {
  padding: 0;
  overflow: hidden;
}

.account-order summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  padding: 16px 18px;
}

.account-order summary::marker {
  color: var(--accent);
}

.account-order small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.account-order-detail {
  border-top: 1px solid var(--border);
  padding: 0 18px 18px;
}

.account-order-actions {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0;
}

@media (max-width: 860px) {
  .admin-main-tabs {
    overflow-x: auto;
  }

  .admin-product-row,
  .admin-product-heading {
    grid-template-columns: 1fr;
  }

  .admin-marketing-layout,
  .admin-marketing-table .admin-product-row {
    grid-template-columns: 1fr;
  }

  .admin-product-heading {
    display: none;
  }

  .admin-product-grid,
  .admin-strength-row {
    grid-template-columns: 1fr;
  }

  .admin-product-actions,
  .admin-form-actions {
    justify-content: flex-start;
  }

  .account-auth-grid,
  .cart-account-grid,
  .account-address-grid,
  .account-order summary {
    grid-template-columns: 1fr;
  }

  .account-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-detail-header {
    flex-direction: column;
  }

  .account-detail-actions {
    justify-content: flex-start;
  }

  .account-toggle-list .account-consent-grid {
    grid-template-columns: 1fr;
  }
}

.order-detail h3 {
  margin-bottom: 14px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.order-detail p {
  color: var(--muted);
  margin-bottom: 6px;
}

.order-detail-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.order-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* CUSTOMER INFO FORM */
.customer-info-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.customer-info-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--text);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(120, 166, 255, 0.1);
}

.form-group input:invalid,
.form-group select:invalid {
  border-color: #ef4444;
}

.empty-cart a:not(.btn) {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.empty-cart a:not(.btn):hover {
  color: var(--accent-strong);
}
.policy-grid-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.policy-section {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.policy-section p {
  margin-bottom: 0;
  line-height: 1.7;
}

.policy-section-full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .policy-grid-card {
    grid-template-columns: 1fr;
  }

  .admin-order-search {
    grid-template-columns: 1fr;
  }
}
