/* Ambalajj 2.0.1 — live catalog, header, nested menus and WooCommerce Blocks. */
body.aj-store .header-main form.ya-product-search {
  height:50px; min-height:50px; padding:5px 5px 5px 15px;
  display:flex; align-items:center; gap:12px;
}
body.aj-store .header-main form.ya-product-search .ya-search-symbol {
  display:flex; align-items:center; justify-content:center;
  width:22px; height:22px; min-width:22px; padding:0; border:0;
  border-radius:0; background:none; box-shadow:none; flex:0 0 22px;
}
body.aj-store .header-main form.ya-product-search .ya-search-submit {
  width:auto; min-width:74px; height:38px; min-height:38px; max-height:38px;
  margin:0; padding:0 17px; border:0; border-radius:5px; line-height:1.2;
  box-shadow:none; transform:none;
}
body.aj-store .header-main form.ya-product-search input[type=search] {
  min-height:0; height:36px; padding:0; line-height:1.4;
}
body.aj-store .header-main .header-actions .account-link { background:none; box-shadow:none; }
body.aj-store .woocommerce-breadcrumb,
body.aj-store .page-breadcrumb,
body.aj-store .rank-math-breadcrumb { color:#59677e; }
body.aj-store :focus-visible { outline-color:#bc4900; }
body.aj-store .aj-hero :focus-visible,
body.aj-store .aj-footer :focus-visible { outline-color:#ffae78; }

/* Keep all catalog card content in one predictable vertical flow. */
body.aj-store ul.products li.product:not(.product-category) {
  display:flex; flex-direction:column; min-width:0; height:auto;
  margin:0; padding:16px; text-align:left; border:1px solid #e0e7f1;
  background:#fff; border-radius:10px; box-shadow:none;
}
body.aj-store ul.products li.product:not(.product-category) > a.woocommerce-loop-product__link {
  display:flex; flex-direction:column; flex:1 1 auto;
  width:100%; min-width:0; padding:0; margin:0; text-align:left;
}
body.aj-store ul.products li.product:not(.product-category) .woocommerce-loop-product__title {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3;
  font-size:14px; font-weight:600; line-height:1.45; letter-spacing:-.012em;
  height:auto; min-height:4.35em; max-height:none; overflow:hidden;
  margin:0 0 7px; padding:0; color:#142444; text-align:left; overflow-wrap:anywhere;
}
body.aj-store ul.products li.product:not(.product-category) a img {
  display:block; width:100%; height:auto; min-height:0; max-height:none;
  aspect-ratio:1; object-fit:contain; margin:0 0 14px; padding:3px;
  background:#fff; border:0!important; box-shadow:none!important; border-radius:5px;
}
body.aj-store ul.products li.product:not(.product-category) .ambalajj-card-details {
  display:block; width:100%; min-height:0; height:auto; margin:0 0 8px; padding:0;
}
body.aj-store ul.products li.product:not(.product-category) .product-sku {
  display:block; min-height:0; max-width:100%; margin:0; padding:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:10px; line-height:1.5; font-weight:400; color:#64748b; text-align:left;
}
body.aj-store ul.products li.product:not(.product-category) .price {
  display:flex; flex-wrap:wrap; align-items:baseline; justify-content:flex-start; gap:5px 8px;
  width:100%; min-height:30px; height:auto; margin: auto 0 10px; padding:0;
  font-size:25px; font-weight:800; line-height:1.3; color:#002882; text-align:left;
}
body.aj-store ul.products li.product:not(.product-category) .price del { font-size:12px; color:#64748b; font-weight:400; opacity:1; }
body.aj-store ul.products li.product:not(.product-category) .price ins { color:#002882; text-decoration:none; font-weight:800; background:none; }
body.aj-store ul.products li.product:not(.product-category) .price .woocommerce-Price-currencySymbol { font-size:.75em; margin-left:2px; }
body.aj-store ul.products li.product:not(.product-category) .ambalajj-quantity-control {
  display:grid; grid-template-columns:36px minmax(0,1fr) 36px;
  width:100%; max-width:none; height:38px; min-height:38px; margin:4px 0 0;
  padding:0; border:1px solid #dfe5ef; border-radius:6px; background:#fff; overflow:hidden;
}
body.aj-store ul.products li.product:not(.product-category) .ambalajj-card-qty {
  width:100%; min-width:0; height:36px; min-height:36px; padding:0 3px;
  margin:0; border:0; border-radius:0; box-shadow:none; background:#fff;
  font-size:14px; text-align:center; color:#142444;
}
body.aj-store ul.products li.product:not(.product-category) .ambalajj-qty-step { width:36px; min-height:36px; padding:0; border:0; background:#f7f9fc; color:#002882; }
body.aj-store ul.products li.product:not(.product-category) .ya-quantity-message--card { display:none; min-height:0; margin:5px 0 0; padding:0; font-size:11px; line-height:1.5; text-align:left; }
body.aj-store ul.products li.product:not(.product-category) .ya-quantity-message--card.is-error { display:block; color:#a23e14; }
body.aj-store ul.products li.product:not(.product-category) .button {
  display:flex; align-items:center; justify-content:center; gap:7px; width:100%;
  min-height:42px; margin:8px 0 0; padding:11px 9px; line-height:1.3; font-size:13px;
  color:#fff; background:#002882; border:1px solid #002882; border-radius:6px; box-shadow:none;
  margin-top:8px!important;
}
body.aj-store ul.products li.product:not(.product-category) .button:hover { background:#071f51; color:#fff; }
body.aj-store ul.products li.product:not(.product-category) .added_to_cart { margin:7px 0 0; font-size:12px; text-align:center; color:#002882; }

/* Normal purchase limits are guidance; only validation failures use an error color. */
body.aj-store.single-product div.product div.summary form.cart .ya-quantity-message--product {
  color:#59677e; min-height:0; margin:4px 0 0; padding:0; font-size:12px; line-height:1.5;
}
body.aj-store.single-product div.product div.summary form.cart .ya-quantity-message--product.is-error { color:#a23e14; }
body.aj-store.single-product div.product div.summary .single_add_to_cart_button {
  color:#142444; background:#ff6600; border-color:#ff6600; border-radius:7px; box-shadow:none;
}
body.aj-store.single-product div.product div.summary .single_add_to_cart_button:hover:not(:disabled):not(.disabled) { background:#ff7e29; color:#142444; box-shadow:none; }
body.aj-store.single-product div.product div.summary .single_add_to_cart_button:before { filter:brightness(0); opacity:.8; }
body.aj-store.single-product div.product .woocommerce-tabs .panel { overflow-wrap:anywhere; }
body.aj-store.single-product .woocommerce-tabs .panel img { max-width:100%; height:auto; }

/* One readable editorial style for imported and newly written product copy. */
body.aj-store.single-product #tab-description .aj-product-copy,
body.aj-store.single-product .summary .aj-product-copy {
  max-width:960px; margin:0; color:#263959; font-family:Roboto,Arial,sans-serif;
  font-size:15px; line-height:1.85; text-align:left; overflow-wrap:anywhere;
}
body.aj-store.single-product #tab-description .aj-product-copy :is(p,span,li,div,strong,em),
body.aj-store.single-product .summary .aj-product-copy :is(p,span,li,div,strong,em) {
  font-family:inherit!important; font-size:inherit!important; line-height:inherit!important;
  color:inherit!important; text-align:left!important; background-color:transparent!important;
}
body.aj-store.single-product #tab-description .aj-product-copy :is(h1,h2,h3,h4,h5,h6) {
  display:block; font-family:inherit!important; color:#002882!important;
  font-weight:700!important; line-height:1.4!important; text-align:left!important;
  letter-spacing:-.025em; padding:0; background:none; border:0; box-shadow:none;
  margin:28px 0 12px; font-size:21px!important;
}
body.aj-store.single-product #tab-description .aj-product-copy :is(h1,h2) { font-size:26px!important; }
body.aj-store.single-product #tab-description .aj-product-copy :is(h4,h5,h6) { font-size:17px!important; }
body.aj-store.single-product #tab-description .aj-product-copy> :first-child { margin-top:0; }
body.aj-store.single-product #tab-description .aj-product-copy p,
body.aj-store.single-product .summary .aj-product-copy p { margin:0 0 16px!important; padding:0; }
body.aj-store.single-product #tab-description .aj-product-copy :is(ul,ol),
body.aj-store.single-product .summary .aj-product-copy :is(ul,ol) {
  display:block; grid-template-columns:none; columns:auto; gap:0;
  margin:12px 0 22px!important; padding:0 0 0 23px!important; background:none; border:0;
}
body.aj-store.single-product #tab-description .aj-product-copy ul { list-style:disc outside; }
body.aj-store.single-product #tab-description .aj-product-copy ol { list-style:decimal outside; }
body.aj-store.single-product #tab-description .aj-product-copy li,
body.aj-store.single-product .summary .aj-product-copy li {
  display:list-item; margin:0 0 6px!important; padding:0 0 0 3px!important;
  border:0; border-radius:0; box-shadow:none; min-height:0; list-style:inherit;
}
body.aj-store.single-product #tab-description .aj-product-copy li::before,
body.aj-store.single-product .summary .aj-product-copy li::before { display:none; }
body.aj-store.single-product #tab-description .aj-product-copy li::marker { color:#002882; }
body.aj-store.single-product #tab-description .aj-product-copy a { color:#002882!important; text-decoration:underline; text-underline-offset:3px; }
body.aj-store.single-product #tab-description .aj-product-copy table { display:block; max-width:100%; width:100%; overflow-x:auto; border-collapse:collapse; margin:20px 0; font-size:14px; }
body.aj-store.single-product #tab-description .aj-product-copy :is(td,th) { padding:12px 15px; border:1px solid #dfe5ef; text-align:left; vertical-align:top; min-width:110px; }
body.aj-store.single-product #tab-description .aj-product-copy th { background:#edf3fd; color:#002882; font-weight:700; }
body.aj-store.single-product #tab-description .aj-product-copy :is(img,iframe,video) { max-width:100%; }
body.aj-store.single-product #tab-description .aj-product-copy blockquote { margin:20px 0; padding:16px 20px; border-left:3px solid #ff6600; background:#f3f6fb; color:#263959; }
@media(max-width:760px) {
  body.aj-store.single-product #tab-description .aj-product-copy,
  body.aj-store.single-product .summary .aj-product-copy { font-size:14px; line-height:1.8; }
  body.aj-store.single-product #tab-description .aj-product-copy :is(h1,h2) { font-size:22px!important; }
  body.aj-store.single-product #tab-description .aj-product-copy :is(h3,h4,h5,h6) { font-size:18px!important; }
}

/* Category navigation must expose the entire real catalog. */
body.aj-store #primary-navigation .submenu-toggle {
  display:grid; place-items:center; position:static; width:27px; min-width:27px;
  height:38px; padding:0; margin:0; border:0; border-radius:5px;
  background:transparent; color:#002882; box-shadow:none; flex:0 0 27px; opacity:1; transform:none;
}
body.aj-store #primary-navigation .submenu-toggle svg { display:block; width:16px; height:16px; stroke:currentColor; }
body.aj-store #primary-navigation .submenu-toggle:before,
body.aj-store #primary-navigation .submenu-toggle:after { display:none!important; }
body.aj-store #primary-navigation .submenu-toggle[aria-expanded=true] svg { transform:rotate(180deg); }
body.aj-store #primary-navigation .sub-menu { border:1px solid #dfe5ef; border-radius:9px; background:#fff; box-shadow:0 14px 35px #00288217; }
body.aj-store #primary-navigation .sub-menu:before,
body.aj-store #primary-navigation .sub-menu:after,
body.aj-store #primary-navigation .sub-menu li:before,
body.aj-store #primary-navigation .sub-menu li:after { display:none!important; }
body.aj-store #primary-navigation .sub-menu a { color:#263959; background:#fff; font-size:13px; font-weight:500; line-height:1.4; border-radius:5px; padding:12px!important; }
body.aj-store #primary-navigation .sub-menu a:hover { color:#002882; background:#edf3fd; }
body.aj-store #primary-navigation li.submenu-dismissed>.sub-menu { display:none!important; }
@media(min-width:981px) {
  body.aj-store #primary-navigation>ul.menu { flex-wrap:wrap; min-width:0; }
  body.aj-store #primary-navigation>ul.aj-category-menu { flex-wrap:nowrap; }
  body.aj-store #primary-navigation>ul.menu>li { display:flex; min-width:0; }
  body.aj-store #primary-navigation>ul.aj-category-menu>li { flex:1 1 0; }
  body.aj-store #primary-navigation>ul.aj-category-menu>li.aj-menu-overflow { display:none; }
  body.aj-store #primary-navigation>ul.aj-category-menu>li.aj-more-categories { display:flex; }
  body.aj-store #primary-navigation>ul.menu>li>a { min-height:56px; font-size:12px; white-space:normal; line-height:1.4; max-width:none; }
  body.aj-store #primary-navigation>ul.menu>li>ul.sub-menu { min-width:280px; max-width:620px; padding:12px; margin:0; top:100%; }
  body.aj-store #primary-navigation .aj-more-categories>ul.sub-menu { width:520px; left:auto; right:0; }
  body.aj-store #primary-navigation .aj-more-categories:hover>ul.sub-menu,
  body.aj-store #primary-navigation .aj-more-categories:focus-within>ul.sub-menu,
  body.aj-store #primary-navigation .aj-more-categories.submenu-open>ul.sub-menu { display:grid; grid-template-columns:1fr 1fr; gap:3px 10px; }
}

/* Readable buttons in both classic and block cart/checkout. */
body.aj-store .wc-block-cart .wc-block-components-button,
body.aj-store .wc-block-checkout .wc-block-components-checkout-place-order-button {
  background:#ff6600; color:#142444; border:1px solid #ff6600; border-radius:7px; box-shadow:none; font-weight:700;
}
body.aj-store .wc-block-cart .wc-block-cart__submit-button { color:#142444!important; }
body.aj-store .wc-block-cart .wc-block-components-button .wc-block-components-button__text,
body.aj-store .wc-block-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text { color:inherit; }
body.aj-store .wc-block-cart .wc-block-components-product-name { overflow-wrap:anywhere; line-height:1.5; }
body.aj-store .wc-block-components-totals-item { color:#142444; }
body.aj-store .ya-checkout-page .wc-block-components-checkout-order-summary__title { background:#002882; color:#fff; }
body.aj-store .ya-checkout-page .wc-block-components-order-summary-item__quantity { background:#002882; color:#fff; }
body.aj-store .wc-block-checkout .wc-block-components-text-input input:focus,
body.aj-store .wc-block-checkout select:focus { border-color:#002882; box-shadow:0 0 0 1px #002882; }
body.aj-store .aj-footer .aj-footer-phone { overflow-wrap:anywhere; }
@media(max-width:980px) {
  body.aj-store.ya-mobile-menu-open .aj-mobile-bottom { visibility:hidden; }
  body.aj-store #primary-navigation.is-open>ul.menu>li { display:grid!important; grid-template-columns:minmax(0,1fr) 40px; align-items:center; }
  body.aj-store #primary-navigation.is-open>ul.menu>li.aj-more-categories { display:none!important; }
  body.aj-store #primary-navigation.is-open>ul.menu>li>a { min-width:0; min-height:49px; margin:0; padding:12px 4px!important; font-size:14px; line-height:1.45; }
  body.aj-store #primary-navigation.is-open .submenu-toggle { position:static; width:40px; height:40px; background:#edf3fd; border:1px solid #e1e8f3; }
  body.aj-store #primary-navigation.is-open .sub-menu { grid-column:1/-1; position:static; width:100%; min-width:0; max-width:none; margin:0 0 12px; padding:7px; border:0; background:#f2f6fc; box-shadow:none; transform:none; }
  body.aj-store #primary-navigation.is-open li:not(.submenu-open)>.sub-menu { display:none!important; }
  body.aj-store #primary-navigation.is-open li.submenu-open>.sub-menu { display:block!important; }
  body.aj-store #primary-navigation.is-open .sub-menu li { display:block; width:100%; padding:0; margin:0; }
  body.aj-store #primary-navigation.is-open .sub-menu a { background:transparent; padding:11px 9px!important; font-size:12px; }
  body.aj-store #primary-navigation.is-open .ya-mobile-menu-footer { margin-top:15px; }
}
@media(max-width:760px) {
  body.aj-store .header-main form.ya-product-search { height:46px; min-height:46px; padding:4px 4px 4px 12px; gap:9px; }
  body.aj-store .header-main form.ya-product-search .ya-search-submit { height:36px; min-height:36px; max-height:36px; min-width:60px; padding:0 13px; border-radius:5px; font-size:12px; }
  body.aj-store .header-main form.ya-product-search input[type=search] { height:34px; font-size:16px; }
  body.aj-store ul.products li.product:not(.product-category) { padding:10px; border-radius:8px; }
  body.aj-store ul.products li.product:not(.product-category) .woocommerce-loop-product__title { font-size:12px; line-height:1.45; min-height:4.35em; margin-bottom:6px; }
  body.aj-store ul.products li.product:not(.product-category) a img { margin-bottom:10px; padding:1px; }
  body.aj-store ul.products li.product:not(.product-category) .product-sku { font-size:9px; line-height:1.5; }
  body.aj-store ul.products li.product:not(.product-category) .price { font-size:21px; min-height:27px; margin-bottom:8px; gap:3px 6px; }
  body.aj-store ul.products li.product:not(.product-category) .price del { font-size:10px; }
  body.aj-store ul.products li.product:not(.product-category) .button { min-height:40px; padding:10px 6px; font-size:11px; }
  body.aj-store ul.products li.product:not(.product-category) .ambalajj-quantity-control { grid-template-columns:32px minmax(0,1fr) 32px; height:35px; min-height:35px; }
  body.aj-store ul.products li.product:not(.product-category) .ambalajj-card-qty { height:33px; min-height:33px; font-size:13px; }
  body.aj-store ul.products li.product:not(.product-category) .ambalajj-qty-step { width:32px; min-height:33px; }
  body.aj-store .woocommerce-ordering { max-width:none; width:100%; margin:5px 0 16px; }
  body.aj-store .woocommerce-ordering select { width:100%; min-height:42px; }
  body.aj-store .woocommerce-result-count { float:none; margin:0 0 8px; }
  body.aj-store .aj-shop-categories { scrollbar-width:thin; scrollbar-color:#b8c8e5 transparent; padding-bottom:10px; }
  body.aj-store .aj-mobile-bottom { backdrop-filter:none; background:#fff; }
  body.aj-store .wc-block-cart__submit-container--sticky { bottom:76px; }
  body.aj-store .wc-block-components-express-payment { max-width:100%; }
}
