.store-page .lp-nav {
  justify-content: flex-start;
}

.pd-popup-form-header {
  margin-bottom: 12px;
}

#pd-desc {
  text-align: left;
  white-space: pre-wrap;
  margin-top: 0;
}

/* ══════════════ Store page styles ══════════════ */
/* ── Store-specific overrides ── */
html:has(body.store-page) {
  height: auto;
  overflow: visible;
}

body.store-page {
  padding: 0;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: stretch;
}

:root {
  --store-nav-offset: 112px;
  --store-nav-offset-mobile: calc(env(safe-area-inset-top, 0px) + 92px);
}

.store-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.store-section {
  position: relative;
  z-index: 1;
  padding: var(--store-nav-offset) 12px 18px;
  flex: 1;
}

.store-section::before {
  content: "";
  position: fixed;
  inset: -40px;
  background:
    linear-gradient(135deg,
      rgba(80, 50, 180, 0.72) 0%,
      rgba(40, 30, 140, 0.65) 50%,
      rgba(60, 80, 200, 0.6) 100%),
    url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1400&q=80") center / cover no-repeat;
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.store-section-inner {
  max-width: 1600px;
  margin: 0 auto;
}

.store-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.store-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  backdrop-filter: blur(8px);
}

.store-filter-btn:hover,
.store-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .store-filter-bar {
    gap: 0;
    margin-bottom: 28px;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
  }

  .store-filter-btn {
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s;
  }

  .store-filter-btn:hover,
  .store-filter-btn.active {
    background: none;
    border: none;
    color: var(--accent);
  }

  .store-filter-btn + .store-filter-btn::before {
    content: "/";
    color: rgba(255, 255, 255, 0.25);
    margin: 0 6px;
    font-weight: 300;
  }
}

.store-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.store-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin: 0 0 28px;
}

.store-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.15;
  text-transform: uppercase;
}

.store-section-eyebrow::before,
.store-section-eyebrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.9;
}

.store-section-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5.4vw, 3.95rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
}

.store-section-title em {
  display: inline-block;
  margin-left: 0.06em;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  background: linear-gradient(90deg, #11c3e7 0%, #6ba8ff 55%, #c39af8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 900px) {
  .store-section-header {
    margin-bottom: 24px;
  }

  .store-section-eyebrow {
    gap: 10px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .store-section-eyebrow::before,
  .store-section-eyebrow::after {
    width: 30px;
  }

  .store-section-title {
    font-size: clamp(2.05rem, 8.4vw, 3.1rem);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.store-card-wrap {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(20% - 12.8px);
  max-width: calc(20% - 12.8px);
  min-width: 0;
  animation: cardFadeIn 0.8s ease both;
  position: relative;
}

@media (max-width: 1400px) {
  .store-card-wrap {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
  }
}

.store-card {
  flex: 1;
  background: rgba(110, 95, 175, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  box-shadow: 0 8px 32px rgba(10, 5, 40, 0.3);
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(10, 5, 40, 0.45);
  border-color: rgba(0, 194, 224, 0.35);
}

.store-card-img-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.store-card-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: rgba(60, 40, 160, 0.3);
}

.store-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: rgba(60, 40, 160, 0.3);
}

.store-card-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.22);
  transition: border-color 0.18s;
  flex-shrink: 0;
}

.store-card-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.store-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.store-card-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  gap: 12px;
  flex-wrap: nowrap;
}

