/* Maribal Category Design v1.1 */
body.mbl-category-enhanced { background: #f4f8fb; }

body.mbl-category-enhanced #wrapper {
  background:
    radial-gradient(circle at 18% 0%, rgba(230,56,56,.08), transparent 30rem),
    radial-gradient(circle at 88% 8%, rgba(246,185,79,.12), transparent 28rem),
    #f4f8fb !important;
}

body.mbl-category-enhanced #wrapper .container { max-width: 1480px; }
body.mbl-category-enhanced #content-wrapper { max-width: none; }

.mbl-cat-hero, .mbl-cat-chips, .mbl-cat-cta {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  box-sizing: border-box;
}
.mbl-cat-hero *, .mbl-cat-chips *, .mbl-cat-cta * { box-sizing: border-box; }

.mbl-cat-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.4rem;
  border-radius: 34px;
  min-height: 330px;
  background:
    radial-gradient(circle at 78% 18%, rgba(246,185,79,.24), transparent 15rem),
    radial-gradient(circle at 0% 0%, rgba(230,56,56,.26), transparent 20rem),
    linear-gradient(135deg, #06111f, #0b2139 62%, #0e3a67);
  color: #fff;
  box-shadow: 0 24px 70px rgba(3,11,24,.28);
}
.mbl-cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .75;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.mbl-cat-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .7fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  min-height: 330px;
  padding: clamp(2rem, 5vw, 4.3rem);
}
.mbl-cat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.05rem;
  color: #ffd5d5;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 900;
}
.mbl-cat-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #e63838;
  box-shadow: 0 0 0 7px rgba(230,56,56,.16);
}
.mbl-cat-hero h1 {
  margin: 0;
  max-width: 900px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.mbl-cat-hero p {
  max-width: 760px;
  margin: 1.25rem 0 0;
  color: #c7d6e6;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}
.mbl-cat-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.8rem; }
.mbl-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .86rem 1.15rem;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mbl-cat-btn:hover { transform: translateY(-2px); }
.mbl-cat-btn.primary {
  color: #fff !important;
  background: linear-gradient(135deg, #e63838, #ad1f2b);
  box-shadow: 0 16px 34px rgba(230,56,56,.3);
}
.mbl-cat-btn.secondary {
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
}

.mbl-cat-visual {
  position: relative;
  justify-self: stretch;
  min-height: 245px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.04)), rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  transform: rotateX(3deg) rotateY(-3deg);
}
.mbl-cat-visual img {
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  opacity: .95;
  position: relative;
  z-index: 2;
}
.mbl-cat-visual-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 72% 22%, rgba(246,185,79,.68), transparent 5.5rem),
    linear-gradient(135deg, #0d345b, #071525);
}
.mbl-cat-panel {
  width: 78%;
  aspect-ratio: 1.55;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.62));
  transform: rotate(-8deg);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  position: relative;
}
.mbl-cat-panel::before, .mbl-cat-panel::after {
  content: "";
  position: absolute;
  inset: 23% 12% auto;
  height: 16%;
  border-radius: 10px;
  background: #0e3a67;
  opacity: .85;
}
.mbl-cat-panel::after { top: 51%; width: 64%; background: #e63838; }

.mbl-cat-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.65rem;
  max-width: 860px;
}
.mbl-cat-trust-item {
  border-radius: 18px;
  padding: .85rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.mbl-cat-trust-item strong { display: block; color: #fff; font-size: .95rem; }
.mbl-cat-trust-item span { display: block; margin-top: .15rem; color: #9fb2c7; font-size: .78rem; }

.mbl-cat-chips {
  margin: 0 0 1.4rem;
  padding: 1rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(13,35,62,.07);
  box-shadow: 0 16px 42px rgba(13,35,62,.07);
}
.mbl-cat-chips-title { margin: 0 0 .85rem; color: #142033; font-size: 1rem; font-weight: 900; }
.mbl-cat-chip-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.mbl-cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem .9rem;
  border-radius: 999px;
  background: #f3f8fd;
  border: 1px solid rgba(13,35,62,.08);
  color: #0e3a67 !important;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.mbl-cat-chip:hover { transform: translateY(-2px); background: #0e3a67; color: #fff !important; }

body.mbl-category-enhanced .products-selection {
  margin: 0 0 1.1rem !important;
  padding: .9rem 1rem !important;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(13,35,62,.07);
  box-shadow: 0 12px 32px rgba(13,35,62,.05);
}
body.mbl-category-enhanced #left-column .block,
body.mbl-category-enhanced #left-column #search_filters,
body.mbl-category-enhanced #left-column .block-categories {
  border: 1px solid rgba(13,35,62,.07) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(13,35,62,.05) !important;
  overflow: hidden;
}
body.mbl-category-enhanced #left-column .block .title_block,
body.mbl-category-enhanced #left-column #search_filters .facet-title,
body.mbl-category-enhanced #left-column .block-categories .h6 {
  color: #142033 !important;
  font-weight: 900 !important;
  letter-spacing: -.02em;
}

body.mbl-category-enhanced .products { align-items: stretch; }
body.mbl-category-enhanced .product-miniature,
body.mbl-category-enhanced .js-product-miniature { padding: .55rem !important; }
body.mbl-category-enhanced .product-miniature .thumbnail-container,
body.mbl-category-enhanced .js-product-miniature .thumbnail-container {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  height: 100% !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #fff, #f8fbff) !important;
  border: 1px solid rgba(13,35,62,.08) !important;
  box-shadow: 0 14px 38px rgba(13,35,62,.08) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.mbl-category-enhanced .product-miniature .thumbnail-container:hover,
body.mbl-category-enhanced .js-product-miniature .thumbnail-container:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(13,35,62,.15) !important;
  border-color: rgba(230,56,56,.16) !important;
}
body.mbl-category-enhanced .product-miniature .product-thumbnail,
body.mbl-category-enhanced .js-product-miniature .product-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 1.05rem;
  background: radial-gradient(circle at 78% 18%, rgba(246,185,79,.13), transparent 8rem), #fff;
}
body.mbl-category-enhanced .product-miniature img,
body.mbl-category-enhanced .js-product-miniature img {
  max-height: 190px;
  object-fit: contain;
  transition: transform .25s ease;
}
body.mbl-category-enhanced .product-miniature .thumbnail-container:hover img,
body.mbl-category-enhanced .js-product-miniature .thumbnail-container:hover img { transform: scale(1.045); }
body.mbl-category-enhanced .product-miniature .product-description,
body.mbl-category-enhanced .js-product-miniature .product-description {
  position: relative !important;
  height: auto !important;
  min-height: 132px !important;
  padding: 1rem 1rem 1.15rem !important;
  background: transparent !important;
  width: 100% !important;
}
body.mbl-category-enhanced .product-miniature .product-title,
body.mbl-category-enhanced .js-product-miniature .product-title {
  min-height: 42px;
  margin: 0 0 .55rem !important;
  text-align: left !important;
}
body.mbl-category-enhanced .product-miniature .product-title a,
body.mbl-category-enhanced .js-product-miniature .product-title a {
  color: #142033 !important;
  font-weight: 900 !important;
  font-size: .96rem !important;
  line-height: 1.35 !important;
  letter-spacing: -.015em;
}
body.mbl-category-enhanced .product-price-and-shipping,
body.mbl-category-enhanced .price {
  color: #071525 !important;
  font-size: 1.04rem !important;
  font-weight: 900 !important;
  text-align: left !important;
}
body.mbl-category-enhanced .product-flags li,
body.mbl-category-enhanced .product-flag {
  border-radius: 999px !important;
  background: #e63838 !important;
  color: #fff !important;
  font-weight: 900 !important;
  box-shadow: 0 10px 22px rgba(230,56,56,.23);
}
body.mbl-category-enhanced .mbl-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: .7rem;
  color: #e63838 !important;
  font-weight: 900;
  text-decoration: none !important;
}

