  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0F172A;
    background: #F8FAFC;
    line-height: 1.5;
  }
  a { text-decoration: none; color: inherit; cursor: pointer; }
  img { max-width: 100%; display: block; }
  button { font-family: inherit; cursor: pointer; border: none; }

  :root {
    --blue-900: #0F1B2D;
    --blue-700: #1A2942;
    --blue-500: #25334D;
    --blue-50: #F1F5F9;
    --orange: #F97316;
    --orange-light: #FB923C;
    --orange-50: #FFEDD5;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-500: #64748B;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --red: #DC2626;
    --green: #16A34A;
  }

  .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

  /* PROMO BAR */
  .promo-bar {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
  }

  /* INFO BAR */
  .info-bar {
    background: var(--blue-900);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
  }
  .info-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }
  .info-bar .left { display: flex; align-items: center; gap: 8px; }
  .info-bar .right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .info-bar strong { color: var(--orange); }

  /* MAIN HEADER */
  .main-header {
    background: var(--white);
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -0.5px;
  }
  .logo-img {
    max-height: 52px;
    height: auto;
    width: auto;
    display: inline-block;
  }
  .logo-mark {
    width: 38px; height: 38px;
    background: var(--orange);
    border-radius: 10px;
    display: grid; place-items: center;
    color: var(--white);
    font-size: 22px; font-weight: 900;
  }
  .search-wrap {
    position: relative;
    width: 100%; max-width: 580px;
    margin: 0 auto;
  }
  .search-input {
    width: 100%; height: 48px;
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    padding: 0 56px 0 20px;
    font-size: 15px;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: border-color .15s, background .15s;
  }
  .search-input:focus { outline: none; border-color: var(--orange); background: var(--white); }
  .search-btn {
    position: absolute; right: 5px; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: grid; place-items: center;
    font-size: 18px;
  }
  .search-btn:hover { background: var(--orange-light); }

  .header-actions { display: flex; gap: 8px; align-items: center; }
  .icon-btn {
    display: flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 16px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 14px; font-weight: 600;
    transition: background .15s, color .15s;
  }
  .icon-btn:hover { background: var(--orange-50); color: var(--orange); }
  .icon-btn.cart {
    background: var(--blue-900);
    color: var(--white);
  }
  .icon-btn.cart:hover { background: var(--blue-700); color: var(--white); }
  .cart-badge {
    background: var(--orange);
    color: var(--white);
    font-weight: 800;
    min-width: 22px; height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: grid; place-items: center;
    font-size: 12px;
  }

  /* NAV */
  .main-nav {
    background: var(--blue-900);
    color: var(--white);
  }
  .main-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible;
  }
  .nav-link {
    display: inline-block;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--white);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s;
  }
  .nav-link:hover { color: var(--orange); background: rgba(255,255,255,0.04); }
  .nav-link.active { color: var(--orange); border-bottom-color: var(--orange); }
  .nav-badge {
    background: var(--orange);
    color: var(--white);
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 800;
  }

  /* PAGE CONTENT WRAPPER */
  #app { min-height: 60vh; }

  /* ===== INFO ICONS STRIP (globally between header & nav) ===== */
  .info-icons-strip {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .info-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .info-icon-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background .15s;
  }
  .info-icon-card:hover {
    background: var(--orange-50);
  }
  .info-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--orange);
    color: var(--white);
    display: grid; place-items: center;
    font-size: 22px;
    flex-shrink: 0;
  }
  .info-text { line-height: 1.3; }
  .info-text h4 {
    font-size: 12px;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 2px;
    letter-spacing: 0.3px;
  }
  .info-text p {
    font-size: 12px;
    color: var(--gray-700);
    line-height: 1.35;
  }
  @media (max-width: 980px) {
    .info-icons-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .info-icons-grid { grid-template-columns: 1fr; }
  }

  /* FEATURE STRIP */
  .feature-strip {
    background: var(--blue-50);
    padding: 22px 0;
  }
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .feature-card { display: flex; gap: 14px; align-items: center; }
  .feature-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--orange);
    color: var(--white);
    display: grid; place-items: center;
    font-size: 22px;
    flex-shrink: 0;
  }
  .feature-text h4 { font-size: 13px; font-weight: 800; color: var(--blue-900); margin-bottom: 2px; }
  .feature-text p { font-size: 12px; color: var(--gray-700); line-height: 1.4; }

  /* HERO BANNERS */
  .hero-section { padding: 28px 0; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 16px;
  }
  .hero-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--blue-900);
    min-height: 380px;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
  }
  .hero-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,27,45,0.18); }
  .hero-card.left { background: linear-gradient(160deg, #FCE7F3 0%, #FBCFE8 60%, #F9A8D4 100%); }
  .hero-card.center { background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 50%, #FDBA74 100%); }
  .hero-card.right { background: linear-gradient(160deg, #CFFAFE 0%, #A5F3FC 60%, #67E8F9 100%); }
  .hero-emoji {
    position: absolute; top: 24px; right: 24px;
    font-size: 80px; opacity: 0.85;
  }
  .hero-content { position: relative; z-index: 2; }
  .hero-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 8px; line-height: 1.15; }
  .hero-card.center h3 { font-size: 34px; }
  .hero-card p { font-size: 14px; margin-bottom: 16px; opacity: 0.85; max-width: 360px; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700; font-size: 14px;
    transition: background .15s, transform .15s;
  }
  .btn:hover { background: var(--orange-light); transform: translateX(3px); }
  .btn-dark { background: var(--blue-900); color: var(--white); }
  .btn-dark:hover { background: var(--blue-700); }
  .btn-outline {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 10px 22px;
  }
  .btn-outline:hover { background: var(--orange); color: var(--white); transform: none; }

  /* SECTION */
  .section { padding: 36px 0; }
  .section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 22px;
  }
  .section-title {
    font-size: 26px; font-weight: 800;
    color: var(--blue-900);
    position: relative;
    padding-bottom: 12px;
  }
  .section-title::after {
    content: ''; position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 4px;
    background: var(--orange);
    border-radius: 2px;
  }
  .see-all {
    color: var(--orange);
    font-weight: 700; font-size: 14px;
    display: flex; align-items: center; gap: 6px;
    transition: gap .15s;
  }
  .see-all:hover { gap: 10px; }

  /* PRODUCT GRID */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    cursor: pointer;
    display: flex; flex-direction: column;
  }
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15,27,45,0.12);
    border-color: var(--orange);
  }
  .product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 11px; font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.5px;
  }
  .product-badge.dark { background: var(--blue-900); }
  .product-badge.green { background: var(--green); }

  /* CIRCULAR STATUS BADGES — HOT (bottom-left) + ΝΕΟ (top-right) */
  .product-badge.circle {
    width: 34px; height: 34px;
    border-radius: 50%;
    padding: 0;
    display: grid; place-items: center;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.16), 0 1px 2px rgba(0,0,0,0.08);
    border: none;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  .product-badge.circle.hot {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #fff;
    top: 8px; right: 8px; left: auto; bottom: auto;
  }
  .product-badge.circle.neo {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    color: #fff;
    top: auto; bottom: 8px; left: 8px; right: auto;
  }

  /* RECTANGULAR BANNER BADGES — ΣΥΝΤΟΜΑ + ΕΞΑΝΤΛΗΜΕΝΟ */
  .product-badge.banner {
    top: 14px; left: 0;
    padding: 5px 12px 5px 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fff;
    border-radius: 0 14px 14px 0;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.12);
    letter-spacing: 0.2px;
    text-transform: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }
  .product-badge.banner.syntoma { background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%); color: #fff; }
  .product-badge.banner.exant   { background: linear-gradient(90deg, #FACC15 0%, #EAB308 100%); color: #1F2937; }

  .product-labels {
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    pointer-events: none;
    max-width: calc(100% - 44px);
  }
  .product-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 0 12px 12px 0;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.12);
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-label .fa { font-size: 12px; }
  .pd2-gallery .product-labels { top: 14px; }
  .pd2-gallery .product-label {
    font-size: 13px;
    padding: 6px 14px 6px 12px;
  }
  @media (max-width: 768px) {
    .product-label { font-size: 10px; padding: 3px 8px 3px 7px; }
    .pd2-gallery .product-label { font-size: 12px; }
  }

  @media (max-width: 768px) {
    .product-badge.circle { width: 30px; height: 30px; font-size: 8.5px; }
    .product-badge.circle.hot { top: 6px; right: 6px; bottom: auto; left: auto; }
    .product-badge.circle.neo { bottom: 6px; left: 6px; top: auto; right: auto; }
    .product-badge.banner { font-size: 9.5px; padding: 4px 9px; }
  }
  /* Bigger badges on detail page — same positions as cards */
  .pd2-main-image .product-badge.circle { width: 52px; height: 52px; font-size: 12px; }
  .pd2-main-image .product-badge.banner {
    font-size: 13px;
    padding: 7px 16px 7px 14px;
  }
  .product-fav {
    position: absolute;
    top: 12px; right: 12px;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: grid; place-items: center;
    z-index: 5;
    font-size: 16px;
    color: var(--gray-500);
    z-index: 2;
    transition: color .15s, transform .15s;
  }
  .product-fav:hover { color: var(--red); transform: scale(1.1); }
  .product-fav.active { color: var(--red); }

  /* Inline heart in footer (next to price/cart) */
  .footer-actions { display: flex; gap: 6px; align-items: center; }
  .product-fav-inline {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-500);
    display: grid; place-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
  }
  .product-fav-inline:hover { color: var(--red); border-color: var(--red); transform: scale(1.05); }
  .product-fav-inline.active { color: var(--red); border-color: var(--red); background: #FEF2F2; }
  @media (max-width: 768px) {
    .product-fav-inline { width: 32px; height: 32px; font-size: 15px; border-radius: 8px; }
  }
  .product-image {
    aspect-ratio: 1;
    background: var(--gray-50);
    display: grid; place-items: center;
    font-size: 80px;
    transition: background .2s;
    position: relative;
    overflow: hidden;
  }
  .product-card:hover .product-image { background: var(--orange-50); }
  .product-info { padding: 14px; flex: 1; display: flex; flex-direction: column; }
  .product-brand {
    color: var(--orange);
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .product-name {
    font-size: 14px; font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.35;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--gray-100);
    padding-top: 12px;
  }
  .price-label { font-size: 11px; color: var(--gray-500); margin-bottom: 2px; }
  .price { font-size: 19px; font-weight: 800; color: var(--blue-900); }
  .price-old { font-size: 13px; color: var(--gray-500); text-decoration: line-through; margin-left: 6px; font-weight: 500; }
  .add-cart-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--orange);
    color: var(--white);
    display: grid; place-items: center;
    font-size: 16px;
    transition: background .15s;
  }
  .add-cart-btn:hover { background: #ea580c; }

  /* TRUST */
  .trust-section {
    background: var(--white);
    padding: 44px 0;
    border-top: 1px solid var(--gray-200);
  }
  .trust-socials {
    display: flex;
    gap: 10px;
    margin-top: 8px;
  }
  .trust-social {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
  }
  .trust-social:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.18); }
  .trust-social.fb { background: #1877F2; }
  .trust-social.ig { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); font-size: 14px; }
  .trust-social.li { background: #0A66C2; font-style: italic; }
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .trust-card {
    display: flex; align-items: flex-start; gap: 18px;
  }
  .trust-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--orange-50);
    color: var(--orange);
    display: grid; place-items: center;
    font-size: 26px;
    flex-shrink: 0;
  }
  .trust-text h4 { font-size: 17px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
  .trust-text p { color: var(--gray-700); font-size: 14px; line-height: 1.5; }

  /* FOOTER */
  footer {
    background: var(--blue-900);
    color: var(--white);
    padding: 50px 0 0;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 36px;
  }
  .footer-brand .logo { color: var(--white); margin-bottom: 16px; }
  .footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 14px; line-height: 1.6;
    margin-bottom: 18px;
  }
  .social { display: flex; gap: 10px; }
  .social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: grid; place-items: center;
    font-size: 14px; font-weight: 700;
    transition: background .15s;
  }
  .social a:hover { background: var(--orange); }

  .footer-col h5 {
    font-size: 14px; font-weight: 800;
    margin-bottom: 16px;
    color: var(--orange);
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--orange); }
  .contact-item {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 12px;
  }
  .contact-item .ico { color: var(--orange); }
  .copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
  }
  .admin-link {
    color: var(--orange);
    font-weight: 700;
  }

  /* PRODUCT DETAIL PAGE */
  .breadcrumb {
    padding: 20px 0;
    color: var(--gray-500);
    font-size: 14px;
  }
  .breadcrumb a { color: var(--gray-700); }
  .breadcrumb a:hover { color: var(--orange); }
  .breadcrumb .sep { margin: 0 10px; color: var(--gray-300); }

  .product-detail {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 20px 0 50px;
  }
  .product-gallery {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
  }
  .pd-main-image {
    aspect-ratio: 1;
    background: var(--gray-50);
    display: grid; place-items: center;
    font-size: 200px;
  }
  /* legacy horizontal thumbs (kept for any other view) */
  .pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 14px;
  }
  .pd-thumb {
    aspect-ratio: 1;
    background: var(--gray-50);
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 32px;
    cursor: pointer;
    border: 2px solid transparent;
  }
  .pd-thumb.active { border-color: var(--orange); }

  .product-info-side {
    padding: 0;
  }
  .pd-brand {
    color: var(--orange);
    font-size: 12px; font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .pd-title {
    font-size: 28px; font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .pd-meta {
    display: flex; gap: 18px; flex-wrap: wrap;
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
  }
  .pd-meta strong { color: var(--blue-900); }
  .pd-stock { display: flex; align-items: center; gap: 6px; }
  .pd-stock.in { color: var(--green); }
  .pd-stock.out { color: var(--red); }

  .pd-price-block {
    background: var(--orange-50);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 22px;
  }
  .pd-price-label { font-size: 13px; color: var(--gray-700); margin-bottom: 4px; }
  .pd-price { font-size: 36px; font-weight: 800; color: var(--blue-900); }
  .pd-price-vat { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

  .pd-qty-row {
    display: flex; gap: 14px; align-items: center;
    margin-bottom: 18px;
  }
  .qty-control {
    display: flex; align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
  }
  .qty-btn {
    width: 42px; height: 42px;
    background: var(--gray-50);
    color: var(--blue-900);
    font-size: 18px; font-weight: 700;
    transition: background .15s;
  }
  .qty-btn:hover { background: var(--gray-200); }
  .qty-btn:disabled:hover { background: var(--gray-50); }
  .qty-input {
    width: 60px; height: 42px;
    border: none;
    text-align: center;
    font-size: 16px; font-weight: 700;
    color: var(--blue-900);
    background: var(--white);
  }
  .qty-input:focus { outline: none; }

  .pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
  .btn-large {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 999px;
  }
  .btn-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    display: grid; place-items: center;
    font-size: 20px;
  }
  .btn-icon:hover { background: var(--orange-50); color: var(--orange); }

  .pd-features {
    list-style: none;
    background: var(--white);
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    padding: 6px 0;
  }
  .pd-features li {
    padding: 12px 18px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    color: var(--gray-700);
    display: flex; align-items: center; gap: 12px;
  }
  .pd-features li:last-child { border-bottom: none; }
  .pd-features .ico { font-size: 18px; color: var(--orange); }

  .pd-tabs {
    margin-top: 40px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
  }
  .pd-tab-headers {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
  }
  .pd-tab-header {
    padding: 16px 24px;
    font-weight: 700;
    color: var(--gray-700);
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
  }
  .pd-tab-header.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: var(--white);
  }
  .pd-tab-content { padding: 24px; }
  .pd-tab-pane { display: none; }
  .pd-tab-pane.active { display: block; }
  .pd-tab-pane p { color: var(--gray-700); margin-bottom: 12px; line-height: 1.7; }
  .pd-spec-table { width: 100%; border-collapse: collapse; }
  .pd-spec-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
  }
  .pd-spec-table td:first-child { color: var(--gray-500); width: 40%; }
  .pd-spec-table td:last-child { color: var(--blue-900); font-weight: 600; }

  /* ===== CATEGORY SIDEBAR (red header card style) ===== */
  .cat-with-sidebar {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    align-items: start;
  }
  .cat-sidebar {
    position: sticky;
    top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,27,45,0.05);
  }
  .sidebar-header {
    color: var(--white);
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.4px;
    text-transform: uppercase;
  }
  .sidebar-header.red { background: #DC2626; }
  .sidebar-header.navy { background: var(--blue-900); }
  .sidebar-body { padding: 4px 0; }
  .filter-section { padding: 14px 16px; }
  .filter-section.divider { border-top: 1px solid var(--gray-100); }
  .filter-section h4 {
    font-size: 13px; font-weight: 700;
    color: var(--blue-900); margin-bottom: 10px;
    letter-spacing: 0.2px;
  }
  .price-inputs {
    display: flex; gap: 8px; align-items: center;
    margin-bottom: 10px;
  }
  .filter-apply {
    width: 100%; padding: 8px 12px;
    background: var(--orange); color: var(--white);
    border-radius: 8px; font-size: 13px; font-weight: 700;
    transition: background .15s;
  }
  .filter-apply:hover { background: var(--orange-light); }
  .filter-check {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0; cursor: pointer;
    font-size: 13px; color: var(--gray-700);
    user-select: none;
  }
  .filter-check input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--orange);
    cursor: pointer; margin: 0; flex-shrink: 0;
  }
  .filter-check span:first-of-type { flex: 1; }
  .filter-count {
    color: var(--gray-500); font-size: 12px; font-weight: 600;
  }
  .filter-check:hover { color: var(--orange); }
  .filter-input {
    width: 100%; padding: 8px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px; font-size: 13px;
    color: var(--gray-900); background: var(--gray-50);
  }
  .filter-input:focus {
    outline: none; border-color: var(--orange); background: var(--white);
  }
  .filter-input.small {
    padding: 6px 8px; font-size: 12px;
    width: 50%; text-align: center;
  }
  .sidebar-cat-list {
    list-style: none; padding: 0; margin: 0;
  }
  .sidebar-cat-list li {
    padding: 11px 18px;
    border-top: 1px solid var(--gray-100);
    cursor: pointer;
    font-size: 13px;
    color: var(--gray-700);
    transition: background .15s, color .15s, padding-left .15s;
  }
  .sidebar-cat-list li:first-child { border-top: none; }
  .sidebar-cat-list li:hover {
    background: var(--orange-50);
    color: var(--orange);
    padding-left: 22px;
    font-weight: 600;
  }
  .sidebar-filter-clear-wrap {
    padding: 8px 10px 12px;
    border-top: 1px solid var(--gray-100);
  }
  .sidebar-filter-reset {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: background .15s, color .15s;
  }
  .sidebar-filter-reset:hover { background: var(--red); color: var(--white); border-color: var(--red); }
  .filter-clear {
    padding: 10px;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 12px; font-weight: 700;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    transition: background .15s, color .15s;
    cursor: pointer;
  }
  .filter-clear:hover { background: var(--red); color: var(--white); border-color: var(--red); }

  @media (max-width: 980px) {
    .cat-with-sidebar { grid-template-columns: 1fr; }
    .cat-sidebar { position: static; }
    /* Sidebar collapsed by default on mobile */
    .sidebar-card .sidebar-body { display: none; }
    .sidebar-card.open .sidebar-body { display: block; }
    .sidebar-header {
      cursor: pointer !important;
      position: relative;
      padding-right: 44px !important;
    }
    .toggle-arrow {
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      transition: transform .2s;
      font-size: 12px;
      display: inline-block !important;
    }
    .sidebar-card.open .toggle-arrow {
      transform: translateY(-50%) rotate(180deg);
    }
    .cat-sidebar .filter-clear { display: none; }
    .cat-sidebar.has-open .filter-clear { display: block; }
  }
  @media (min-width: 981px) {
    .toggle-arrow { display: none; }
  }

  /* CATEGORY PAGE */
  .cat-header {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: var(--white);
    padding: 50px 0;
    text-align: center;
  }
  .cat-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; }
  .cat-header p { opacity: 0.85; }
  .cat-toolbar {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 30px;
  }
  .cat-toolbar .container {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    flex-wrap: wrap;
  }
  .cat-result-count { color: var(--gray-700); font-size: 14px; font-weight: 600; }
  .cat-sort {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-700);
    background: var(--white);
    cursor: pointer;
  }
  .cat-sort:focus { outline: none; border-color: var(--orange); }

  /* CART PAGE */
  .cart-page { padding: 30px 0 60px; }
  .cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 24px;
  }
  .cart-items {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
  }
  .cart-empty {
    padding: 70px 30px;
    text-align: center;
  }
  .cart-empty .ico { font-size: 80px; opacity: 0.3; margin-bottom: 18px; }
  .cart-empty h3 { font-size: 22px; font-weight: 800; color: var(--blue-900); margin-bottom: 10px; }
  .cart-empty p { color: var(--gray-700); margin-bottom: 20px; }
  .cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
  }
  .cart-item:last-child { border-bottom: none; }
  .cart-item-img {
    width: 90px; height: 90px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 50px;
    overflow: hidden;
  }
  .cart-item-img img {
    width: 100%; height: 100%; object-fit: contain; padding: 4px;
  }
  .cart-item-info h4 {
    font-size: 15px; font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 4px;
  }
  .cart-item-brand {
    font-size: 11px; font-weight: 800;
    color: var(--orange);
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }
  .cart-item-sku {
    font-size: 12px; color: var(--gray-500); margin-top: 4px;
  }
  .cart-item-price {
    font-size: 16px; font-weight: 800;
    color: var(--blue-900);
    text-align: right;
  }
  .cart-item-remove {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    display: grid; place-items: center;
    font-size: 16px;
    transition: background .15s, color .15s;
  }
  .cart-item-remove:hover { background: var(--red); color: var(--white); }

  .cart-summary {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 22px;
    height: fit-content;
    position: sticky;
    top: 100px;
  }
  .cart-summary h3 {
    font-size: 18px; font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
  }
  .summary-row {
    display: flex; justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--gray-700);
  }
  .summary-row.total {
    font-size: 20px; font-weight: 800;
    color: var(--blue-900);
    border-top: 2px solid var(--gray-200);
    padding-top: 14px;
    margin-top: 8px;
    margin-bottom: 18px;
  }
  .summary-warn {
    background: #FEF3C7;
    color: #92400E;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 14px;
    display: flex; gap: 8px; align-items: flex-start;
  }
  .checkout-btn {
    width: 100%;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    display: grid; place-items: center;
    transition: background .15s;
  }
  .checkout-btn:hover { background: var(--orange-light); }
  .checkout-btn:disabled { background: var(--gray-300); cursor: not-allowed; }

  /* SEARCH RESULTS */
  .search-header {
    padding: 30px 0 10px;
  }
  .search-header h1 { font-size: 28px; color: var(--blue-900); margin-bottom: 6px; }
  .search-header p { color: var(--gray-700); }

  /* ADMIN PAGE */
  .admin-page { padding: 30px 0 60px; }
  .admin-tabs {
    display: flex; gap: 8px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--gray-200);
  }
  .admin-tab {
    padding: 12px 20px;
    background: transparent;
    color: var(--gray-700);
    font-weight: 700;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
  }
  .admin-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
  .admin-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    padding: 24px;
    margin-bottom: 18px;
  }
  .admin-card h3 { color: var(--blue-900); margin-bottom: 14px; }
  .admin-card p { color: var(--gray-700); margin-bottom: 14px; font-size: 14px; }
  .file-input-wrap {
    border: 2px dashed var(--gray-300);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    transition: border-color .15s, background .15s;
  }
  .file-input-wrap:hover { border-color: var(--orange); background: var(--orange-50); }
  .file-input-wrap input { display: none; }
  .file-input-wrap label { cursor: pointer; }
  .file-input-wrap .ico { font-size: 48px; margin-bottom: 10px; }

  .toast {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--blue-900);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-size: 14px; font-weight: 600;
    display: block;
    max-width: 380px;
    line-height: 1.4;
    z-index: 1000;
    animation: slideUp .3s ease;
  }
  .toast strong, .toast b strong { display: inline !important; font-size: inherit !important; font-weight: 900 !important; color: inherit !important; padding: 0 !important; }
  .toast.success { background: var(--green); }
  .toast.error { background: var(--red); }
  .toast.info { background: #2563EB; }
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .empty-state {
    text-align: center;
    padding: 60px 20px;
  }
  .empty-state .ico { font-size: 80px; opacity: 0.3; margin-bottom: 16px; }
  .empty-state h3 { font-size: 22px; color: var(--blue-900); margin-bottom: 8px; }
  .empty-state p { color: var(--gray-700); margin-bottom: 16px; }



  /* ===== PRODUCT DETAIL V2 (B2B style) ===== */
  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .back-btn:hover { background: var(--blue-50); color: var(--blue-700); }

  .product-detail-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 14px 0 40px;
  }

  .pd2-gallery {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
  }
  .pd2-zoom-btn {
    position: absolute; bottom: 12px; right: 12px;
    top: auto; left: auto;
    width: 36px; height: 36px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: grid; place-items: center;
    z-index: 5;
    font-size: 16px;
    z-index: 2;
    cursor: pointer;
  }
  .pd2-flag {
    position: absolute; top: 12px; right: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: grid; place-items: center;
    font-size: 18px;
    z-index: 2;
  }
  .pd2-main-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--white);
    cursor: zoom-in;
    position: relative;
  }
  .pd2-main-image img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 32px;
  }

  .pd2-info {
    padding: 0;
  }
  .pd2-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--blue-900);
    line-height: 1.25;
    margin-bottom: 16px;
  }
  .pd2-code-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .pd2-code .lbl { color: var(--gray-500); font-size: 14px; }
  .pd2-code .val-code {
    color: var(--blue-700);
    font-size: 20px;
    font-weight: 800;
    margin-left: 4px;
  }
  .pd2-price {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pd2-price strong {
    color: var(--red);
    font-size: 26px;
    font-weight: 900;
  }
  .pd2-price .unit {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 600;
  }
  .pd2-price .info-icon {
    color: var(--gray-500);
    cursor: help;
    font-size: 16px;
  }

  .pd2-short-desc {
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
  }

  .pd2-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
  }
  .pd2-info-table tr {
    border-bottom: 1px solid var(--gray-100);
  }
  .pd2-info-table td {
    padding: 10px 0;
    font-size: 14px;
    vertical-align: top;
  }
  .pd2-info-table td.k {
    color: var(--gray-700);
    width: 45%;
    font-weight: 500;
  }
  .pd2-info-table td.v {
    color: var(--gray-900);
  }

  /* Availability: green when the product can be ordered (in stock, or stock status
     has can_order = 1), red when it is out of stock and cannot be back-ordered. */
  .pd2-stock { font-weight: 700; }
  .pd2-stock.in { color: var(--green); }
  .pd2-stock.out { color: var(--red); }

  .pd2-cart-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 18px 0;
  }
  .pd2-qty {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
  }
  .pd2-qty-btn {
    width: 44px;
    height: 50px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 22px;
    font-weight: 700;
    transition: background .15s;
  }
  .pd2-qty-btn:hover { background: var(--gray-100); }
  .pd2-qty-btn:disabled,
  .qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }
  .pd2-qty-btn:disabled:hover { background: var(--white); }
  .pd2-qty-input {
    width: 64px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-900);
    background: var(--white);
  }
  .pd2-qty-input:focus { outline: none; }
  .pd2-cart-btn {
    flex: 1;
    height: 50px;
    background: var(--blue-700);
    color: var(--white);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
  }
  .pd2-cart-btn:hover { background: var(--blue-900); }
  .pd2-cart-btn:disabled { background: var(--gray-300); cursor: not-allowed; }

  /* The notifyme module injects [data-out-of-stock] #input-quantity, #button-cart
     {display:none} for every out-of-stock product. Back-orderable ones (stock status
     can_order = 1) must stay orderable, so re-show them with higher specificity. */
  body[data-out-of-stock] .pd2-cart-row.is-orderable #input-quantity { display: block; }
  body[data-out-of-stock] .pd2-cart-row.is-orderable #button-cart { display: flex; }
  .pd2-fav-btn {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 10px;
    font-size: 22px;
    transition: background .15s, color .15s;
  }
  .pd2-fav-btn:hover, .pd2-fav-btn.active {
    background: var(--orange-50);
    color: var(--red);
  }

  .pd2-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
  }
  .pd2-extra-grid > div {
    padding: 6px 0;
  }
  .pd2-extra-grid .k {
    color: var(--gray-500);
  }

  .pd2-breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: var(--gray-700);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 14px;
  }
  .pd2-breadcrumb a {
    color: var(--orange);
    cursor: pointer;
    font-weight: 600;
  }
  .pd2-breadcrumb a:hover { text-decoration: underline; }
  .pd2-breadcrumb .sep {
    margin: 0 6px;
    color: var(--gray-300);
  }

  .pd2-share {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    transition: opacity .15s;
  }
  .share-btn:hover { opacity: 0.85; }
  .share-btn.fb { background: #1877F2; }
  .share-btn.email { background: #6B7280; }
  .share-btn.copy { background: #7C3AED; }
  .share-btn span {
    font-size: 14px;
    font-weight: 800;
  }

  @media (max-width: 980px) {
    .product-detail-v2 { grid-template-columns: 1fr; }
    .pd2-cart-row { flex-wrap: wrap; }
    .pd2-cart-btn { flex: 1 1 100%; order: 3; }
    .pd2-extra-grid { grid-template-columns: 1fr; }
  }

  /* ===== NOTIFY ME BOX ===== */
  .notify-box {
    background: linear-gradient(135deg, var(--orange-50), #FEF3C7);
    border: 1px solid var(--orange);
    border-radius: 12px;
    padding: 16px;
    margin: 18px 0;
  }
  .notify-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
  }
  .notify-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: bell-shake 2s ease infinite;
  }
  @keyframes bell-shake {
    0%, 90%, 100% { transform: rotate(0); }
    93% { transform: rotate(-15deg); }
    96% { transform: rotate(15deg); }
  }
  .notify-header strong {
    display: block;
    color: var(--blue-900);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 3px;
  }
  .notify-header p {
    color: var(--gray-700);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
  }
  .notify-form {
    display: flex;
    gap: 8px;
  }
  .notify-form input {
    flex: 1;
    height: 42px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    background: var(--white);
    color: var(--gray-900);
  }
  .notify-form input:focus {
    outline: none;
    border-color: var(--orange);
  }
  .notify-form button {
    height: 42px;
    padding: 0 18px;
    background: var(--orange);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    transition: background .15s;
  }
  .notify-form button:hover { background: var(--orange-light); }
  .notify-form button:disabled {
    background: var(--green);
    cursor: default;
  }
  .notify-agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--gray-700);
    cursor: pointer;
  }
  .notify-agree input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    flex-shrink: 0;
    accent-color: var(--orange);
  }
  .notify-agree a { color: var(--orange); }
  .notify-msg {
    display: none;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
  }
  .notify-msg.success { display: block; background: #DCFCE7; color: #15803D; }
  .notify-msg.error { display: block; background: #FEE2E2; color: var(--red); }
  @media (max-width: 480px) {
    .notify-form { flex-wrap: wrap; }
    .notify-form input { flex: 1 1 100%; }
    .notify-form button { flex: 1 1 100%; }
  }
  /* Mobile subcategory list — hidden on desktop, shown on mobile (white cards) */
  .mobile-subcats-list { display: none; }

  /* Mobile mega header (hidden on desktop) */
  .mega-mobile-header,
  .mega-mobile-close { display: none; }

  /* ===== MEGA MENU (CSS columns, auto-flow, fits viewport) ===== */
  .main-nav { position: relative; z-index: 200; overflow: visible !important; }
  .main-nav .container {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: visible !important;
  }
  .nav-item {
    position: static;
    display: inline-block;
  }
  .nav-arrow {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.7;
    transition: transform .15s;
    display: inline-block;
  }
  .nav-item:hover .nav-arrow {
    transform: rotate(180deg);
  }
  .nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 14px;
    background: transparent;
    z-index: 998;
  }
  .mega-menu.mega-full {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: var(--white);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 40px rgba(15,27,45,0.18);
    padding: 10px 14px 6px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s linear .2s;
    z-index: 999;
    border-top: 3px solid var(--orange);
  }
  .nav-item:hover .mega-menu.mega-full,
  .mega-menu.mega-full:hover {
    opacity: 1;
    visibility: visible;
    transition: opacity .2s ease, visibility 0s linear 0s;
  }
  /* HYBRID: CSS Columns for many subs (auto-balance), Flex center for few */
  .mega-many .mega-full-grid {
    column-count: 10;
    column-gap: 10px;
    column-fill: balance;
    max-width: 1700px;
    margin: 0 auto;
  }
  @media (max-width: 1600px) { .mega-many .mega-full-grid { column-count: 9; } }
  @media (max-width: 1400px) { .mega-many .mega-full-grid { column-count: 8; } }
  @media (max-width: 1200px) { .mega-many .mega-full-grid { column-count: 7; } }
  @media (max-width: 1000px) { .mega-many .mega-full-grid { column-count: 6; } }
  .mega-many .mega-col {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 8px;
  }

  .mega-few .mega-full-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    align-items: flex-start;
    max-width: 1700px;
    margin: 0 auto;
  }
  .mega-few .mega-col {
    width: 170px;
    flex: 0 0 170px;
  }
  @media (max-width: 1200px) {
    .mega-few .mega-col { width: 150px; flex: 0 0 150px; }
  }
  .mega-col h5 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    color: var(--blue-900);
    margin-bottom: 2px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--orange);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    line-height: 1.1;
  }
  .mega-col h5:hover { color: var(--orange); }
  .mega-col h5 .mm-icon {
    font-size: 11px;
    flex-shrink: 0;
  }
  .mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mega-col li {
    padding: 0;
    color: var(--gray-700);
    font-size: 10px;
    cursor: pointer;
    transition: color .15s, padding-left .15s;
    line-height: 1.25;
  }
  .mega-col li:hover {
    color: var(--orange);
    padding-left: 4px;
    font-weight: 600;
  }

  @media (max-width: 980px) {
    .mega-menu { display: none; }
    .nav-arrow { display: none; }
  }

    /* ===== TOP BANNER (trademarkt.gr style) ===== */
  .top-banner-section { padding: 20px 0 4px; }
  .top-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .top-banner-main {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1140/600;
    background: var(--gray-100);
    transition: transform .25s, box-shadow .25s;
  }
  .top-banner-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,27,45,0.18);
  }
  .top-banner-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ===== HERO MAIN BANNER (full-width landscape) ===== */
  .hero-main-banner {
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1140/420;
    background: var(--gray-100);
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(15,27,45,0.08);
  }
  .hero-main-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15,27,45,0.18);
  }
  .hero-main-banner img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ===== SIDE BANNERS PORTRAIT ===== */
  .side-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .side-banners-grid.two-photos {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  /* Κουβαδάκια 3-column grid */
  .kouvadakia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (max-width: 768px) {
    .kouvadakia-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  }

  /* Mini-pair banners (smaller, landscape style) */
  .side-banners-grid.mini-pair,
  .side-banners-grid.mini-trio {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto;
  }
  .side-banners-grid.mini-trio {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 950px;
  }
  .side-banners-grid.mini-pair .side-banner-portrait,
  .side-banners-grid.mini-trio .side-banner-portrait {
    aspect-ratio: 379/425;
    border-radius: 12px;
  }
  .side-banners-grid.mini-pair .side-banner-portrait img,
  .side-banners-grid.mini-trio .side-banner-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .side-banners-grid.mini-pair .side-banner-overlay,
  .side-banners-grid.mini-trio .side-banner-overlay {
    padding: 12px;
  }
  .side-banners-grid.mini-pair .side-banner-overlay h3,
  .side-banners-grid.mini-trio .side-banner-overlay h3 {
    font-size: 15px;
  }
  .side-banners-grid.mini-pair .side-banner-overlay .btn,
  .side-banners-grid.mini-trio .side-banner-overlay .btn {
    padding: 5px 12px;
    font-size: 11px;
  }

  /* PET banner gradient */
  .pet-banner .pet-banner-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #A78BFA 0%, #C4B5FD 50%, #DDD6FE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pet-banner .pet-banner-emoji {
    font-size: 56px;
    letter-spacing: 8px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  }
  @media (max-width: 768px) {
    .side-banners-grid.mini-pair,
    .side-banners-grid.mini-trio { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .side-banners-grid.mini-pair .side-banner-overlay h3,
    .side-banners-grid.mini-trio .side-banner-overlay h3 { font-size: 11px; }
    .side-banners-grid.mini-pair .side-banner-overlay .btn,
    .side-banners-grid.mini-trio .side-banner-overlay .btn { font-size: 9px; padding: 3px 8px; }
    .pet-banner .pet-banner-emoji { font-size: 30px; letter-spacing: 4px; }
  }
  .side-banners-grid.two-photos .side-banner-portrait {
    aspect-ratio: 4/5;
  }
  .side-banners-grid.two-photos .side-banner-overlay h3 {
    font-size: 16px;
  }
  .side-banners-grid.two-photos .side-banner-overlay {
    padding: 14px;
  }
  .side-banner-portrait {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 379/425;
    background: var(--gray-100);
    transition: transform .25s, box-shadow .25s;
  }
  .side-banner-portrait:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15,27,45,0.18);
  }
  .side-banner-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .side-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
    color: var(--white);
    z-index: 2;
  }
  .side-banner-overlay h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
  }
  .side-banner-overlay .btn {
    padding: 6px 14px;
    font-size: 12px;
  }

  @media (max-width: 980px) {
    .top-banner-grid { grid-template-columns: 1fr; }
    .side-banners-grid { grid-template-columns: 1fr 1fr; }
  }

  /* ===== TOP BANNER END ===== */
  
  /* ===== GLOBOSTAR-STYLE HOME ===== */

  /* Brand Showcase Banner */
  .brand-showcase {
    background: linear-gradient(110deg, #1a1f2e 0%, #2a3142 50%, #1a1f2e 100%);
    color: var(--white);
    padding: 0;
    overflow: hidden;
    position: relative;
  }
  .brand-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    min-height: 200px;
    padding: 24px 40px;
    gap: 30px;
  }
  .brand-showcase-text h2 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 6px;
  }
  .brand-showcase-text h2 span { color: var(--orange); }
  .brand-showcase-text p {
    font-size: 14px;
    opacity: 0.7;
    font-style: italic;
  }
  .brand-showcase-products {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
    font-size: 70px;
  }

  /* 4-column Hero Mosaic */
  .hero-mosaic {
    padding: 24px 0;
  }
  .mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .mosaic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform .3s;
  }
  .mosaic-card:hover { transform: translateY(-4px); }
  .mosaic-card::after {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
  }
  .mosaic-bg {
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    font-size: 140px;
  }
  .mosaic-card.c1 .mosaic-bg { background: linear-gradient(135deg, #FCE7F3, #F472B6); }
  .mosaic-card.c2 .mosaic-bg { background: linear-gradient(135deg, #FFEDD5, #FB923C); }
  .mosaic-card.c3 .mosaic-bg { background: linear-gradient(135deg, #DCFCE7, #4ADE80); }
  .mosaic-card.c4 .mosaic-bg { background: linear-gradient(135deg, #DBEAFE, #60A5FA); }
  .mosaic-content {
    position:absolute;
    bottom:24px;
    left:24px;
    right:24px;
    color: var(--white);
    z-index: 2;
  }
  .mosaic-content h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.1;
  }
  .mosaic-content p {
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.4;
  }
  .mosaic-content .accent { color: var(--orange); font-weight: 800; }

  /* Wide promo strip */
  .wide-promo {
    padding: 18px 0 28px;
  }
  .gym-banner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1140/220;
    min-height: 110px;
    max-width: 1100px;
    margin: 0 auto;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 6px 20px rgba(15,27,45,0.12);
  }
  .gym-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15,27,45,0.22);
  }
  .gym-banner-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 80% 50%, rgba(249,115,22,0.35) 0%, transparent 60%),
      radial-gradient(ellipse at 20% 30%, rgba(99,102,241,0.4) 0%, transparent 60%),
      linear-gradient(135deg, #0F1B2D 0%, #1E3A8A 50%, #1A2942 100%);
  }
  .gym-banner-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 31px);
    pointer-events: none;
  }
  .gym-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    height: 100%;
    color: var(--white);
    gap: 16px;
  }
  .gym-banner-left { flex: 1; }
  .gym-banner-left h3 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 3px;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .gym-banner-left p {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .gym-banner-left .btn {
    background: var(--orange);
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 700;
  }
  .gym-banner-icons {
    display: flex;
    gap: 8px;
    flex-direction: row;
    align-items: center;
  }
  .gym-banner-icons .g-icon {
    font-size: 26px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: floatUp 3s ease-in-out infinite;
  }
  .gym-banner-icons .g-icon:nth-child(2) { animation-delay: 0.3s; }
  .gym-banner-icons .g-icon:nth-child(3) { animation-delay: 0.6s; }
  .gym-banner-icons .g-icon:nth-child(4) { animation-delay: 0.9s; }
  @keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
  /* hide some on smaller screens for breathing */
  @media (max-width: 1100px) {
    .gym-banner-icons .g-icon:nth-child(3),
    .gym-banner-icons .g-icon:nth-child(4) { display: none; }
  }

  /* Category Carousel (icons) */
  .cat-carousel-section {
    padding: 36px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
  }
  .carousel-wrap {
    position: relative;
  }
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--blue-900);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 5;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .carousel-arrow:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
  .carousel-arrow.prev { left: -18px; }
  .carousel-arrow.next { right: -18px; }

  .cat-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px;
  }
  .cat-carousel::-webkit-scrollbar { display: none; }
  .cat-icon-card {
    flex: 0 0 auto;
    width: 150px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 22px 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, transform .2s, box-shadow .2s;
  }
  .cat-icon-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(15,27,45,0.08);
  }
  .cat-icon-symbol {
    font-size: 44px;
    margin-bottom: 10px;
    line-height: 1;
  }
  .cat-icon-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.3;
  }

  /* Product Carousel */
  .product-carousel-section {
    padding: 40px 0;
  }
  .product-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 4px;
  }
  .product-carousel::-webkit-scrollbar { display: none; }
  .product-carousel .product-card {
    flex: 0 0 auto;
    width: 250px;
  }
  .b2b-tag {
    background: var(--orange);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
  }
  .b2b-cta {
    width: 100%;
    height: 38px;
    background: var(--orange);
    color: var(--white);
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-top: 10px;
    transition: background .15s;
  }
  .b2b-cta:hover { background: var(--orange-light); }
  .product-card.b2b-style .product-info { padding: 14px; }
  .product-card.b2b-style .product-name {
    font-size: 12px;
    color: var(--gray-700);
    margin-bottom: 8px;
    min-height: 32px;
  }
  .product-card.b2b-style .sku-line {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
  }
  .product-card.b2b-style .product-image {
    aspect-ratio: 1;
    font-size: 60px;
  }
  .b2b-link {
    display: block;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    text-decoration: underline;
  }

  /* B2B Form Section */
  .b2b-form-section {
    background: linear-gradient(rgba(15,27,45,0.92), rgba(15,27,45,0.85)),
      linear-gradient(135deg, #0F1B2D, #1A2942 50%, #0d6e9c);
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
  }
  .b2b-form-section::before {
    content: '🏢';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 280px;
    opacity: 0.05;
  }
  .b2b-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    position: relative;
  }
  .b2b-form-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
  }
  .b2b-form-text h2 span { color: var(--orange); }
  .b2b-form-text p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .b2b-form-fields {
    background: var(--white);
    color: var(--blue-900);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
  .b2b-form-fields input, .b2b-form-fields textarea {
    width: 100%;
    height: 46px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--gray-900);
    font-family: inherit;
    background: var(--gray-50);
  }
  .b2b-form-fields textarea { height: 90px; padding: 12px 16px; resize: vertical; }
  .b2b-form-fields input:focus, .b2b-form-fields textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
  }
  .b2b-form-checkbox {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: var(--gray-700);
    margin-bottom: 14px;
  }

  /* Projects / Showcase */
  .projects-section {
    padding: 60px 0;
    background: var(--gray-50);
  }
  .projects-section .section-title { color: var(--blue-900); }
  .projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    height: 480px;
    margin-top: 24px;
  }
  .project-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    color: var(--white);
    transition: transform .3s;
  }
  .project-card:hover { transform: scale(1.02); }
  .project-card::after {
    content:'';
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0,0,0,0.85) 100%);
  }
  .project-bg {
    position:absolute;
    inset:0;
    display: grid;
    place-items: center;
    font-size: 120px;
  }
  .project-card.p1 { grid-row: 1 / 3; }
  .project-card.p1 .project-bg { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
  .project-card.p2 .project-bg { background: linear-gradient(135deg, #BFDBFE, #3B82F6); }
  .project-card.p3 .project-bg { background: linear-gradient(135deg, #FBCFE8, #EC4899); }
  .project-card.p4 .project-bg { background: linear-gradient(135deg, #BBF7D0, #10B981); }
  .project-card.p5 .project-bg { background: linear-gradient(135deg, #DDD6FE, #8B5CF6); }
  .project-info {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 2;
  }
  .project-info h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
  }
  .project-info p {
    font-size: 12px;
    opacity: 0.9;
  }
  .project-card.p1 .project-info h4 { font-size: 24px; }

  /* Stats Section */
  .stats-section {
    background: linear-gradient(110deg, #0F1B2D 0%, #1A2942 100%);
    color: var(--white);
    padding: 50px 0;
    position: relative;
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
  .stat-card {
    text-align: center;
  }
  .stat-icon {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .stat-number {
    font-size: 38px;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 6px;
    line-height: 1;
  }
  .stat-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .stat-desc {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.4;
  }

  /* Newsletter strip */
  .newsletter-strip {
    background: var(--orange);
    color: var(--white);
    padding: 30px 0;
  }
  .newsletter-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  .newsletter-strip h3 {
    font-size: 22px;
    font-weight: 800;
  }
  .newsletter-strip p {
    font-size: 14px;
    opacity: 0.9;
  }
  .newsletter-strip-form {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 500px;
  }
  .newsletter-strip-form input {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    color: var(--gray-900);
  }
  .newsletter-strip-form button {
    height: 46px;
    padding: 0 24px;
    background: var(--blue-900);
    color: var(--white);
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    transition: background .15s;
  }
  .newsletter-strip-form button:hover { background: #000; }

  /* RESPONSIVE */
  @media (max-width: 980px) {
    .header-inner { grid-template-columns: 1fr; gap: 14px; }
    .search-wrap { max-width: none; }
    .header-actions { justify-content: center; flex-wrap: wrap; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-bar .container { flex-direction: column; align-items: center; text-align: center; }
    .product-detail { grid-template-columns: 1fr; }
    .cart-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 70px 1fr; gap: 12px; }
    .cart-item-img { width: 70px; height: 70px; font-size: 40px; }
    .cart-item-price { grid-column: 2; text-align: left; }
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-showcase-inner { grid-template-columns: 1fr; padding: 24px; }
    .brand-showcase-products { justify-content: center; }
    .b2b-form-grid { grid-template-columns: 1fr; gap: 30px; }
    .projects-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
    .project-card.p1 { grid-row: auto; aspect-ratio: 1; }
    .project-card { aspect-ratio: 1; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .newsletter-strip-inner { flex-direction: column; text-align: center; }
  }
  @media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .icon-btn span:not(.cart-badge) { display: none; }
    .pd-title { font-size: 22px; }
    .pd-price { font-size: 28px; }
  }

  /* =================================================================
     MOBILE OPTIMIZATIONS (≤ 768px)
  ================================================================= */
  @media (max-width: 768px) {

    /* Subcategory white cards on category page mobile */
    .mobile-subcats-list {
      display: block !important;
      margin: 16px 0 24px;
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--gray-200);
    }
    .mobile-subcat-card {
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      padding: 14px 16px;
      border-bottom: 1px solid var(--gray-100);
      color: var(--blue-900);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      background: var(--white);
    }
    .mobile-subcat-card:last-child { border-bottom: none; }
    .mobile-subcat-card:hover,
    .mobile-subcat-card:active {
      background: var(--orange-50);
      color: var(--orange);
    }
    .msc-arrow {
      color: var(--gray-500);
      font-size: 18px;
      font-weight: 400;
    }

    /* Hide quick-jump buttons on mobile (too cluttered) */
    .cat-quickjump { display: none !important; }
    /* Hide subcategory icon carousels on mobile - keep only product carousels */
    .cat-carousel-section { display: none !important; }

    .container { padding: 0 12px; }

    /* PROMO BAR */
    .promo-bar { font-size: 11px; padding: 8px 12px; }

    /* HEADER */
    .main-header { padding: 12px 0; }
    .header-inner {
      grid-template-columns: 1fr;
      gap: 10px;
    }
    .logo { justify-content: center; }
    .logo-img { max-height: 38px; }
    .logo-mark { width: 30px; height: 30px; font-size: 17px; }
    .logo { font-size: 18px; }
    .search-wrap { max-width: 100%; }
    .search-input { height: 42px; font-size: 14px; padding: 0 50px 0 16px; }
    .search-btn { width: 36px; height: 36px; font-size: 16px; }
    .header-actions { justify-content: space-around; gap: 6px; }
    .icon-btn { height: 38px; padding: 0 10px; font-size: 12px; }
    .icon-btn span:not(.cart-badge) { display: none; }
    .icon-btn.cart span:not(.cart-badge) { display: inline; font-size: 11px; }

    /* INFO ICONS — 2x2 grid, all visible without scroll */
    .info-icons-strip {
      padding: 8px 6px;
      background: var(--blue-50);
      border-bottom: 1px solid var(--gray-200);
    }
    .info-icons-grid {
      display: grid !important;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      overflow: visible;
      padding: 0;
    }
    .info-icon-card {
      gap: 6px;
      padding: 6px 6px;
      background: var(--white);
      border-radius: 6px;
      overflow: hidden;
    }
    .info-icon {
      width: 26px; height: 26px;
      font-size: 13px;
      border-radius: 6px;
      flex-shrink: 0;
    }
    .info-text {
      min-width: 0;
      overflow: hidden;
    }
    .info-text h4 {
      font-size: 9px;
      margin-bottom: 1px;
      letter-spacing: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .info-text p {
      font-size: 9px;
      line-height: 1.15;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    /* NAV — all categories visible (5 items fit) */
    .main-nav {
      z-index: 100;
      position: sticky;
      top: 0;
    }
    .main-nav .container {
      display: flex !important;
      justify-content: space-around !important;
      overflow: visible !important;
      gap: 0;
      padding: 0 2px;
    }
    .nav-link {
      flex: 1 1 auto;
      text-align: center;
      padding: 12px 4px;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
      letter-spacing: 0;
    }
    .nav-badge {
      font-size: 8px;
      padding: 1px 4px;
      margin-left: 3px;
    }
    .nav-arrow { display: none; }
    /* FORCE-HIDE mega menu on mobile (avoid iOS hover-on-tap issues) */
    .mega-menu,
    .mega-menu.mega-full,
    .nav-item .mega-menu,
    .nav-item:hover .mega-menu,
    .nav-item.mega-open .mega-menu {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    .nav-arrow { display: none !important; }
    .nav-item::after { display: none !important; }
    body.mega-mobile-active { overflow: auto !important; }

    /* HOME — top banners */
    .top-banner-grid { grid-template-columns: 1fr; gap: 10px; }
    .top-banner-section { padding: 12px 0 4px; }

    /* HOME — side banners */
    .side-banners-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .side-banners-grid.two-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
    .side-banner-overlay { padding: 12px; }
    .side-banner-overlay h3 { font-size: 14px; margin-bottom: 4px; }
    .side-banner-overlay .btn { padding: 5px 10px; font-size: 11px; }

    /* WIDE PROMO */
    .gym-banner { min-height: 140px; border-radius: 14px; }
    .gym-banner-content { padding: 18px 20px; gap: 12px; }
    .gym-banner-left h3 { font-size: 22px; margin-bottom: 4px; }
    .gym-banner-left p { font-size: 11px; margin-bottom: 10px; }
    .gym-banner-left .btn { padding: 7px 14px; font-size: 11px; }
    .gym-banner-icons { gap: 6px; }
    .gym-banner-icons .g-icon { font-size: 28px; width: 44px; height: 44px; border-radius: 10px; }
    .gym-banner-icons .g-icon:nth-child(2) { display: none; }
    .gym-banner-icons .g-icon:nth-child(3),
    .gym-banner-icons .g-icon:nth-child(4) { display: none; }

    /* CATEGORY CAROUSELS */
    .cat-carousel-section { padding: 20px 0; }
    .section-title { font-size: 20px; }
    .section-header { margin-bottom: 14px; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 16px; }
    .carousel-arrow.prev { left: -6px; }
    .carousel-arrow.next { right: -6px; }
    .cat-icon-card { width: 110px; padding: 14px 8px; }
    .cat-icon-symbol { font-size: 32px; margin-bottom: 6px; }
    .cat-icon-label { font-size: 11px; }

    /* PRODUCT CAROUSELS */
    .product-carousel .product-card { width: 180px; }
    .product-carousel-section { padding: 24px 0; }

    /* PRODUCT GRID */
    .product-grid {
      grid-template-columns: 1fr 1fr !important;
      gap: 10px !important;
    }
    .product-name { font-size: 12px; }
    .product-image { font-size: 50px; }
    .price { font-size: 16px; }
    .product-info { padding: 10px; }
    .product-footer { padding-top: 8px; }
    .add-cart-btn { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }

    /* CATEGORY PAGE */
    .cat-header { padding: 28px 0; }
    .cat-header h1 { font-size: 22px; }
    .subcat-header { padding: 10px 14px; }
    .subcat-header h3 { font-size: 14px; }
    .subcat-count { padding: 3px 8px; font-size: 11px; }
    .subsubcat-header { font-size: 12px; padding: 6px 10px; }

    /* PRODUCT DETAIL */
    .product-detail-v2 { grid-template-columns: 1fr; gap: 16px; padding: 8px 0 24px; }
    .pd2-title { font-size: 18px; }
    .pd2-price strong { font-size: 22px; }
    .pd2-code .val-code { font-size: 16px; }
    .pd2-info-table td { font-size: 12px; padding: 8px 0; }
    .pd2-cart-row { flex-wrap: wrap; }
    .pd2-cart-btn { flex: 1 1 100%; order: 3; height: 44px; font-size: 14px; }
    .pd2-qty-btn { width: 38px; height: 44px; font-size: 18px; }
    .pd2-qty-input { width: 50px; height: 44px; font-size: 16px; }
    .pd2-fav-btn { width: 44px; height: 44px; }
    .pd2-extra-grid { grid-template-columns: 1fr; }
    .pd2-zoom-btn, .pd2-flag { width: 28px; height: 28px; font-size: 14px; }

    /* B2B FORM */
    .b2b-form-section { padding: 30px 0; }
    .b2b-form-grid { grid-template-columns: 1fr; gap: 20px; }
    .b2b-form-text h2 { font-size: 22px; }
    .b2b-form-fields { padding: 18px; }
    .b2b-form-fields input,
    .b2b-form-fields textarea { height: 42px; font-size: 14px; }
    /* B2B form checkbox — make text visible on mobile */
    .b2b-form-checkbox {
      align-items: flex-start;
      font-size: 11px;
      line-height: 1.4;
      gap: 8px;
    }
    .b2b-form-checkbox input[type="checkbox"] {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      margin: 0;
    }
    .b2b-form-checkbox span {
      flex: 1;
      min-width: 0;
    }


    /* CART PAGE */
    .cart-grid { grid-template-columns: 1fr; gap: 16px; }
    .cart-item {
      grid-template-columns: 60px 1fr;
      grid-template-rows: auto auto auto;
      gap: 8px;
    }
    .cart-item-img { width: 60px; height: 60px; font-size: 28px; }
    .cart-item-info h4 { font-size: 13px; }
    .cart-item-price { grid-column: 1 / -1; text-align: right; font-size: 14px; }
    .cart-item-remove { grid-column: 2; justify-self: end; }
    .qty-control { grid-column: 1 / -1; justify-self: start; }

    /* FOOTER */
    footer { padding: 30px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 22px; }
    .footer-brand .logo { justify-content: flex-start; }

    /* TRUST */
    .trust-section { padding: 26px 0; }
    .trust-grid { grid-template-columns: 1fr; gap: 18px; }
    .trust-card { gap: 12px; }
    .trust-icon { width: 44px; height: 44px; font-size: 20px; }
    .trust-text h4 { font-size: 15px; }

    /* NEWSLETTER */
    .newsletter-strip { padding: 22px 0; }
    .newsletter-strip-inner { flex-direction: column; gap: 16px; text-align: center; }
    .newsletter-strip h3 { font-size: 18px; }
    .newsletter-strip-form { flex-direction: column; width: 100%; }

    /* TOAST */
    .toast { bottom: 16px; right: 16px; left: 16px; font-size: 13px; }

    /* INFO PAGES */
    .admin-card { padding: 16px; }
    .admin-card h3 { font-size: 16px; }
    .admin-card p { font-size: 13px; }
  }

  /* Extra small phones */
  @media (max-width: 420px) {
    .info-icons-grid { grid-template-columns: 1fr; }
    .product-grid { gap: 8px !important; }
    .side-banners-grid { grid-template-columns: 1fr; }
    .nav-link { padding: 10px 10px; font-size: 11px; }
    .icon-btn.cart span:not(.cart-badge) { display: none; }
  }


  /* ===== MOBILE EXPANDABLE DRAWER ===== */
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: -85%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: var(--white);
    z-index: 10001;
    box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    transition: left .3s ease;
    display: flex;
    flex-direction: column;
  }
  .mobile-drawer.open { left: 0; }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .mobile-overlay.open { opacity: 1; visibility: visible; }
  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: var(--blue-900);
    color: var(--white);
  }
  .drawer-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
  }
  .drawer-close {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
  }
  .drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .drawer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background .15s;
  }
  .drawer-item:hover, .drawer-item:active { background: var(--orange-50); }
  .drawer-text {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-900);
  }
  .drawer-arrow {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--blue-900);
    transition: transform .2s, background .15s;
    cursor: pointer;
  }
  .drawer-cat.open > .drawer-item .drawer-arrow,
  .drawer-sub.open > .drawer-item .drawer-arrow {
    transform: rotate(90deg);
    background: var(--orange);
    color: var(--white);
  }
  .drawer-subs, .drawer-subsubs {
    display: none;
    background: var(--gray-50);
  }
  .drawer-cat.open > .drawer-subs,
  .drawer-sub.open > .drawer-subsubs {
    display: block;
  }
  .drawer-item.indent-1 {
    padding-left: 32px;
    background: var(--gray-50);
  }
  .drawer-item.indent-1 .drawer-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
  }
  .drawer-item.indent-2 {
    padding-left: 52px;
    background: var(--gray-100);
  }
  .drawer-item.indent-2 .drawer-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
  }



  /* ===== ACCOUNT SIDEBAR ===== */
  .account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    margin-top: 16px;
  }
  .account-sidebar {
    position: sticky;
    top: 16px;
    height: fit-content;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,27,45,0.05);
  }
  .account-menu { list-style: none; padding: 0; margin: 0; }
  .account-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    transition: background .15s, color .15s, padding-left .15s;
  }
  .account-menu-item:last-child { border-bottom: none; }
  .account-menu-item .ami-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
  .account-menu-item:hover { background: var(--orange-50); color: var(--orange); padding-left: 24px; }
  .account-menu-item.active { background: var(--red); color: var(--white); }
  .account-menu-item.active:hover { padding-left: 18px; }
  .account-content { min-height: 400px; }

  /* REGISTRATION FORM */
  .register-form { max-width: 900px; margin: 0 auto; }
  .register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .reg-field { display: flex; flex-direction: column; gap: 4px; }
  .reg-field label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    letter-spacing: 0.2px;
  }
  .reg-field .search-input { height: 42px; }
  .reg-field-full { grid-column: 1 / -1; }
  @media (max-width: 768px) {
    .account-layout { grid-template-columns: 1fr; gap: 14px; }
    .account-sidebar { position: static; }
    .account-menu { display: grid; grid-template-columns: 1fr 1fr; }
    .account-menu-item {
      padding: 12px 10px;
      font-size: 12px;
      border-right: 1px solid var(--gray-100);
    }
    .account-menu-item:nth-child(2n) { border-right: none; }
    .account-menu-item .ami-icon { font-size: 14px; width: 18px; }
    .account-menu-item:hover { padding-left: 10px; }
    .account-form-grid { grid-template-columns: 1fr !important; }
    .register-grid { grid-template-columns: 1fr !important; }
    .register-form .admin-card { padding: 16px; }
  }


  /* HAMBURGER BUTTON (mobile only) */
  .logo-wrap { display: flex; align-items: center; gap: 10px; }
  .hamburger-btn {
    display: none;
    width: 40px; height: 40px;
    background: var(--gray-100);
    color: var(--blue-900);
    border-radius: 8px;
    font-size: 22px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
  }
  .hamburger-btn:hover { background: var(--orange); color: var(--white); }

  /* Sticky main-header */
  .main-header { position: sticky; top: 0; z-index: 300; } /* above .main-nav (200) so the search autocomplete isn't covered */

  @media (max-width: 768px) {
    .hamburger-btn { display: inline-flex !important; }
    /* Hide top nav on mobile (use hamburger instead) */
    .main-nav { display: none !important; }
    .header-inner { grid-template-columns: 1fr; }
    .logo-wrap { justify-content: flex-start; }
  }

  /* 3. Hide info-icons on non-home pages — using JS via body class */
  body:not(.home-page) .info-icons-strip { display: none !important; }

  /* Zoom modal */
  .zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
    animation: fadeIn .15s ease;
  }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .zoom-modal img {
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 20px;
  }
  .zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    backdrop-filter: blur(8px);
  }
  .zoom-close:hover { background: var(--orange); }


  /* Prevent double-tap zoom on buttons */
  button, .qty-btn, .pd2-qty-btn, .add-cart-btn, .icon-btn,
  .filter-check, input[type="checkbox"] {
    touch-action: manipulation;
  }


  /* FLOATING CASHIER BUBBLE */
  .cashier-bubble {
    display: none;
    position: fixed;
    bottom: 110px;
    right: 20px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--blue-900);
    color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9990;
    box-shadow: 0 6px 18px rgba(15,27,45,0.35), 0 0 0 3px rgba(255,255,255,0.9);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    border: 2px solid var(--white);
  }
  .cashier-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 22px rgba(15,27,45,0.45), 0 0 0 3px rgba(255,255,255,0.95);
  }
  .cb-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--white);
    margin-bottom: 2px;
  }
  .cb-amount {
    font-size: 14px;
    font-weight: 900;
    color: var(--white);
  }
  @media (max-width: 768px) {
    .cashier-bubble {
      width: 70px;
      height: 70px;
      bottom: 140px;
      right: 14px;
    }
    .cb-label { font-size: 9px; }
    .cb-amount { font-size: 11px; }
  }

  /* Toast - support HTML */
  .toast b { color: var(--white); font-size: 17px; font-weight: 900; padding: 0 2px; }
  .toast strong { font-weight: 900; color: var(--white); }


