:root {
  --pdp-ink: #132238;
  --pdp-slate: #31465f;
  --pdp-muted: #6d7b8d;
  --pdp-line: rgba(19, 34, 56, 0.1);
  --pdp-paper: #ffffff;
  --pdp-soft: #f5f8fb;
  --pdp-soft-2: #ecf2f7;
  --pdp-brand: #0f766e;
  --pdp-brand-dark: #0a5d57;
  --pdp-gold: #e9b949;
  --pdp-coral: #ef476f;
  --pdp-shadow: 0 20px 45px rgba(19, 34, 56, 0.08);
  --pdp-shadow-soft: 0 10px 24px rgba(19, 34, 56, 0.06);
}

body.vm-product-page {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 22%),
    radial-gradient(circle at top right, rgba(233, 185, 73, 0.08), transparent 18%),
    linear-gradient(180deg, #f3f7fb 0%, #eef4f8 42%, #f9fbfd 100%) !important;
  color: var(--pdp-ink) !important;
  font-family: "Montserrat", sans-serif !important;
  padding-top: 82px !important;
}

body.vm-product-page .vm-header {
  background:
    linear-gradient(135deg, rgba(10, 19, 33, 0.96), rgba(18, 40, 66, 0.94)) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 14px 34px rgba(8, 16, 30, 0.28) !important;
  padding: 0 !important;
}

body.vm-product-page .vm-inner {
  max-width: 1180px !important;
  min-height: 44px;
  padding: 6px 18px !important;
  gap: 0.75rem !important;
}

body.vm-product-page .vm-header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

