/* Project-specific additions layered on top of the approved design stylesheet. */

/* Native listing pagination keeps browser navigation semantics. Show immediate
 * feedback while the next document loads without intercepting the link. */
body.listing-page-loading #product-list {
    opacity: 0.55;
    pointer-events: none;
}

body.listing-page-loading::after {
    content: "";
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 4px solid rgba(4, 51, 67, 0.2);
    border-top-color: #ffa017;
    border-radius: 50%;
    animation: listing-page-spinner 0.7s linear infinite;
}

@keyframes listing-page-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.listing-page-loading::after {
        animation-duration: 1.4s;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.wrapper {
    width: 100%;
    overflow-x: clip;
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    position: absolute !important;
}

.top-announcement-bar p {
    display: inline;
    margin: 0;
}

.top-announcement-bar a {
    color: inherit;
    text-decoration: underline;
}

.site-logo--top picture {
    display: flex;
    align-items: center;
}

.site-logo--top picture > img {
    display: block;
    width: auto;
    max-height: 40px;
}

.site-logo--bottom img {
    width: auto;
    max-height: 57px;
}

.search-loading,
.search-empty {
    padding: calc(var(--gap) * 2);
    text-align: center;
}

.empty-brand {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.portfolio-page .site-article-hold,
.portfolio-page .portfolio-videos {
    min-width: 0;
}

.portfolio-page .portfolio-videos h2 {
    margin-top: 0;
}

.portfolio-page .portfolio-video-player {
    overflow: hidden;
    background: var(--black);
}

.portfolio-page .portfolio-video-player iframe,
.portfolio-page .portfolio-video-player video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.portfolio-page .portfolio-video-thumb {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    color: var(--white);
    border: 0;
    background: var(--text-color);
    cursor: pointer;
    place-items: center;
}

.portfolio-page .portfolio-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-page .product-desc__video__thumb__items.is-active {
    outline: 2px solid var(--deco-color);
    outline-offset: 2px;
}

.portfolio-page .portfolio-video-thumb:focus-visible {
    outline: 3px solid var(--deco-color);
    outline-offset: -3px;
}

@media (max-width: 767px) {
    body:has(.portfolio-page) {
        min-width: 0;
    }
}

.offer-margin-top {
    margin-top: 25px;
}

.product_similar_btn {
    margin: 10px 0 16px !important;
}

.is-invalid {
    border-color: var(--error-color);
}

.error-message {
    margin-top: 4px;
    color: var(--error-color);
    font-size: 13px;
}

/* Functional corrections layered on top of the approved design source. */
.slider-products__slide {
    display: flex;
}

.slider-products__slide > .products-list__items {
    width: 100%;
    min-height: 100%;
    border: 0;
}

.product-cart-form,
.product-cart-form .btn {
    width: 100%;
}

.product-cart-form {
    margin: 0;
}

.nav-lang__flag {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.nav-lang__sub__links {
    font-family: "Noto Sans", Arial, sans-serif;
    white-space: nowrap;
}

html.storefront-language--el-gr {
    --primary-font: "Noto Sans", Arial, sans-serif;
}

html.storefront-language--el-gr button,
html.storefront-language--el-gr input,
html.storefront-language--el-gr optgroup,
html.storefront-language--el-gr select,
html.storefront-language--el-gr textarea {
    font-family: var(--primary-font);
}

html.storefront-language--el-gr .daterangepicker {
    font-family: var(--primary-font);
}

html.storefront-language--el-gr .fslightbox-container {
    font-family: var(--primary-font);
}

.newsletter-signup-form .invalid-feedback {
    width: 100%;
    margin-top: 6px;
    color: var(--error-color);
    font-size: 13px;
    font-weight: 600;
}

.newsletter-signup-form .invalid-feedback:empty {
    display: none;
}

.newsletter-signup-form__row > input {
    min-width: 0;
    flex: 1 1 auto;
}

.newsletter-signup-form__row > .btn {
    min-width: 200px;
    flex: 0 0 200px;
}

.newsletter-signup-form__consent {
    align-items: center;
}

.newsletter-signup-form__consent .label {
    margin: 0;
}

.newsletter-signup-form input.error,
.newsletter-signup-form .is-invalid {
    border-color: var(--error-color);
}

/* The approved stylesheet expects ../img; OpenCart keeps the shared image in ../image. */
.section--newsletter {
    background-image: url(../image/bg-pattern.webp);
}

.slider-promo__slide--text {
    background-image: url(../image/bg-pattern.webp);
}

.site-coupon__body {
    background-image: url(../image/repetetive-small-orange.webp);
}

.site-coupon,
.site-coupon > * {
    min-width: 0;
}

.site-coupon__body img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 139px;
    height: auto;
    margin-inline: auto;
}

.site-coupon__price {
    background-image: url(../image/repetetive-small-grey.webp);
}

.site-banner {
    background-image: url(../image/site-banner-bg.webp);
}

.site-block--promo::before {
    background-image: url(../image/site-block-promo-deco-top.svg);
}

.site-block--promo::after {
    background-image: url(../image/site-block-promo-deco-bottom.svg);
}

.site-promo__block--club {
    background-image: url(../image/site-promo-block-club-bg.svg);
}

.site-promo--pair {
    grid-template-columns: repeat(auto-fit, minmax(min(550px, 100%), 1fr));
}

.site-promo--single {
    grid-template-columns: minmax(0, 1fr);
}

.site-promo--pair > .site-promo__block {
    min-width: 0;
    height: 100%;
}

#column-left .site-promo--pair,
#column-right .site-promo--pair {
    grid-template-columns: minmax(0, 1fr);
}

.site-promo__block__list__icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-promo__block__list__icon > svg {
    width: 100%;
    height: 100%;
    display: block;
}

.site-voucher::before {
    background-image: url(../image/site-voucher-bg.webp);
}

:root {
    --gl-star-empty: url(../image/star-empty.svg);
    --gl-star-full: url(../image/star-full.svg);
}

.site-alert:empty {
    width: 0;
    min-height: 0;
    padding: 0;
    box-shadow: none;
}

.site-alert__text {
    min-width: 0;
}

.site-alert__text a,
.site-alert__text a:visited,
.site-alert__text a:hover,
.site-alert__text a:focus {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}

.site-alert__close {
    flex: 0 0 auto;
}

.checkout-captcha-guest .grecaptcha-badge {
    visibility: hidden !important;
}

body:has(.grecaptcha-badge) .site-top {
    bottom: 86px;
}

@media (max-width: 767px) {
    .site-logo--top picture > img {
        max-width: 150px;
        max-height: 32px;
    }

    .newsletter-signup-form__row {
        flex-direction: column;
    }

    .newsletter-signup-form__row > input,
    .newsletter-signup-form__row > .btn {
        width: 100%;
        min-width: 0;
        flex: 0 0 48px;
    }

}

/* Product page runtime states. Keep these scoped: the product design itself is
   already part of the compiled theme stylesheet. */
.product-page .product-variant-group {
    border: 0;
    margin: 0 0 16px;
    min-width: 0;
    padding: 0;
}

.product-page .product-desc__slider .slider-gallery {
    aspect-ratio: 1 / 1;
}

.product-page .product-desc__slider .slider-gallery__links,
.product-page .product-desc__slider .slider-gallery__links picture,
.product-page .product-desc__slider .slider-gallery__links img {
    display: block;
    height: 100%;
    width: 100%;
}

.product-page .product-desc__slider .slider-gallery__links img {
    object-fit: contain;
}

.product-page .product-variant-group legend {
    width: 100%;
}

.product-page .product-variant-group .product-desc__options {
    align-items: stretch;
    margin-bottom: 0;
}

.product-page #product-variant-clear {
    margin-top: 8px;
}