/* ===== ACCOUNT / LOGIN (merchant) ===== */
.account-login { padding: 40px 0 60px; }
.account-login .section-title { margin-bottom: 26px; }

.acc-register-banner {
  background: var(--orange-50);
  border: 1.5px solid var(--orange-light);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 28px;
}
.acc-register-banner h3 { color: var(--orange); font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.acc-register-banner p { color: var(--gray-700); font-size: 14px; margin-bottom: 18px; max-width: 780px; }

.acc-btn-block { width: 100%; display: flex; justify-content: center; }

.acc-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 768px) { .acc-grid { grid-template-columns: 1fr; } }

.acc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(15,27,45,0.05);
}
.acc-card h3 { color: var(--blue-900); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.acc-muted { color: var(--gray-500); font-size: 14px; margin-bottom: 18px; }

.acc-login-form input {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  margin-bottom: 14px;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.acc-login-form input:focus { outline: none; border-color: var(--orange); background: var(--white); }
.acc-login-form .btn { margin-top: 4px; }

.acc-forgot { display: inline-block; margin-top: 16px; color: var(--orange); font-weight: 700; font-size: 14px; }
.acc-forgot:hover { text-decoration: underline; }

.acc-benefits { list-style: none; padding: 0; margin: 0; }
.acc-benefits li {
  position: relative;
  padding: 12px 0 12px 30px;
  font-size: 15px;
  color: var(--gray-900);
  border-bottom: 1px solid var(--gray-100);
}
.acc-benefits li:last-child { border-bottom: none; }
.acc-benefits li::before {
  content: '✓';
  position: absolute; left: 0; top: 12px;
  color: var(--green);
  font-weight: 900;
}

/* ===== ACCOUNT / REGISTER ===== */
.reg-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-100); color: var(--gray-700);
  padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 14px; margin-bottom: 16px;
}
.reg-back:hover { background: var(--orange-50); color: var(--orange); }
.reg-subtitle { color: var(--gray-700); font-size: 15px; margin: 0 0 26px; }
.reg-subtitle a { color: var(--orange); font-weight: 700; }

