/*
 * Bionaturista visual system for PrestaShop Hummingbird.
 * Version: 2026-08-19.11
 * Scope: presentation only. Commerce logic and module markup remain untouched.
 */

:root {
  --biona-blue: #0879b7;
  --biona-blue-dark: #075b86;
  --biona-green: #68ad2f;
  --biona-green-dark: #4f8c22;
  --biona-ink: #17313a;
  --biona-muted: #63767d;
  --biona-line: #dce7e6;
  --biona-soft: #f3f8f6;
  --biona-soft-blue: #edf7fb;
  --biona-white: #ffffff;
  --biona-shadow-sm: 0 8px 24px rgba(18, 58, 69, 0.08);
  --biona-shadow-md: 0 18px 45px rgba(18, 58, 69, 0.13);
  --biona-radius-sm: 12px;
  --biona-radius: 18px;
  --biona-radius-lg: 26px;
  --biona-container: 1360px;
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body,
body.lang-es {
  color: var(--biona-ink);
  background: var(--biona-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: var(--biona-blue-dark);
  text-underline-offset: 0.18em;
  transition: color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: var(--biona-green-dark);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--biona-ink);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

img {
  max-width: 100%;
}

.container,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: min(calc(100% - 48px), var(--biona-container));
  max-width: var(--biona-container);
  margin-inline: auto;
  padding-inline: 0;
}

main {
  min-height: 48vh;
  background: var(--biona-soft);
}

#content-wrapper,
#wrapper {
  background: transparent;
}

.btn {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.005em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--biona-blue), var(--biona-blue-dark));
  border-color: var(--biona-blue-dark);
  box-shadow: 0 9px 20px rgba(8, 121, 183, 0.2);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--biona-blue-dark), #06496b);
  border-color: #06496b;
  box-shadow: 0 12px 26px rgba(8, 91, 134, 0.28);
}

.btn-outline-primary {
  color: var(--biona-blue-dark);
  border-color: var(--biona-blue);
  background: #fff;
}

.btn-outline-primary:hover {
  color: #fff;
  background: var(--biona-blue-dark);
  border-color: var(--biona-blue-dark);
}

.form-control,
.form-select {
  min-height: 48px;
  border: 1px solid #cbdad9;
  border-radius: var(--biona-radius-sm);
  color: var(--biona-ink);
  background-color: #fff;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--biona-blue);
  box-shadow: 0 0 0 4px rgba(8, 121, 183, 0.13);
}

.form-label {
  color: #304a53;
  font-weight: 700;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Header */
#header {
  position: sticky;
  top: 0;
  z-index: 1040;
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 22px rgba(22, 56, 67, 0.09);
  backdrop-filter: blur(14px);
}