.product-page #product-variant-clear[hidden] {
    display: none !important;
}

.product-page .product-desc__options {
    min-width: 0;
}

.product-page .product-desc__options__items,
.product-page .product-desc__options__label {
    display: flex;
}

.product-page .product-desc__options__items {
	position: relative;
    width: min(100%, var(--product-option-tile-width, auto));
    max-width: 100%;
    flex: 0 1 var(--product-option-tile-width, auto);
}

.product-variant-sale-indicator {
	position: absolute;
	z-index: 2;
	top: -9px;
	right: -7px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	color: #fff;
	background: #ffa017;
	font: 700 13px/1 'Comfortaa', sans-serif;
}

.product-variant-sale-indicator[hidden] {
	display: none !important;
}

.product-page .product-desc__options__label {
    width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
}

.product-page .product-desc__options__label:has(.product-desc__options__image) {
    justify-content: flex-start;
    text-align: left;
}

.product-page .novitek-accessory-options .product-desc__options,
.product-page .usspa-inquiry-options .product-desc__options {
    align-items: flex-start;
}

.product-page .novitek-accessory-options .product-desc__options__items,
.product-page .usspa-inquiry-options .product-desc__options__items {
    width: auto;
    flex: 0 1 auto;
}

.product-page .novitek-accessory-options .product-desc__options__label,
.product-page .usspa-inquiry-options .product-desc__options__label {
    width: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 8px 12px;
}

