/* PromVent — shop helpers (cart + checkout) */

/* Header cart */
.cart-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  cursor: pointer;
}
.cart-link:hover{
  border-color: rgba(24,176,255,0.35);
  background: rgba(24,176,255,0.08);
}
.cart-ico{ font-size: 18px; line-height: 1; }
.cart-badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent, #18b0ff);
  color: #05070d;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.55);
}
.cart-badge.is-empty{ display:none; }

/* Badge in mobile menu */
.nav-mobile .cart-badge{ position: static; top:auto; right:auto; margin-left: 8px; box-shadow:none; }

/* Service/Solution topbar */
.pv-topbar{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

/* Catalog button layout */
.product-actions{ flex-wrap: wrap; }
.product-actions .pv-buy-now{ width: 100%; }

/* Product page actions */
.pv-product-actions{
  display:flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

/* Toast */
.pv-toast{
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(3,8,14,0.92);
  color: rgba(241,245,249,0.94);
  font-size: 13px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
  z-index: 200;
  max-width: min(520px, calc(100vw - 28px));
  display:none;
}
.pv-toast.is-show{
  display:flex;
  align-items:center;
  gap: 10px;
}

.pv-toast__msg{ flex: 1 1 auto; }
.pv-toast__btn{
  flex: 0 0 auto;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(24,176,255,0.12);
  color: rgba(241,245,249,0.96);
  font-weight: 800;
  white-space: nowrap;
}
.pv-toast__btn:hover{
  border-color: rgba(24,176,255,0.38);
  background: rgba(24,176,255,0.18);
}
@media (max-width: 460px){
  .pv-toast.is-show{ flex-direction: column; align-items: stretch; }
  .pv-toast__btn{ text-align: center; }
}

/* Cart page */
.pv-cart{
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 16px 40px;
}
.pv-cart-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}
@media (max-width: 980px){
  .pv-cart-grid{ grid-template-columns: 1fr; }
}

.pv-panel{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(3,8,14,0.96);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  padding: 14px;
}

.pv-cart-item{
  display:flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.pv-cart-item:first-child{ border-top: none; padding-top: 0; }
.pv-cart-thumb{
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  overflow:hidden;
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pv-cart-thumb img{ width:100%; height:100%; object-fit: contain; padding: 8px; }
.pv-cart-meta{ min-width:0; flex: 1 1 auto; }
.pv-cart-title{ font-weight: 800; font-size: 14px; margin: 0 0 4px; color: rgba(241,245,249,0.96); }
.pv-cart-link{ color: inherit; text-decoration: none; }
.pv-cart-link:hover{ text-decoration: underline; }
.pv-cart-sub{ font-size: 12px; color: rgba(226,232,240,0.62); margin: 0 0 8px; }
.pv-cart-row{ display:flex; flex-wrap:wrap; gap: 10px; align-items:center; justify-content: space-between; }
.pv-qty{
  display:inline-flex;
  align-items:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  overflow:hidden;
  background: rgba(255,255,255,0.04);
}
.pv-qty button{
  border: none;
  background: transparent;
  color: rgba(241,245,249,0.92);
  padding: 8px 10px;
  cursor: pointer;
}
.pv-qty input{
  width: 42px;
  text-align: center;
  border: none;
  background: transparent;
  color: rgba(241,245,249,0.92);
  outline: none;
  font-weight: 700;
}
.pv-price{ font-weight: 800; }
.pv-linklike{ border:none; background: transparent; color: rgba(160,168,184,1); cursor:pointer; padding:0; }
.pv-linklike:hover{ color: rgba(241,245,249,0.9); text-decoration: underline; }

.pv-form{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 680px){ .pv-form{ grid-template-columns: 1fr; } }
.pv-form .pv-field{ display:flex; flex-direction: column; gap: 6px; }
.pv-form label{ font-size: 12px; color: rgba(160,168,184,1); }
.pv-input, .pv-select, .pv-textarea{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(241,245,249,0.92);
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
}
.pv-textarea{ min-height: 92px; resize: vertical; grid-column: 1 / -1; }
.pv-form-note{ grid-column: 1 / -1; font-size: 12px; color: rgba(160,168,184,1); line-height: 1.45; }

.pv-summary{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.pv-summary-row{ display:flex; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(226,232,240,0.74); }
.pv-summary-row strong{ color: rgba(241,245,249,0.96); }
.pv-summary-total{ font-size: 16px; font-weight: 900; }

.pv-success{
  border: 1px solid rgba(24,176,255,0.30);
  background: rgba(24,176,255,0.10);
  border-radius: 16px;
  padding: 12px 12px;
  color: rgba(241,245,249,0.92);
  margin-bottom: 12px;
}


/* --- SEO specs table + quick links --- */
.pv-quick-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 14px;
}
.pv-ql{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none;
  font-weight:600;
  font-size:13px;
  line-height:1;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.pv-ql:hover{ transform:translateY(-1px); border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.04); }

.pv-spec-wrap{ margin-top:8px; }
.pv-spec-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.pv-spec-table td{
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
  vertical-align:top;
}
.pv-spec-k{
  color:rgba(255,255,255,.70);
  width:44%;
  padding-right:14px;
}
.pv-spec-v{
  color:rgba(255,255,255,.92);
}
@media (max-width: 720px){
  .pv-spec-k{ width:48%; }
}


/* Product key badges (category + catalog cards) */
.product-key{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0 2px;
}
.product-key .pk-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  border:1px solid rgba(148,163,184,0.35);
  background: rgba(255,255,255,0.04);
  color: rgba(226,232,240,0.95);
}
.product-key .pk-badge strong{
  font-weight:700;
  color: var(--accent, #18b0ff);
}


/* === Dark dropdown menus (select) === */
/* Makes native select dropdown lists follow the site's dark theme (Chrome/Edge/Firefox support varies). */
:root{ color-scheme: dark; }

select,
select.pv-select,
select.input,
select.filter-select{
  color-scheme: dark;
}

/* Closed select control */
select.pv-select,
select.input,
select.filter-select{
  background-color: rgba(15,23,42,0.90);
  color: rgba(241,245,249,0.92);
}

/* Open dropdown items */
select.pv-select option,
select.input option,
select.filter-select option,
select.pv-select optgroup,
select.input optgroup,
select.filter-select optgroup{
  background-color: #0b1018;
  color: rgba(241,245,249,0.92);
}

/* Focus ring */
select.pv-select:focus,
select.input:focus,
select.filter-select:focus{
  border-color: rgba(24,176,255,0.65);
  box-shadow: 0 0 0 3px rgba(24,176,255,0.15);
}



/* === Category images (remove "white card" look) === */
:root{ color-scheme: dark; }

/* Compact category card media (thumbnail on the side) */
.category-media{
  width: 92px;
  height: 66px;
  border-radius: 14px;
  background: radial-gradient(120% 120% at 50% 0%,
    rgba(24,176,255,0.16) 0%,
    rgba(255,255,255,0.05) 38%,
    rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.category-media img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.55));
}

@media (max-width: 720px){
  .category-media{ width: 86px; height: 62px; padding: 7px; }
}

/* Home category cards */
.category-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 560px){ .category-grid{ grid-template-columns: 1fr; } }

.category-card{
  display:grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(10,18,28,0.55);
  text-decoration:none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.category-card:hover{
  transform: translateY(-1px);
  border-color: rgba(24,176,255,0.35);
  background: rgba(10,18,28,0.72);
}

.category-card .category-media{ grid-row: 1 / span 2; }

.category-title{
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin: 0;
}
.category-count{
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.category-desc{
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* Category hero image on /category/* pages */
#product-hero-img{
  display:block;
  width: 100%;
  max-width: 820px;
  height: auto;
  max-height: 320px;
  margin: 0 auto;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.55));
}

@media (max-width: 720px){
  #product-hero-img{ max-height: 220px; max-width: 560px; }
}




/* Mini legal/footer line */
.footer-mini-legal{
  font-size:12px;
  line-height:1.4;
  opacity:.85;
  margin-top:10px;
  text-align:center;
  width:100%;
  display:block;
  flex: 0 0 100%;
}
.footer-mini-legal a{
  color:inherit;
  text-decoration:none;
}
.footer-mini-legal a:hover{
  text-decoration:underline;
}

/* Floating Phone CTA (universal call button) */
.floating-phone-cta{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
}
.floating-phone-toggle{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(24,176,255,0.7);
  background:
    radial-gradient(circle at 30% 0, rgba(24,176,255,0.6), transparent 60%),
    radial-gradient(circle at 100% 120%, rgba(24,176,255,0.3), transparent 60%),
    rgba(2,6,12,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, filter .16s ease;
}
.floating-phone-toggle:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  border-color: rgba(24,176,255,0.95);
  box-shadow: 0 14px 30px rgba(6,141,210,0.45);
}
.floating-phone-ico{
  font-size: 20px;
  line-height: 1;
}
.floating-phone-panel{
  position: absolute;
  left: 0;
  bottom: 60px;
  width: 280px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(3,8,14,0.98);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  font-size: 13px;
}
.floating-phone-panel.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-phone-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.floating-phone-title{
  font-weight: 600;
  font-size: 13px;
}
.floating-phone-close{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: inherit;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 18px;
  line-height: 1;
}
.floating-phone-main{
  display:block;
  font-weight: 700;
  font-size: 16px;
  margin: 2px 0 4px;
  text-decoration: none;
}
.floating-phone-sub{
  font-size: 12px;
  opacity: .86;
}
.floating-phone-alt{
  margin-top: 8px;
  font-size: 12px;
  opacity: .9;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.floating-phone-alt a{ text-decoration: none; }
@media (max-width: 520px){
  .floating-phone-cta{ left: 12px; bottom: 12px; }
  .floating-phone-panel{ width: 260px; }
}


/* Contacts details note */
.details-note{margin:0 0 10px; font-size:14px; opacity:.9;}