.account-register .acc-card { margin-bottom: 22px; }
.acc-card .card-title { font-size: 20px; font-weight: 800; color: var(--blue-900); margin-bottom: 20px; }

.acc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
@media (max-width: 768px) { .acc-form-grid { grid-template-columns: 1fr; } }

.acc-field { margin-bottom: 16px; }
.acc-field.full { grid-column: 1 / -1; }
.acc-field > label { display: block; font-size: 13px; font-weight: 700; color: var(--blue-900); margin-bottom: 7px; }
.acc-field input, .acc-field select, .acc-field textarea {
  width: 100%; height: 50px;
  border: 1.5px solid var(--gray-200); border-radius: 999px;
  padding: 0 22px; font-size: 15px; color: var(--gray-900);
  background: var(--gray-50); font-family: inherit;
  transition: border-color .15s, background .15s;
}
.acc-field textarea { height: auto; min-height: 90px; border-radius: 16px; padding: 14px 22px; resize: vertical; }
.acc-field input:focus, .acc-field select:focus, .acc-field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.acc-field .text-danger { color: var(--red); font-size: 12px; margin-top: 5px; display: block; }

.acc-radio-row { display: flex; gap: 28px; align-items: center; }
.acc-radio-row label { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--gray-900); font-weight: 600; cursor: pointer; }