.product-page .product-variant-group.has-error legend {
    color: var(--error-color);
}

.product-page .product-desc__options__items.is-disabled {
    color: #6b747a;
}

.product-page .product-desc__options__items.is-disabled .product-desc__options__label {
    color: #6b747a;
    border-color: var(--silver-chalice);
    cursor: pointer;
}

.product-page .product-desc__options__items.is-disabled .product-desc__options__label:has(input:checked) {
    color: var(--text-color);
    border-color: var(--deco-color);
    background: #f9c97b;
}

.product-page.is-loading .product-desc__details,
.product-page.is-loading .product-info {
    cursor: progress;
}

.product-page.is-loading #product-variant-matrix,
.product-page.is-loading #product-purchase-region {
    cursor: progress;
}

.product-page.is-loading #product-purchase-region {
    pointer-events: none;
}

@media (min-width: 768px) {
    .product-wrap > .product-info {
        align-self: flex-start;
        position: sticky;
        top: 12px;
        z-index: 1;
    }

    .product-wrap > .product-info .product-info__sticky {
        position: static;
    }
}

@media (min-width: 768px) and (max-width: 1279.98px) {
    .site-articles--blog-listing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .product-wrap > .product-info {
        top: 94px;
    }
}

.product-page .product-variant-error,
.product-page .error-message {
    color: #b42318;
    display: block;
    font-size: 0.875rem;
    margin-top: 6px;
}

.product-page .product-variant-error[hidden],
.product-page .error-message[hidden],
.product-page #quote-form-wrapper[hidden],
.product-page #quote-success[hidden] {
    display: none !important;
}

.product-page .product-review-link,
.product-page .product-review-link:visited {
    color: var(--text-color);
}

.product-page .product-review-link:hover {
    color: var(--deco-text-color);
    text-decoration: underline;
}

.product-page .product-review-link:focus-visible {
    outline: 2px solid var(--secondary-deco-color);
    outline-offset: 3px;
}

.product-page .product-reviews-empty {
    margin: 32px 0;
    text-align: left;
}

.product-page #product-variant-description-region .product-accordion-panels__hold img:not(.product-desc__additionals__image) {
    max-width: 100%;
    height: auto !important;
}

.product-page .product-accordion-links {
    margin-top: 8px;
}

.product-page .product-accordion-panels {
    margin-bottom: 8px;
}

.product-page .site-articles__image picture,
.product-page .site-articles__image img {
    width: 100%;
    aspect-ratio: 464 / 322;
    object-fit: cover;
}

@media (min-width: 1280px) {
    .site-articles--blog-listing {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.site-articles--blog-listing .site-articles__text > .btn {
    margin-top: auto;
}

#modal #form-review .invalid-feedback {
    display: none;
    color: var(--error-color);
    font-size: .875rem;
    margin-top: 6px;
}

#modal #form-review .invalid-feedback.d-block {
    display: block;
}

#modal #form-review .form-regular > .form-regular__items--radio {
    flex-wrap: wrap;
}

#modal #form-review .form-regular > .form-regular__items--radio > .invalid-feedback {
    width: 100%;
    min-width: 0;
    flex: 0 0 100%;
}

#modal #form-review .form-regular__items.has-error > .form-regular__label,
#modal #form-review .form-regular__items.has-error > span.form-regular__label {
    color: var(--error-color);
}

#modal #form-review .is-invalid:not(.star-rating),
#modal #form-review .has-error .form-regular__wrap {
    border-color: var(--error-color);
}

#modal #form-review .has-error [data-star-rating] > select:focus + .gl-star-rating--stars span:first-child::before {
    content: none;
    box-shadow: none;
    outline: 0;
}

#modal #form-review .review-global-error:not(:empty) {
    margin-bottom: 16px;
}