.header-top {
  color: #fff;
  background: linear-gradient(90deg, var(--biona-blue-dark), #0b748e 58%, var(--biona-green-dark));
  border: 0;
}

.header-top .container-md {
  min-height: 42px;
}

.header-top,
.header-top a,
.header-top .material-icons,
.header-top .header-block__title {
  color: #fff;
}

.header-top a:hover {
  color: #dcf7cd;
}

.header-top__left,
.header-top__right {
  display: flex;
  align-items: center;
}

.header-top__right {
  justify-content: flex-end;
}

.header-bottom {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(220, 231, 230, 0.9);
}

.header-bottom__row {
  min-height: 82px;
  align-items: center !important;
}

.header-bottom__logo img,
.header-bottom__logo .logo {
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.ps-mainmenu--desktop {
  align-self: stretch;
}

.ps-mainmenu__desktop,
.ps-mainmenu__tree,
.ps-mainmenu__tree-item,
.ps-mainmenu__tree-item-wrapper {
  height: 100%;
}

.ps-mainmenu__tree-item-wrapper {
  display: flex;
  align-items: center;
}

.ps-mainmenu__tree-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  color: var(--biona-ink);
  border-radius: 999px;
  font-weight: 750;
}

.ps-mainmenu__tree-link:hover,
.ps-mainmenu__tree-link:focus-visible {
  color: var(--biona-blue-dark);
  background: var(--biona-soft-blue);
}

.ps-mainmenu__tree-dropdown-toggle {
  color: var(--biona-blue-dark);
}

.ps-searchbar {
  align-self: center;
  max-width: 430px;
}

.ps-searchbar__form {
  width: 100%;
}

.ps-searchbar .form-control,
.ps-searchbar input[type="text"],
.ps-searchbar input[type="search"] {
  min-height: 50px;
  padding-left: 50px;
  border-color: #d2dfdf;
  border-radius: 999px;
  background: #f7faf9;
}

.ps-searchbar .form-control:focus,
.ps-searchbar input:focus {
  background: #fff;
}

.header-block__action-btn {
  min-height: 42px;
  padding-inline: 12px;
  border-radius: 999px;
}

.header-block__action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-block__badge {
  background: var(--biona-green);
  color: #fff;
}

/* Desktop mega menu: contained, readable and scroll-safe on very wide screens. */
.ps-mainmenu__desktop .submenu {
  left: 50% !important;
  right: auto !important;
  width: min(calc(100vw - 48px), 1240px) !important;
  max-width: 1240px !important;
  max-height: min(72vh, 680px);
  overflow: auto;
  transform: translateX(-50%);
  border: 1px solid var(--biona-line);
  border-radius: 0 0 var(--biona-radius-lg) var(--biona-radius-lg);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: var(--biona-shadow-md);
}

.ps-mainmenu__desktop .submenu > .container {
  width: 100%;
  max-width: none;
  padding: 22px;
}

.submenu__row {
  --bs-gutter-x: 28px;
}

.submenu__left {
  padding: 8px;
  border-right: 1px solid var(--biona-line);
}

.submenu__left-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 4px;
  padding: 9px 13px;
  color: var(--biona-ink);
  border-radius: 12px;
  font-weight: 650;
}

.submenu__left-item:hover,
.submenu__left-item[aria-selected="true"] {
  color: var(--biona-blue-dark);
  background: var(--biona-soft-blue);
}

.submenu__right {
  padding: 8px 16px 12px 28px;
}

.submenu__right-items {
  gap: 12px 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.submenu__right-items > ul {
  margin: 0;
  padding: 14px;
  border: 1px solid #e8efee;
  border-radius: 14px;
  background: #fbfdfc;
}

.submenu .menu-item {
  display: block;
  padding: 5px 0;
  color: #43575e;
  font-size: 0.92rem;
  line-height: 1.35;
}

.submenu .menu-item__group-main-item {
  color: var(--biona-ink);
  font-weight: 750;
}

/* Breadcrumb */
.breadcrumb-wrapper {
  border: 0;
  background: linear-gradient(90deg, #edf7fb, #f3f8f6);
}

.breadcrumb {
  min-height: 48px;
  margin-bottom: 0;
  align-items: center;
  color: var(--biona-muted);
  font-size: 0.9rem;
}

/* Homepage */
.page-index main {
  padding-bottom: 72px;
}

.page-index #content {
  overflow: visible;
}

.page-index .ps-imageslider {
  width: min(calc(100% - 48px), 1480px);
  margin: 24px auto 42px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--biona-shadow-md);
}

.page-index .ps-imageslider .carousel,
.page-index .ps-imageslider .carousel-inner,
.page-index .ps-imageslider .carousel-item {
  min-height: clamp(340px, 38vw, 520px);
}

.page-index .ps-imageslider img {
  width: 100%;
  min-height: clamp(340px, 38vw, 520px);
  object-fit: cover;
}

.page-index .ps-imageslider .caption,
.page-index .ps-imageslider .carousel-caption {
  width: min(650px, calc(100% - 48px));
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 22px;
  background: rgba(15, 45, 53, 0.72);
  box-shadow: 0 20px 50px rgba(8, 36, 44, 0.26);
  backdrop-filter: blur(10px);
}

