:root {
      --white: #ffffff;
      --black: #111111;
      --soft-bg: #f7f4ef;
      --line: #e9e6e1;
      --muted: #5f5f5f;
      --footer-bg: #cfcfcf;
      --footer-text: #2f2f2f;
      --accent: #76583a;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background: var(--white);
      color: var(--black);
      font-family: Manrope, Inter, Arial, sans-serif;
      font-size: 19px;
      line-height: 1.6;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid var(--line);
      padding: 0;
      min-height: 84px;
      display: block;
    }

    .syn-header-inner {
      min-height: 84px;
      padding: 0 42px;
      display: grid;
      grid-template-columns: 260px 1fr 220px;
      align-items: center;
      gap: 26px;
    }

    .syn-logo-button {
      background: transparent;
      border: none;
      padding: 0;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--black);
      text-decoration: none;
    }

    .syn-logo-mark {
      width: 48px;
      height: 30px;
      position: relative;
      display: inline-block;
      flex: 0 0 auto;
    }

    .syn-logo-mark::before,
    .syn-logo-mark::after {
      content: "";
      position: absolute;
      top: 2px;
      width: 21px;
      height: 21px;
      border: 4px solid var(--black);
      border-radius: 50%;
    }

    .syn-logo-mark::before {
      left: 0;
    }

    .syn-logo-mark::after {
      right: 0;
    }

    .syn-logo-text {
      display: grid;
      line-height: 1;
      text-align: left;
    }

    .syn-logo-main {
      font-size: 24px;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .syn-logo-sub {
      margin-top: 6px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.24em;
      text-transform: uppercase;
    }

    .syn-menu {
      min-height: 84px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 36px;
    }

    .syn-menu-item {
      position: relative;
      min-height: 84px;
      display: flex;
      align-items: center;
    }

    .syn-menu-link {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      min-height: 84px;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--black);
      font-size: 16px;
      font-weight: 650;
      letter-spacing: 0.075em;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .syn-menu-link:hover {
      background: transparent;
      text-decoration: underline;
    }

    .syn-menu-item.has-dropdown .syn-menu-link {
      font-weight: 850;
    }

    .syn-chevron {
      font-size: 16px;
      transform: translateY(-1px);
    }

    .syn-dropdown {
      position: absolute;
      top: 84px;
      left: 50%;
      transform: translateX(-50%);
      min-width: 260px;
      background: var(--white);
      border: 1px solid var(--line);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
      display: none;
      padding: 10px 0;
      z-index: 1200;
    }

    .syn-menu-item:hover .syn-dropdown,
    .syn-menu-item:focus-within .syn-dropdown {
      display: block;
    }

    .syn-dropdown button {
      width: 100%;
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 15px 22px;
      text-align: left;
      color: var(--black);
      font-size: 16px;
      font-weight: 550;
      letter-spacing: 0.055em;
      text-transform: uppercase;
    }

    .syn-dropdown button:hover {
      background: #f5f5f5;
    }

    .header-actions {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .language-switcher {
      display: flex;
      align-items: center;
      gap: 4px;
      border: 1px solid var(--line);
      padding: 4px;
      background: #ffffff;
    }

    .lang-btn {
      border: none;
      background: transparent;
      color: var(--black);
      padding: 9px 11px;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .lang-btn.active {
      background: var(--black);
      color: var(--white);
    }

    .syn-cart-button {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      min-height: 84px;
      display: flex;
      align-items: center;
      gap: 9px;
      color: var(--black);
      font-size: 16px;
      font-weight: 750;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .syn-cart-icon {
      width: 25px;
      height: 25px;
      display: block;
    }

    #cartCount {
      min-width: 21px;
      min-height: 21px;
      border-radius: 999px;
      background: var(--black);
      color: var(--white);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      line-height: 1;
      padding: 2px 6px;
    }

    .page {
      display: none;
      padding: 70px 5vw 110px;
      min-height: 62vh;
    }

    .page.active {
      display: block;
    }

    .home-page {
      padding: 0;
    }

    .syn-home-hero {
      min-height: 58vh;
      padding: 96px 5vw 88px;
      background: var(--soft-bg);
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 58px;
      align-items: center;
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 15px;
      font-weight: 850;
    }

    .syn-home-hero h1 {
      margin: 0;
      max-width: 900px;
      font-size: clamp(52px, 5.8vw, 82px);
      line-height: 0.98;
      font-weight: 750;
      letter-spacing: -0.055em;
    }

    .syn-home-hero p {
      max-width: 680px;
      margin: 30px 0 40px;
      color: #4f4f4f;
      font-size: 20px;
      line-height: 1.75;
    }

    .syn-actions {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .primary-btn,
    .secondary-btn,
    .back-btn,
    .tab-btn {
      border-radius: 0;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .primary-btn {
      background: var(--black);
      color: var(--white);
      border: 1px solid var(--black);
      padding: 17px 30px;
      font-size: 16px;
      font-weight: 750;
    }

    .outline-btn {
      background: transparent;
      color: var(--black);
      border: 1px solid var(--black);
      border-radius: 0;
      padding: 17px 30px;
      font-size: 16px;
      font-weight: 750;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .outline-btn:hover {
      background: var(--black);
      color: var(--white);
    }

    .syn-home-card {
      background: var(--white);
      border: 1px solid var(--line);
      padding: 38px;
    }

    .syn-home-card h2 {
      margin: 0 0 24px;
      font-size: 36px;
      font-weight: 700;
      letter-spacing: -0.04em;
    }

    .syn-home-card button {
      width: 100%;
      background: transparent;
      border: none;
      border-top: 1px solid var(--line);
      border-radius: 0;
      padding: 21px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: var(--black);
      text-align: left;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      font-size: 17px;
      font-weight: 700;
    }

    .syn-home-card button:hover {
      color: var(--accent);
    }

    .syn-home-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: var(--white);
    }

    .syn-home-strip article {
      padding: 42px 34px;
      border-right: 1px solid var(--line);
    }

    .syn-home-strip article:last-child {
      border-right: none;
    }

    .syn-home-strip h3 {
      margin: 0 0 14px;
      font-size: 24px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.075em;
    }

    .syn-home-strip p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
      font-size: 18px;
    }

    .section-heading {
      padding: 0 0 32px;
      border-bottom: 1px solid var(--line);
      margin-bottom: 40px;
    }

    .section-heading h2 {
      margin: 0 0 16px;
      font-size: clamp(48px, 5.4vw, 76px);
      line-height: 1;
      font-weight: 750;
      letter-spacing: -0.06em;
    }

    .section-heading p {
      margin: 0;
      max-width: 860px;
      color: var(--muted);
      line-height: 1.7;
      font-size: 20px;
    }

    .collection-order-panel {
      margin-bottom: 42px;
      border: 1px solid var(--line);
      background: #ffffff;
    }

    .collection-order-header {
      padding: 32px 34px;
      border-bottom: 1px solid var(--line);
      background: #f7f4ef;
    }

    .collection-order-header h3 {
      margin: 0;
      font-size: 34px;
      font-weight: 750;
      letter-spacing: -0.04em;
    }

    .collection-order-options {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .collection-order-option {
      border: none;
      background: #ffffff;
      padding: 38px 34px;
      text-align: left;
      border-right: 1px solid var(--line);
      min-height: 210px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 22px;
    }

    .collection-order-option:last-child {
      border-right: none;
    }

    .collection-order-option:hover,
    .collection-order-option.active {
      background: #111111;
      color: #ffffff;
    }

    .collection-order-option span {
      display: block;
      font-size: 15px;
      font-weight: 850;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .collection-order-option:hover span,
    .collection-order-option.active span {
      color: #d5d5d5;
    }

    .collection-order-option strong {
      display: block;
      font-size: 34px;
      font-weight: 750;
      letter-spacing: -0.045em;
      line-height: 1.05;
    }

    .collection-order-option p {
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.6;
    }

    .collection-order-option:hover p,
    .collection-order-option.active p {
      color: #ededed;
    }

    .collection-selected-note {
      padding: 18px 34px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 17px;
      font-weight: 600;
    }

    .simple-page-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      border-left: 1px solid var(--line);
      border-top: 1px solid var(--line);
    }

    .simple-page-card {
      min-height: 230px;
      padding: 44px;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      background: var(--white);
      display: flex;
      align-items: center;
    }

    .simple-page-card h3 {
      margin: 0;
      font-size: 36px;
      font-weight: 700;
      letter-spacing: -0.04em;
    }

    .product-grid {
      gap: 0;
      border-left: 1px solid var(--line);
      border-top: 1px solid var(--line);
    }

    .product-card {
      border-radius: 0;
      border: none;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      box-shadow: none;
    }

    .product-image {
      background: #f4f1eb;
      border-bottom: 1px solid var(--line);
    }

    .product-content {
      padding: 32px;
      text-align: center;
    }

    .product-content h3 {
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-size: 22px;
    }

    .price {
      font-size: 20px;
      font-weight: 700;
    }

    .product-details,
    .cart-item,
    .cart-summary,
    .summary-card {
      border-radius: 0;
      box-shadow: none;
    }

    .choice-card,
    .option-card,
    .flow-section,
    .large-product-image {
      border-radius: 0;
    }

    .flow-section h3 {
      font-size: 32px;
      font-weight: 750;
    }

    .choice-card,
    .option-card {
      font-size: 18px;
    }

    .choice-card p,
    .option-card p {
      font-size: 17px;
      line-height: 1.6;
    }

    .summary-card {
      border: 1px solid var(--black);
    }

    .quick-order-page {
      max-width: 760px;
      margin: 0 auto;
      padding-top: 20px;
      text-align: center;
    }

    .quick-order-page h2 {
      margin: 0 0 12px;
      font-size: 46px;
      line-height: 1.15;
      font-weight: 850;
      letter-spacing: -0.04em;
    }

    .quick-order-page p {
      margin: 0 auto 42px;
      color: #111111;
      font-size: 20px;
      line-height: 1.6;
      letter-spacing: 0.02em;
    }

    .quick-order-form {
      display: grid;
      gap: 14px;
      text-align: left;
    }

    .quick-order-form input,
    .quick-order-form textarea {
      width: 100%;
      border: 1px solid #d2d2d2;
      border-radius: 6px;
      background: #ffffff;
      padding: 0 20px;
      font-size: 18px;
      letter-spacing: 0.02em;
      color: #111111;
      outline: none;
      box-sizing: border-box;
    }

    .quick-order-form input {
      height: 62px;
    }

    .quick-order-form textarea {
      min-height: 130px;
      padding-top: 20px;
      resize: vertical;
    }

    .quick-order-form input:focus,
    .quick-order-form textarea:focus {
      border-color: #111111;
    }

    .quick-submit {
      width: 100%;
      border: none;
      border-radius: 5px;
      background: #202020;
      color: #ffffff;
      min-height: 58px;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }

    .quick-submit:hover {
      background: #000000;
    }

    .contact-page-wrap {
      max-width: 1100px;
      margin: 0 auto;
    }

    .contact-main-header {
      text-align: center;
      padding: 22px 0 50px;
      border-bottom: 1px solid var(--line);
      margin-bottom: 46px;
    }

    .contact-main-header h2 {
      margin: 0;
      font-size: clamp(62px, 7vw, 96px);
      line-height: 0.95;
      font-weight: 750;
      letter-spacing: -0.06em;
    }

    .contact-info-panel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      margin-bottom: 34px;
    }

    .contact-info-card {
      background: #f7f4ef;
      border: 1px solid var(--line);
      padding: 42px;
      min-height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .contact-info-card span {
      display: block;
      color: var(--muted);
      font-size: 19px;
      font-weight: 900;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 22px;
    }

    .contact-info-card a,
    .contact-info-card p {
      margin: 0;
      color: var(--black);
      text-decoration: none;
      font-size: clamp(30px, 3.4vw, 42px);
      line-height: 1.1;
      font-weight: 600;
      letter-spacing: -0.04em;
      word-break: break-word;
    }

    .contact-info-card a:hover {
      text-decoration: underline;
    }

    .contact-social-box {
      border: 1px solid var(--line);
      padding: 34px 42px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
      background: #ffffff;
    }

    .contact-social-box p {
      margin: 0;
      color: var(--muted);
      font-size: 20px;
      line-height: 1.6;
    }

    .contact-social-icons {
      display: flex;
      gap: 14px;
      align-items: center;
    }

    .syn-contact-footer {
      background: var(--footer-bg);
      color: var(--footer-text);
      border-top: 1px solid #bdbdbd;
    }

    .syn-contact-inner {
      max-width: 1260px;
      margin: 0 auto;
      padding: 66px 32px 52px;
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
      gap: 42px;
      align-items: start;
    }

    .footer-logo {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      color: #111111;
    }

    .footer-logo-mark {
      width: 70px;
      height: 40px;
      position: relative;
      display: block;
      margin-bottom: 8px;
    }

    .footer-logo-mark::before,
    .footer-logo-mark::after {
      content: "";
      position: absolute;
      top: 0;
      width: 29px;
      height: 29px;
      border: 6px solid #111111;
      border-radius: 50%;
    }

    .footer-logo-mark::before {
      left: 0;
    }

    .footer-logo-mark::after {
      right: 0;
    }

    .footer-brand-small {
      font-size: 14px;
      font-weight: 900;
      letter-spacing: 0.22em;
      text-transform: uppercase;
    }

    .footer-brand-large {
      margin-top: 2px;
      font-size: 38px;
      line-height: 0.9;
      font-weight: 900;
      letter-spacing: -0.06em;
      text-transform: lowercase;
    }

    .footer-col h3 {
      margin: 0 0 22px;
      color: #2c2c2c;
      font-size: 22px;
      font-weight: 850;
    }

    .footer-col p,
    .footer-col a,
    .footer-col button {
      margin: 0 0 10px;
      color: #525252;
      font-size: 16px;
      line-height: 1.55;
      text-decoration: none;
      font-weight: 650;
    }

    .footer-col button {
      display: block;
      background: transparent;
      border: none;
      padding: 0;
      text-align: left;
    }

    .footer-col button:hover,
    .footer-col a:hover {
      color: #000000;
      text-decoration: underline;
    }

    .footer-socials {
      max-width: 1260px;
      margin: 0 auto;
      padding: 0 32px 48px;
      display: flex;
      justify-content: center;
      gap: 18px;
    }

    .social-icon {
      width: 40px;
      height: 40px;
      border: 1px solid #3a3a3a;
      border-radius: 50%;
      display: inline-grid;
      place-items: center;
      color: #2f2f2f;
      background: transparent;
      flex: 0 0 auto;
    }

    .social-icon svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .social-icon:hover {
      background: #2f2f2f;
      color: #ffffff;
    }

    .footer-bottom {
      border-top: 1px solid #bdbdbd;
      padding: 28px 32px;
      color: #777777;
      text-align: center;
      font-size: 15px;
    }

    

    @media (max-width: 1200px) {
      .syn-header-inner {
        grid-template-columns: auto 1fr auto;
        padding: 0 24px;
      }

      .syn-menu {
        gap: 22px;
      }

      .syn-menu-link {
        font-size: 15px;
      }

      .syn-contact-inner {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 900px) {
      body {
        font-size: 17px;
      }

      .syn-header-inner {
        min-height: auto;
        padding: 14px 18px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
      }

      .header-actions {
        justify-self: end;
      }

      .syn-menu {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 22px;
        min-height: 54px;
      }

      .syn-menu-link {
        min-height: 54px;
      }

      .syn-dropdown {
        position: fixed;
        top: 134px;
        left: 18px;
        transform: none;
      }

      .syn-home-hero,
      .syn-home-strip,
      .simple-page-grid,
      .syn-contact-inner,
      .contact-info-panel,
      .collection-order-options {
        grid-template-columns: 1fr;
      }

      .collection-order-option {
        border-right: none;
        border-bottom: 1px solid var(--line);
      }

      .collection-order-option:last-child {
        border-bottom: none;
      }

      .syn-home-hero {
        padding: 68px 5vw;
      }

      .syn-home-strip article {
        border-right: none;
        border-bottom: 1px solid var(--line);
      }

      .syn-contact-inner {
        gap: 28px;
      }

      .quick-order-page {
        max-width: 100%;
      }

      .contact-social-box {
        flex-direction: column;
        align-items: flex-start;
      }

      .syn-home-hero h1 {
        font-size: 50px;
      }

      .section-heading h2 {
        font-size: 46px;
      }
    }

/* Product grid and configurator support */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.product-image, .large-product-image {
  background: #f4f1eb;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-image { height: 260px; }
.large-product-image { min-height: 520px; border: 1px solid var(--line); }
.product-image img, .large-product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-placeholder { color: #9a8f80; font-size: 64px; font-weight: 900; letter-spacing: -0.05em; }
.product-details { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.product-details h2 { margin: 0 0 8px; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -0.055em; }
.flow-section { border: 1px solid var(--line); padding: 26px; margin: 24px 0; background: white; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card, .option-card { border: 1px solid var(--line); padding: 18px; display: block; background: #fff; }
.option-list { display: grid; gap: 12px; }
.prescription-grid { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid var(--line); padding: 12px; text-align: left; }
th { background: var(--soft-bg); }
td input { width: 100%; border: 1px solid var(--line); padding: 10px; }
.summary-card { padding: 26px; margin-top: 24px; border-color: var(--black); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: none; font-weight: 900; font-size: 22px; }
.cart-list { display: grid; gap: 18px; }
.cart-item { border: 1px solid var(--line); padding: 26px; background: white; }
.cart-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.cart-summary { margin-top: 28px; padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); background: white; }
.remove-btn, .danger-btn { background: #b42318; color: #fff; border: 1px solid #b42318; padding: 12px 18px; border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 2000; background: var(--black); color: white; padding: 14px 18px; max-width: 360px; box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; font-weight: 700; }
.toast.show { opacity: 1; transform: translateY(0); }
.hidden { display: none !important; }
.empty-message { padding: 24px; border: 1px dashed var(--line); color: var(--muted); background: #fafafa; }

/* Admin area */
.admin-page { max-width: 1180px; margin: 0 auto; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 5vw; border-bottom: 1px solid var(--line); background: #fff; }
.admin-layout { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; }
.admin-box { border: 1px solid var(--line); background: white; padding: 26px; }
.admin-box h3 { margin: 0 0 18px; font-size: 28px; letter-spacing: -0.03em; }
.admin-form { display: grid; gap: 14px; }
.admin-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; }
.admin-form input, .admin-form textarea, .admin-form select { width: 100%; border: 1px solid #d2d2d2; background: #ffffff; padding: 14px 16px; color: #111111; outline: none; }
.admin-form textarea { min-height: 110px; resize: vertical; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.admin-list { display: grid; gap: 12px; }
.admin-list-item { border: 1px solid var(--line); padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.admin-list-item h4 { margin: 0 0 6px; font-size: 20px; }
.admin-list-item p { margin: 0; color: var(--muted); font-size: 15px; }
.small-btn, .secondary-btn { border-radius: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; }
.small-btn { background: var(--black); color: white; border: 1px solid var(--black); padding: 9px 14px; font-size: 13px; display: inline-block; text-decoration: none; }
.secondary-btn { background: #f3f3f3; color: var(--black); border: 1px solid var(--line); padding: 13px 22px; font-size: 14px; text-decoration: none; }
.alert { border: 1px solid #f4c145; background: #fff8df; color: #996300; padding: 16px 18px; margin-bottom: 20px; font-weight: 700; }
.error { border-color: #e8a2a2; background: #fff2f2; color: #b42318; }
.success { border-color: #9fd4b4; background: #eefaf3; color: #157347; }
.admin-thumb { width: 72px; height: 52px; object-fit: cover; border: 1px solid var(--line); background: #f4f1eb; }
.login-wrap { max-width: 520px; margin: 70px auto; padding: 0 18px; }

@media (max-width: 900px) {
  .product-grid, .product-details, .admin-layout { grid-template-columns: 1fr; }
  .large-product-image { min-height: 320px; }
}


/* Customer accounts */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.customer-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--black);
  padding: 8px 12px;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.muted-account-link {
  background: transparent;
  color: var(--black);
  border-color: var(--line);
}

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

.auth-page {
  min-height: 70vh;
  padding: 70px 5vw 110px;
  background: var(--white);
}

.auth-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.auth-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 36px;
}

.auth-box h1,
.auth-box h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.auth-box p {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  border: 1px solid #d2d2d2;
  background: #fff;
  padding: 14px 16px;
  color: #111;
  outline: none;
}

.auth-form textarea {
  min-height: 90px;
  resize: vertical;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-links {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-links a {
  color: var(--black);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.account-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.account-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: #fff;
}

.account-card h2 {
  margin: 0 0 16px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

@media (max-width: 1200px) {
  .syn-header-inner {
    grid-template-columns: 260px 1fr auto;
  }
}

@media (max-width: 900px) {
  .customer-nav {
    width: 100%;
  }
  .account-panel,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .auth-box {
    padding: 24px;
  }
}

/* Orders */
.order-history-section {
  margin-top: 26px;
}

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

.order-history-card,
.order-detail-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px;
}

.order-history-head,
.order-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.order-history-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.order-history-head p,
.order-line p,
.admin-order-customer p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

.order-line:last-child {
  border-bottom: none;
}

.compact-order-line {
  padding: 10px 0;
}

.order-total-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--black);
}

.admin-order-card {
  padding: 24px;
}

.admin-order-customer {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 4px;
}

#fakeCheckoutBtn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 700px) {
  .order-history-head,
  .order-line {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Nordicwear CMS update */
.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 5vw;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 900;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #f5f5f5;
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-nav-link.active,
.admin-nav-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.settings-grid textarea {
  min-height: 120px;
}

.editable-list-card {
  align-items: flex-start;
}

.editable-list-card p,
.gallery-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.gallery-grid .gallery-card {
  display: grid;
  gap: 18px;
  align-items: start;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--soft-bg);
}

.status-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.status-form select {
  border: 1px solid var(--line);
  padding: 9px 12px;
  background: #fff;
}

.quick-order-text {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
  white-space: normal;
}

.quick-order-text p {
  margin: 0;
  color: var(--black);
}

.quick-submit:disabled,
.primary-btn:disabled,
.small-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 800px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
    padding: 12px 18px;
  }
}

/* Pris på förfrågan */
.quote-price {
  color: var(--accent);
  letter-spacing: 0.02em;
}

.quote-panel p {
  color: var(--muted);
  margin: 0 0 20px;
}

.admin-check small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
}

/* Lens order update: tydligare företagsheader och glasorderformulär */
.syn-header-inner {
  grid-template-columns: minmax(300px, auto) minmax(520px, 1fr) auto;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.language-switcher,
.customer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.syn-cart-button {
  min-height: 42px;
}

.product-image img,
.large-product-image img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #f7f4ef;
}

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

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

.lens-order-grid label {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.lens-order-grid input,
.lens-order-grid select {
  width: 100%;
  border: 1px solid #d2d2d2;
  background: #ffffff;
  padding: 13px 14px;
  color: #111111;
  outline: none;
}

.prescription-grid table th,
.prescription-grid table td {
  white-space: nowrap;
}

.prescription-grid input {
  min-width: 110px;
}

.mini-prescription-table {
  margin-top: 12px;
  overflow-x: auto;
}

.mini-prescription-table table {
  font-size: 14px;
  margin-top: 8px;
}

.mini-prescription-table th,
.mini-prescription-table td {
  padding: 7px 9px;
}

@media (max-width: 1300px) {
  .syn-header-inner {
    grid-template-columns: 1fr;
    padding: 18px 24px;
  }

  .syn-menu,
  .header-actions {
    justify-self: start;
  }

  .header-actions {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .lens-order-grid,
  .lens-type-grid {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .customer-nav,
  .language-switcher {
    flex-wrap: wrap;
  }
}