.product-page .product-attribute-group {
    min-width: 0;
}

.product-page .product-attribute-group dl {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .product-page .product-accordion-panels__hold--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {
    body.has-product-page {
        min-width: 0;
    }

    .product-page .product-accordion-panels__hold--split {
        grid-template-columns: minmax(0, 1fr);
    }
}

.product-page #product-wishlist-button.active,
.product-page #product-wishlist-button[aria-pressed="true"] {
    color: #d92d20;
}

.product-page #product-wishlist-button:focus-visible,
.product-page .product-desc__options__label:has(input:focus-visible) {
    outline: 2px solid #133140;
    outline-offset: 3px;
}

.product-page-alert {
    margin: 0 0 16px;
}

.search-page__form {
    --max-width: 600px;
}

.search-page__message {
    max-width: 600px;
    margin-bottom: 32px;
}

.search-page__form .search-suggestion {
    width: 100%;
    margin-top: 8px;
    padding: 14px 16px;
    color: var(--text-color);
    font: 1rem/1.45 var(--primary-font);
    background: var(--concrete);
    border-left: 5px solid var(--deco-color);
    align-items: center;
    display: flex;
    gap: 12px;
}

.search-page__form .search-suggestion__icon {
    width: 24px;
    height: 24px;
    color: var(--deco-color);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    flex: 0 0 24px;
}

.search-page__form .search-suggestion a {
    color: var(--text-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--deco-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--primary-transition);
}

.search-page__form .search-suggestion a:hover,
.search-page__form .search-suggestion a:focus-visible {
    color: var(--deco-color);
}

.search-page .site-helpers {
    margin-bottom: 24px;
}

.search-page .site-pages {
    margin-bottom: 32px;
}

#product-list.products-list .products-list__rating {
    display: none;
}

@media (max-width: 767px) {
    .search-page__form .search-suggestion {
        gap: 10px;
        padding: 12px 14px;
        font-size: 15px;
    }

    .search-page__form .form-regular__items--buttons {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .search-page__form .form-regular__items--buttons .btn {
        width: 100%;
        margin-left: 0 !important;
    }
}

.wishlist-products {
    align-items: stretch;
}

.wishlist-products--guest .wishlist-remove-form {
    width: 100%;
    margin: 10px 0 0;
}

.wishlist-products--guest .wishlist-card__remove {
    width: 100%;
}

.wishlist-products__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.wishlist-products__item > .products-list__items {
    width: 100%;
    flex: 1 1 auto;
}

.wishlist-empty {
    padding: 32px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.wishlist-empty--guest {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
    text-align: left;
}

.wishlist-empty--guest .wishlist-empty__text {
    margin: 0;
}

.cart-layout {
    align-items: flex-start;
}

body:not(:has(.header--mini)) .section--checkout .checkout-desc {
    align-self: flex-start;
}

@media (min-width: 768px) {
    body:not(:has(.header--mini)) .section--checkout .checkout-desc {
        position: sticky;
        top: -62px;
    }
}

@media (min-width: 1280px) {
    body:not(:has(.header--mini)) .section--checkout .checkout-desc {
        top: 12px;
    }
}

.cart-promo-form .form-regular__items--flex input {
    min-width: 0;
    flex: 1 1 auto;
}

.cart-promo-form .btn {
    flex: 0 0 56px;
}

.cart-promo-remove-form {
    display: inline-flex;
}

.cart-quantity-form .site-qty__links,
.cart-remove-form .checkout-table__remove {
    background: transparent;
    font: inherit;
}

.cart-quantity-form .site-qty__links {
    border: 0;
    padding: 0;
}

.cart-quantity-form {
    align-items: center;
}

.checkout-desc .cart-remove-form,
.checkout-desc .cart-quantity-form {
    position: relative;
}

.checkout-desc .cart-remove-form .form-regular__error:empty,
.checkout-desc .cart-quantity-form .form-regular__error:empty {
    display: none;
    padding: 0;
}

.checkout-desc .cart-remove-form .form-regular__error:not(:empty),
.checkout-desc .cart-quantity-form .form-regular__error:not(:empty) {
    background: #fff;
    box-shadow: 0 2px 10px rgba(18, 54, 69, .16);
    box-sizing: border-box;
    inset-inline-end: 0;
    max-width: min(260px, 80vw);
    overflow-wrap: anywhere;
    padding: 6px 8px;
    position: absolute;
    text-align: start;
    top: calc(100% + 4px);
    width: max-content;
    z-index: 5;
}

.cart-quantity-form .site-qty {
    flex: 0 0 auto;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.cart-quantity-form .site-qty__input {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
}

.cart-stock-warning {
    display: block;
    margin-top: 6px;
    padding: 5px 8px;
    border: 1px solid currentColor;
    font: 0.8125rem/1.25 var(--primary-font);
}

.cart-checkout-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.cart-continue {
    margin-top: 16px;
    justify-content: flex-end;
    display: flex;
}

@media (max-width: 767px) {
    .cart-layout {
        display: block;
    }
}
/* Maintenance */
.maintenance-page {
  align-items: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 160, 23, .13), transparent 34%),
    linear-gradient(135deg, var(--white) 0%, var(--alabaster) 100%);
  display: flex;
  flex: 1 0 auto;
  min-height: clamp(420px, 58vh, 680px);
  padding: 64px 0;
}
.maintenance-page__layout { display: flex; justify-content: center; }
.maintenance-page__card {
  background: var(--white);
  border-top: 5px solid var(--deco-color);
  box-shadow: 0 18px 48px rgba(19, 49, 64, .12);
  max-width: 760px;
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  width: 100%;
}
.maintenance-page__icon {
  align-items: center;
  background: var(--deco-color);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 72px;
  justify-content: center;
  margin-bottom: 24px;
  width: 72px;
}
.maintenance-page__icon svg { fill: none; height: 40px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; width: 40px; }
.maintenance-page__title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 18px; }
.maintenance-page__message { color: var(--secondary-text-color); font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.7; }
.maintenance-page__message br { display: block; margin-top: 6px; }
@media (max-width: 767px) {
  .maintenance-page { min-height: 440px; padding: 34px 0; }
  .maintenance-page__card { padding: 32px 22px; }
  .maintenance-page__icon { height: 60px; margin-bottom: 20px; width: 60px; }
  .maintenance-page__icon svg { height: 32px; width: 32px; }
}