.store-card-price-wrap {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.store-card-btn {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: linear-gradient(90deg,
      var(--accent-btn-from),
      var(--accent-btn-to));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.store-card-price {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.store-card-price span {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-left: 2px;
}

.store-card-tva,
.pd-tva {
  font-size: 0.55rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1px;
  text-align: center;
}

.store-card-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.store-footer {
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.04em;
  text-align: center;
}

.store-copyright-mobile {
  display: none;
}

.store-footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.store-footer-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  display: block;
  filter: grayscale(1) brightness(1.08) opacity(0.72);
}

.store-footer-copyright {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .store-copyright-desktop {
    display: none;
  }

  .store-copyright-mobile {
    display: inline;
  }

  .store-footer {
    padding: 28px 16px 20px;
  }

  .store-footer-inner {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .store-footer-hide-mobile {
    display: none;
  }

  .store-footer-firm {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .store-footer-firm > span:first-child {
    width: 100%;
    text-align: center;
  }

  .store-footer-contact-mobile {
    display: inline;
  }

  .store-footer-firm {
    flex-wrap: nowrap;
  }

  .store-footer-firm:has(.store-footer-contact-mobile) {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }

  .store-footer-firm > span:first-child {
    flex: 0 0 100%;
  }

  .store-footer-contact-mobile {
    flex: 0 0 auto;
  }

  .store-footer-contact-mobile + .store-footer-contact-mobile::before {
    content: "\00a0·\00a0";
    color: rgba(255, 255, 255, 0.3);
  }
}

.tab-mobile {
  display: none;
}

.tab-desktop {
  display: inline;
}

@media (max-width: 600px) {
  .tab-mobile {
    display: inline;
  }

  .tab-desktop {
    display: none;
  }

  .cart-btn-hide-mobile {
    display: none;
  }
}

.scroll-top-btn {
  display: none;
}

@media (max-width: 600px) {
  .scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 16px;
    z-index: 999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 10, 60, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }

  .scroll-top-btn:hover,
  .scroll-top-btn:active {
    background: rgba(201, 162, 39, 0.85);
    border-color: #c9a227;
    color: #fff;
  }
}

@media (max-width: 600px) {
  body:has(#cart-overlay.open) #scrollTopBtn {
    display: none !important;
  }
}

.store-footer-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-footer-links a {
  font-size: 0.69rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.store-footer-links a:hover {
  color: #c9a227;
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .store-footer-links {
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 6px;
  }

  .store-footer-links a {
    padding: 0;
    border: none;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.66rem;
    letter-spacing: 0.01em;
    text-transform: none;
    transition: color 0.2s;
    transform: none;
  }

  .store-footer-links a:hover {
    background: none;
    border: none;
    color: #c9a227;
    transform: none;
  }

  .store-footer-links a + a::before {
    content: "/";
    color: rgba(255, 255, 255, 0.25);
    margin: 0 6px;
    font-weight: 300;
  }
}

.store-footer-divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 4px 0;
}

.store-footer-firm {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Inter", sans-serif;
}

.store-footer-firm strong {
  color: rgba(255, 255, 255, 0.6);
}

.store-card--soon .store-card-body {
  opacity: 0.6;
  pointer-events: none;
}

.store-card--soon::after {
  content: "Curând disponibil";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(20, 10, 60, 0.45);
  backdrop-filter: blur(3px);
  border-radius: 20px;
  pointer-events: none;
}

@media (max-width: 600px) {
  .store-page .lp-nav {
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 12px;
  }

  .store-page .nav-actions {
    right: 16px;
  }

  .store-section {
    padding: var(--store-nav-offset-mobile) 16px 80px;
  }

  .store-grid {
    gap: 14px;
  }

  .store-card-body {
    padding: 14px 16px 14px;
  }

  .store-card-name {
    font-size: 0.95rem;
  }

  .store-card-price {
    font-size: 1.05rem;
  }

  .store-card-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 7px 12px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .store-card-wrap {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.nav-actions {
  position: absolute;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-actions .lp-menu-btn {
  position: static;
  right: auto;
}

@media (max-width: 900px) {
  .nav-actions {
    right: 24px;
  }
}

.store-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}

.store-cart-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.store-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #c9a227;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: "Inter", sans-serif;
}

.store-cart-badge.visible {
  display: flex;
}

.pd-overlay {
  background: transparent;
  z-index: 1000;
}

.pd-card {
  min-height: 0;
  height: auto;
  max-height: 90vh;
  overflow: hidden;
  flex-direction: column;
}

.pd-card-header {
  text-align: center;
  padding: 24px 40px 16px;
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.pd-card-header:active {
  cursor: grabbing;
}

.pd-card-header .lp-popup-form-title {
  font-size: 1.55rem;
}

.pd-card-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.pd-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pd-specs li {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pd-specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lp-gold);
  font-size: 0.7rem;
  font-weight: 700;
}

.pd-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.pd-var-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 10px 16px 14px 16px;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pd-var-panel-label {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 8px;
  user-select: none;
  pointer-events: none;
}

.pd-var-panel .pd-variations {
  width: 100%;
  align-items: center;
}

.pd-variations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-variation-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  width: 100%;
}

.pd-variation-group + .pd-variation-group {
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pd-variation-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.pd-variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pd-variation-option {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.74rem;
  cursor: pointer;
}

.pd-variation-option.is-selected {
  border-color: var(--lp-gold);
  color: #fff;
  background: rgba(201, 162, 39, 0.15);
}

.pd-variation-radio-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.pd-variation-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.79rem;
  cursor: pointer;
}

.pd-variation-radio input[type="radio"] {
  accent-color: var(--lp-gold);
}

.pd-variation-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-top: 2px;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.pd-price,
.pd-price-suffix {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

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

.pd-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}

.pd-qty-btn {
  width: 36px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}

.pd-qty-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.pd-qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.pd-add-cart {
  background: linear-gradient(90deg, #c9a227 0%, #e8c84a 50%, #c9a227 100%) !important;
  background-size: 200% auto !important;
  color: #1a0f00 !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35) !important;
  padding: 10px 28px;
  font-weight: 800 !important;
  transition: background-position 0.4s ease, opacity 0.2s, transform 0.15s !important;
}

.pd-add-cart:hover {
  background-position: right center !important;
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.5) !important;
}

.pd-add-cart.pd-out-of-stock,
.pd-add-cart[disabled] {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
  cursor: default;
  pointer-events: none;
  opacity: 1 !important;
  transform: none !important;
}

.pd-contact-link {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 8px;
}

.pd-contact-link:hover {
  color: rgba(255, 255, 255, 0.72);
}

.pd-out-of-stock-msg {
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 200, 100, 0.9);
  background: rgba(255, 150, 0, 0.10);
  border: 1px solid rgba(255, 150, 0, 0.25);
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: 10px;
}

.pd-stock-row {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.pd-stock-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.pd-stock-ok {
  color: #6ee49a;
  background: rgba(60, 200, 100, 0.13);
  border: 1px solid rgba(60, 200, 100, 0.3);
}

.pd-stock-low {
  color: #ffd270;
  background: rgba(255, 190, 0, 0.12);
  border: 1px solid rgba(255, 190, 0, 0.3);
}

.pd-stock-out {
  color: #ff8080;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 60, 60, 0.3);
}

.pd-img-panel {
  flex: 0 0 42%;
  width: 42%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  border-right: none;
  overflow: hidden;
  position: relative;
  margin: 5px;
  border-radius: 12px;
  transition: width 0.2s ease, flex 0.2s ease;
}

.pd-vdivider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  flex-shrink: 0;
  margin: 20px 0;
}

.pd-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.pd-img-main {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  padding: 0;
  display: block;
}

.pd-thumbs-strip {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  justify-content: center;
}

.pd-thumb-slot {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s;
  flex-shrink: 0;
}

.pd-thumb-slot:hover,
.pd-thumb-slot.pd-thumb-active {
  border-color: var(--lp-gold);
}

.pd-thumb-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .pd-img-panel {
    display: none;
  }

  .pd-card {
    border-radius: 16px;
  }
}

.cart-card {
  width: 624px;
  max-width: 98vw;
  min-height: 0;
  height: auto;
  max-height: 94vh;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.3s ease;
  background: rgba(0, 194, 224, 0.2);
}

.cart-card.checkout-tab-active {
  width: 612px;
}

.cart-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 20px;
  flex-shrink: 0;
  gap: 0;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.cart-tabs:active {
  cursor: grabbing;
}

.cart-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 18px 18px 16px;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
  user-select: none;
  -webkit-user-select: none;
}

