
:root {
  --navy: #142b49;
  --blue: #2563a6;
  --pale-blue: #edf3f9;
  --text: #26364a;
  --muted: #68778a;
  --white: #ffffff;
  --border: #e5eaf0;
  --background: #f8fafc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* =====================================
   HEADER AND NAVIGATION
===================================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 750;
  white-space: nowrap;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 9px;
  font-weight: 800;
}

.brand-light {
  color: var(--blue);
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a,
.header-actions a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active,
.header-actions a:hover {
  color: var(--blue);
}

.header-actions {
  gap: 18px;
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cart-count {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--pale-blue);
  color: var(--blue);
  font-size: 12px;
}

.login-link {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 7px;
}

/* =====================================
   HOMEPAGE HERO
===================================== */

.hero {
  background: var(--pale-blue);
  overflow: hidden;
}

.hero-content {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 55px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero h1 {
  max-width: 570px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 490px;
  margin: 20px 0 27px;
  color: var(--muted);
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

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

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy);
}

.hero-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative;
}

.visual-circle {
  width: 270px;
  height: 270px;
  position: absolute;
  border-radius: 50%;
  background: #d9e7f5;
}

.shopping-card {
  width: 235px;
  min-height: 205px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #e3eaf2;
  border-radius: 17px;
  box-shadow: 0 18px 45px rgba(20, 43, 73, 0.10);
  transform: rotate(-4deg);
}

.shopping-icon {
  font-size: 65px;
}

.shopping-caption {
  color: var(--navy);
  font-size: 17px;
  font-weight: 750;
}

.shopping-subcaption {
  color: var(--muted);
  font-size: 12px;
}

.floating-tag {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 35px;
  padding: 10px 15px;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(20, 43, 73, 0.08);
  font-size: 12px;
  font-weight: 700;
}

/* =====================================
   HOMEPAGE BENEFITS
===================================== */

.benefits {
  border-bottom: 1px solid var(--border);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--pale-blue);
  border-radius: 10px;
  font-size: 20px;
}

.benefit h3 {
  color: var(--navy);
  font-size: 14px;
}

.benefit p {
  color: var(--muted);
  font-size: 12px;
}

/* =====================================
   SHARED HOMEPAGE SECTIONS
===================================== */