/* Granular cookie consent */
.cookie-preferences-link { background: none; color: inherit; font: inherit; padding: 0; text-decoration: none; }
.cookie-consent { align-items: center; background: rgba(19, 49, 64, .8); display: flex; inset: 0; justify-content: safe center; overflow: auto; padding: 15px; position: fixed; z-index: 10050; }
.cookie-consent.is-hidden, .cookie-consent .is-hidden { display: none; }
.cookie-consent__panel { --modal-width: 1300px; max-height: calc(100dvh - 30px); max-width: var(--modal-width); overflow: auto; transition: max-width var(--primary-transition); }
.cookie-consent[data-view="summary"] .cookie-consent__panel { --modal-width: 300px; }
.cookie-consent__summary-list, .cookie-consent__overview-actions { margin: 0; }
.cookie-consent__summary-list { gap: 16px; }
.cookie-consent__summary-list label, .cookie-consent__categories label { font-weight: 500; }
.cookie-consent__overview-actions { flex: 0 0 280px; }
.cookie-consent__details-actions, .cookie-consent__categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cookie-consent__categories > .last-child { min-width: 0; }
.cookie-consent__category-help { max-height: clamp(4rem, calc(100dvh - 300px), 12rem); min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-gutter: stable; }
.cookie-consent__error { color: #d60017; margin-top: 12px; }
@media (max-width: 767px) {
  .cookie-consent { padding: 8px; }
  .cookie-consent__panel { max-height: calc(100dvh - 16px); padding: 20px 16px; }
  .cookie-consent[data-view="overview"] .cookie-consent__panel,
  .cookie-consent[data-view="details"] .cookie-consent__panel { height: calc(100dvh - 16px); }
  .cookie-consent__overview-actions { flex: 0 0 auto; }
  .cookie-consent__details-actions, .cookie-consent__categories { grid-template-columns: 1fr; }
}

/* FAQ accordion buttons keep the approved full-width row layout. */
.site-accordion > .site-accordion-links {
    width: 100%;
    text-align: left;
    background: var(--white);
}

/* Keep desktop navigation flyouts above product labels. */
@media (min-width: 1280px) {
    .header__nav {
        position: relative;
        z-index: 3;
    }
}

/* Brand index cards follow the approved 320 x 180 logo composition. */
.site-brands__links {
    aspect-ratio: 1.2;
}

.site-brands__links img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.site-brands__image,
.site-brands__image picture {
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    display: flex;
}

.site-brands__image {
    max-width: 320px;
}

.site-brands__image picture {
    height: 100%;
}

/* Checkout dynamic OpenCart forms mapped to the approved apmokejimas-* layout. */
#checkout-checkout [hidden],
#checkout-checkout .d-none {
    display: none !important;
}