.acc-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gray-700); margin: 0; cursor: pointer; }
.acc-terms input { margin: 3px 0 0; width: 18px; height: 18px; flex-shrink: 0; }
.acc-terms a { color: var(--orange); font-weight: 700; }

.acc-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.acc-actions .btn-outline { border: 2px solid var(--orange); color: var(--orange); background: transparent; }
.acc-actions .btn-outline:hover { background: var(--orange); color: var(--white); }
@media (max-width: 560px) { .acc-actions { flex-direction: column-reverse; } .acc-actions .btn { width: 100%; justify-content: center; } }

/* ===== ONE-PAGE CHECKOUT ===== */
.co2-page { padding: 30px 0 60px; }
/* The floating "Ταμείο" shortcut points at the cart — pointless here, and it
   sits on top of the order summary. */
body:has(.co2-page) .cashier-bubble { display: none !important; }
.co2-grid { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start; }
.co2-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.co2-card { margin: 0; }
.co2-card h3 { font-size: 18px; font-weight: 800; }
.co2-alert { border-radius: 12px; }

.co2-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co2-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.co2-fields > .co2-wide { grid-column: 1 / -1; }
.co2-field input, .co2-field select, .co2-field textarea {
  width: 100%; height: 46px; padding: 0 18px;
  border: 1.5px solid var(--gray-200); border-radius: 999px;
  background: var(--gray-50); font-size: 14px; color: var(--gray-900);
  font-family: inherit; outline: none;
  transition: border-color .15s, background .15s;
}
.co2-field textarea { height: auto; min-height: 90px; padding: 14px 18px; border-radius: 16px; resize: vertical; }
.co2-field input:focus, .co2-field select:focus, .co2-field textarea:focus { border-color: var(--orange); background: var(--white); }
.co2-field input[readonly] { color: var(--gray-500); cursor: not-allowed; }
.co2-field .text-danger { font-size: 12px; padding-left: 16px; }
.co2-fields > .text-danger:empty { display: none; }

