/*
 * Altay Store V19.5.3
 * Final responsive authority layer.
 */

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body.altay-production-store {
    min-width: 0;
    overflow-x: hidden;
}

body.altay-production-store *,
body.altay-production-store *::before,
body.altay-production-store *::after {
    box-sizing: border-box;
}

body.altay-production-store img,
body.altay-production-store video,
body.altay-production-store iframe {
    max-width: 100%;
}

body.altay-production-store input,
body.altay-production-store select,
body.altay-production-store textarea,
body.altay-production-store button {
    max-width: 100%;
}

.altay-loop-icons,
.altay-product-actions,
.altay-card-actions {
    gap: 10px !important;
}

.altay-loop-icons > *,
.altay-product-actions > *,
.altay-card-actions > * {
    flex: 0 0 auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .altay-clean-loop-card:hover .altay-loop-icons {
        transform: translateX(-50%) translateY(0) !important;
    }
}

@media (hover: none), (pointer: coarse) {
    .altay-clean-loop-card,
    .altay-clean-loop-card *,
    .altay-loop-icons,
    .altay-loop-icons * {
        transform: none !important;
    }
}

/* Tablet: preserve a real tablet layout instead of switching to phone early. */
@media (min-width: 768px) and (max-width: 1023px) {
    .altay-clean-main__inner {
        display: grid !important;
        grid-template-columns: minmax(180px, 240px) minmax(260px, 1fr) auto !important;
        align-items: center !important;
        gap: 18px !important;
        padding: 18px 24px !important;
    }

    .altay-header-logo {
        width: auto !important;
        max-width: 240px !important;
    }

    .altay-header-logo img {
        width: 100% !important;
        height: auto !important;
        max-height: 82px !important;
        object-fit: contain !important;
    }

    .altay-clean-search {
        width: 100% !important;
        min-width: 0 !important;
    }

    .altay-clean-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }

    .altay-clean-nav {
        display: block !important;
    }

    .altay-clean-menu-button,
    .altay-clean-mobile {
        display: none !important;
    }

    .altay-catalog-v111__layout {
        grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .altay-catalog-v111__products,
    .altay-catalog-v111__products ul.products,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .altay-checkout-shell,
    .altay-checkout-shell--payment-under-address {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr) !important;
        gap: 24px !important;
    }

    .altay-account-layout {
        grid-template-columns: 240px minmax(0, 1fr) !important;
    }
}

