/* Modern storefront header override. Loaded after legacy theme files. */
.ata-store-header {
    --ata-header-ink: #17212f;
    --ata-header-muted: #667085;
    --ata-header-line: #dce8ea;
    --ata-header-soft: #f5faf9;
    --ata-header-mint: #e6f6f1;
    --ata-header-radius: 8px;
    position: relative;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--ata-header-line);
    box-shadow: 0 16px 34px rgba(23, 33, 47, .08);
}

.ata-store-header,
.ata-store-header * {
    box-sizing: border-box;
}

.ata-store-header a {
    text-decoration: none;
}

.ata-store-topbar {
    background: #0f3440;
    color: #eef8f9;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ata-store-topbar__inner {
    min-height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 0;
    padding-bottom: 0;
}

.ata-store-topbar__message,
.ata-store-topbar__trust,
.ata-store-topbar__links {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 1.3;
}

.ata-store-topbar__message {
    flex: 0 0 auto;
    font-weight: 900;
    white-space: nowrap;
}

.ata-store-topbar__trust {
    flex: 1 1 auto;
    justify-content: center;
    color: rgba(238, 248, 249, .82);
    font-weight: 800;
}

.ata-store-topbar__links {
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.ata-store-topbar__trust span,
.ata-store-topbar__links a,
.ata-store-topbar__links .dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ata-store-topbar__message i,
.ata-store-topbar__trust i,
.ata-store-topbar__links i {
    color: var(--ata-shop-amber);
}

.ata-store-topbar__links a,
.ata-store-topbar__links .dropdown > a {
    color: #eef8f9;
    font-weight: 800;
}

.ata-store-mainbar {
    display: grid !important;
    grid-template-columns: minmax(320px, .95fr) minmax(420px, 1.2fr) minmax(260px, auto) !important;
    grid-template-areas: "brand search actions";
    align-items: center;
    gap: 22px;
    min-height: 118px;
    padding: 24px 15px 22px !important;
}

.ata-store-mainbar > .ata-store-logo,
.ata-store-mainbar > .ata-store-search,
.ata-store-mainbar > .ata-store-actions {
    float: none !important;
    position: static !important;
    width: auto;
}

.ata-store-logo {
    grid-area: brand;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 66px;
    max-width: 100%;
    padding: 8px 0;
}

.ata-store-logo img {
    width: auto;
    max-width: 142px;
    max-height: 62px;
    object-fit: contain;
    flex: 0 0 auto;
}

.ata-store-logo__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-left: 14px;
    border-left: 1px solid var(--ata-header-line);
}