.co2-check { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14px; font-weight: 600; color: var(--gray-900); cursor: pointer; }
.co2-check input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--orange); }

.co2-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin: 0 0 10px; padding: 14px 18px;
  border: 2px solid var(--gray-200); border-radius: 12px;
  background: var(--white); cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--blue-900);
  transition: border-color .15s, background .15s;
}
.co2-opt:last-of-type { margin-bottom: 0; }
.co2-opt:hover { border-color: var(--orange-light); }
.co2-opt input[type="radio"] { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--orange); }
.co2-opt-label { flex: 1; }
.co2-opt-price { font-weight: 800; white-space: nowrap; }
.co2-opt-on { border-color: var(--orange); background: var(--orange-50); }
.co2-note { margin: 12px 0 0 !important; font-size: 13px; color: var(--gray-500); }

.co2-summary { top: 20px; }
.co2-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.co2-item-img {
  width: 72px; height: 72px; flex-shrink: 0; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px;
  display: grid; place-items: center;
}
.co2-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co2-item-info { flex: 1; min-width: 0; }
.co2-item-name {
  font-size: 13px; font-weight: 700; color: var(--blue-900);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.co2-item-meta { margin-top: 2px; font-size: 12px; color: var(--gray-500); }
.co2-item-total { font-size: 14px; font-weight: 800; color: var(--blue-900); white-space: nowrap; }
.co2-summary #co2-totals { margin-top: 16px; }
.co2-agree { margin: 16px 0 4px; font-size: 13px; font-weight: 500; }
.co2-agree a { color: var(--orange); font-weight: 700; }
.co2-summary .text-danger { display: block; font-size: 12px; }

@media (max-width: 992px) {
  .co2-grid { grid-template-columns: 1fr; }
  .co2-summary { position: static; }
}
@media (max-width: 560px) {
  .co2-fields { grid-template-columns: 1fr; }
  .co2-item-img { width: 56px; height: 56px; }
}

/* ===== CATEGORY PAGE extras ===== */
.cat-with-sidebar.no-sidebar { grid-template-columns: 1fr; }
.cat-icon-row::-webkit-scrollbar { height: 6px; }
.cat-icon-row::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.cat-pagination .pagination { display: inline-flex; gap: 6px; padding: 0; margin: 0; list-style: none; flex-wrap: wrap; }
.cat-pagination .pagination > li > a, .cat-pagination .pagination > li > span {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--gray-200); border-radius: 8px; color: var(--gray-700);
  background: var(--white); text-decoration: none; font-weight: 600;
}
.cat-pagination .pagination > .active > span, .cat-pagination .pagination > .active > a { background: var(--orange); border-color: var(--orange); color: #fff; }
.cat-pagination .pagination > li > a:hover { border-color: var(--orange); color: var(--orange); }
.cat-pagination .text-right { color: var(--gray-500); font-size: 13px; margin-top: 8px; }
@media (max-width: 1100px) { .cat-with-sidebar .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cat-with-sidebar .product-grid { grid-template-columns: repeat(2, 1fr); } .cat-header { padding: 30px 0; } .cat-header h1 { font-size: 26px; } }

/* ===== CATEGORY quick-jump buttons (base; mobile-hide rule already exists) ===== */
.cat-quickjump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.cat-quickjump a {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-900);
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.cat-quickjump a:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-50);
}
.cat-quickjump a.active {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}
.cat-quickjump a.quickjump-back {
  background: var(--gray-50, #F9FAFB);
  border-color: var(--gray-300);
  font-weight: 800;
}

/* Sidebar nav keeps showing the siblings of a leaf category — mark the current
   one and indent its own children under it. */
.sidebar-cat-list li.active {
  background: var(--orange-50);
  color: var(--orange);
  font-weight: 800;
  box-shadow: inset 3px 0 0 var(--orange);
}
.sidebar-filter-list li.active::after {
  content: '✓';
  float: right;
  font-weight: 800;
  color: var(--orange);
}
.sidebar-cat-list li.child {
  padding-left: 34px;
  font-size: 12.5px;
  color: var(--gray-500);
  background: var(--gray-50, #F9FAFB);
}
.sidebar-cat-list li.child:hover {
  padding-left: 38px;
  color: var(--orange);
}
.sidebar-back {
  display: block;
  padding: 11px 18px;
  background: var(--gray-50, #F9FAFB);
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s, color .15s, padding-left .15s;
}
.sidebar-back:hover {
  background: var(--orange-50);
  color: var(--orange);
  padding-left: 22px;
}

/* ===== INFORMATION PAGES (route=information/information) — demo renderInfoPage ===== */
.info-page .section-title { font-size: 26px; }
.info-content { margin-top: 24px; line-height: 1.7; }
/* Normalize legacy Word-pasted inline styles stored in the DB descriptions
   (9pt Arial, hardcoded #404040, cm margins) to the theme typography */
.info-content p, .info-content span, .info-content li, .info-content td, .info-content div {
  font-family: inherit !important;
  font-size: 14px !important;
  color: var(--gray-700) !important;
  line-height: 1.7 !important;
  background: none !important;
}
.info-content p { margin: 0 0 14px !important; }
.info-content h1, .info-content h2, .info-content h3, .info-content h4,
.info-content h1 span, .info-content h2 span, .info-content h3 span, .info-content h4 span {
  font-family: inherit !important;
  color: var(--blue-900) !important;
  line-height: 1.3 !important;
}
.info-content h1, .info-content h2, .info-content h3, .info-content h4 { margin: 24px 0 12px !important; }
.info-content h1, .info-content h1 span, .info-content h2, .info-content h2 span { font-size: 20px !important; font-weight: 800 !important; }
.info-content h3, .info-content h3 span { font-size: 17px !important; font-weight: 800 !important; }
.info-content h4, .info-content h4 span { font-size: 15px !important; font-weight: 700 !important; }
.info-content > h1:first-child, .info-content > h2:first-child, .info-content > h3:first-child { margin-top: 0 !important; }
.info-content strong, .info-content strong span, .info-content b, .info-content b span {
  color: var(--blue-900) !important;
  font-weight: 700 !important;
}
.info-content a, .info-content a span { color: var(--orange) !important; font-weight: 600; }
.info-content a:hover { text-decoration: underline; }
.info-content ul, .info-content ol { margin: 0 0 14px 20px; padding-left: 0; }
.info-content li { margin-bottom: 6px; }
.info-content img { max-width: 100%; height: auto; border-radius: 10px; }
.info-content table { max-width: 100%; border-collapse: collapse; }
.info-content table td, .info-content table th { border: 1px solid var(--gray-200); padding: 8px 12px; }
.info-content hr { border: none; border-top: 1px solid var(--gray-200); margin: 20px 0; }
@media (max-width: 760px) {
  .info-page .section-title { font-size: 22px; }
  .info-content { margin-top: 18px; }
}

/* ===== ACCOUNT DASHBOARD (route=account/account) — demo account-layout ===== */
.account-page .account-layout { margin-top: 24px; }
.account-menu a.account-menu-item { text-decoration: none; }

.acc-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--blue-900) 0%, #1B3A5C 100%);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.acc-welcome h3 { color: var(--white); font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.acc-welcome p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0; }

.acc-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.acc-dash-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15,27,45,0.04);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.acc-dash-tile:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15,27,45,0.08);
}
.acc-dash-tile .adt-icon { font-size: 26px; line-height: 1; margin-bottom: 4px; }
.acc-dash-tile strong { color: var(--blue-900); font-size: 15px; font-weight: 800; }
.acc-dash-tile:hover strong { color: var(--orange); }
.acc-dash-tile p { color: var(--gray-500); font-size: 12.5px; line-height: 1.5; margin: 0; }

