/* All selectors require the guarded Antivirusonline-only root marker. */
html.ao-crystal {
  --ao-ink: #18354c;
  --ao-muted: #536b7d;
  --ao-paper: #ffffff;
  --ao-line: #dce7ed;
  --ao-accent: #20538a;
  --ao-secondary: #ac2639;
  --ao-tint: #f0f6fc;
  --ao-radius: 16px;
}
html.ao-crystal[data-ao-locale="it"] { --ao-accent: #176344; --ao-secondary: #a82437; --ao-tint: #f0f7f1; }
html.ao-crystal[data-ao-locale="es"] { --ao-accent: #9e2330; --ao-secondary: #805700; --ao-tint: #fff9e9; }
html.ao-crystal[data-ao-locale="gb"] { --ao-accent: #20538a; --ao-secondary: #ac2639; --ao-tint: #f0f6fc; }
html.ao-crystal[data-ao-locale="de"] { --ao-ink: #252d35; --ao-accent: #a52632; --ao-secondary: #735100; --ao-tint: #fff9e9; }
html.ao-crystal[data-ao-locale="fr"] { --ao-accent: #2454a5; --ao-secondary: #a62237; --ao-tint: #f2f6fd; }
html.ao-crystal[data-ao-locale="pt"] { --ao-accent: #236044; --ao-secondary: #ac2636; --ao-tint: #f1f7ed; }
html.ao-crystal body { background: var(--ao-paper); color: var(--ao-ink); }
html.ao-crystal #header { background: var(--ao-paper); color: var(--ao-ink); box-shadow: none; border-bottom: 1px solid var(--ao-line); }
html.ao-crystal #header .header-nav { background: var(--ao-tint); border-bottom: 1px solid var(--ao-line); border-top: 3px solid var(--ao-secondary); }
html.ao-crystal #header .header-nav a,
html.ao-crystal #header .header-nav button { color: var(--ao-ink); }
html.ao-crystal #header .header-top { padding: 12px 0 0; background: var(--ao-paper); min-height: 228px; }
html.ao-crystal #header .header-top > .container > .row { display: flex; align-items: center; flex-wrap: wrap; }
html.ao-crystal #_desktop_logo { flex: 0 0 190px; width: 190px; padding: 0 15px; }
html.ao-crystal #_desktop_logo h1,
html.ao-crystal #_desktop_logo p { margin: 0; }
html.ao-crystal #_desktop_logo img { width: 162px; max-width: 162px; height: auto; max-height: 100px; object-fit: contain; }
html.ao-crystal #header .header-top-right { flex: 1 1 340px; min-width: 0; width: auto; padding: 12px 15px; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready { padding: 0; margin: 0; float: none; width: 100%; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready > ul { display: flex; justify-content: flex-end; width: 100%; margin: 0; background: transparent; border: 0; box-shadow: none; }
html.ao-crystal #block_top_menu .ao-crystal-menu-source { display: none !important; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .cat-title { display: none; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .sf-search { float: none !important; display: block; flex: 1; max-width: 680px; min-width: 0; margin: 0; padding: 0; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready #searchbox { width: 100%; margin: 0; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready #searchbox p { display: flex; margin: 0; width: 100%; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .mypresta_search_query { flex: 1; min-width: 0; width: auto; height: 46px; border: 1px solid var(--ao-line); border-radius: 10px 0 0 10px; background: #f8fafc; color: var(--ao-ink); padding: 12px 15px; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .button-search { position: static; min-width: 85px; height: 46px; border: 1px solid var(--ao-accent); border-radius: 0 10px 10px 0; background: var(--ao-accent); color: #fff; font-size: 14px; }
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .button-search::before,
html.ao-crystal #block_top_menu.ao-crystal-menu-ready .button-search::after { display: none !important; }
html.ao-crystal .ao-crystal-finder-shell { background: #fbfdff; border-top: 1px solid var(--ao-line); margin-top: 10px; }
html.ao-crystal .ao-crystal-finder { max-width: 1600px; margin: 0 auto; padding: 15px 30px 19px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
html.ao-crystal .ao-crystal-finder label { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; text-align: left; }
html.ao-crystal .ao-crystal-finder label > span { color: var(--ao-accent); font-size: 11px; letter-spacing: 1px; font-weight: 600; }
html.ao-crystal .ao-crystal-finder select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #bfd0dd; border-radius: 8px; background: var(--ao-paper); color: var(--ao-ink); font: inherit; text-transform: none; }
html.ao-crystal .ao-crystal-finder select:focus-visible,
html.ao-crystal .ao-crystal-hero a:focus-visible { outline: 3px solid var(--ao-accent); outline-offset: 3px; }
html.ao-crystal #wrapper { background: var(--ao-paper); box-shadow: none; padding-top: 24px; }
html.ao-crystal #wrapper > .container,
html.ao-crystal #header .header-top > .container,
html.ao-crystal #header .header-nav > .container,
html.ao-crystal #footer > .container { width: 100%; max-width: 1600px; }
html.ao-crystal #content-wrapper,
html.ao-crystal #content,
html.ao-crystal #main { min-width: 0; }
/* Stable server-rendered order, with no after-paint movement of product blocks. */
html.ao-crystal body#index #content.page-home { display: flex; flex-direction: column; }
html.ao-crystal body#index #content.page-home > .ao-crystal-hero { order: -20; }
html.ao-crystal body#index #content.page-home > .bestselling_product_list_section,
html.ao-crystal body#index #content.page-home > .featured-products { order: -10; }
html.ao-crystal body#index .featured-products { margin-top: 0 !important; padding-top: 0; }
html.ao-crystal .ao-crystal-hero { background: var(--ao-tint); color: var(--ao-ink); border-radius: var(--ao-radius); padding: 28px 30px; margin: 0 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 25px; text-align: left; }
html.ao-crystal .ao-crystal-hero h2 { color: var(--ao-ink); margin: 8px 0 12px; font-size: clamp(26px, 3vw, 36px); line-height: 1.18; letter-spacing: -.7px; font-weight: 600; text-transform: none; }
html.ao-crystal .ao-crystal-hero p { color: var(--ao-muted); margin: 0; max-width: 650px; font-size: 15px; line-height: 1.6; }
html.ao-crystal .ao-crystal-hero .ao-crystal-eyebrow { color: var(--ao-accent); text-transform: uppercase; letter-spacing: 1.4px; font-size: 11px; font-weight: 600; }
html.ao-crystal .ao-crystal-hero a { color: var(--ao-accent); white-space: nowrap; padding: 12px 0; font-weight: 600; }
html.ao-crystal .featured-products > .container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
html.ao-crystal .featured-products .products-section-title { text-transform: none !important; font-size: 23px; color: var(--ao-ink); letter-spacing: -.4px; text-align: left; margin: 0 0 20px; padding: 0; background: transparent; }
html.ao-crystal .featured-products .products-section-title::before,
html.ao-crystal .featured-products .products-section-title::after { display: none; }
html.ao-crystal .featured-products .row { margin-left: 0; margin-right: 0; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; width: 100%; float: none; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products)::before,
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products)::after { display: none !important; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) > .js-product,
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) > .product { float: none !important; width: auto !important; min-width: 0; padding: 0 !important; margin: 0 !important; display: flex; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-miniature { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0; display: flex; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .thumbnail-container { position: relative; width: 100% !important; height: auto !important; margin: 0; padding: 16px 16px 48px; border: 1px solid var(--ao-line); border-radius: var(--ao-radius); background: var(--ao-paper); box-shadow: none; display: flex; flex-direction: column; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .thumbnail-top { width: 100%; position: relative; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-thumbnail { display: block; width: 100%; margin: 0; height: auto; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-thumbnail picture { display: block; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-thumbnail img { display: block; position: static; width: 100%; max-width: 250px; height: 210px; object-fit: contain; margin: 0 auto; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-description { position: static !important; width: 100% !important; height: auto !important; margin-top: 16px; padding: 0; background: transparent; text-align: left; flex: 1; display: flex; flex-direction: column; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-title { height: auto !important; min-height: 54px; margin: 0 0 16px; padding: 0; text-align: left; line-height: 1.5; white-space: normal; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-title a { color: var(--ao-ink); display: block; white-space: normal; font-size: 13px; line-height: 1.5; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-price-and-shipping { text-align: left; margin-top: auto; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .price { font-size: 23px; font-weight: 500; color: var(--ao-ink); }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .regular-price { font-size: 14px; color: var(--ao-muted); }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .highlighted-informations { width: 100%; left: 0; right: 0; box-shadow: none; border-radius: 8px; background: var(--ao-paper); }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .atc_div { position: absolute; bottom: 10px; right: 15px; left: auto; margin: 0; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .atc_div .btn-primary { min-width: 40px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--ao-accent); color: #fff; }
html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .atc_div svg { width: 20px; height: 20px; }
html.ao-crystal #product .product-price { color: var(--ao-accent); }
html.ao-crystal #product .product-actions .add-to-cart { background: var(--ao-accent); border-color: var(--ao-accent); color: #fff; border-radius: 10px; }
html.ao-crystal #product .product-cover { border: 1px solid var(--ao-line); border-radius: var(--ao-radius); padding: 20px; background: var(--ao-paper); }
html.ao-crystal #product .product-cover img { object-fit: contain; }
html.ao-crystal #product .tabs { box-shadow: none; border: 1px solid var(--ao-line); border-radius: var(--ao-radius); }
html.ao-crystal #product .tabs .nav-tabs .nav-link.active { color: var(--ao-accent); border-bottom-color: var(--ao-accent); }
html.ao-crystal #category #js-product-list-header .block-category { box-shadow: none; border: 1px solid var(--ao-line); border-radius: var(--ao-radius); background: var(--ao-tint); }
html.ao-crystal #search_filters { box-shadow: none; border: 1px solid var(--ao-line); border-radius: var(--ao-radius); }
html.ao-crystal #footer { background: #f7fafc; border-top: 1px solid var(--ao-line); padding-top: 24px; }
html.ao-crystal #footer .footer-container { background: var(--ao-paper); box-shadow: none; border-top: 1px solid var(--ao-line); }
html.ao-crystal #footer .footer-container a { color: var(--ao-ink); }
html.ao-crystal .home-category { margin-top: 34px; }
html.ao-crystal .home-category .title_block { color: var(--ao-ink); text-align: left; }
@media (min-width: 1600px) {
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 991px) and (min-width: 768px) {
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  html.ao-crystal #wrapper { padding-top: 16px; }
  html.ao-crystal #header .header-top > .container > .row { display: block; }
  html.ao-crystal #header .header-top-right { padding: 8px 15px; width: 100%; }
  html.ao-crystal #header .header-top { padding-top: 0; min-height: 252px; }
  html.ao-crystal #_mobile_logo img { width: auto !important; height: 44px !important; max-height: 44px !important; max-width: 140px; object-fit: contain; }
  html.ao-crystal #searchbox-mobile .mypresta_search_query { background: #f8fafc; color: var(--ao-ink); border: 1px solid var(--ao-line); border-radius: 8px; padding: 10px 12px; font-size: 16px; }
  html.ao-crystal .ao-crystal-finder-shell { margin-top: 5px; }
  html.ao-crystal .ao-crystal-finder { grid-template-columns: 1fr; padding: 13px 15px 16px; gap: 13px; }
  html.ao-crystal .ao-crystal-finder select { font-size: 16px; }
  html.ao-crystal .ao-crystal-hero { flex-direction: column; align-items: flex-start; padding: 23px; gap: 10px; margin-bottom: 23px; }
  html.ao-crystal .ao-crystal-hero h2 { font-size: 27px; }
  html.ao-crystal .ao-crystal-hero p { font-size: 14px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .thumbnail-container { padding: 11px 11px 46px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-thumbnail img { height: 165px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-title { min-height: 76px; margin-bottom: 12px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .product-title a { font-size: 12px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .price { font-size: 20px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .atc_div { right: 10px; }
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .atc_div .btn-primary { min-width: 44px; min-height: 44px; }
  html.ao-crystal #product .product-cover { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html.ao-crystal :is(.ao-crystal-product-grid, .featured-products .products, #js-product-list .products) .highlighted-informations { transition: none; }
}

/* The home hook streams after the native shelves: reveal them once the server hero is parsed, without depending on JavaScript. */
html.ao-crystal body#index #content.page-home:not(:has(> .ao-crystal-hero)) > * { visibility: hidden; }

/* Keep the original responsive ratio when measured intrinsic attributes are supplied. */
html.ao-crystal img.ao-crystal-sized-image { height: auto; }


/* The original reviews remain readable until their native carousel is needed. */
html.ao-crystal body#index #ets-ttn-page_home_reviews[data-ao-review-pending] {
  display: flex !important; overflow: hidden; align-items: stretch; margin-bottom: 30px;
}
html.ao-crystal body#index #ets-ttn-page_home_reviews[data-ao-review-pending] > .review-item {
  display: block !important; flex: 0 0 100%; min-width: 0; max-width: 100%;
}
@media (min-width: 767px) {
  html.ao-crystal body#index #ets-ttn-page_home_reviews[data-ao-review-pending] > .review-item { flex-basis: 50%; max-width: 50%; }
}
@media (min-width: 991px) {
  html.ao-crystal body#index #ets-ttn-page_home_reviews[data-ao-review-pending] > .review-item { flex-basis: 33.333333%; max-width: 33.333333%; }
}