body.vm-product-page .vm-header-top-inner {
  min-height: 26px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.vm-product-page .vm-header-crumbs,
body.vm-product-page .vm-header-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

body.vm-product-page .vm-header-crumbs {
  color: rgba(226, 235, 244, 0.76);
  font-size: 0.68rem;
  white-space: nowrap;
  overflow: hidden;
}

body.vm-product-page .vm-header-crumbs a,
body.vm-product-page .vm-header-crumbs span {
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.vm-product-page .vm-header-trust {
  color: rgba(226, 235, 244, 0.76);
  font-size: 0.66rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.vm-product-page .vm-header-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

body.vm-product-page .vm-left {
  gap: 1rem !important;
  min-width: 0;
}

body.vm-product-page .vm-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 0.4rem;
  position: relative;
}

body.vm-product-page .vm-logo img {
  height: 28px !important;
  filter: brightness(0) invert(1);
}

body.vm-product-page .vm-market {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem !important;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.vm-product-page .vm-market .market-indicator {
  display: none !important;
}

body.vm-product-page .vm-market a {
  margin-right: 0 !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 999px;
  border-bottom: 0 !important;
  color: rgba(230, 238, 248, 0.72) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

body.vm-product-page .vm-market a.active,
body.vm-product-page .vm-market a:hover {
  color: #081220 !important;
  background: linear-gradient(135deg, #ffffff, #edf3f8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

body.vm-product-page .vm-searchbar {
  position: relative;
  flex: 1 1 auto;
  min-width: 280px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.2rem 0.3rem 0.2rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.vm-product-page .vm-searchbar > i {
  color: rgba(235, 242, 248, 0.68);
  font-size: 0.82rem;
}

body.vm-product-page .vm-searchbar input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f7fbff;
  outline: none;
  font-size: 0.82rem;
}

body.vm-product-page .vm-searchbar input::placeholder {
  color: rgba(226, 235, 244, 0.58);
}

body.vm-product-page .vm-searchbar button {
  min-height: 30px;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #e8eff5);
  color: #081220;
  font-weight: 700;
  font-size: 0.76rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

body.vm-product-page .search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  padding: 0.45rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: 0 22px 50px rgba(10, 20, 38, 0.22);
  z-index: 20;
}

body.vm-product-page .search-suggestions .suggestion {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--pdp-ink);
  font-weight: 600;
}

body.vm-product-page .search-suggestions .suggestion:hover {
  background: #f3f7fb;
}

body.vm-product-page .vm-categories {
  position: relative;
}

body.vm-product-page .cat-btn {
  min-height: 30px;
  padding: 0.35rem 0.7rem !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f5f8fc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 700;
  font-size: 0.78rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.vm-product-page .cat-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

body.vm-product-page .cat-dropdown {
  top: calc(100% + 10px) !important;
  min-width: 240px !important;
  padding: 0.45rem !important;
  border-radius: 18px !important;
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: 0 22px 50px rgba(10, 20, 38, 0.22) !important;
  background: rgba(255, 255, 255, 0.98);
}

body.vm-product-page .cat-dropdown a {
  border-radius: 12px;
  color: var(--pdp-ink) !important;
  font-weight: 600;
}

body.vm-product-page .cat-dropdown a:hover {
  background: #f3f7fb !important;
}

body.vm-product-page .vm-right {
  gap: 0.5rem !important;
  margin-left: auto;
}

body.vm-product-page .vm-utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f8fc;
  font-weight: 700;
  font-size: 0.76rem;
  white-space: nowrap;
}

body.vm-product-page .vm-utility-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

body.vm-product-page .vm-back {
  width: 30px !important;
  height: 30px !important;
  background: linear-gradient(135deg, #f6fbff, #dde8f1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #081220 !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

body.vm-product-page .vm-back i {
  color: #081220 !important;
  font-size: 0.88rem !important;
}

body.vm-product-page .vm-back:hover {
  background: linear-gradient(135deg, #ffffff, #e7f0f7) !important;
  transform: translateY(-1px);
}

body.vm-product-page .vm-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 185, 73, 0.7), transparent);
}

body.vm-product-page .product-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.4rem 1rem 0;
}

body.vm-product-page .product-page {
  max-width: none !important;
  margin: 0 !important;
  grid-template-columns: minmax(0, 1.45fr) 360px !important;
  gap: 1.5rem !important;
  align-items: start;
}

body.vm-product-page .vm-product-main,
body.vm-product-page .vm-seller-card,
body.vm-product-page .vm-related-section {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--pdp-shadow) !important;
}

body.vm-product-page .vm-product-main {
  border-radius: 28px !important;
  padding: 1.35rem !important;
}

body.vm-product-page .vm-product-main::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 0;
}

body.vm-product-page .vm-primary-image {
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(15, 118, 110, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  border: 1px solid var(--pdp-line);
  overflow: hidden;
}

body.vm-product-page .vm-primary-image img {
  width: 100%;
  height: 100%;
  max-height: 520px !important;
  object-fit: contain !important;
  padding: 1.2rem;
}

body.vm-product-page .vm-thumbnail-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(84px, 84px));
  gap: 0.7rem !important;
  margin-top: 0.9rem !important;
  margin-bottom: 1.2rem !important;
}

body.vm-product-page .vm-thumbnail-gallery img {
  width: 84px !important;
  height: 84px !important;
  border-radius: 18px !important;
  border: 1px solid var(--pdp-line) !important;
  background: #fff;
  padding: 0.3rem;
}

body.vm-product-page .vm-thumbnail-gallery img.active,
body.vm-product-page .vm-thumbnail-gallery img:hover {
  border-color: var(--pdp-brand) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

body.vm-product-page .vm-product-info {
  padding: 0.3rem 0 0 !important;
}

body.vm-product-page .vm-product-info h1 {
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.02;
  color: var(--pdp-ink);
  margin-bottom: 0.85rem !important;
}

body.vm-product-page .vm-product-info .price,
body.vm-product-page .price {
  color: var(--pdp-brand-dark) !important;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem) !important;
  font-weight: 800 !important;
  margin: 0.5rem 0 0.85rem !important;
}

body.vm-product-page .vm-product-info .description {
  color: var(--pdp-slate) !important;
  font-size: 1rem;
  line-height: 1.75;
}

body.vm-product-page .vm-product-info .description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.vm-product-page .custom-breadcrumb {
  background: transparent !important;
  padding: 0 !important;
}

body.vm-product-page .custom-breadcrumb .breadcrumb-item a {
  color: var(--pdp-muted) !important;
}

body.vm-product-page .custom-breadcrumb .breadcrumb-item.active {
  color: var(--pdp-ink) !important;
}

body.vm-product-page .vm-share-block {
  margin-top: 1.4rem;
  padding: 1rem 1rem 0.9rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fbfd 0%, #edf4f8 100%);
  border: 1px solid var(--pdp-line);
  opacity: 0.92;
}

body.vm-product-page .vm-share-title {
  margin: 0 0 0.8rem;
  color: var(--pdp-ink);
  font-weight: 700;
}

body.vm-product-page .vm-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

body.vm-product-page .vm-share-actions .btn {
  min-width: 42px;
  min-height: 42px;
  border-radius: 14px;
}

body.vm-product-page .vm-trust-strip {
  margin-top: 1rem !important;
  gap: 0.7rem !important;
}

body.vm-product-page .vm-trust-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem !important;
  border-radius: 999px !important;
  background: #eff8f6 !important;
  color: var(--pdp-brand-dark) !important;
  border: 1px solid rgba(15, 118, 110, 0.12);
  font-size: 0.8rem !important;
  font-weight: 700 !important;
}

body.vm-product-page .vm-seller-card {
  top: 96px !important;
  border-radius: 28px !important;
  padding: 1.25rem !important;
}

body.vm-product-page .vm-seller-card .btn {
  border-radius: 16px;
  min-height: 52px;
  font-weight: 700;
}

body.vm-product-page .vm-product-main .custom-breadcrumb,
body.vm-product-page .vm-share-block,
body.vm-product-page .vm-trust-strip,
body.vm-product-page .related-products,
body.vm-product-page .footer {
  order: 2;
}

body.vm-product-page .vm-product-info {
  display: grid;
  gap: 0.85rem;
}

body.vm-product-page .vm-product-info > h1,
body.vm-product-page .vm-product-info > .price,
body.vm-product-page .vm-product-info > .description,
body.vm-product-page .vm-product-info > .text-muted.small {
  order: 1;
}