.cart-tab-btn.active {
  color: #fff;
  border-bottom-color: var(--lp-gold, #c9a227);
}

.cart-tab-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.7);
}

.cart-tab-panel,
.cart-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.cart-items-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 28px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  position: relative;
}

.cart-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.cart-item:last-child::after {
  display: none;
}

.cart-item-thumb,
.cart-item-thumb-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.cart-item-thumb {
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.18s;
}

.cart-item-thumb:hover {
  opacity: 0.8;
}

.cart-item-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-item-name {
  flex: 1 1 auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.18s;
}

.cart-item-name:hover {
  color: var(--lp-gold, #c9a227);
}

.cart-item-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-price {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-qty-btn {
  width: 26px;
  height: 27px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}

.cart-item-qty-btn:hover {
  background: rgba(255, 255, 255, 0.13);
}

.cart-item-qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.28);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  color: rgba(255, 100, 100, 0.8);
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.cart-empty p {
  margin: 0;
}

.cart-footer {
  flex-shrink: 0;
  padding: 12px 20px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-footer-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 16px;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cart-total-row--tva {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total-row--grand {
  margin-bottom: 0;
  margin-top: 2px;
}

.cart-total-label {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-total-label--tva {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
}

.cart-total-label--grand,
.cart-total-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.cart-total-sub {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.cart-total-sub--tva {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

.cart-note {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 18px;
}

.cart-actions {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.cart-btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

.checkout-card {
  width: 820px;
  max-width: 100%;
  min-height: 0;
  height: auto;
  max-height: 90vh;
  flex-direction: column;
  overflow: hidden;
}

.checkout-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

.checkout-summary {
  flex: 0 0 22%;
  width: 22%;
  padding: 8px 20px 28px 28px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-summary-title,
.checkout-form-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-gold, #c9a227);
}

.checkout-summary-title {
  margin-bottom: 14px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 10px;
}

.checkout-summary-item:last-child {
  border-bottom: none;
}

.checkout-si-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  flex: 1 1 auto;
  line-height: 1.35;
}

.checkout-si-qty {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  white-space: nowrap;
}

.checkout-vdivider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  flex-shrink: 0;
  margin: 20px 0;
}

.checkout-form-panel,
.checkout-firma-panel {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 28px 20px 20px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  flex: 1 1 auto;
}

.co-form-left,
.co-form-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.checkout-form-eyebrow {
  margin-bottom: 18px;
}

#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

.checkout-field input,
.checkout-field textarea,
.checkout-field select {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 0;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-field input,
.checkout-field textarea {
  color: #fff;
}

.checkout-field select {
  color: rgba(255, 255, 255, 0.55);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.checkout-field input:-webkit-autofill,
.checkout-field input:-webkit-autofill:hover,
.checkout-field input:-webkit-autofill:focus,
.checkout-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  transition: background-color 9999s ease-in-out 0s;
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.checkout-field input:focus,
.checkout-field textarea:focus,
.checkout-field select:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.checkout-field textarea {
  resize: none;
}

.checkout-field select option {
  background: #1c1c2e;
  color: #fff;
}

.co-cif-status {
  display: block;
  font-size: 0.72rem;
  min-height: 1em;
  margin-top: 3px;
  transition: color 0.2s;
}

.co-cif-loading {
  color: rgba(255, 255, 255, 0.45);
}

.co-cif-ok {
  color: #4caf7d;
}

.co-cif-error {
  color: #ff6b6b;
}

#co-firma-denumire,
#co-judet,
#co-oras {
  text-transform: uppercase;
}

#co-firma-cif,
#co-firma-j,
#co-email,
#co-firma-denumire,
#co-firma-adresa,
#co-judet,
#co-oras,
#co-fname,
#co-phone {
  text-align: center;
}

.co-cif-hint {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 4px;
  font-style: italic;
}

.checkout-submit-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.checkout-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.checkout-submit-btn {
  background: linear-gradient(90deg, #c9a227 0%, #e8c84a 50%, #c9a227 100%) !important;
  background-size: 200% auto !important;
  color: #1a0f00 !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35) !important;
  font-weight: 800 !important;
  transition: background-position 0.4s ease, transform 0.15s !important;
}

.checkout-submit-btn:hover {
  background-position: right center !important;
  transform: translateY(-2px);
}

.checkout-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.co-section-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 16px 0 2px;
}

.co-section-label:first-child {
  margin-top: 2px;
}

.co-shipping-options {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 2px;
}

.co-shipping-card,
.co-payment-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.co-shipping-card {
  flex: 1;
}

.co-shipping-card input[type="radio"],
.co-payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.co-shipping-card.selected,
.co-payment-card.selected {
  border-color: var(--lp-gold, #c9a227);
  background: rgba(201, 162, 39, 0.08);
}

.co-ship-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s;
}

.co-ship-radio-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-gold, #c9a227);
  opacity: 0;
  transition: opacity 0.2s;
}

.co-shipping-card.selected .co-ship-radio-dot,
.co-payment-card.selected .co-ship-radio-dot {
  border-color: var(--lp-gold, #c9a227);
}

.co-shipping-card.selected .co-ship-radio-dot::after,
.co-payment-card.selected .co-ship-radio-dot::after {
  opacity: 1;
}

.co-ship-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.co-shipping-card.selected .co-ship-icon {
  color: var(--lp-gold, #c9a227);
}

.co-payment-card.selected .co-ship-icon {
  stroke: var(--lp-gold, #c9a227);
}

.co-ship-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.co-ship-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.co-ship-desc {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.co-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.co-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.co-row-judet {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
}

.co-firma-row1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
}

.co-pay-summary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.co-pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
}

.co-pay-summary-row span:last-child {
  font-size: 0.83rem;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.65);
}

.co-pay-summary-total {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.co-pay-summary-total span:last-child {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.co-payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

#stripe-payment-container {
  margin-top: 18px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

#stripe-errors {
  color: #ff6b6b;
  font-size: 0.82rem;
  margin-top: 8px;
  min-height: 18px;
}

.co-firma-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.co-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.co-checkbox-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--lp-gold, #c9a227);
  cursor: pointer;
  flex-shrink: 0;
}

.co-checkbox-label span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .co-shipping-options {
    flex-direction: column;
  }

  .co-firma-row1 {
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "denumire denumire"
      "cui regcom";
  }

  .co-firma-row1 .checkout-field:nth-child(1) {
    grid-area: denumire;
  }

  .co-firma-row1 .checkout-field:nth-child(2) {
    grid-area: cui;
  }

  .co-firma-row1 .checkout-field:nth-child(3) {
    grid-area: regcom;
  }
}

#cart-overlay,
#pd-overlay {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.pd-card,
.cart-card {
  background: rgba(80, 65, 140, 0.18);
  backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 80px rgba(20, 10, 60, 0.55);
}

.pd-var-panel {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}

.pd-thumbs-strip {
  background: rgba(255, 255, 255, 0.03);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.pd-thumb-slot {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.13);
}

.store-filter-btn,
.store-cart-btn,
.store-footer,
.cart-footer-glass,
.store-card--soon::after {
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .pd-card {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .pd-card-body {
    flex-direction: column;
    overflow: visible;
  }

  .lp-popup-panel {
    justify-content: flex-start;
    overflow: visible;
    padding: 16px 18px 24px;
  }

  .pd-popup-form-header {
    margin-top: 8px;
  }

  .pd-img-panel {
    display: flex !important;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    max-height: none;
    margin: 0 0 8px;
    border-radius: 14px;
    justify-content: flex-start;
    overflow: hidden;
  }

  .pd-img-main {
    aspect-ratio: auto;
    min-height: 0;
    max-height: min(34vh, 260px);
    flex: 0 0 auto;
    height: auto;
  }

  .pd-thumbs-strip {
    flex-shrink: 0;
    overflow-x: auto;
    padding: 6px 8px;
    margin-top: 6px;
  }

  .pd-vdivider {
    display: none;
  }
}

@media (max-width: 1400px) {
  .store-card-wrap {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
  }

  .store-card-price,
  .store-card-price span {
    font-size: 0.9rem;
  }

  .store-card-btn {
    padding: 8px 12px;
    font-size: 0.74rem;
  }
}

@media (max-width: 1100px) {
  .store-card-wrap {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  .store-card-price,
  .store-card-price span {
    font-size: 1rem;
  }

  .store-card-btn {
    padding: 9px 16px;
    font-size: 0.78rem;
  }
}

@media (max-width: 760px) {
  .store-card-wrap {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .store-card-footer {
    flex-wrap: wrap;
  }

  .store-card-price-wrap {
    flex: 1 1 100%;
  }

  .store-card-price,
  .store-card-price span {
    font-size: 0.98rem;
  }

  .store-card-btn {
    width: 100%;
    justify-content: center;
    padding: 7px 12px;
    font-size: 0.72rem;
  }
}

@media (max-width: 700px) {
  .cart-card,
  .checkout-card {
    border-radius: 16px;
    max-height: 100dvh;
  }

  .checkout-body {
    flex-direction: column;
    overflow: hidden;
  }

  .checkout-summary {
    flex: 0 0 auto;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    max-height: 30vh;
    overflow-y: auto;
  }

  .checkout-vdivider {
    display: none;
  }

  .checkout-form-panel {
    padding: 16px 24px 12px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
  }

  .co-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .co-form-right {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    margin-top: 8px;
  }
}