@media (max-width: 1100px) { .acc-dash-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .acc-dash-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .acc-dash-tile { padding: 14px; }
  .acc-dash-tile p { display: none; }
  .acc-welcome { padding: 18px 20px; }
  .acc-welcome .btn { width: 100%; justify-content: center; display: flex; }
}

/* ===== WISHLIST heart active state ===== */
.pd2-flag.fav-active, .pd2-fav-btn.fav-active { color: var(--red); border-color: var(--red); }

/* ===== ACCOUNT INNER PAGES (edit/address/order/password/wishlist) ===== */
.account-page .acc-card { margin-bottom: 18px; }
.acc-form-narrow { max-width: 460px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger-soft {
  background: #FDECEC;
  color: var(--red);
  border: 1.5px solid transparent;
  font-weight: 700;
}
.btn-danger-soft:hover { background: var(--red); color: var(--white); transform: none; }

/* Address book cards */
.acc-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 4px;
}
.acc-address-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15,27,45,0.04);
}
.acc-address-card .aac-icon { font-size: 22px; line-height: 1; }
.acc-address-card .aac-body { color: var(--gray-700); font-size: 14px; line-height: 1.7; flex: 1; }
.acc-address-card .aac-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) { .acc-address-grid { grid-template-columns: 1fr; } }

