:root {
  --brand: #e30076;
  --brand-dark: #b5015f;
  --brand-soft: #fff0f7;
  --ink: #1a1720;
  --ink-soft: #3c3644;
  --muted: #6e6778;
  --paper: #f6f4f7;
  --white: #ffffff;
  --line: #ebe6ee;
  --footer: #16141c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(26, 23, 32, 0.08);
  --nav-h: 72px;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  color: var(--ink);
  background: var(--paper) !important;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* animsition seteaza opacity:0 pana la window.load + fade de 1.5s.
   Continutul trebuie vizibil de la primul cadru, altfel LCP sta blocat. */
body.animsition,
body.animsition-overlay {
  opacity: 1 !important;
  animation: none !important;
}

body, button, input, textarea, select {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, .ltext-101, .ltext-201, .ltext-103, .mtext-103, .mtext-109 {
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  letter-spacing: -0.02em;
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.bg1, .hov-btn1:hover, .btn-primary, #accept-cookies {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.btn-primary:hover, .bg1:hover, #accept-cookies:hover {
  background-color: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

.cl1, .hov-cl1:hover { color: var(--brand) !important; }
.bg3 { background-color: var(--footer) !important; }

.btn, .flex-c-m.stext-101, .btn-add-to-cart, .btn-add-to-favorites {
  border-radius: 999px !important;
}

.btn-primary, .btn-add-to-cart {
  min-height: 44px;
  font-weight: 700;
}

.form-control, .form-select, textarea.form-control {
  border-radius: 12px;
  border-color: var(--line);
  min-height: 46px;
  background: #fff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(227, 0, 118, 0.15);
}

#mainNavbar.navbar {
  min-height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 8px;
  padding-bottom: 8px;
}

#mainNavbar .nav-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px !important;
}

#mainNavbar .nav-link i {
  font-size: 22px;
  color: var(--ink);
}

.cart-link-icon {
  position: relative;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}

.cart-count.is-empty { display: none; }

  #mainNavbar .logo3 { height: 36px; width: auto; }

@media (max-width: 991px) {
  #mainNavbar .desktop-logo { display: inline !important; }
  #mainNavbar .mobile-logo { display: none !important; }
  #mainNavbar .logo3 { height: 34px; max-width: 168px; object-fit: contain; }
}

#mainNavbar .dropdown-menu {
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
}

#mainNavbar .dropdown-item {
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 600;
}

#mainNavbar .dropdown-item:hover,
#mainNavbar .dropdown-item:focus {
  background: var(--brand-soft);
  color: var(--brand);
}

.navbar-toggler {
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
}

.item-slick1 {
  height: min(78vh, 680px) !important;
  border-radius: 0 0 28px 28px;
}

/* Primul slide ramane vizibil inainte de slick.
   Altfel butonul "Comanda acum" sta visibility:hidden ~1.6s si devine LCP tarziu. */
.slick1 > .item-slick1:first-child .layer-slick1 {
  visibility: visible;
}

.section-slide { margin-bottom: 8px; }

.ltext-201 { font-weight: 800 !important; }
.flex-c-m.stext-101.size-101,
.block2-btn {
  border-radius: 999px !important;
  background: var(--brand) !important;
  color: #fff !important;
  border: 0 !important;
}

.block2 {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

a.category-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

a.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26, 23, 32, 0.12);
}