#checkout-checkout .d-block {
    display: block !important;
}

#checkout-checkout .checkout-info fieldset {
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}

#checkout-checkout .checkout-info legend {
    width: 100%;
    color: var(--text-color);
    font: 600 1.25rem/1.3 var(--primary-font);
    padding: 0 0 16px;
}

#checkout-checkout .checkout-info form {
    width: 100%;
}

#checkout-checkout .checkout-info .invalid-feedback {
    color: var(--error-color);
    font: .8125rem/1.3 var(--primary-font);
    padding-top: 4px;
}

#checkout-login-form .form-regular__error:empty {
    display: none;
    padding-top: 0;
}

#checkout-checkout .checkout-account-type-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

#checkout-checkout .checkout-account-type-row .form-regular__checkout {
    min-height: 86px;
}

#checkout-checkout .checkout-account-type-row .form-regular__checkout__text {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Empty validation placeholders must not alter the approved 16px registration rhythm. */
#form-register .form-regular__error:empty {
    display: none;
    padding-top: 0;
}

/* Avoid repeating the long telephone guidance while its exact validation error is visible. */
#checkout-telephone-field input[aria-invalid="true"] ~ .form-regular__desc {
    display: none;
}

/* Registration is a single two-stage form. Only the active stage participates
 * in layout and keyboard navigation; conditional identity fields stay flat. */
#form-register.register-card {
    width: min(440px, calc(100vw - 30px));
}

#form-register [hidden] {
    display: none !important;
}

/* Keyboard focus and selected state must never look identical. The orange
 * border belongs exclusively to the checked card in the base stylesheet;
 * focus gets the site's dark, offset accessibility ring instead. */
#form-register .form-regular__checkout:has(> input:focus-visible) {
    outline: 2px solid var(--text-color);
    outline-offset: 3px;
}

#form-register .register-stage-back {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    gap: 8px;
    padding: 0;
}

#form-register .register-stage[aria-hidden="true"] {
    display: none !important;
}

#form-register .register-choice-group,
#form-register .register-vat-choice-group {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    gap: 0;
}

/* Account deletion is the only destructive member-area action. Keep the
 * shared button geometry while making its consequence unambiguous. */
#account-privacy .account-delete-button {
    background: var(--error-color);
    border-color: var(--error-color);
}

#account-privacy .account-privacy-confirm {
    align-items: flex-start;
}

#account-privacy .account-privacy-confirm__content {
    flex: 1 1 0;
    min-width: 0;
}

#account-privacy .account-privacy-confirm__content > label {
    display: block;
}

#form-register .register-choice-group > .form-regular__items--radio + .form-regular__items--radio,
#form-register .register-vat-choice-group > .form-regular__items--radio + .form-regular__items--radio {
    margin-top: 16px;
}

/* Choice validation belongs below the complete card group. Its inherited 4px
 * top padding preserves the same field-to-error rhythm as all other inputs. */
#form-register .register-choice-error {
    width: 100%;
}

#form-register .register-identity-fields {
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
}

#form-register #input-vat-payer {
    width: 100%;
}

#form-register .register-identity-fields:not([hidden]) {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
}

#form-register .register-login-panel {
    margin-top: 16px;
}

#form-register .register-agreement {
    min-width: 0;
    flex: 1 1 0;
}

#checkout-checkout .checkout-identity-summary {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Logged-in checkout keeps its immutable identity block full-width while the
 * editable paired fields retain the approved split layout. Read-only values
 * use the design's disabled treatment so they cannot look editable. */
#form-register[data-identity-locked="true"] #checkout-guest-identity-slot {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

#form-register[data-identity-locked="true"] #checkout-buyer-identity input[readonly] {
    cursor: not-allowed;
    background-color: var(--disabled-field-color);
}

#form-register[data-identity-locked="true"] #checkout-buyer-identity input[readonly]:hover {
    border-color: var(--border-color);
}