.page-index .ps-imageslider .caption h2,
.page-index .ps-imageslider .carousel-caption h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.page-index .ps-imageslider .caption p,
.page-index .ps-imageslider .carousel-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.page-index .ps-customtext {
  width: min(calc(100% - 48px), var(--biona-container));
  margin: 0 auto 44px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background:
    radial-gradient(circle at 95% 10%, rgba(104, 173, 47, 0.12), transparent 32%),
    radial-gradient(circle at 4% 90%, rgba(8, 121, 183, 0.1), transparent 34%),
    #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-index .ps-customtext h1,
.page-index .ps-customtext h2 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-align: center;
}

.page-index .ps-customtext p {
  max-width: 940px;
  margin-inline: auto;
  color: #4c626a;
  font-size: 1.05rem;
  text-align: center;
}

.page-index .ps-bestsellers,
.page-index .ps-featuredproducts,
.page-index .ps-newproducts,
.page-index .ps-specials {
  width: min(calc(100% - 48px), var(--biona-container));
  margin: 0 auto 46px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.products-section-title {
  margin-bottom: 28px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

/* Product grids and cards */
.products {
  gap: 24px;
}

.page-index .products,
.page-product .products,
.page-cart .products,
.layout-full-width .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.layout-left-column #content-wrapper .products,
.layout-right-column #content-wrapper .products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-miniature {
  height: 100%;
  min-width: 0;
}

.product-miniature__inner {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e0e9e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(21, 60, 70, 0.07);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.product-miniature__inner:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 121, 183, 0.32);
  box-shadow: 0 18px 38px rgba(21, 60, 70, 0.14);
}

.product-miniature__top {
  overflow: hidden;
  background: linear-gradient(150deg, #fbfdfc, #eef6f4);
}

.product-miniature__image-container,
.product-miniature__image-link {
  border: 0 !important;
  border-radius: 0 !important;
}

.product-miniature__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 14px;
  transition: transform 240ms ease;
}

.product-miniature__inner:hover .product-miniature__image {
  transform: scale(1.025);
}

.product-miniature__bottom {
  padding: 18px;
}

.product-miniature__title {
  display: -webkit-box;
  min-height: 3.2em;
  overflow: hidden;
  color: var(--biona-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-miniature__price {
  color: var(--biona-blue-dark);
  font-size: 1.22rem;
  font-weight: 800;
}

.product-miniature__form {
  gap: 10px;
}

.product-miniature__add {
  min-width: 48px;
  border-radius: 999px;
}

.product-flags .badge {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--biona-green);
  color: #fff;
  font-weight: 750;
}

/* Categories and listings */
.page-category #main,
.page-listing #main,
.page-contact #main,
.page-cms #main,
.page-product #main,
.page-cart #main,
.page-authentication #main,
.page-registration #main,
.page-order #main,
.page-order-confirmation #main {
  padding-top: 34px;
  padding-bottom: 72px;
}

#left-column,
#right-column {
  min-width: 0;
}