.category-card-name {
  display: block;
  width: 100%;
  padding: 0 12px 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.block2-pic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.block2-txt a { color: var(--ink) !important; }

.product-card {
  border-radius: var(--radius) !important;
  border: 0 !important;
  box-shadow: var(--shadow) !important;
  height: auto !important;
}

.product-img {
  position: relative;
  height: 220px !important;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff !important;
}

.product-img img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

a.product-open {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-info {
  position: relative;
  z-index: 2;
  height: auto !important;
  background: #fff;
}
.product-name { color: var(--ink); font-weight: 700; }

.discount-badge {
  background: var(--brand) !important;
  border-radius: 999px !important;
}

.btn-add-to-cart, .btn-add-to-favorites {
  background: var(--brand) !important;
}

.btn-add-to-cart:hover, .btn-add-to-favorites:hover {
  background: var(--brand-dark) !important;
}

.filter-tope-group {
  gap: 8px 10px;
}

.filter-tope-group button {
  border-radius: 999px !important;
  background: transparent;
  box-sizing: border-box;
  height: auto !important;
  margin: 0 !important;
  padding: 9px 22px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em;
  color: var(--ink-soft) !important;
}

.filter-tope-group button:hover {
  background: #fff;
  color: var(--ink) !important;
}

.filter-tope-group button.how-active1,
.how-active1 {
  color: #fff !important;
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

.bg0 { background: var(--paper) !important; }

footer.bg3 {
  border-radius: 28px 28px 0 0;
  margin-top: 24px;
}

footer .stext-301, footer h4 { font-weight: 800; }
footer a { text-decoration: none; }
footer .input1 {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.header-cart {
  width: min(420px, 100%) !important;
  max-width: 100% !important;
  border-radius: 20px 0 0 20px;
}

.whatsapp-float {
  width: 54px !important;
  height: 54px !important;
  bottom: 18px !important;
  right: 16px !important;
}

#cookie-banner {
  border-radius: 18px 18px 0 0;
  background: var(--paper) !important;
  border-top: 1px solid var(--line) !important;
  box-shadow: none !important;
}

#cookie-banner p { color: var(--ink); font-size: 14px; }
#cookie-banner a {
  color: #8e004c;
  font-weight: 700;
  text-decoration: underline;
}

.product-page { padding: 12px 0 28px; }
.product-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.product-crumb a { color: var(--muted); text-decoration: none; }
.product-crumb a:hover { color: var(--brand); }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.product-gallery,
.product-buy {
  min-width: 0;
  max-width: 100%;
}
.product-gallery { overflow: hidden; }
.product-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
  max-width: 100%;
  overflow-wrap: break-word;
}
.product-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.product-price-old {
  color: var(--muted);
  font-size: 15px;
}
.product-price-old:empty { display: none; }
.product-lead { color: var(--muted); margin: 8px 0 0; }
.product-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}
.product-options .mb-3,
.product-options .mb-2,
.product-options .mt-3 { margin: 0 !important; }
.product-buy #file-count:empty,
.product-buy #preview-container:empty { display: none; }
.product-buy .form-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}
.product-buy .form-control,
.product-buy textarea.form-control,
.product-buy .rs1-select2 {
  width: 100%;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--ink);
}
.product-buy textarea.form-control {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}
.product-buy #poze-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.product-buy .file-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 6px 8px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.product-buy .file-picker-btn {
  flex: 0 0 auto;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 12px;
}
.product-buy .file-picker-hint {
  color: var(--muted);
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-buy #preview-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-buy .file-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.product-buy .file-thumbnail {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}
.product-buy .file-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-buy .file-remove-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.product-buy .rs1-select2 { overflow: hidden; }
.product-buy .rs1-select2 .select2-container { width: 100% !important; display: block; }
.product-buy .rs1-select2 .select2-container .select2-selection--single {
  height: 48px !important;
  border: 0 !important;
  border-radius: 14px !important;
  display: flex;
  align-items: center;
  background: transparent !important;
}
.product-buy .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px !important;
  padding-left: 14px !important;
  color: var(--ink) !important;
  font-size: 15px !important;
}
.product-buy .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 28px;
  margin: 0 0 6px;
  padding: 0;
}
.product-buy .form-check-input {
  float: none;
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--brand);
}
.product-buy .form-check-label { color: var(--ink-soft); line-height: 1.35; }
.product-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.product-qty {
  display: flex;
  align-items: center;
  flex: 0 0 140px;
  width: 140px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.product-qty .btn {
  width: 44px !important;
  min-width: 44px !important;
  height: 48px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}
.product-qty .btn:hover { background: var(--brand-soft) !important; color: var(--brand) !important; }
.product-qty .num-product {
  width: 52px !important;
  min-width: 52px !important;
  height: 48px !important;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-size: 16px !important;
  font-weight: 800;
  text-align: center;
  box-shadow: none !important;
  -moz-appearance: textfield;
  appearance: textfield;
}
.product-actions-row .js-addcart-detail {
  flex: 1;
  height: 48px;
  min-height: 48px;
  border-radius: 999px !important;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.btn-outline-brand {
  color: var(--brand) !important;
  border: 1.5px solid var(--brand) !important;
  background: #fff !important;
  border-radius: 999px !important;
}
.btn-outline-brand:hover { background: var(--brand-soft) !important; }
.product-gallery .wrap-slick3 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 12px;
  width: 100%;
}
.product-gallery .wrap-slick3-dots {
  order: 1;
  flex: 0 0 84px;
  width: 84px !important;
  max-height: min(560px, 62vh);
  overflow-y: auto;
  overflow-x: hidden;
}
.product-gallery .slick3 {
  order: 2;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 96px) !important;
}
.product-gallery .slick3-dots {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  width: 84px;
  margin: 0;
  padding: 0;
}
.product-gallery .slick3-dots li {
  display: block;
  width: 76px !important;
  height: 76px;
  margin: 0 !important;
}
.product-gallery .slick3-dots li img {
  width: 76px !important;
  height: 76px !important;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
.product-gallery .slick3-dot-overlay { border-radius: 12px; }
.product-gallery .slick3-dots .slick-active img {
  border: 2px solid var(--brand);
}
.product-gallery .slick3 .wrap-pic-w {
  background: #fafafa;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  width: 100% !important;
  height: auto !important;
}
.product-gallery .slick3 .wrap-pic-w img {
  width: 100% !important;
  height: min(560px, 62vh) !important;
  object-fit: contain !important;
  background: #fff;
}
.product-gallery .wrap-slick3-arrows {
  position: absolute;
  z-index: 2;
  left: 96px;
  right: 0;
  width: auto !important;
  top: calc(50% - 22px);
  height: 44px;
  pointer-events: none;
}
.product-gallery .arrow-slick3 {
  border-radius: 999px;
  background: #fff !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow);
  pointer-events: auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-details { margin-top: 28px !important; }
.product-details .tabs {
  background: transparent !important;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 12px 12px;
}
.product-details .tab-btn {
  color: var(--ink) !important;
  background: #fff !important;
  border-radius: 999px !important;
  border: 1px solid var(--line) !important;
  text-decoration: none !important;
  font-weight: 700;
}
.product-details .tab-btn.active {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}
.product-details .tab-content {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px !important;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.theme-article {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 20px 16px 32px;
  margin: 12px auto 28px;
}

.theme-article h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 12px 0;
}

.theme-article img,
.theme-article .single_product_image_background {
  width: 100%;
  border-radius: 18px;
}

.theme-article p, .theme-article li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }

@media (max-width: 991px) {
  :root { --nav-h: 116px; }

  #mainNavbar.navbar {
    min-height: 0;
    height: auto;
  }

  #mainNavbar .nav-shell {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  #mainNavbar .nav-brand {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 2px 0 8px;
  }

  #mainNavbar.nav-compact .nav-brand {
    display: none !important;
  }

  #mainNavbar .nav-mobile-tools {
    width: 100%;
    justify-content: space-between !important;
    gap: 8px;
  }

  #mainNavbar .nav-mobile-tools .nav-link {
    margin: 0 !important;
    padding: 8px !important;
  }

  #mainNavbar .nav-mobile-tools .navbar-toggler {
    margin: 0;
  }

  #mainNavbar .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }

  #navbarResponsive.navbar-collapse,
  #navbarResponsive1.navbar-collapse {
    background: #fff;
    border-radius: 16px;
    margin-top: 8px;
    padding: 8px 4px 14px;
    box-shadow: var(--shadow);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  #mainNavbar .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background: var(--paper);
    width: 100%;
  }

  .section-slide,
  .wrap-slick1,
  .slick-list { width: 100% !important; max-width: 100% !important; }
  .mobile-slider { display: block !important; }
  .desktop-slider { display: none !important; }
  .mobile-slider .item-slick1 {
    position: relative;
    height: 440px !important;
    background-position: center top !important;
    background-size: cover !important;
  }
  .mobile-overlay { background: linear-gradient(180deg, rgba(26,23,32,.05), rgba(26,23,32,.55)) !important; }
  .ltext-101 { font-size: 13px !important; }
  .ltext-201 { font-size: 32px !important; line-height: 1.1 !important; }
  .respon5 { padding-top: 36px !important; }

  .product-img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .product-img img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .product-info { padding: 10px !important; }
  .product-name { font-size: 14px !important; }
  .btn-add-to-cart { font-size: 12px !important; padding: 8px 10px !important; }

  .category-card .block2-pic {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #fff;
  }
  .category-card .block2-pic img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  .single_product_image_background { min-height: 220px !important; }

  .isotope-grid { margin-left: 0 !important; margin-right: 0 !important; }

  footer .col-sm-6 { margin-bottom: 8px; }
  footer iframe { max-width: 100%; }

  .wrap-header-cart .header-cart { padding-left: 20px !important; }
  .p-l-65 { padding-left: 20px !important; }
}