.ata-store-logo__copy strong,
.ata-store-logo__copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ata-store-logo__copy strong {
    color: var(--ata-shop-red);
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.ata-store-logo__copy span {
    color: #536075;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
}

.ata-store-search {
    grid-area: search;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.ata-store-search__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    min-height: 56px;
    overflow: hidden;
    border: 1px solid #d6e4e7;
    border-radius: var(--ata-header-radius);
    background: #fff;
    box-shadow: 0 12px 26px rgba(15, 52, 64, .08);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ata-store-search__form:focus-within {
    border-color: rgba(200, 16, 46, .55);
    box-shadow: 0 14px 30px rgba(200, 16, 46, .12);
}

.ata-store-search__input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 0 !important;
    color: var(--ata-header-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
}

.ata-store-search__input::placeholder {
    color: #8a94a6;
}

.ata-store-search__button {
    width: 58px;
    height: 56px;
    border: 0;
    border-radius: 0 var(--ata-header-radius) var(--ata-header-radius) 0;
    background: var(--ata-shop-red);
    color: #fff;
    font-size: 18px;
}

.ata-store-search__button:hover,
.ata-store-search__button:focus {
    background: #a90d26;
    color: #fff;
}

.ata-store-search__hints {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    margin-top: 9px;
    color: var(--ata-header-muted);
    font-size: 12px;
    font-weight: 800;
}

.ata-store-search__hints a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: var(--ata-header-radius);
    background: var(--ata-header-soft);
    color: var(--ata-header-ink);
}

.ata-store-search__hints a:hover,
.ata-store-search__hints a:focus {
    background: #fff0f2;
    color: var(--ata-shop-red);
}

.ata-store-actions {
    grid-area: actions;
    justify-self: end;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ata-store-actions .header-cart,
.ata-store-actions .ata-cart-menu {
    margin-top: 0 !important;
    text-align: left !important;
}

.ata-cart-menu,
.ata-cart-menu .cart-wrapper {
    min-width: 0;
}

.ata-header-action {
    min-width: 126px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #d9e5e7;
    border-radius: var(--ata-header-radius) !important;
    background: #fff;
    color: var(--ata-header-ink);
    box-shadow: 0 10px 22px rgba(23, 33, 47, .07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.ata-header-action:hover,
.ata-header-action:focus {
    transform: translateY(-1px);
    border-color: rgba(15, 52, 64, .22);
    color: var(--ata-header-ink) !important;
    box-shadow: 0 14px 28px rgba(23, 33, 47, .1);
}

.ata-header-action--cart {
    border-color: var(--ata-shop-red);
    background: var(--ata-shop-red);
    color: #fff !important;
}

.ata-header-action--cart:hover,
.ata-header-action--cart:focus {
    border-color: #a90d26;
    background: #a90d26;
    color: #fff !important;
}

.ata-header-action__icon {
    position: relative;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ata-header-radius);
    background: var(--ata-header-mint);
    color: #07616b;
    flex: 0 0 auto;
}

.ata-header-action--cart .ata-header-action__icon {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.ata-header-action__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ata-header-action__text small,
.ata-header-action__text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ata-header-action__text small {
    color: #687589;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
}

.ata-header-action--cart .ata-header-action__text small {
    color: rgba(255, 255, 255, .78);
}

.ata-header-action__text strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.ata-cart-count {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: var(--ata-shop-red);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(23, 33, 47, .16);
}

.ata-mini-cart {
    right: 0;
    top: calc(100% + 10px);
    border-radius: var(--ata-header-radius);
    box-shadow: 0 22px 44px rgba(23, 33, 47, .18);
}

.ata-category-nav {
    background: #f4f9f8;
    border-top: 1px solid var(--ata-header-line);
    border-bottom: 1px solid var(--ata-header-line);
}

.ata-category-nav__inner {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 0;
}

.ata-category-nav__label {
    min-width: 168px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: var(--ata-header-radius);
    background: var(--ata-shop-red);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(200, 16, 46, .18);
}

.ata-category-nav__label,
.ata-category-nav__label:hover,
.ata-category-nav__label:focus {
    color: #fff !important;
    text-decoration: none !important;
}

.ata-category-nav__home:hover,
.ata-category-nav__home:focus {
    background: #a90d26;
    box-shadow: 0 12px 24px rgba(200, 16, 46, .22);
}

.ata-category-nav__label i {
    color: #fff;
}

.ata-category-nav .product-menu {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0 !important;
    border: 0;
    background: transparent;
}

.ata-category-nav .navbar-header {
    margin: 0;
}

.ata-category-nav .navbar-collapse {
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
    border: 0;
    box-shadow: none;
}

.ata-category-nav .main-menu {
    float: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ata-category-nav .main-menu > li {
    float: none;
    flex: 0 0 auto;
}

.ata-category-nav .navbar-nav > li > a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 13px;
    border-radius: var(--ata-header-radius);
    background: transparent;
    color: var(--ata-header-ink) !important;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.ata-category-nav .navbar-nav > li > a:hover,
.ata-category-nav .navbar-nav > li.open > a,
.ata-category-nav .navbar-nav > li.open > a:hover,
.ata-category-nav .navbar-nav > li.open > a:focus {
    background: #fff;
    color: var(--ata-shop-red) !important;
    box-shadow: inset 0 0 0 1px #eadbdd;
}

.ata-category-nav .dropdown-menu,
.ata-category-nav .sub-menu {
    border: 1px solid var(--ata-header-line);
    border-radius: var(--ata-header-radius);
    box-shadow: 0 18px 36px rgba(23, 33, 47, .14);
}

.ata-category-nav__quick {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ata-category-nav__quick a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--ata-header-radius);
    background: #fff;
    color: #304155;
    font-size: 12px;
    font-weight: 900;
}

.ata-category-nav__quick a:hover,
.ata-category-nav__quick a:focus {
    color: var(--ata-shop-red);
}

@media (max-width: 1199px) {
    .ata-store-mainbar {
        grid-template-columns: minmax(220px, .85fr) minmax(300px, 1.2fr) auto !important;
        gap: 16px;
    }

    .ata-store-logo img {
        max-width: 124px;
    }

    .ata-store-logo__copy strong {
        font-size: 18px;
    }

    .ata-header-action {
        min-width: 58px;
    }

    .ata-header-action__text small {
        display: none;
    }
}

@media (max-width: 991px) {
    .ata-store-topbar__inner {
        grid-template-columns: 1fr;
    }

    .ata-store-topbar__trust {
        display: none;
    }

    .ata-store-mainbar {
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas:
            "brand actions"
            "search search";
        min-height: auto;
    }

    .ata-store-search {
        max-width: none;
        justify-self: stretch;
    }

    .ata-category-nav__inner {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .ata-category-nav__label {
        min-width: 150px;
    }

    .ata-category-nav .product-menu {
        flex-basis: 100%;
        order: 3;
    }

    .ata-category-nav__quick {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .ata-store-topbar__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
        gap: 8px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .ata-store-topbar__message {
        white-space: normal;
    }

    .ata-store-topbar__links {
        justify-content: flex-start;
    }

    .ata-store-mainbar {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "brand"
            "search"
            "actions";
        gap: 12px;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .ata-store-logo {
        min-height: 52px;
    }

    .ata-store-logo img {
        max-width: 116px;
    }

    .ata-store-logo__copy,
    .ata-store-search__hints,
    .ata-header-action__text small {
        display: none;
    }

    .ata-store-search__form {
        min-height: 50px;
        grid-template-columns: minmax(0, 1fr) 50px;
    }

    .ata-store-search__input,
    .ata-store-search__button {
        height: 50px;
    }

    .ata-store-search__button {
        width: 50px;
    }

    .ata-store-actions {
        justify-self: stretch;
        width: 100%;
        justify-content: stretch;
        flex-direction: row;
    }

    .ata-header-action,
    .ata-cart-menu,
    .ata-cart-trigger {
        flex: 1 1 0;
        min-width: 0;
    }

    .ata-store-actions .cart-wrapper,
    .ata-store-actions .ata-header-action {
        width: 100%;
    }

    .ata-header-action {
        justify-content: center;
        min-height: 48px;
        padding: 8px 10px;
    }

    .ata-category-nav__inner {
        display: block;
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .ata-header-action__text strong {
        font-size: 12px;
    }

    .ata-category-nav__label {
        display: none;
    }

    .ata-category-nav .navbar-toggle {
        width: 100%;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin: 0;
        border: 0;
        border-radius: var(--ata-header-radius);
        background: var(--ata-shop-red);
        color: #fff;
        font-weight: 900;
    }

    .ata-category-nav .navbar-toggle .icon-bar {
        display: none;
    }

    .ata-category-nav .navbar-toggle::before {
        content: "\f0c9";
        font-family: FontAwesome;
        font-weight: normal;
    }

    .ata-category-nav .navbar-toggle::after {
        content: "Kategoriler";
    }

    .ata-category-nav .main-menu {
        display: block;
        overflow: visible;
        background: #fff;
        border-radius: var(--ata-header-radius);
        padding: 8px;
        margin-top: 8px;
    }

    .ata-category-nav .navbar-nav > li > a {
        width: 100%;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .ata-category-nav__quick {
        display: none;
    }
}

/* Footer service strip alignment fix. */
.ata-footer-service {
    background: #f4f9f8;
    border-top: 1px solid var(--ata-header-line);
    border-bottom: 1px solid var(--ata-header-line);
}

.ata-footer-service__inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px;
    align-items: stretch;
    padding-top: 16px;
    padding-bottom: 16px;
}

.ata-footer-service__item {
    min-width: 0;
    min-height: 92px;
    height: 100%;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid #dce8ea;
    border-radius: var(--ata-header-radius);
    background: #fff;
    box-shadow: 0 10px 22px rgba(23, 33, 47, .06);
}

.ata-footer-service__item > i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ata-header-radius);
    background: var(--ata-shop-red);
    color: #fff;
    font-size: 18px;
}

.ata-footer-service__item > span {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    line-height: 1.35;
}

.ata-footer-service__item strong,
.ata-footer-service__item small {
    display: block;
    margin: 0;
    letter-spacing: 0;
}

.ata-footer-service__item strong {
    color: var(--ata-header-ink);
    font-size: 15px;
    font-weight: 900;
}

.ata-footer-service__item small {
    color: var(--ata-header-muted);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ata-footer-service__inner {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .ata-footer-service__item {
        min-height: 76px;
    }
}

@media (max-width: 767px) {
    .ata-footer-service__inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .ata-footer-service__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        min-height: 72px;
        padding: 14px;
    }

    .ata-footer-service__item > i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .ata-footer-service__item strong {
        font-size: 14px;
    }

    .ata-footer-service__item small {
        font-size: 12px;
    }
}

/* Readability pass for storefront text. */
.ata-storefront {
    color: #17212f;
    font-size: 15px;
}

.ata-hero-slider__panel {
    max-width: 620px;
}

.ata-hero-slider__panel h1 {
    margin: 10px 0 14px !important;
    color: #fff !important;
    font-size: 46px !important;
    line-height: 1.12 !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.ata-hero-slider__panel p {
    max-width: 560px;
    margin: 0 0 18px !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.ata-book-card__category,
.ata-book-card__badge {
    font-size: 12px !important;
}

.ata-book-card__title,
.ata-book-card__title a {
    color: #111827 !important;
    font-size: 17px !important;
    line-height: 1.42 !important;
    font-weight: 900 !important;
}

.ata-book-card__price {
    font-size: 21px !important;
    line-height: 1.2;
}

.ata-book-card__footer .ata-action-btn {
    min-height: 42px;
    font-size: 13px;
    font-weight: 900;
}

.ata-home-note__item h2,
.ata-home-note__item h3 {
    font-size: 18px !important;
}

.ata-home-note__item p {
    color: #344054 !important;
    font-size: 15px;
    line-height: 1.5;
}

/* Keep the home note cards aligned as one polished row. */
.ata-home-note {
    margin: 0 0 36px;
}

.ata-home-note__inner {
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    clear: both;
}

.ata-home-note__item {
    float: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    order: initial !important;
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 0;
    min-height: 118px;
    height: 100%;
    align-items: center;
    padding: 18px 20px;
    border-color: #d8e5e8;
    box-shadow: 0 14px 30px rgba(23, 33, 47, .09);
}

.ata-home-note__item > div {
    min-width: 0;
}

.ata-home-note__icon {
    width: 46px;
    height: 46px;
    box-shadow: 0 10px 20px rgba(23, 33, 47, .12);
}

.ata-home-note__item h2,
.ata-home-note__item h3 {
    margin-bottom: 5px;
    font-size: 17px !important;
    line-height: 1.25;
}

.ata-home-note__item p {
    max-width: 34em;
    font-size: 14px;
    line-height: 1.45;
}

@media (min-width: 768px) and (max-width: 991px) {
    .ata-home-note__inner {
        gap: 10px;
    }

    .ata-home-note__item {
        gap: 10px;
        min-height: 126px;
        padding: 14px 12px;
    }

    .ata-home-note__icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .ata-home-note__item h2,
    .ata-home-note__item h3 {
        font-size: 15px !important;
    }

    .ata-home-note__item p {
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .ata-home-note {
        overflow: hidden;
    }

    .ata-home-note__inner {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .ata-home-note__item {
        flex: 0 0 min(84vw, 320px);
        scroll-snap-align: start;
    }
}

.ata-footer-service__item {
    border-color: #cfdde2;
    box-shadow: 0 12px 28px rgba(23, 33, 47, .1);
}

.ata-footer-service__item > span {
    color: #344054 !important;
}

.ata-footer-service__item strong {
    color: #111827 !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.ata-footer-service__item small {
    color: #344054 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 800 !important;
}

.ata-store-footer__top {
    color: #edf7f8;
}

.ata-store-footer p,
.ata-store-footer li,
.ata-store-footer span,
.ata-store-footer a {
    font-size: 14px;
    line-height: 1.55;
}

.ata-store-footer h3,
.ata-store-footer__logo strong {
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.25;
}

.ata-store-footer__brand p {
    color: #e4eff1 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

@media (max-width: 767px) {
    #main-slider.ata-hero-slider {
        background: #111827 !important;
    }

    #main-slider.ata-hero-slider::after {
        display: none !important;
    }

    #main-slider.ata-hero-slider .carousel-inner > .item img {
        min-height: 340px !important;
        max-height: 370px !important;
    }

    .ata-hero-slider__caption {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        display: block !important;
        padding: 18px 0 90px !important;
        background: linear-gradient(180deg, rgba(17, 24, 39, .96) 0%, rgba(17, 24, 39, .78) 58%, rgba(17, 24, 39, 0) 100%) !important;
        pointer-events: auto !important;
        z-index: 7 !important;
    }

    .ata-hero-slider__panel {
        max-width: none;
        padding: 0 15px !important;
        text-shadow: none;
    }

    .ata-hero-slider__panel h1 {
        margin: 8px 0 10px !important;
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    .ata-hero-slider__panel p {
        max-width: 340px;
        margin-bottom: 14px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .ata-book-card__title,
    .ata-book-card__title a {
        font-size: 16px !important;
    }

    .ata-footer-service__item strong {
        font-size: 16px !important;
    }

    .ata-footer-service__item small {
        font-size: 14px !important;
    }
}

/* Category dropdowns must open over the page, not inside the nav scroller. */
@media (min-width: 768px) {
    .ata-store-header,
    .ata-category-nav,
    .ata-category-nav__inner,
    .ata-category-nav .product-menu,
    .ata-category-nav .navbar-collapse,
    .ata-category-nav .main-menu,
    .ata-category-nav .main-menu > li {
        overflow: visible !important;
    }

    .ata-category-nav {
        position: relative;
        z-index: 80;
    }

    .ata-category-nav .main-menu {
        flex-wrap: wrap;
        scrollbar-width: auto;
    }

    .ata-category-nav .main-menu > li {
        position: relative;
    }

    .ata-category-nav .dropdown-menu,
    .ata-category-nav .sub-menu {
        min-width: 230px;
        padding: 8px;
        background: #fff;
        border: 1px solid #dce8ea;
        border-radius: var(--ata-header-radius);
        box-shadow: 0 18px 36px rgba(23, 33, 47, .16);
        z-index: 9999;
    }

    .ata-category-nav .dropdown-menu {
        top: 100%;
        left: 0;
    }

    .ata-category-nav .main-menu > .dropdown:hover > .dropdown-menu,
    .ata-category-nav .main-menu > .dropdown.open > .dropdown-menu,
    .ata-category-nav .dropdown-submenu:hover > .sub-menu {
        display: block !important;
    }

    .ata-category-nav .dropdown-submenu {
        position: relative;
    }

    .ata-category-nav .dropdown-submenu > .sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }

    .ata-category-nav .dropdown-menu > li > a,
    .ata-category-nav .sub-menu > li > a {
        min-height: 36px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        border-radius: 6px;
        color: #17212f !important;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .ata-category-nav .dropdown-menu > li > a:hover,
    .ata-category-nav .sub-menu > li > a:hover {
        background: #fff0f2;
        color: var(--ata-shop-red) !important;
        text-decoration: none;
    }
}

/* Final footer redesign. */
.ata-store-footer {
    position: relative;
    margin-top: 56px !important;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(200, 16, 46, .24) 0%, rgba(200, 16, 46, 0) 34%),
        linear-gradient(135deg, #071c24 0%, #0f3d43 48%, #16243a 100%) !important;
    color: #edf8f8 !important;
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ata-footer-service {
    margin: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(244, 250, 249, .94) 55%, rgba(255, 241, 244, .92) 100%) !important;
    border: 0 !important;
}

.ata-footer-service__inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch;
    padding: 18px 15px !important;
}

.ata-footer-service__item {
    float: none !important;
    width: auto !important;
    min-width: 0;
    min-height: 88px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(15, 52, 64, .11) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .78) !important;
    box-shadow: 0 14px 28px rgba(23, 33, 47, .08) !important;
}

.ata-footer-service__item > i {
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #c8102e 0%, #f59e0b 100%) !important;
    color: #fff !important;
    font-size: 18px !important;
}

.ata-footer-service__item > span {
    min-width: 0;
}

.ata-footer-service__item strong {
    color: #132532 !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
}

.ata-footer-service__item small {
    color: #536475 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
}

.ata-store-footer__top {
    width: 100%;
    display: grid !important;
    grid-template-columns: minmax(280px, 1.25fr) minmax(150px, .75fr) minmax(160px, .8fr) minmax(290px, 1.15fr) !important;
    gap: 34px !important;
    align-items: start !important;
    padding: 50px 15px 38px !important;
}

.ata-store-footer__top::before,
.ata-store-footer__top::after,
.ata-store-footer__bottom::before,
.ata-store-footer__bottom::after {
    content: none !important;
    display: none !important;
}

.ata-store-footer__top > section {
    float: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
    order: initial !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.ata-store-footer__top > section:nth-of-type(1) {
    grid-column: 1 !important;
}

.ata-store-footer__top > section:nth-of-type(2) {
    grid-column: 2 !important;
}

.ata-store-footer__top > section:nth-of-type(3) {
    grid-column: 3 !important;
}

.ata-store-footer__top > section:nth-of-type(4) {
    grid-column: 4 !important;
}

.ata-store-footer__brand {
    max-width: 390px;
}

.ata-store-footer__logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 0 18px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

.ata-store-footer__logo img {
    flex: 0 0 auto;
    width: auto !important;
    max-width: 128px !important;
    max-height: 56px !important;
    margin: 0 !important;
}

.ata-store-footer__logo span {
    min-width: 0;
    display: flex !important;
    flex-direction: column;
    gap: 2px;
}

.ata-store-footer h3,
.ata-store-footer__logo strong {
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
}

.ata-store-footer__logo small {
    color: #bde7e4 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}

.ata-store-footer h3 {
    position: relative;
    margin: 0 0 18px !important;
    padding-bottom: 11px !important;
}

.ata-store-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b 0%, #c8102e 100%) !important;
}

.ata-store-footer p,
.ata-store-footer li,
.ata-store-footer span,
.ata-store-footer a {
    color: rgba(237, 248, 248, .9) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

.ata-store-footer__brand p {
    max-width: 360px;
    margin: 0 !important;
    color: rgba(237, 248, 248, .86) !important;
    font-weight: 700;
}

.ata-store-footer ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ata-store-footer li {
    margin: 0 0 10px !important;
}

.ata-store-footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 900 !important;
    text-decoration: none !important;
    transition: color .18s ease, transform .18s ease;
}

.ata-store-footer a i,
.ata-store-footer__contact > li > i,
.ata-store-footer__badges i {
    color: #fbbf24 !important;
}

.ata-store-footer a:hover,
.ata-store-footer a:focus {
    color: #fff !important;
    transform: translateX(2px);
}

.ata-store-footer__contact {
    display: grid;
    gap: 10px;
    margin: 0 0 18px !important;
}

.ata-store-footer__contact li {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.ata-store-footer__contact > li > i {
    margin-top: 4px;
}

.ata-store-footer__social {
    display: flex !important;
    flex-wrap: wrap;
    gap: 9px !important;
    margin-top: 18px !important;
}

.ata-store-footer__social a {
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .08) !important;
}

.ata-store-footer__social a i {
    margin: 0 !important;
    color: #fff !important;
}

.ata-store-footer__social a:hover,
.ata-store-footer__social a:focus {
    background: linear-gradient(135deg, #c8102e 0%, #f59e0b 100%) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}

.ata-store-footer__bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 18px 15px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, .13) !important;
}

.ata-store-footer__badges {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap;
    gap: 14px !important;
}

@media (max-width: 1199px) {
    .ata-store-footer__top {
        grid-template-columns: minmax(260px, 1.2fr) minmax(130px, .7fr) minmax(140px, .75fr) minmax(250px, 1.05fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 991px) {
    .ata-footer-service__inner,
    .ata-store-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .ata-store-footer__top > section:nth-of-type(1),
    .ata-store-footer__top > section:nth-of-type(2),
    .ata-store-footer__top > section:nth-of-type(3),
    .ata-store-footer__top > section:nth-of-type(4) {
        grid-column: auto !important;
    }

    .ata-store-footer__brand {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .ata-footer-service__inner,
    .ata-store-footer__top {
        grid-template-columns: 1fr !important;
    }

    .ata-store-footer__top {
        padding-top: 34px !important;
        padding-bottom: 26px !important;
    }

    .ata-store-footer__logo {
        width: 100%;
    }

    .ata-store-footer__bottom,
    .ata-store-footer__badges {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        flex-direction: column !important;
    }
}

/* Product detail anti-overlap fix. */
.ata-product-detail {
    display: grid !important;
    grid-template-columns: minmax(320px, 460px) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 34px !important;
    overflow: visible;
}

.ata-product-gallery,
.ata-product-info {
    min-width: 0;
    position: relative;
}

.ata-product-info {
    display: block !important;
    z-index: 1;
}

.ata-product-info h1 {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    max-width: 100%;
    margin: 12px 0 16px !important;
    color: #17212f !important;
    font-size: clamp(26px, 2.8vw, 34px) !important;
    line-height: 1.16 !important;
    font-weight: 900 !important;
    overflow-wrap: anywhere;
}

.ata-product-description {
    position: relative;
    clear: both;
    z-index: 1;
}

@media (max-width: 991px) {
    .ata-product-detail {
        grid-template-columns: 1fr !important;
    }
}