#left-column > *,
#right-column > *,
.left-block,
.ps-facetedsearch {
  overflow: hidden;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.category-tree .category-tree__title,
.left-block__title,
.facet__title {
  color: var(--biona-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.category-tree a,
.facet a {
  border-radius: 10px;
}

.category-tree a:hover,
.facet a:hover {
  background: var(--biona-soft-blue);
}

.page-category #content-wrapper,
.page-listing #content-wrapper {
  min-width: 0;
}

.category-cover,
.category-description,
#category-description,
.block-category {
  overflow: hidden;
  margin-bottom: 26px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-category .page-title,
.page-category h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

#js-product-list-top,
.products-selection {
  margin-block: 22px;
  padding: 14px 18px;
  border: 1px solid var(--biona-line);
  border-radius: 14px;
  background: #fff;
}

.pagination {
  margin-top: 34px;
}

.pagination .page-link {
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
}

/* Product page */
.page-product .product-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  width: min(100%, 1240px);
  margin: 0 auto 44px;
  align-items: start;
}

.product__left {
  overflow: hidden;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: linear-gradient(155deg, #fff, #f1f7f5);
  box-shadow: var(--biona-shadow-sm);
}

.product__images .carousel-inner,
.product__images .carousel-item,
.product__images picture {
  border-radius: 20px;
}

.product__images img {
  max-height: 660px;
  object-fit: contain;
}

.product__right {
  position: sticky;
  top: 150px;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-md);
}

.product__name {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.product__price {
  color: var(--biona-blue-dark);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 850;
}

.product__tax-infos {
  color: var(--biona-muted);
}

.product__description-short,
.product__description-short *,
.product-description,
.product-description * {
  color: #41575f !important;
  font-family: inherit !important;
  line-height: 1.65 !important;
}

.product__description-short h2,
.product-description h2 {
  color: var(--biona-ink) !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
}

.product__actions {
  margin-top: 24px;
}

.product__add-to-cart-container {
  gap: 14px;
}

.product__add-to-cart-container .add-to-cart,
.product__add-to-cart-container [data-button-action="add-to-cart"] {
  min-height: 52px;
  padding-inline: 28px;
}

.product__thumbnails-list {
  gap: 10px;
}

.product__thumbnail {
  overflow: hidden;
  border-radius: 12px;
}

.page-product .tabs,
.page-product .product-accessories,
.page-product .ps-categoryproducts,
.page-product .ps-viewedproduct,
.page-product .product-comments-additional-info,
.page-product #product-details {
  width: min(100%, 1240px);
  margin: 30px auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-product .nav-tabs {
  gap: 8px;
  border-bottom-color: var(--biona-line);
}

.page-product .nav-tabs .nav-link {
  border-radius: 12px 12px 0 0;
  color: var(--biona-muted);
  font-weight: 750;
}

.page-product .nav-tabs .nav-link.active {
  color: var(--biona-blue-dark);
}

/* Cart, checkout and account forms */
.page-cart .page-header,
.page-order .page-header,
.page-authentication .page-header,
.page-registration .page-header,
.page-contact .page-header,
.page-address .page-header,
.page-identity .page-header {
  margin-bottom: 26px;
}

.page-cart #content,
.page-order #content,
.page-authentication #content,
.page-registration #content,
.page-address #content,
.page-identity #content,
.page-password #content {
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-authentication #content,
.page-registration #content,
.page-address #content,
.page-identity #content,
.page-password #content {
  width: min(100%, 680px);
  margin-inline: auto;
  padding: clamp(26px, 5vw, 48px);
}

.page-cart #content,
.page-order #content {
  padding: clamp(22px, 3vw, 36px);
}

.cart-overview,
.cart-summary,
.checkout-step,
.card {
  border-color: var(--biona-line);
  border-radius: var(--biona-radius);
  box-shadow: none;
}

.checkout-step {
  margin-bottom: 18px;
  padding: 22px;
  background: #fff;
}

.cart-item {
  padding-block: 18px;
  border-bottom: 1px solid var(--biona-line);
}

.cart-summary {
  position: sticky;
  top: 150px;
}

.login__form-wrapper {
  padding: 0;
}

.login__register-prompt {
  margin-top: 24px;
  padding: 22px;
  border-radius: 16px;
  background: var(--biona-soft-blue);
}

/* Contact and CMS */
.page-contact #content-wrapper {
  min-width: 0;
}

.page-contact .contact-form,
.page-contact #left-column > *,
.page-cms .page-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-contact .contact-form .page-title-section {
  margin-bottom: 28px;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.page-cms .page-content {
  max-width: 1040px;
  margin-inline: auto;
}

.rich-text {
  color: #41575f;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin-top: 1.5em;
}

/* Footer */
#footer {
  color: rgba(255, 255, 255, 0.8);
  background: #0e303a;
}