@media (max-width: 991px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }
  .product-gallery .wrap-slick3,
  .product-gallery .slick3,
  .product-gallery .slick-list {
    width: 100% !important;
    max-width: 100% !important;
  }
  .slick3 .wrap-pic-w,
  .slick3 .wrap-pic-w img {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px !important;
    object-fit: contain !important;
  }
  .product-actions-row { flex-direction: column; align-items: stretch; }
  .product-qty { width: 100%; flex-basis: auto; }
  .product-qty .num-product { width: auto !important; }
  .product-gallery .slick3 .wrap-pic-w img { height: 320px !important; }
  .product-gallery .wrap-slick3-dots { max-height: 320px; }
}
@media (max-width: 640px) {
  .product-gallery .wrap-slick3 { flex-direction: column !important; }
  .product-gallery .slick3 { order: 1; max-width: 100% !important; width: 100% !important; }
  .product-gallery .wrap-slick3-dots {
    order: 2;
    flex: none;
    width: 100% !important;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .product-gallery .slick3-dots {
    flex-direction: row;
    width: max-content;
    gap: 8px;
  }
  .product-gallery .wrap-slick3-arrows { left: 0; }
}
@media (max-width: 575px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .col-6 { padding-left: 6px; padding-right: 6px; }
  #cookie-banner .d-flex { align-items: stretch !important; }
  #accept-cookies { width: 100%; margin-top: 8px; }
}