body.vm-product-page .vm-product-info .text-muted.small {
  margin-top: -0.35rem;
  color: var(--pdp-muted) !important;
  font-size: 0.92rem !important;
}

body.vm-product-page .vm-share-block {
  padding: 0.85rem 1rem;
}

body.vm-product-page .vm-share-title {
  font-size: 0.9rem;
}

body.vm-product-page .vm-share-actions .btn {
  min-width: 38px;
  min-height: 38px;
}

body.vm-product-page .vm-related-section {
  margin-top: 1.4rem !important;
}

body.vm-product-page .vm-related-header {
  display: flex;
}

body.vm-product-page .vm-share-block {
  display: block;
}

body.vm-product-page .vm-trust-strip {
  display: none;
}

body.vm-product-page .vm-seller-card .btn-dark {
  background: var(--pdp-ink) !important;
  border-color: var(--pdp-ink) !important;
}

body.vm-product-page .vm-seller-card .btn-success {
  background: var(--pdp-brand) !important;
  border-color: var(--pdp-brand) !important;
}

body.vm-product-page .vm-seller-card small.text-success {
  color: var(--pdp-brand) !important;
}

body.vm-product-page .vm-related-section {
  max-width: 1320px !important;
  margin: 2rem auto 0 !important;
  padding: 1.35rem !important;
  border-radius: 28px !important;
}

body.vm-product-page .vm-related-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

body.vm-product-page .vm-related-kicker {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: var(--pdp-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.vm-product-page .vm-related-section h2 {
  margin: 0;
  font-size: 1.8rem !important;
  font-weight: 800;
  color: var(--pdp-ink) !important;
}

body.vm-product-page .related-carousel {
  gap: 1rem !important;
  padding-bottom: 0.4rem !important;
}

body.vm-product-page .related-item {
  width: 220px !important;
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid var(--pdp-line);
  box-shadow: none !important;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body.vm-product-page .related-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--pdp-shadow) !important;
  border-color: rgba(15, 118, 110, 0.2);
}

body.vm-product-page .related-item img {
  height: 180px !important;
  padding: 0.8rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
}

body.vm-product-page .related-item .info {
  padding: 0.95rem !important;
}

body.vm-product-page .related-item .info .title {
  color: var(--pdp-ink);
  min-height: 2.5em;
}

body.vm-product-page .related-item .info .price {
  color: var(--pdp-brand-dark) !important;
}

body.vm-product-page .footer {
  margin-top: 2rem;
}

@media (max-width: 992px) {
  body.vm-product-page {
    padding-top: 74px !important;
  }

  body.vm-product-page .vm-inner {
    min-height: 40px;
    padding: 6px 12px !important;
  }

  body.vm-product-page .vm-left {
    gap: 0.6rem !important;
    flex-wrap: nowrap;
  }

  body.vm-product-page .vm-market {
    gap: 0.2rem !important;
    padding: 0.2rem;
  }

  body.vm-product-page .vm-header-top-inner {
    min-height: 24px;
  }

  body.vm-product-page .vm-header-trust {
    display: none;
  }

  body.vm-product-page .vm-market a {
    padding: 0.3rem 0.58rem !important;
    font-size: 0.72rem !important;
  }

  body.vm-product-page .vm-searchbar {
    max-width: none;
    min-width: 200px;
  }

  body.vm-product-page .cat-btn {
    min-height: 30px;
    padding: 0.32rem 0.6rem !important;
    font-size: 0.74rem;
  }

  body.vm-product-page .product-page {
    grid-template-columns: 1fr !important;
  }

  body.vm-product-page .vm-seller-card {
    position: relative !important;
    top: auto !important;
  }

  body.vm-product-page .vm-primary-image {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  body.vm-product-page {
    padding-top: 58px !important;
  }

  body.vm-product-page .vm-inner {
    min-height: 38px;
    padding: 5px 10px !important;
    gap: 0.55rem !important;
    flex-wrap: wrap;
  }

  body.vm-product-page .vm-logo img {
    height: 24px !important;
  }

  body.vm-product-page .vm-header-top {
    display: none;
  }

  body.vm-product-page .vm-market {
    display: none !important;
  }

  body.vm-product-page .vm-searchbar {
    order: 3;
    flex: 0 0 100%;
  }

  body.vm-product-page .vm-searchbar button,
  body.vm-product-page .vm-utility-pill {
    display: none;
  }

  body.vm-product-page .cat-btn {
    min-height: 28px;
    padding: 0.28rem 0.52rem !important;
    font-size: 0.72rem;
  }

  body.vm-product-page .product-shell,
  body.vm-product-page .vm-related-section {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  body.vm-product-page .vm-product-main,
  body.vm-product-page .vm-seller-card,
  body.vm-product-page .vm-related-section {
    border-radius: 22px !important;
  }

  body.vm-product-page .vm-thumbnail-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.vm-product-page .vm-thumbnail-gallery img {
    width: 100% !important;
    height: 72px !important;
  }

  body.vm-product-page .related-item {
    width: 172px !important;
  }
}