.footer__before {
  background: linear-gradient(135deg, #0d658e, #0c6078 54%, #4d862c);
}

.footer__before .ps-socialfollow {
  padding-block: 18px !important;
}

.footer__before .ps-socialfollow a {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.footer__before .ps-socialfollow a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

#footer .ps-emailsubscription.bg-body-tertiary {
  --bs-tertiary-bg-rgb: 11, 96, 121;
  --bs-bg-opacity: 1;
  padding-block: 30px !important;
  background-color: #0b6079 !important;
  background-image: linear-gradient(110deg, rgba(8, 121, 183, 0.34), rgba(104, 173, 47, 0.2)) !important;
}

.ps-emailsubscription .row {
  align-items: center;
}

.ps-emailsubscription .h3,
.ps-emailsubscription p,
.ps-emailsubscription .text-body-secondary {
  color: #fff !important;
}

.ps-emailsubscription .form-control {
  border-color: rgba(255, 255, 255, 0.4);
}

.footer__main {
  padding-top: 42px;
  padding-bottom: 26px;
  background:
    radial-gradient(circle at 8% 10%, rgba(8, 121, 183, 0.22), transparent 34%),
    #0e303a;
}

.footer__main-top {
  row-gap: 30px;
}

@media (min-width: 992px) {
  .footer__main-top {
    display: grid;
    grid-template-columns: 0.85fr 1.65fr 0.9fr 1.25fr;
    gap: 34px;
  }

  .footer__main-top > .footer-block {
    width: auto;
    max-width: none;
  }

  .footer__main-top > .footer-block:nth-child(2) .footer-block__list {
    column-count: 2;
    column-gap: 28px;
  }

  .footer__main-top > .footer-block:nth-child(2) .footer-block__list li {
    break-inside: avoid;
  }
}

.footer-block__title,
.footer-block__title a,
.footer__main h2,
.footer__main h3,
.footer__main h4 {
  color: #fff;
}

.footer-block__title {
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-block__list {
  padding-left: 0;
}

.footer-block__list li {
  margin-bottom: 6px;
}

.footer__main a,
.footer-block__list a,
.ps-contactinfo a {
  color: rgba(255, 255, 255, 0.78);
}

.footer__main a:hover,
.footer-block__list a:hover,
.ps-contactinfo a:hover {
  color: #cdefbc;
}

.footer__main-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

/* Focus and reduced motion */
:focus-visible {
  outline: 3px solid rgba(8, 121, 183, 0.42);
  outline-offset: 3px;
}

/* Desktop header: brand and search on the first row, categories on one
 * dedicated horizontal row. This prevents long category names from wrapping
 * into the hero and keeps every primary section visible at a glance. */
@media (min-width: 1200px) {
  .header-bottom__row {
    display: grid;
    grid-template-columns: auto minmax(300px, 430px);
    grid-template-areas:
      "brand search"
      "navigation navigation";
    column-gap: 32px;
    min-height: 0;
    align-items: center !important;
  }

  .header-bottom__logo {
    grid-area: brand;
    width: auto;
    min-height: 76px;
  }

  #_desktop_ps_searchbar {
    grid-area: search;
    order: initial !important;
    width: 100%;
    height: auto;
    margin-left: 0 !important;
    justify-self: end;
  }

  .ps-mainmenu--desktop {
    grid-area: navigation;
    order: initial;
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    border-top: 1px solid var(--biona-line);
  }

  .ps-mainmenu__desktop,
  .ps-mainmenu__tree,
  .ps-mainmenu__tree-item,
  .ps-mainmenu__tree-item-wrapper {
    height: auto;
  }

  .ps-mainmenu__tree {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    margin: 0;
    padding: 5px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ps-mainmenu__tree::-webkit-scrollbar {
    display: none;
  }

  .ps-mainmenu__tree-item {
    flex: 0 0 auto;
  }

  .ps-mainmenu__tree-item-wrapper {
    min-height: 46px;
  }

  .ps-mainmenu__tree-link {
    min-height: 42px;
    padding-inline: 12px;
    white-space: nowrap;
    font-size: 0.88rem;
  }

  .ps-mainmenu__tree-dropdown-toggle {
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    padding: 0;
  }

  /* Each primary category now owns its dropdown. Showing only its direct
   * children keeps the panel compact and avoids the theme's empty two-pane
   * megamenu when those children have no further levels. */
  .ps-mainmenu__desktop .submenu {
    max-height: min(58vh, 520px);
  }

  .ps-mainmenu__desktop .submenu > .container {
    padding: 14px;
  }

  .ps-mainmenu__desktop .submenu__row {
    display: block;
    margin: 0;
  }

  .ps-mainmenu__desktop .submenu__left {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 6px;
    width: 100%;
    max-width: none;
    padding: 0;
    border-right: 0;
  }

  .ps-mainmenu__desktop .submenu__left-item {
    min-height: 42px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid transparent;
  }

  .ps-mainmenu__desktop .submenu__left-item:hover,
  .ps-mainmenu__desktop .submenu__left-item:focus-visible,
  .ps-mainmenu__desktop .submenu__left-item[aria-selected="true"] {
    border-color: #cfe4e8;
  }

  .ps-mainmenu__desktop .submenu__right {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .page-index .products,
  .page-product .products,
  .page-cart .products,
  .layout-full-width .products,
  .layout-left-column #content-wrapper .products,
  .layout-right-column #content-wrapper .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-bottom__row {
    min-height: 72px;
  }

  .header-bottom__logo img,
  .header-bottom__logo .logo {
    max-width: 165px;
    max-height: 52px;
  }

  .page-product .product-container {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 28px;
  }
}

@media (max-width: 991.98px) {
  .container,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    width: min(calc(100% - 32px), var(--biona-container));
  }

  .page-product .product-container {
    display: block;
  }

  .product__left,
  .product__right {
    width: 100%;
  }

  .product__right {
    position: static;
    margin-top: 24px;
  }

  .page-index .ps-imageslider,
  .page-index .ps-customtext,
  .page-index .ps-bestsellers,
  .page-index .ps-featuredproducts,
  .page-index .ps-newproducts,
  .page-index .ps-specials {
    width: min(calc(100% - 32px), var(--biona-container));
  }

  #left-column,
  #right-column {
    margin-bottom: 26px;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 15px;
  }

  #header {
    position: relative;
  }

  .header-bottom__row {
    min-height: 68px;
  }

  .header-bottom__logo img,
  .header-bottom__logo .logo {
    max-width: 145px;
    max-height: 48px;
  }

  .ps-mainmenu__mobile-toggle .menu-toggle,
  .header-block__action-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
  }

  .ps-mainmenu__mobile-toggle .menu-toggle {
    border-radius: 50%;
    color: var(--biona-blue-dark);
    background: var(--biona-soft-blue);
  }

  .page-index .ps-imageslider {
    margin-top: 16px;
    margin-bottom: 28px;
    border-radius: 20px;
  }

  .page-index .ps-imageslider .carousel,
  .page-index .ps-imageslider .carousel-inner,
  .page-index .ps-imageslider .carousel-item,
  .page-index .ps-imageslider img {
    min-height: 310px;
  }

  .page-index .ps-imageslider img {
    object-position: 62% center;
  }

  .page-index .ps-imageslider .caption,
  .page-index .ps-imageslider .carousel-caption {
    width: calc(100% - 36px);
    padding: 18px;
  }

  .page-index .ps-customtext,
  .page-index .ps-bestsellers,
  .page-index .ps-featuredproducts,
  .page-index .ps-newproducts,
  .page-index .ps-specials {
    margin-bottom: 28px;
    padding: 22px;
    border-radius: 20px;
  }

  .page-index .products,
  .page-product .products,
  .page-cart .products,
  .layout-full-width .products,
  .layout-left-column #content-wrapper .products,
  .layout-right-column #content-wrapper .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .product-miniature__bottom {
    padding: 14px;
  }

  .product-miniature__title {
    font-size: 0.92rem;
  }

  .page-category #main,
  .page-listing #main,
  .page-contact #main,
  .page-cms #main,
  .page-product #main,
  .page-cart #main,
  .page-authentication #main,
  .page-registration #main,
  .page-order #main {
    padding-top: 22px;
    padding-bottom: 46px;
  }

  .product__left,
  .product__right,
  .page-product .tabs,
  .page-product .product-accessories,
  .page-product .ps-categoryproducts,
  .page-product .ps-viewedproduct,
  .page-product #product-details,
  .page-contact .contact-form,
  .page-contact #left-column > *,
  .page-cms .page-content {
    padding: 20px;
    border-radius: 18px;
  }

  .footer__main {
    padding-top: 28px;
  }

  .footer-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .footer-block__title {
    min-height: 48px;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .footer-block__content {
    padding-bottom: 18px;
  }
}