@media (max-width: 767px) {
    html,
    body.altay-production-store {
        width: 100%;
        max-width: 100%;
    }

    body.altay-production-store {
        font-size: 16px;
    }

    body.altay-production-store .site-shell,
    body.altay-production-store .altay-clean-header,
    body.altay-production-store .altay-clean-top,
    body.altay-production-store .altay-clean-main {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.altay-production-store .altay-clean-top {
        margin-bottom: 0 !important;
    }

    body.altay-production-store .home-row-section,
    body.altay-production-store .product-showcase-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.admin-bar.altay-production-store {
        padding-top: 0 !important;
    }

    body.altay-production-store #wpadminbar {
        position: absolute;
    }

    /* Header */
    .altay-clean-header,
    .altay-clean-top,
    .altay-clean-main,
    .altay-clean-nav-wrap {
        width: 100% !important;
        min-width: 0 !important;
    }

    .altay-clean-top {
        min-height: 42px !important;
        padding: 9px 14px !important;
    }

    .altay-clean-top__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .altay-clean-top__promo {
        min-width: 0 !important;
        overflow: hidden !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    .altay-clean-top__lang {
        min-width: 34px !important;
        padding: 6px 8px !important;
        font-size: 0 !important;
        border: 1px solid rgba(255, 255, 255, .24) !important;
        border-radius: 8px !important;
    }

    .altay-clean-top__lang::after {
        content: "EN";
        font-size: 11px;
        font-weight: 800;
    }

    .altay-clean-main__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "logo actions"
            "search search" !important;
        align-items: center !important;
        gap: 14px 10px !important;
        width: 100% !important;
        max-width: none !important;
        padding: 15px 14px !important;
    }

    .altay-header-logo {
        grid-area: logo !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 205px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .altay-header-logo img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 70px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    .altay-clean-actions {
        grid-area: actions !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 5px !important;
        min-width: 0 !important;
    }

    .altay-store-panel-button {
        display: none !important;
    }

    .altay-clean-icon,
    .altay-clean-menu-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .altay-clean-icon svg,
    .altay-clean-menu-button svg {
        width: 20px !important;
        height: 20px !important;
    }

    .altay-clean-search {
        grid-area: search !important;
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 54px !important;
        margin: 0 !important;
        border-radius: 12px !important;
    }

    .altay-clean-search input {
        min-width: 0 !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 52px 0 16px !important;
        font-size: 16px !important;
    }

    .altay-clean-search button {
        position: absolute !important;
        right: 4px !important;
        top: 50% !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
    }

    .altay-clean-nav {
        display: none !important;
    }

    .altay-clean-mobile.is-open,
    .altay-clean-mobile[aria-hidden="false"] {
        display: block !important;
        width: 100% !important;
        max-height: calc(100vh - 130px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    /* Shared page width */
    .site-main,
    .entry-content,
    .woocommerce,
    .altay-catalog-v111,
    .altay-catalog-v111__container,
    .altay-contact-page,
    .altay-account-shell,
    .altay-v1947-store-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .altay-catalog-v111__container,
    .altay-contact-page,
    .altay-account-shell,
    .altay-v1947-store-panel {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Catalog */
    .altay-catalog-v111__shell {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .altay-catalog-v111__topbar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: stretch !important;
        gap: 14px !important;
        margin: 0 0 22px !important;
        padding: 18px 0 !important;
    }

    .altay-catalog-v111__breadcrumb {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .altay-catalog-v111__sort,
    .altay-catalog-v111__sort select,
    .woocommerce-ordering,
    .woocommerce-ordering select {
        width: 100% !important;
        max-width: none !important;
    }

    .altay-catalog-v111__hero {
        display: block !important;
        margin-bottom: 22px !important;
    }

    .altay-catalog-v111__hero h1,
    .woocommerce-products-header__title {
        font-size: clamp(34px, 11vw, 48px) !important;
        line-height: 1.02 !important;
        overflow-wrap: anywhere !important;
    }

    .altay-catalog-v111__layout {
        display: block !important;
        width: 100% !important;
    }

    .altay-catalog-v111__sidebar,
    .altay-catalog-v111__filters {
        display: none !important;
    }

    .altay-production-filter-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 54px !important;
        margin: 0 0 18px !important;
        padding: 12px 18px !important;
        border-radius: 10px !important;
    }

    .altay-catalog-v111__products,
    .altay-catalog-v111__products ul.products,
    .woocommerce ul.products,
    .altay-home-products,
    .altay-related-products,
    .altay-favorites-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .woocommerce ul.products::before,
    .woocommerce ul.products::after {
        display: none !important;
    }

    .woocommerce ul.products li.product,
    .altay-clean-loop-card,
    .altay-unified-product-card {
        float: none !important;
        clear: none !important;
        width: 100% !important;
        max-width: 440px !important;
        min-width: 0 !important;
        margin: 0 auto !important;
    }

    .altay-loop-inner {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .altay-loop-media,
    .altay-loop-media-link {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .altay-loop-media img,
    .altay-loop-media-link img,
    .woocommerce ul.products li.product a img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .altay-loop-icons {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        bottom: 14px !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) !important;
    }

    .altay-loop-icons a,
    .altay-loop-icons button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 10px !important;
        transform: none !important;
    }

    .altay-loop-body {
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        min-height: 150px !important;
        padding: 16px !important;
    }

    .altay-loop-title {
        display: -webkit-box !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    .altay-loop-price {
        margin-top: auto !important;
        padding-top: 12px !important;
        font-size: 21px !important;
    }

    /* Filter drawer */
    .altay-production-filter-drawer,
    .altay-filter-drawer {
        width: min(92vw, 390px) !important;
        max-width: 92vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
    }

    .altay-filter-colors {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .altay-filter-sizes {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Quick product modal */
    .altay-quick-cart-modal,
    .altay-v67-modal {
        padding: 8px !important;
        overflow-y: auto !important;
    }

    .altay-quick-cart-dialog,
    .altay-v67-modal__dialog {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: calc(100vw - 16px) !important;
        max-width: 560px !important;
        max-height: calc(100dvh - 16px) !important;
        margin: 0 auto !important;
        padding: 52px 14px 18px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 14px !important;
    }

    .altay-quick-cart-close {
        top: 10px !important;
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
        z-index: 20 !important;
    }

    .altay-quick-cart-fav {
        top: 12px !important;
        right: 62px !important;
        width: 42px !important;
        height: 42px !important;
        z-index: 19 !important;
    }

    .altay-quick-cart-media {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .altay-quick-cart-main {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        max-height: 54dvh !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    .altay-quick-cart-main img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .altay-quick-cart-thumbs {
        order: 2 !important;
        display: flex !important;
        width: 100% !important;
        gap: 8px !important;
        overflow-x: auto !important;
        scrollbar-width: thin !important;
    }

    .altay-quick-cart-thumbs button {
        flex: 0 0 66px !important;
        width: 66px !important;
        height: 82px !important;
    }

    .altay-quick-cart-info {
        min-width: 0 !important;
        width: 100% !important;
        padding: 4px 0 0 !important;
    }

    .altay-quick-cart-info h2,
    .altay-quick-cart-title {
        margin: 0 0 12px !important;
        padding-right: 0 !important;
        font-size: clamp(28px, 9vw, 38px) !important;
        line-height: 1.04 !important;
        overflow-wrap: anywhere !important;
    }

    .altay-quick-cart-sizes {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .altay-quick-cart-sizes button,
    .altay-quick-cart-size {
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        padding: 0 4px !important;
        font-size: 14px !important;
    }

    .altay-quick-cart-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .altay-quick-cart-actions > * {
        width: 100% !important;
        min-height: 52px !important;
    }

    /* Single product */
    .single-product div.product,
    .single-product .product,
    .altay-product-shell,
    .altay-product-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .single-product .woocommerce-product-gallery,
    .single-product .summary,
    .altay-product-gallery,
    .altay-product-summary {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .single-product .woocommerce-product-gallery__wrapper,
    .altay-product-main-image {
        width: 100% !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

    .single-product .woocommerce-product-gallery__image img,
    .altay-product-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .single-product .product_title,
    .altay-product-summary h1 {
        font-size: clamp(32px, 10vw, 44px) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
    }

    .single-product .variations,
    .single-product .variations tbody,
    .single-product .variations tr,
    .single-product .variations th,
    .single-product .variations td {
        display: block !important;
        width: 100% !important;
    }

    .altay-product-size-grid,
    .single-product .altay-size-options {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    /* Cart and drawer */
    .altay-cart-drawer__panel,
    .altay-v76-cart-drawer__panel {
        width: min(94vw, 420px) !important;
        max-width: 94vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
    }

    .altay-cart-drawer__item,
    .altay-v76-cart-drawer__item {
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .woocommerce-cart-form,
    .cart_totals,
    .altay-cart-shell,
    .altay-cart-lines {
        width: 100% !important;
        min-width: 0 !important;
    }

    .woocommerce-cart-form table,
    .woocommerce-cart-form tbody,
    .woocommerce-cart-form tr,
    .woocommerce-cart-form td {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-cart-form tr.cart_item {
        position: relative !important;
        margin-bottom: 16px !important;
        padding: 16px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
    }

    .woocommerce-cart-form td {
        padding: 7px 0 !important;
        border: 0 !important;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 110px !important;
        height: 135px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .woocommerce-cart-form .actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .woocommerce-cart-form .coupon {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Checkout */
    .altay-checkout-rebuild {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
    }

    .altay-checkout-shell,
    .altay-checkout-shell--payment-under-address {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 18px !important;
        width: 100% !important;
    }

    .altay-checkout-main,
    .altay-checkout-sidebar,
    .altay-checkout-card,
    .altay-checkout-review,
    .altay-checkout-cart-card {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .altay-checkout-card {
        padding: 0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    .altay-checkout-card-head,
    .altay-checkout-card-head--split {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 18px !important;
    }

    .altay-checkout-card-head h2,
    .altay-checkout-card-head h3 {
        font-size: 27px !important;
        line-height: 1.1 !important;
    }

    .altay-checkout-fields,
    .altay-checkout-fieldset {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 18px !important;
    }

    .altay-checkout-fields .form-row,
    .altay-checkout-fieldset .form-row,
    .woocommerce-billing-fields__field-wrapper .form-row {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .altay-checkout-fields input,
    .altay-checkout-fields select,
    .altay-checkout-fields textarea,
    .altay-checkout-fieldset input,
    .altay-checkout-fieldset select,
    .altay-checkout-fieldset textarea {
        width: 100% !important;
        min-height: 52px !important;
    }

    .altay-checkout-address-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 0 18px 18px !important;
    }

    .altay-checkout-item {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 14px !important;
    }

    .altay-checkout-item img {
        width: 82px !important;
        height: 104px !important;
        object-fit: cover !important;
    }

    /* Account */
    .woocommerce-account .woocommerce,
    .woocommerce-MyAccount,
    .altay-account-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content,
    .altay-account-sidebar,
    .altay-account-panel {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .altay-account-panel,
    .altay-account-panel-tracking {
        padding: 18px !important;
        border-radius: 12px !important;
    }

    .altay-track-timeline,
    .altay-track-card__steps {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .altay-track-card {
        min-width: 0 !important;
        padding: 16px !important;
    }

    /* Contact */
    .altay-contact-hero,
    .altay-contact-grid,
    .altay-contact-form-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .altay-contact-copy,
    .altay-contact-card,
    .altay-contact-form-head {
        width: 100% !important;
        min-width: 0 !important;
        padding: 20px !important;
        overflow: hidden !important;
    }

    .altay-contact-copy h1,
    .altay-contact-form-head h2 {
        font-size: clamp(34px, 11vw, 46px) !important;
        line-height: 1.04 !important;
    }

    .altay-contact-quick,
    .altay-contact-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .altay-contact-chip,
    .altay-contact-btn {
        width: 100% !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    /* Store panel */
    .altay-v1947-store-panel {
        padding: 14px !important;
    }

    .altay-v1947-store-panel__tabs,
    .altay-store-panel-tabs {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding-bottom: 6px !important;
        scrollbar-width: thin !important;
    }

    .altay-v1947-store-panel__tabs a,
    .altay-store-panel-tabs a {
        flex: 0 0 auto !important;
        min-height: 44px !important;
        white-space: nowrap !important;
    }

    .altay-store-panel-grid,
    .altay-stock-grid,
    .altay-order-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .altay-store-panel-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    /* Footer */
    .altay-premium-footer {
        overflow: hidden !important;
    }

    .altay-footer-wrap {
        padding: 36px 18px 22px !important;
    }

    .altay-footer-crest-divider img {
        width: min(190px, 58vw) !important;
        height: auto !important;
    }

    .altay-footer-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
    }

    .altay-footer-socials {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .altay-footer-socials a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        font-size: 0 !important;
        border-radius: 50% !important;
    }

    .altay-footer-socials a svg {
        width: 20px !important;
        height: 20px !important;
    }

    /* V19.5.4 mobile header, footer and compact two-column catalog. */
    body.altay-production-store .altay-clean-top {
        width: 100% !important;
        overflow: hidden !important;
    }

    body.altay-production-store .altay-clean-top__inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.altay-production-store .altay-clean-top__promo {
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    body.altay-production-store .altay-clean-main__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "logo actions"
            "search search" !important;
        gap: 12px 8px !important;
        padding: 12px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    body.altay-production-store .altay-clean-brand,
    body.altay-production-store .altay-header-logo {
        grid-area: logo !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 178px !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.altay-production-store .altay-clean-brand__logo,
    body.altay-production-store .altay-clean-brand__divider {
        display: none !important;
    }

    body.altay-production-store .altay-clean-brand__mark,
    body.altay-production-store .altay-header-logo a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    body.altay-production-store .altay-clean-brand__mark img,
    body.altay-production-store .altay-header-logo img {
        display: block !important;
        width: 100% !important;
        max-width: 178px !important;
        max-height: 54px !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: left center !important;
    }

    body.altay-production-store .altay-clean-actions {
        grid-area: actions !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        min-width: 0 !important;
        width: auto !important;
    }

    body.altay-production-store .altay-store-panel-button {
        display: none !important;
    }

    body.altay-production-store .altay-clean-icon--wishlist,
    body.altay-production-store .altay-account-menu,
    body.altay-production-store .altay-clean-icon--account,
    body.altay-production-store .altay-clean-icon--cart,
    body.altay-production-store .altay-clean-menu-button {
        display: inline-flex !important;
    }

    body.altay-production-store .altay-clean-icon,
    body.altay-production-store .altay-clean-menu-button {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        flex: 0 0 40px !important;
    }

    body.altay-production-store .altay-clean-search {
        grid-area: search !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    body.altay-production-store .altay-catalog-v111__products,
    body.altay-production-store .altay-catalog-v111__products ul.products,
    body.altay-production-store .woocommerce ul.products,
    body.altay-production-store .altay-home-products,
    body.altay-production-store .altay-related-products,
    body.altay-production-store .altay-favorites-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.altay-production-store .woocommerce ul.products li.product,
    body.altay-production-store .altay-clean-loop-card,
    body.altay-production-store .altay-unified-product-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body.altay-production-store .altay-loop-media {
        border-radius: 14px !important;
    }

    body.altay-production-store .altay-loop-icons {
        gap: 7px !important;
        bottom: 10px !important;
        left: 50% !important;
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        transform: translateX(-50%) !important;
    }

    body.altay-production-store .altay-loop-icons a,
    body.altay-production-store .altay-loop-icons button {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        border-radius: 11px !important;
    }

    body.altay-production-store .altay-loop-icons svg,
    body.altay-production-store .altay-loop-icons img {
        width: 16px !important;
        height: 16px !important;
    }

    body.altay-production-store .altay-loop-body {
        padding: 11px 10px 13px !important;
        min-height: 118px !important;
    }

    body.altay-production-store .altay-loop-category {
        font-size: 9px !important;
        line-height: 1.2 !important;
        letter-spacing: .08em !important;
    }

    body.altay-production-store .altay-loop-title {
        font-size: 13.5px !important;
        line-height: 1.22 !important;
        min-height: 38px !important;
        -webkit-line-clamp: 2 !important;
    }

    body.altay-production-store .altay-loop-price {
        font-size: 16.5px !important;
        line-height: 1.15 !important;
    }

    body.altay-production-store .altay-loop-price del {
        font-size: 12px !important;
        margin-right: 4px !important;
    }

    body.altay-production-store .altay-premium-footer {
        overflow: visible !important;
    }

    body.altay-production-store .altay-footer-crest-divider {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto 18px !important;
        padding: 0 16px !important;
        overflow: visible !important;
    }

    body.altay-production-store .altay-footer-crest-divider img {
        display: block !important;
        width: min(260px, 78vw) !important;
        max-width: 100% !important;
        max-height: 84px !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        filter: invert(1) grayscale(1) brightness(2) !important;
    }

    body.altay-production-store .altay-footer-socials {
        justify-content: flex-start !important;
    }

    body.altay-production-store .altay-footer-socials a {
        color: #fff !important;
        background: rgba(255,255,255,.06) !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        font-size: 0 !important;
    }

    body.altay-production-store .altay-footer-socials a svg {
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        stroke: currentColor !important;
        fill: none !important;
        stroke-width: 1.9 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    /* Live editor remains usable on a phone. */
    body.altay-live-editor-active {
        overflow: auto !important;
    }

    .altay-live-editor,
    .altay-live-editor-panel {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

@media (max-width: 389px) {
    .altay-header-logo {
        max-width: 174px !important;
    }

    .altay-clean-icon,
    .altay-clean-menu-button {
        width: 39px !important;
        min-width: 39px !important;
        height: 39px !important;
        min-height: 39px !important;
    }

    .altay-loop-icons a,
    .altay-loop-icons button {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }

    .altay-quick-cart-sizes,
    .altay-product-size-grid,
    .single-product .altay-size-options {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .altay-store-panel-stats {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.altay-production-store .altay-clean-brand,
    body.altay-production-store .altay-header-logo {
        max-width: 148px !important;
    }

    body.altay-production-store .altay-clean-brand__mark img,
    body.altay-production-store .altay-header-logo img {
        max-width: 148px !important;
        max-height: 46px !important;
    }

    body.altay-production-store .altay-clean-icon,
    body.altay-production-store .altay-clean-menu-button {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        flex-basis: 38px !important;
    }

    body.altay-production-store .altay-clean-actions {
        gap: 5px !important;
    }

    body.altay-production-store .altay-loop-icons {
        gap: 6px !important;
    }

    body.altay-production-store .altay-loop-icons a,
    body.altay-production-store .altay-loop-icons button {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }

    body.altay-production-store .altay-loop-title {
        font-size: 13px !important;
    }

    body.altay-production-store .altay-loop-price {
        font-size: 15.5px !important;
    }
}