.mbl-cat-cta {
  margin: 1.8rem 0 0;
  border-radius: 34px;
  overflow: hidden;
  background: radial-gradient(circle at 88% 14%, rgba(246,185,79,.32), transparent 12rem), linear-gradient(135deg, #071525, #0e3a67);
  color: #fff;
  box-shadow: 0 24px 65px rgba(3,11,24,.22);
}
.mbl-cat-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.mbl-cat-cta h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.045em;
  line-height: .98;
}
.mbl-cat-cta p { max-width: 720px; margin: 1rem 0 0; color: #c7d6e6; line-height: 1.7; }

body.mbl-category-enhanced .pagination {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(13,35,62,.07);
}
body.mbl-category-enhanced .mbl-original-category-intro,
body.mbl-category-enhanced #subcategories.mbl-original-subcategories,
body.mbl-category-enhanced .subcategories.mbl-original-subcategories { display: none !important; }

@media (max-width: 991px) {
  .mbl-cat-hero-inner { grid-template-columns: 1fr; padding: 2rem; }
  .mbl-cat-visual { transform: none; }
  .mbl-cat-trust { grid-template-columns: 1fr; }
  .mbl-cat-cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .mbl-cat-hero { border-radius: 24px; }
  .mbl-cat-hero-inner { padding: 1.35rem; }
  .mbl-cat-hero h1 { font-size: clamp(2.25rem, 14vw, 3.4rem); }
  .mbl-cat-actions { flex-direction: column; }
  .mbl-cat-btn { width: 100%; }
  .mbl-cat-chip-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; }
  .mbl-cat-chip { white-space: nowrap; }
}