@media (max-width: 479.98px) {
  .container,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl,
  .page-index .ps-imageslider,
  .page-index .ps-customtext,
  .page-index .ps-bestsellers,
  .page-index .ps-featuredproducts,
  .page-index .ps-newproducts,
  .page-index .ps-specials {
    width: calc(100% - 24px);
  }

  .page-index .products,
  .page-product .products,
  .page-cart .products,
  .layout-full-width .products,
  .layout-left-column #content-wrapper .products,
  .layout-right-column #content-wrapper .products {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-miniature__title {
    min-height: 0;
  }

  .product__add-to-cart-container {
    align-items: stretch;
    flex-direction: column;
  }

  .product__add-to-cart-container .add-to-cart,
  .product__add-to-cart-container [data-button-action="add-to-cart"] {
    width: 100%;
  }

  .ps-emailsubscription .d-flex {
    align-items: stretch !important;
    flex-direction: column;
  }

  .ps-emailsubscription .btn {
    width: 100%;
  }
}

/* Catalog, product and checkout refinements — 2026-08-19 */
.page-category .category__header {
  overflow: hidden;
  margin-bottom: 26px;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-category .category__header .page-title,
.page-category .category__header h1 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1.12;
}

.page-category .category__description,
.page-product .product__description {
  max-width: 78ch;
  color: #41575f !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  overflow-wrap: anywhere;
}

