/*
 * Source-only RO first-paint stability candidate.
 * Activation requires the owned head marker and does not change consent logic.
 */
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.blank-mode.blank-mode-css
  .siteCookies.js-siteCookies {
  min-height: 232px;
}

/*
 * RO Titan homepage surface contract.
 * Keep the native carousel, sidebar boxes and benefit block interactive while
 * removing the square wrapper backgrounds visible around rounded content.
 */
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  #carousel.carousel {
  border-radius: 20px;
  overflow: hidden;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  .sidebar-left
  .sidebar-inner
  > .box:not(.pabex-review-sidebar-hidden) {
  background-clip: padding-box;
  border-radius: 16px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  .next-to-carousel-banners
  > .banner-wrapper:has(#pbx-home-titan-categories-ro) {
  background: transparent;
  border-radius: 22px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  .benefitBanner.position--benefitHomepage {
  border-radius: 20px;
  overflow: hidden;
}

/*
 * RO product-card surface contract.
 * The native theme adds square slide/product wrappers around already-rounded
 * cards. Keep the native carousels and forms, but collapse those competing
 * surfaces into one clipped card and one consistent brand colour system.
 */
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products {
  background: #fff;
  border-color: #dfe6e8;
  box-shadow: 0 12px 30px rgb(34 40 49 / 6%);
  overflow: hidden;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .slick-list {
  border-radius: 16px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product.slick-slide {
  background: transparent;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  > .p {
  background: #fff;
  border-color: #dfe6e8;
  border-radius: 16px;
  overflow: hidden;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .image {
  background: #fff;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .availability
  > span,
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .availability
  > span {
  background: #f0f7f7;
  color: #007780 !important;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .availability
  > span:first-child,
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .availability
  > span:first-child {
  border-radius: 8px 0 0 8px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .availability
  > span:last-child,
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .availability
  > span:last-child {
  border-radius: 0 8px 8px 0;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .availability
  > span:only-child,
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .availability
  > span:only-child {
  border-radius: 8px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .price-final
  strong,
html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .price-final
  strong {
  color: #007780;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .add-to-cart-button {
  background: #007780;
  border-color: #007780;
  border-radius: 10px;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
  :is(
    #products-1.products.homepage-products-1,
    #products-2.products.homepage-products-2
  ).pbx-home-titan-products
  .product
  .flag-action {
  background: #007780;
  color: #fff;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product {
  background: transparent !important;
  border: 0 !important;
  border-radius: 18px !important;
  padding: 0 !important;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p {
  background: #fff;
  border-color: #dfe6e8;
  border-radius: 18px;
  overflow: hidden;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .image {
  background: #fff;
}

html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
  body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
  #products.products-page
  > .product
  > .p
  .add-to-cart-button {
  background: #007780 !important;
  border-color: #007780 !important;
  border-radius: 11px !important;
}

@media (hover: hover) {
  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
    :is(
      #products-1.products.homepage-products-1,
      #products-2.products.homepage-products-2
    ).pbx-home-titan-products
    .product
    .add-to-cart-button:hover,
  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.type-category.template-11.blank-mode.blank-mode-css.shoptak-titan
    #products.products-page
    > .product
    > .p
    .add-to-cart-button:hover {
    background: #00545b !important;
    border-color: #00545b !important;
  }
}

@keyframes pbx-ro-search-footer-reveal {
  to {
    visibility: visible;
  }
}

@media (max-width: 767px) {
  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.in-index.template-11.blank-mode.blank-mode-css.shoptak-titan
    #carousel.carousel {
    border-radius: 14px;
  }

  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.blank-mode.blank-mode-css
    .siteCookies.js-siteCookies {
    min-height: 285px;
  }

  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.in-cautare.blank-mode.blank-mode-css:not(.shoptak-titan)
    #footer {
    animation: pbx-ro-search-footer-reveal 0s linear 1s forwards;
    visibility: hidden;
  }

  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.in-cautare.blank-mode.blank-mode-css.shoptak-titan
    #footer {
    animation: none;
    visibility: visible;
  }
}

@media (max-width: 359px) {
  html[lang="ro"]:has(> head > #pbx-ro-stability-marker)
    body.blank-mode.blank-mode-css
    .siteCookies.js-siteCookies {
    min-height: 306px;
  }
}