.section-space {
  padding-top: 75px;
  padding-bottom: 75px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2 {
  color: var(--navy);
  font-size: 29px;
  line-height: 1.25;
}

.section-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.text-link,
.product-link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover,
.product-link:hover {
  text-decoration: underline;
}

/* =====================================
   HOMEPAGE CATEGORIES
===================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.category-card {
  padding: 25px 20px;
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: border-color 0.2s, transform 0.2s;
}

.category-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 10px;
  background: var(--pale-blue);
  font-size: 24px;
}

.category-card h3 {
  color: var(--navy);
  font-size: 15px;
}

.category-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

/* =====================================
   HOMEPAGE FEATURED PRODUCTS
===================================== */

.featured {
  background: var(--background);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 11px;
}

.product-image {
  min-height: 185px;
  display: grid;
  place-items: center;
}

.product-image > span {
  font-size: 65px;
}

.product-image-one {
  background: #edf3f9;
}

.product-image-two {
  background: #f2f0fa;
}

.product-image-three {
  background: #f5f1eb;
}

.product-info {
  padding: 19px;
}

.product-category {
  color: var(--muted);
  font-size: 11px;
}

.product-info h3 {
  margin-top: 5px;
  color: var(--navy);
  font-size: 17px;
}

.product-price {
  margin: 9px 0 13px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

/* =====================================
   HOMEPAGE CALL TO ACTION AND FOOTER
===================================== */

.shop-cta {
  padding: 45px 0;
  background: var(--navy);
  color: var(--white);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta-content .eyebrow {
  color: #b8d3f0;
}

.cta-content h2 {
  font-size: 27px;
}

.cta-content p {
  margin-top: 6px;
  color: #d0dbe8;
  font-size: 14px;
}

.button-light {
  background: var(--white);
  color: var(--navy);
  white-space: nowrap;
}

.button-light:hover {
  background: var(--pale-blue);
}

.site-footer {
  padding: 30px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand {
  font-size: 18px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-content > p,
.copyright {
  color: var(--muted);
  font-size: 11px;
}

.footer-content > p {
  max-width: 370px;
}

/* =====================================
   PRODUCT CATALOGUE
===================================== */

.catalogue-hero {
  padding: 68px 0 64px;
  background: var(--pale-blue);
  text-align: center;
}

.catalogue-eyebrow {
  margin-bottom: 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.catalogue-hero h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 43px);
  line-height: 1.2;
}

.catalogue-hero p:last-child {
  max-width: 570px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.catalogue-section {
  padding: 65px 0 85px;
  background: #fff;
}

.catalogue-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.catalogue-heading h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 27px;
}

.catalogue-heading p {
  color: var(--muted);
  font-size: 14px;
}

.catalogue-total {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.catalogue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.filter-button {
  padding: 10px 17px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.catalogue-message {
  min-height: 22px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.catalogue-product {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.catalogue-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20, 43, 73, .09);
}

.catalogue-art {
  position: relative;
  display: flex;
  height: 220px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pale-blue);
}

.catalogue-art svg {
  width: 76%;
  height: 82%;
  max-width: 240px;
}

.art-watch,
.art-shirt {
  background: #f2f4f8;
}

.art-backpack,
.art-speaker {
  background: #edf2f7;
}

.art-lamp {
  background: #f5f3ee;
}

.product-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 20px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.catalogue-product-info {
  padding: 20px;
}

.catalogue-product-info .product-category {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.catalogue-product-info h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 17px;
}

.catalogue-product-info p {
  min-height: 42px;
  margin-bottom: 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.product-bottom strong {
  color: var(--navy);
  font-size: 16px;
}

.catalogue-add-button {
  padding: 10px 13px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease;
}

.catalogue-add-button:hover {
  background: var(--blue);
}

.catalogue-add-button:disabled {
  opacity: .7;
  cursor: default;
}

/* =====================================
   SHOPPING CART
===================================== */

.cart-page {
  min-height: 650px;
  padding: 65px 0 85px;
  background: #fff;
}

.cart-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}

.cart-eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.cart-page-heading h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 35px;
}

.cart-page-heading p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.continue-shopping {
  padding-bottom: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.continue-shopping:hover {
  text-decoration: underline;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 28px;
}

.cart-items-panel,
.cart-summary {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.cart-items-panel {
  padding: 23px;
}

.cart-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.cart-panel-heading h2,
.cart-summary h2 {
  color: var(--navy);
  font-size: 18px;
}

.cart-panel-heading span {
  color: var(--muted);
  font-size: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-art {
  display: flex;
  width: 85px;
  height: 85px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--pale-blue);
}

.cart-item-art svg {
  width: 75%;
  height: 75%;
}

.cart-item-details h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 14px;
}

.cart-item-category {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
}

.cart-item-price {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.quantity-control button {
  width: 29px;
  height: 29px;
  border: 0;
  background: #f7f9fc;
  color: var(--navy);
  cursor: pointer;
  font-size: 16px;
}

.quantity-control button:hover {
  background: var(--pale-blue);
}

.quantity-control span {
  min-width: 30px;
  text-align: center;
  color: var(--text);
  font-size: 12px;
}

.remove-cart-item {
  border: 0;
  background: none;
  color: #b44848;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.remove-cart-item:hover {
  text-decoration: underline;
}

.cart-item-total {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-summary {
  position: sticky;
  top: 20px;
  padding: 25px;
}

.cart-summary h2 {
  margin-bottom: 25px;
}

.summary-line,
.summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.summary-line span {
  color: var(--muted);
  font-size: 12px;
}

.summary-line strong {
  max-width: 145px;
  color: var(--text);
  font-size: 12px;
  text-align: right;
}

.summary-divider {
  margin: 20px 0;
  border-top: 1px solid var(--border);
}

.summary-total {
  align-items: center;
  margin-bottom: 23px;
}

.summary-total span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.summary-total strong {
  color: var(--navy);
  font-size: 19px;
}

.cart-checkout-button,
.cart-primary-button {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background .2s ease;
}

.cart-checkout-button:hover,
.cart-primary-button:hover {
  background: var(--blue);
}

.cart-checkout-button.disabled {
  background: #aeb8c4;
  pointer-events: none;
}

.cart-security-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.empty-cart {
  padding: 55px 15px;
  text-align: center;
}

.empty-cart[hidden] {
  display: none;
}

.empty-cart-icon {
  display: flex;
  width: 75px;
  height: 75px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--pale-blue);
  color: var(--blue);
}

.empty-cart-icon svg {
  width: 43px;
  height: 43px;
}

.empty-cart h3 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 18px;
}

.empty-cart p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.empty-cart .cart-primary-button {
  width: auto;
  max-width: 180px;
  margin: 0 auto;
}

/* =====================================
   CHECKOUT PAGE
===================================== */

.checkout-page {
  min-height: 650px;
  padding: 58px 0 85px;
  background: #fff;
}

.checkout-heading {
  margin-bottom: 34px;
}

.checkout-eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.checkout-heading h1 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 35px;
}

.checkout-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 27px;
}

.checkout-form-panel,
.checkout-summary {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.checkout-form-panel {
  padding: 27px;
}

.checkout-form-panel > h2,
.checkout-summary > h2,
.checkout-payment h2 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 18px;
}

.checkout-section-description {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-field.full-width {
  grid-column: 1 / -1;
}

.checkout-field label {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.checkout-field input {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.checkout-field input::placeholder {
  color: #9aa6b4;
}

.checkout-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 166, .10);
}

.checkout-payment {
  margin-top: 32px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.payment-option:has(input:checked) {
  border-color: var(--blue);
  background: var(--pale-blue);
}

.payment-option input {
  margin-top: 3px;
  accent-color: var(--blue);
}

.payment-option-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.payment-option-copy strong {
  color: var(--navy);
  font-size: 13px;
}

.payment-option-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.checkout-form-message {
  min-height: 20px;
  margin-top: 15px;
  color: #b44848;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-submit-button {
  width: 100%;
  min-height: 47px;
  margin-top: 5px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease;
}

.checkout-submit-button:hover {
  background: var(--blue);
}

.checkout-disclaimer {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.checkout-summary {
  position: sticky;
  top: 20px;
  padding: 25px;
}

.checkout-summary > h2 {
  margin-bottom: 20px;
}

.checkout-summary-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkout-summary-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.checkout-summary-item-name {
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-summary-item-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.checkout-summary-item-price {
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-summary-divider {
  margin: 20px 0;
  border-top: 1px solid var(--border);
}

.checkout-summary-line,
.checkout-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-summary-line span {
  color: var(--muted);
  font-size: 12px;
}

.checkout-summary-line strong {
  color: var(--text);
  font-size: 12px;
}

.checkout-summary-total span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.checkout-summary-total strong {
  color: var(--navy);
  font-size: 19px;
}

.checkout-summary-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.checkout-back-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.checkout-back-link:hover {
  text-decoration: underline;
}

.checkout-empty {
  padding: 60px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.checkout-empty[hidden],
.checkout-content[hidden],
.checkout-success[hidden] {
  display: none;
}

.checkout-empty h2,
.checkout-success h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 23px;
}

.checkout-empty p,
.checkout-success > p:not(.checkout-eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.checkout-primary-button,
.checkout-secondary-button {
  display: inline-block;
  padding: 13px 19px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background .2s ease;
}

.checkout-primary-button:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.checkout-secondary-button {
  background: #fff;
  color: var(--navy);
}

.checkout-secondary-button:hover {
  background: var(--pale-blue);
}

.checkout-success {
  max-width: 650px;
  margin: 20px auto;
  padding: 50px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

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

.checkout-success-mark {
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--pale-blue);
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
}

.order-reference {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 260px;
  margin: 25px auto;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}

.order-reference span {
  color: var(--muted);
  font-size: 11px;
}

.order-reference strong {
  color: var(--navy);
  font-size: 16px;
}

.checkout-success-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.checkout-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

/* =====================================
   ORDER HISTORY PAGE
===================================== */

.orders-page {
  min-height: 650px;
  padding: 60px 0 85px;
  background: #fff;
}

.orders-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 38px;
}

.orders-eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.orders-heading h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 35px;
}

.orders-heading p:last-child {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.orders-shop-link {
  padding-bottom: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.orders-shop-link:hover {
  text-decoration: underline;
}

.orders-content {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.orders-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 25px;
  border-bottom: 1px solid var(--border);
}

.orders-list-heading h2 {
  color: var(--navy);
  font-size: 18px;
}

.orders-list-heading span {
  color: var(--muted);
  font-size: 12px;
}

.orders-list {
  padding: 0 25px;
}

.order-card {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.order-card:last-child {
  border-bottom: 0;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.order-reference-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.order-reference-value {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.order-status {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 20px;
  background: var(--pale-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.order-information {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.order-information-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.order-information-item span {
  color: var(--muted);
  font-size: 11px;
}

.order-information-item strong {
  color: var(--navy);
  font-size: 13px;
}

.order-card-details {
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.order-card-details summary {
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  list-style-position: inside;
}

.order-products-list {
  margin-top: 16px;
  padding: 15px;
  border-radius: 8px;
  background: #f7f9fc;
}

.order-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.order-product-row:first-child {
  padding-top: 0;
}

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

.order-product-name {
  color: var(--text);
  font-size: 12px;
}

.order-product-name small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.order-product-price {
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.order-payment-info {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.orders-empty {
  padding: 58px 20px;
  text-align: center;
}

.orders-empty[hidden] {
  display: none;
}

.orders-empty-icon {
  display: flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--pale-blue);
  color: var(--blue);
}

.orders-empty-icon svg {
  width: 42px;
  height: 42px;
}

.orders-empty h3 {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 19px;
}

.orders-empty p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.orders-primary-button {
  display: inline-block;
  padding: 13px 19px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s ease;
}

.orders-primary-button:hover {
  background: var(--blue);
}

/* =====================================
   MY ACCOUNT PAGE
===================================== */

.account-page {
  min-height: 650px;
  background: #fff;
}

.account-hero {
  padding: 58px 0 54px;
  background: var(--pale-blue);
}

.account-eyebrow {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.account-hero h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.2;
}

.account-hero .container > p:last-child {
  max-width: 570px;
  color: var(--muted);
  font-size: 14px;
}

.account-content {
  padding-top: 55px;
}

.account-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.account-welcome h2 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 23px;
}

.account-welcome > div > p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.account-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.account-overview-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
}

.account-card-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.account-overview-card strong {
  color: var(--navy);
  font-size: 27px;
  line-height: 1.3;
}

.account-card-note {
  color: var(--muted);
  font-size: 11px;
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 22px;
}

.account-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
}

.account-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 23px;
}

.account-panel-heading .account-eyebrow {
  margin-bottom: 5px;
}

.account-panel-heading h2 {
  color: var(--navy);
  font-size: 19px;
}

.account-profile-icon,
.account-link-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--pale-blue);
  color: var(--blue);
}

.account-profile-icon {
  width: 43px;
  height: 43px;
}

.account-profile-icon svg {
  width: 23px;
  height: 23px;
}

.account-detail-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.account-detail-row:first-child {
  padding-top: 0;
}

.account-detail-row:last-child {
  border-bottom: 0;
}

.account-detail-row span {
  color: var(--muted);
  font-size: 11px;
}

.account-detail-row strong {
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.account-information-note {
  margin-top: 15px;
  padding: 12px;
  border-radius: 7px;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.account-text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.account-text-link:hover {
  text-decoration: underline;
}

.account-empty-state {
  padding: 30px 15px;
  border-radius: 8px;
  background: #f7f9fc;
  text-align: center;
}

.account-empty-state p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
}

.account-empty-state a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.account-recent-order {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.account-recent-order:first-child {
  padding-top: 0;
}

.account-recent-order:last-child {
  border-bottom: 0;
}

.account-recent-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.account-recent-order-reference {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-recent-order-date {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.account-recent-order-total {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.account-recent-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-recent-order-items {
  color: var(--muted);
  font-size: 11px;
}

.account-recent-order-status {
  padding: 5px 9px;
  border-radius: 20px;
  background: var(--pale-blue);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.account-section-heading {
  margin-bottom: 20px;
}

.account-section-heading .account-eyebrow {
  margin-bottom: 5px;
}

.account-section-heading h2 {
  color: var(--navy);
  font-size: 21px;
}

.account-quick-links {
  margin-top: 42px;
}

.account-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.account-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.account-link-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.account-link-icon {
  width: 43px;
  height: 43px;
}

.account-link-icon svg {
  width: 22px;
  height: 22px;
}

.account-link-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.account-link-card strong {
  color: var(--navy);
  font-size: 12px;
}

.account-link-card small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.account-demo-notice {
  margin-top: 35px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f9fc;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.account-demo-notice strong {
  color: var(--navy);
}

/* =====================================
   RESPONSIVE LAYOUT
===================================== */

@media (max-width: 850px) {
  .header-content {
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .hero-content {
    grid-template-columns: 1fr 0.8fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-wrap: wrap;
  }

  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary {
    position: static;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header-content {
    gap: 13px;
  }

  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 5px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .header-actions {
    gap: 10px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 55px;
    padding-bottom: 35px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .visual-circle {
    width: 220px;
    height: 220px;
  }

  .shopping-card {
    min-height: 180px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-space {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalogue-hero {
    padding: 48px 0;
  }

  .catalogue-section {
    padding: 45px 0 60px;
  }

  .catalogue-heading {
    align-items: flex-start;
  }

  .catalogue-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalogue-art {
    height: 210px;
  }

  .catalogue-filters {
    gap: 8px;
  }

  .filter-button {
    padding: 9px 13px;
    font-size: 12px;
  }

  .cart-page {
    padding: 45px 0 60px;
  }

  .cart-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .cart-page-heading h1 {
    font-size: 29px;
  }

  .cart-items-panel {
    padding: 16px;
  }

  .cart-item {
    grid-template-columns: 65px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item-art {
    width: 65px;
    height: 65px;
  }

  .cart-item-total {
    grid-column: 2;
  }

  .cart-summary {
    padding: 20px;
  }

  .checkout-page {
    padding: 43px 0 60px;
  }

  .checkout-heading h1 {
    font-size: 29px;
  }

  .checkout-form-panel,
  .checkout-summary {
    padding: 19px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checkout-field.full-width {
    grid-column: auto;
  }

  .checkout-success {
    padding: 38px 18px;
  }

  .checkout-success-actions {
    flex-direction: column;
  }

  .checkout-success-actions a {
    width: 100%;
  }

  .orders-page {
    padding: 45px 0 60px;
  }

  .orders-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .orders-heading h1 {
    font-size: 29px;
  }

  .orders-list {
    padding: 0 16px;
  }

  .orders-list-heading {
    padding: 19px 16px;
  }

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

  .order-card-header {
    gap: 12px;
  }

  .order-reference-value {
    font-size: 12px;
  }

  .account-hero {
    padding: 45px 0;
  }

  .account-content {
    padding-top: 38px;
  }

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

  .account-overview {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .account-overview-card {
    padding: 18px;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .account-panel {
    padding: 18px;
  }

  .account-link-grid {
    grid-template-columns: 1fr;
  }

  .account-quick-links {
    margin-top: 32px;
  }
}