.page-category .category__description *,
.page-product .product__description * {
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
}

.page-category .category__description h2,
.page-product .product__description h2 {
  margin: 1.35em 0 0.55em;
  color: var(--biona-ink) !important;
  font-size: clamp(1.28rem, 2vw, 1.55rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.page-category .category__description h3,
.page-product .product__description h3 {
  margin: 1.2em 0 0.45em;
  color: var(--biona-ink) !important;
  font-size: clamp(1.12rem, 1.7vw, 1.3rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.page-category .category__description p,
.page-product .product__description p,
.page-product .product__description > div {
  margin: 0 0 0.9em !important;
}

.page-category .category__description > div,
.page-product .product__description > div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.page-category .category__description p:empty,
.page-product .product__description p:empty {
  display: none;
}

/* Word/Office leaves spacer paragraphs containing only an empty text run. */
.page-category .category__description .OutlineElement:has(.NormalTextRun:empty),
.page-product .product__description .OutlineElement:has(.NormalTextRun:empty) {
  display: none;
}

.page-category .subcategory {
  margin-top: 20px;
}

.page-category .subcategory__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-category .subcategory a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid var(--biona-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.page-product .product__bottom:not(:has(.product__bottom-right > *)) {
  grid-template-columns: minmax(0, 1fr);
}

.page-product .product__bottom:not(:has(.product__bottom-right > *)) .product__bottom-left {
  grid-column: 1 / -1;
  width: 100%;
}

.page-product .product__bottom:not(:has(.product__bottom-right > *)) .product__bottom-right {
  display: none;
}

.page-product .product__accordion,
.page-product .product__bottom-left {
  min-width: 0;
}

.page-product .product__accordion .accordion-item {
  overflow: hidden;
  border-color: var(--biona-line);
}

.page-product .product__accordion .accordion-body {
  padding: clamp(20px, 3vw, 34px);
}

.page-product .product-accessories .products,
.page-product .ps-categoryproducts .products,
.page-product .ps-viewedproduct .products {
  align-items: stretch;
}

.page-order .checkout-steps {
  margin-bottom: clamp(24px, 4vw, 44px);
  padding: 20px clamp(16px, 3vw, 32px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-order .checkout-steps__btn {
  min-height: 44px;
  color: var(--biona-muted);
  font-weight: 700;
}

.page-order .checkout-steps__step--current .checkout-steps__btn,
.page-order .checkout-steps__step--complete .checkout-steps__btn {
  color: var(--biona-ink);
}

.page-order .checkout-grid {
  --bs-gutter-x: 28px;
  align-items: flex-start;
}

.page-order .checkout-grid__content,
.page-order .checkout-grid__aside {
  min-width: 0;
}

.page-order .step--current {
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-order .step__title {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--biona-line);
}

.page-order .step__title h1,
.page-order .step__title .h1,
.page-order .step__title-left {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
}

.page-order .step__content .form-control,
.page-order .step__content input,
.page-order .step__content select,
.page-order .step__content textarea {
  min-height: 48px;
  border-color: #cbdcdb;
  border-radius: 13px;
  background: #fff;
}

.page-order .step__content .form-control:focus,
.page-order .step__content input:focus,
.page-order .step__content select:focus,
.page-order .step__content textarea:focus {
  border-color: var(--biona-blue);
  box-shadow: 0 0 0 3px rgba(8, 121, 183, 0.14);
}

.page-order .checkout-grid__aside-wrapper {
  position: sticky;
  top: 132px;
}

.page-order .checkout__summary-accordion,
.page-order .checkout__summary-accordion-wrapper,
.page-order .cart-summary {
  overflow: hidden;
  border: 1px solid var(--biona-line);
  border-radius: var(--biona-radius-lg);
  background: #fff;
  box-shadow: var(--biona-shadow-sm);
}

.page-order .checkout__summary-accordion-wrapper {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .page-order .checkout-grid__aside {
    margin-top: 24px;
  }

  .page-order .checkout-grid__aside-wrapper {
    position: static;
  }

  .page-category .category__description,
  .page-product .product__description {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .page-category .category__header,
  .page-order .checkout-steps,
  .page-order .step--current {
    padding: 20px;
    border-radius: 18px;
  }

  .page-category .category__header .page-title,
  .page-category .category__header h1 {
    font-size: clamp(1.75rem, 9vw, 2.15rem);
  }

  .page-order .checkout-steps__desktop {
    display: none;
  }

  .page-order .checkout-steps__mobile {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Checkout wide-screen and native-control corrections — 2026-08-19.11 */
.page-order .checkout-steps,
.page-order .checkout-grid {
  width: min(calc(100% - 48px), var(--biona-container));
  margin-right: auto;
  margin-left: auto;
}

.page-order .step__content input[type="radio"],
.page-order .step__content input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px;
  margin: 0;
  padding: 0 !important;
  box-shadow: none;
}

.page-order .step__content input[type="radio"] {
  border-radius: 50% !important;
}

.page-order .step__content input[type="checkbox"] {
  border-radius: 5px !important;
}

.page-order .step__content .form-check,
.page-order .step__content .form-group .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-order .checkout__summary-accordion .accordion-button,
.page-order .checkout__summary-accordion .accordion-header,
.page-order .checkout__summary-accordion-wrapper > :first-child {
  padding-right: 20px;
  padding-left: 20px;
}

@media (max-width: 767.98px) {
  .page-order .checkout-steps,
  .page-order .checkout-grid {
    width: min(calc(100% - 24px), var(--biona-container));
  }
}