/* Account tables (orders / wishlist) */
.acc-table-card { padding: 6px 0 0; overflow: hidden; }
.acc-table-scroll { overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--gray-500);
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
}
.acc-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.acc-table tbody tr:last-child td { border-bottom: none; }
.acc-table tbody tr:hover { background: var(--gray-50); }
.acc-table .num { text-align: right; }
.acc-table th.num { text-align: right; }
.acc-order-id { color: var(--orange); font-weight: 800; }
.acc-order-id:hover { text-decoration: underline; }
.acc-status-pill {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-900);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.acc-wishlist-table .awt-img img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; border: 1px solid var(--gray-100); background: var(--white); }
.acc-wishlist-table .awt-name { color: var(--blue-900); font-weight: 700; }
.acc-wishlist-table .awt-name:hover { color: var(--orange); }
.acc-wishlist-table .awt-old { color: var(--gray-500); font-weight: 400; margin-left: 6px; }
.acc-wishlist-table .awt-locked { color: var(--gray-500); font-size: 13px; white-space: nowrap; }
.acc-wishlist-table .awt-actions { white-space: nowrap; }
.acc-wishlist-table .awt-actions .btn { margin-left: 6px; }

/* ===== ORDER INFO (account/order/info) ===== */
.acc-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.acc-info-block { margin-bottom: 0 !important; padding: 20px; }
.acc-info-block h4 {
  color: var(--blue-900);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.acc-info-block h4 { display: block; }
.acc-info-block p { color: var(--gray-700); font-size: 13.5px; line-height: 1.8; margin: 0; }
.acc-info-block p strong { color: var(--blue-900); }
.acc-option { color: var(--gray-500); }
.acc-totals td { border-bottom: none; border-top: 1px solid var(--gray-100); padding: 8px 18px; }
.acc-totals tr:first-child td { border-top: 2px solid var(--gray-200); padding-top: 14px; }
.acc-totals tr:last-child td { font-size: 15px; color: var(--blue-900); padding-bottom: 16px; }
.acc-history-title {
  font-size: 16px; font-weight: 800; color: var(--blue-900);
  padding: 16px 18px 4px;
}
@media (max-width: 1100px) { .acc-info-grid { grid-template-columns: 1fr; } }

/* ===== RETURN FORM + 2-col info grids ===== */
.acc-info-grid-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 1100px) { .acc-info-grid-2 { grid-template-columns: 1fr; } }
.acc-radio-col { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.acc-radio-col label {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--gray-900); font-weight: 600; cursor: pointer;
}
.acc-field input[type="date"] { cursor: pointer; }