#form-register[data-identity-locked="true"] #checkout-buyer-identity input[readonly]:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 2px;
}

#checkout-checkout #checkout-payment-actions [aria-disabled="true"] {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: .55;
}

@media (max-width: 767px) {
    /* Short stages (notably shipping and payment) still need enough document
     * height for the shared stage scroll to place checkout-info at the top.
     * Without this, the browser hits the page bottom and leaves the order
     * summary occupying the first third of the mobile viewport. */
    #checkout-checkout .checkout-info {
        min-height: calc(100vh - 24px);
    }

    #checkout-checkout #checkout-payment-actions > :not([data-checkout-action="back"]) {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #checkout-checkout #checkout-payment-actions #paypal_button_container {
        display: block !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    #checkout-checkout .checkout-account-type-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Keep the registered company identity fields in the exact two-column checkout design grid. */
#checkout-checkout #checkout-readonly-business:not(.d-none) {
    display: contents;
}

/* Payment submission belongs only to the final checkout step, never to the order summary. */
#checkout-checkout:not([data-current-stage="payment"]) #checkout-confirm > #checkout-payment {
    display: none;
}

#checkout-checkout .checkout-custom-calendar {
    width: 48px;
    color: var(--text-color);
    border-left: 1px solid var(--gallery);
    align-items: center;
    justify-content: center;
    display: flex;
    pointer-events: none;
    position: absolute;
    inset: 1px 1px 1px auto;
}

#checkout-checkout .form-regular__wrap:has(.checkout-custom-calendar) input {
    padding-right: 56px;
}

/* The design keeps cart and checkout product thumbnails square at every
 * breakpoint. Do not let the intrinsic height attribute stretch the image
 * after the responsive link width changes from 80px to 50px. */
.checkout-table__image picture,
.checkout-table__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Purchased vouchers use the same orange repeating leaf background as the
 * legacy voucher preview. Product thumbnails keep the design's white box. */
.checkout-table__image--voucher {
    background-color: #ffa017;
    background-image: url("data:image/jpeg;base64,/9j/4AAQSkZJRg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2eJZgAleZXmV5leZXmV5gtlo5ngvqBtbPMq8wHkp4YGTM//2Q==");
    background-position: center;
    background-repeat: repeat;
    background-size: 44px 44px;
}

/* Checkout identity choices follow the approved full-width VAT layout. */
#checkout-checkout #input-vat-payer,
#checkout-checkout #input-vat-payer > .form-regular__items {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

#checkout-checkout #input-vat-payer .form-regular__checkout {
    width: 100%;
}

#checkout-checkout .checkout-total__title__text > .icon-discount,
#checkout-checkout .checkout-total__title__text > .icon-gift {
    margin-right: 6px;
}

/* CKEditor may save fixed inline heights; preserve each article image's
 * intrinsic proportions while the design constrains its responsive width. */
.site-article-content img {
    height: auto !important;
}

/* The reusable WYSIWYG gallery owns its square crop. Keep the generic
 * article-image frame and intrinsic-height correction out of gallery items. */
.site-article-content .site-gallery__items img {
    height: 100% !important;
    border: 0;
    padding: 0;
}

/* Reserve the final third-party widget box before its asynchronous iframe
 * replaces the fallback link. This keeps the header geometry stable. */
.site-trustpilot {
    width: 120px;
    height: 50px;
    flex: 0 0 120px;
    overflow: hidden;
}

/* Label Maker SVGs can rely on viewBox alone. Give the shared no-text
 * Special offer badge its intended intrinsic size on cards and galleries. */
.products-list__label__items--special-offer svg {
    display: block;
    width: 68px;
    height: 28px;
}

/* On tablet/mobile the main navigation is moved into the closed category
 * drawer on DOMContentLoaded. Hide only its original desktop container so it
 * cannot occupy a full menu column during the first paint. */
@media (max-width: 1279px) {
    .header__nav .nav-main {
        display: none;
    }
}

/* Render the mobile hero intro in its final position from the first paint.
 * The desktop/tablet copy remains a direct Swiper/grid child. */
.slider-promo__mobile-intro {
    display: none;
}

@media (max-width: 767px) {
    .slider-promo__mobile-intro {
        display: block;
    }

    .js-slider-promo-wrapper-pos > .js-slider-promo-slide-pos {
        display: none;
    }
}