/* Radios/checkboxes inside acc-field must not inherit the pill text-input styling */
.acc-field input[type="radio"], .acc-field input[type="checkbox"] {
  width: 18px; height: 18px;
  padding: 0; border: none; border-radius: 0;
  background: none; flex: 0 0 auto;
  accent-color: var(--orange);
  cursor: pointer;
}

/* ===== SEARCH PAGE (product/search) ===== */
.search-hero { text-align: left; padding: 34px 0; }
.search-hero h1 { font-size: 30px; }
.search-hero .search-count { opacity: 0.85; font-size: 14px; margin-top: 4px; }
.search-hero .pd2-breadcrumb a { color: rgba(255,255,255,0.8); }
.search-hero .pd2-breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.search-hero .pd2-breadcrumb .sep { color: rgba(255,255,255,0.4); }

.search-refine {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(15,27,45,0.04);
  margin-bottom: 24px;
}
.search-refine-row { display: flex; gap: 12px; flex-wrap: wrap; }
.search-refine-input {
  flex: 1 1 320px;
  height: 48px;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--gray-50);
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.search-refine-input:focus { outline: none; border-color: var(--orange); background: var(--white); }
.search-refine-cat { height: 48px; flex: 0 1 240px; }
.search-refine-btn { height: 48px; white-space: nowrap; flex: 0 0 auto; }
.search-refine-checks { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 14px; }
.search-refine-checks label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--gray-700); font-weight: 600; cursor: pointer;
}
.search-refine-checks input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--orange); cursor: pointer; }
.search-refine-checks input:disabled + span, .search-refine-checks label:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }

.search-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-200);
}
.search-result-count { color: var(--gray-700); font-size: 14px; font-weight: 600; }

@media (max-width: 640px) {
  .search-hero h1 { font-size: 22px; }
  .search-refine-row { flex-direction: column; }
  .search-refine-input, .search-refine-cat, .search-refine-btn { flex: 1 1 auto; width: 100%; }
}

/* ===== Select2 (search category dropdown) — themed to match ===== */
.search-refine .select2-container { flex: 0 1 240px; }
.search-refine .select2-container--default .select2-selection--single {
  height: 48px;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  padding: 0 8px 0 14px;
}
.search-refine .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  padding: 0;
}
.search-refine .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 6px; }
.search-refine .select2-container--default.select2-container--open .select2-selection--single,
.search-refine .select2-container--default .select2-selection--single:focus {
  border-color: var(--orange);
  background: var(--white);
  outline: none;
}
/* Dropdown panel */
.select2-container--default .select2-dropdown {
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,27,45,0.12);
  overflow: hidden;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 14px;
}
.select2-container--default .select2-search--dropdown .select2-search__field:focus { outline: none; border-color: var(--orange); }
.select2-container--default .select2-results__option {
  font-size: 14px;
  color: var(--gray-700);
  padding: 9px 14px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--orange); color: var(--white); }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--orange-50); color: var(--blue-900); font-weight: 700; }
@media (max-width: 640px) {
  .search-refine .select2-container { flex: 1 1 auto; width: 100% !important; }
}

/* Select2 open state: drop the pill radius so it connects cleanly with the dropdown panel */
.search-refine .select2-container--open.select2-container--below .select2-selection--single {
  border-radius: 14px 14px 0 0;
  border-bottom-color: transparent;
}
.search-refine .select2-container--open.select2-container--above .select2-selection--single {
  border-radius: 0 0 14px 14px;
  border-top-color: transparent;
}
.select2-container--default.select2-container--open.select2-container--below .select2-dropdown--below {
  border-radius: 0 0 12px 12px;
  border-top: none;
}
.select2-container--default.select2-container--open.select2-container--above .select2-dropdown--above {
  border-radius: 12px 12px 0 0;
  border-bottom: none;
}

/* ===== HEADER LIVE SEARCH (autocomplete dropdown) ===== */
.trdr-ac {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15,27,45,0.16);
  overflow: hidden;
  max-height: 70vh;
  overflow-y: auto;
}
.trdr-ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: background .12s;
}
.trdr-ac-item:last-of-type { border-bottom: none; }
.trdr-ac-item:hover, .trdr-ac-item.active { background: var(--orange-50); }
.trdr-ac-img {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  flex-shrink: 0;
}
.trdr-ac-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.trdr-ac-name {
  font-size: 13.5px; font-weight: 700; color: var(--blue-900);
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.trdr-ac-sku { font-size: 11.5px; color: var(--gray-500); font-weight: 600; }
.trdr-ac-price { font-size: 14px; font-weight: 800; color: var(--blue-900); white-space: nowrap; flex-shrink: 0; }
.trdr-ac-lock { font-size: 14px; flex-shrink: 0; opacity: 0.6; }
.trdr-ac-all {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 14px;
  background: var(--blue-900);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .12s;
}
.trdr-ac-all:hover { background: var(--orange); }
.trdr-ac-empty {
  padding: 22px 16px;
  text-align: center;
  color: var(--gray-500);
  font-size: 13.5px;
}
@media (max-width: 640px) {
  .trdr-ac-name { -webkit-line-clamp: 1; }
  .trdr-ac-img { width: 40px; height: 40px; }
}

/* ===== PRODUCT GALLERY v3 — vertical thumbnail rail + main image ===== */
.pd2-gallery-wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start; /* gallery keeps its own aspect-ratio height; rail is pinned to it via JS */
  min-width: 0;
}
.pd2-gallery-wrap.no-rail { display: block; }
.pd2-gallery-wrap .pd2-gallery {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* Vertical rail */
.pd2-thumb-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 84px;
  flex-shrink: 0;
}
.pd2-rail-btn {
  height: 30px;
  flex-shrink: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-900);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.pd2-rail-btn.up { transform: rotate(90deg); }
.pd2-rail-btn.down { transform: rotate(90deg); }
.pd2-rail-btn:hover:not(:disabled) { background: var(--orange); color: var(--white); border-color: var(--orange); }
.pd2-rail-btn:disabled { opacity: .3; cursor: default; }
/* When the rail can't scroll at all (few images), drop the arrows entirely */
.pd2-thumb-rail.static .pd2-rail-btn { display: none; }

.pd2-thumb-track {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.pd2-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  padding: 5px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, transform .12s, box-shadow .15s;
}
.pd2-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pd2-thumb:hover { border-color: var(--orange-light); transform: translateY(-1px); }
.pd2-thumb.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-50);
}

/* Main image fade when swapping */
#pd2-main-img.pd2-fade { animation: pd2ImgFade .28s ease; }
@keyframes pd2ImgFade { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }

/* Tablet / mobile: rail goes horizontal, below the main image */
@media (max-width: 900px) {
  .pd2-gallery-wrap { flex-direction: column-reverse; gap: 12px; }
  .pd2-thumb-rail {
    flex-direction: row;
    width: 100%;
    min-width: 0;
    height: auto !important; /* override the JS-pinned desktop height */
  }
  .pd2-rail-btn { height: auto; width: 34px; align-self: stretch; flex-shrink: 0; }
  .pd2-rail-btn.up, .pd2-rail-btn.down { transform: none; }
  .pd2-thumb-track { flex-direction: row; min-width: 0; min-height: 0; }
}

/* ===== Product image lightbox ===== */
.pd2-lb {
  display: none !important;
}
.pd2-lb.is-open {
  display: flex !important;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 28px 56px 24px;
  background: rgba(15, 27, 45, 0.82);
  cursor: zoom-out;
}
body.pd2-lb-open { overflow: hidden; }

.pd2-lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background .15s;
}
.pd2-lb-close:hover { background: var(--orange); }

.pd2-lb-frame {
  position: relative;
  width: min(920px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: default;
}

.pd2-lb-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pd2-lb-stage img {
  max-width: 100%;
  max-height: calc(92vh - 128px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.pd2-lb.single .pd2-lb-stage img { max-height: 84vh; }

.pd2-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 27, 45, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.pd2-lb-nav:hover { background: var(--orange); }
.pd2-lb-nav.prev { left: 10px; }
.pd2-lb-nav.next { right: 10px; }

.pd2-lb-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pd2-lb-counter {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.pd2-lb-thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}
.pd2-lb-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 3px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.pd2-lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.pd2-lb-thumb:hover { border-color: var(--orange-light); }
.pd2-lb-thumb.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
}
.pd2-lb.single .pd2-lb-nav,
.pd2-lb.single .pd2-lb-bar { display: none; }

@media (max-width: 768px) {
  .pd2-lb.is-open { padding: 52px 28px 16px; }
  .pd2-lb-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .pd2-lb-nav { width: 36px; height: 36px; font-size: 24px; }
  .pd2-lb-nav.prev { left: 4px; }
  .pd2-lb-nav.next { right: 4px; }
  .pd2-lb-stage img { max-height: calc(92vh - 150px); padding: 10px; }
  .pd2-lb-thumb { flex-basis: 48px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .pd2-lb-thumb, .pd2-lb-nav, .pd2-lb-close { transition: none; }
}
