/* Page-specific visual refinements. Keep these scoped so shared pages stay unchanged. */
.site-header{
    background: #fff;
}

.site{
    background: #eff1f3;
}

.topbar{
    border-bottom: 1px solid #ddd;
}

.site-header__phone{
    box-shadow: 0px 4px 14px rgba(0,0,0,0.14);
}

.checkout-page {
    background: #f7f8fa;
}

.cart-page {
    background: #f7f8fa;
}

.cart-page .page-header {
    padding-bottom: 12px;
}

.cart-page .page-header__title {
    margin-top: 18px;
}

.cart-page .page-header__title .row {
    display: flex;
    gap: 10px;
}

.cart-page .page-header__title [class*="col-"] {
    flex: 1;
    max-width: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.cart-page .korpafont-on {
    color: #fff;
    background: #1769aa;
    border: 0;
    box-shadow: 0 4px 12px rgba(23, 105, 170, .16);
}

.cart-page .korpafont-of {
    color: #687385;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
    border: 0;
}

.cart-page .cart-steps {
    row-gap: 10px;
}

.cart-page .cart-step {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 600;
    text-align: center;
}

.cart-page .cart-step i {
    flex: 0 0 auto;
    color: #1769aa;
    font-size: 16px;
}

.cart-page .cart-step.korpafont-on i {
    color: #fff;
}

.cart-page .cart-shipping {
    margin: 24px 0 16px;
}

.cart-page .cart.block {
    padding: 20px 0 64px;
}

.cart-page .cart-table-card {
    overflow: hidden;
    border: 1px solid #e8ebf0;
    border-radius: .25rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
}

.cart-page .cart-table {
    margin-bottom: 0;
}

.cart-page .cart-table__head {
    background: #f7f8fa;
    color: #768195;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cart-page .cart-table__body .cart-table__column {
    background: #fff;
}

.cart-page .cart__actions {
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e8ebf0;
    border-radius: .25rem;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .05);
}

.cart-page .cart__coupon-form .form-control {
    min-height: 46px;
    border-color: #dfe4eb;
    border-radius: 8px;
}

.cart-page .cart__coupon-form {
    width: 100%;
    max-width: 600px;
}

.cart-page .cart__coupon-form .btn,
.cart-page .cart__buttons .btn {
    min-height: 46px;
    border-radius: 8px;
}

.cart-page .cart__buttons {
    gap: 10px;
}

.cart-page .cart__totals {
    margin-bottom: 22px;
}

.cart-page .cart__totals-footer {
    color: #172033;
    font-size: 22px;
}

.cart-page .cart__totals-footer th {
    font-weight: 700;
}

.cart-page .cart__checkout-button {
    min-height: 50px;
    border-radius: 8px;
    font-weight: 700;
}

.cart-page .cart__continue-button {
    min-height: 50px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 600;
}

.cart-page .alert {
    border-radius: .25rem;
}

.checkout-page .page-header {
    padding-bottom: 12px;
}

.checkout-page .page-header__title {
    margin-top: 18px;
}

.checkout-page .page-header__title .row {
    display: flex;
    gap: 10px;
}

.checkout-page .page-header__title [class*="col-"] {
    flex: 1;
    max-width: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.checkout-page .checkout-shipping {
    margin-top: 24px;
}

.checkout-page .checkout-shipping__options,
.cart-page .checkout-shipping__options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.checkout-page .checkout-shipping__option,
.checkout-page .checkout-shipping__option:hover,
.checkout-page .checkout-shipping__option:focus,
.cart-page .checkout-shipping__option,
.cart-page .checkout-shipping__option:hover,
.cart-page .checkout-shipping__option:focus {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 11px 14px;
    border: 1px solid #e1e6ed;
    border-radius: 10px;
    color: #354154;
    background: #fff;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.checkout-page .checkout-shipping__option::before,
.cart-page .checkout-shipping__option::before {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd3de;
    border-radius: 50%;
    color: transparent;
    content: "✓";
    font-size: 12px;
    font-weight: 700;
}

.checkout-page .checkout-shipping__option:hover,
.checkout-page .checkout-shipping__option:focus,
.cart-page .checkout-shipping__option:hover,
.cart-page .checkout-shipping__option:focus {
    border-color: #8bb9df;
    background: #f7fbff;
    box-shadow: 0 0 0 2px rgba(23, 105, 170, .08);
}

.checkout-page .checkout-shipping__option.btn-success,
.checkout-page .checkout-shipping__option.btn-success:hover,
.checkout-page .checkout-shipping__option.btn-success:focus,
.cart-page .checkout-shipping__option.btn-success,
.cart-page .checkout-shipping__option.btn-success:hover,
.cart-page .checkout-shipping__option.btn-success:focus {
    border-color: #1769aa;
    color: #124f80;
    background: #f0f7fd;
    box-shadow: 0 0 0 2px rgba(23, 105, 170, .1);
}

.checkout-page .checkout-shipping__option.btn-success::before,
.cart-page .checkout-shipping__option.btn-success::before {
    border-color: #1769aa;
    color: #fff;
    background: #1769aa;
}

.checkout-page .checkout-shipping__option-title,
.cart-page .checkout-shipping__option-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.checkout-page .checkout-shipping__option-price,
.cart-page .checkout-shipping__option-price {
    margin-left: auto;
    color: #687385;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-page .checkout-shipping__option.btn-success .checkout-shipping__option-price,
.cart-page .checkout-shipping__option.btn-success .checkout-shipping__option-price {
    color: #1769aa;
}

.checkout-page .checkout-shipping__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 13px 15px;
    border: 1px solid #d8e9f6;
    border-radius: 10px;
    background: #f4f9fd;
}

.checkout-page .checkout-shipping__selected-check {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #218838;
    font-size: 15px;
    font-weight: 700;
}

.checkout-page .checkout-shipping__selected-label {
    display: block;
    margin-bottom: 2px;
    color: #687385;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.checkout-page .checkout-shipping__selected p {
    margin: 0;
    color: #263449;
    font-size: 14px;
    font-weight: 600;
}

.checkout-page .korpafont-on {
    color: #fff;
    background: #1769aa;
    border: 0;
    box-shadow: 0 4px 12px rgba(23, 105, 170, .16);
}

.checkout-page .korpafont-of {
    color: #687385;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
    border: 0;
}

.checkout-page .checkout-steps {
    row-gap: 10px;
    margin: 14px 0 4px;
}

.checkout-page .checkout-step {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.checkout-page .checkout-step i {
    flex: 0 0 auto;
    font-size: 16px;
}

.checkout-page .checkout-step.korpafont-on i {
    color: #fff;
}

.checkout-page .checkout-step.korpafont-of i {
    color: #1769aa;
}

.checkout-page .checkout.block {
    padding: 20px 0 64px;
}

.checkout-page .checkout .card,
.checkout-page .checkout-shipping .card,
.cart-page .cart .card,
.cart-page .cart-shipping .card,
.cart-page .cart-empty .card,
.wishlist-page .wishlist-empty .card {
    height: 100%;
    border: 1px solid #e8ebf0;
    border-radius: .25rem;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
}

.checkout-page .checkout .card-body,
.checkout-page .checkout-shipping .card-body,
.cart-page .cart .card-body,
.cart-page .cart-shipping .card-body,
.cart-page .cart-empty .card-body,
.wishlist-page .wishlist-empty .card-body {
    padding: 28px;
}

.checkout-page .checkout .card-title,
.checkout-page .checkout-shipping .card-title,
.cart-page .cart .card-title,
.cart-page .cart-shipping .card-title,
.cart-page .cart-empty .card-title,
.wishlist-page .wishlist-empty .card-title {
    margin-bottom: 22px;
    font-size: 21px;
    font-weight: 700;
}

.cart-page .cart-empty .card-body,
.wishlist-page .wishlist-empty .card-body {
    padding: 48px 24px;
    text-align: center;
}

.cart-page .cart-empty__icon,
.wishlist-page .cart-empty__icon {
    display: block;
    width: 104px;
    max-width: 35%;
    height: auto;
    margin: 0 auto 20px;
}

.cart-page .cart-empty h2,
.wishlist-page .wishlist-empty h2 {
    margin-bottom: 8px;
    color: #172033;
    font-size: 22px;
    font-weight: 700;
}

.cart-page .cart-empty p,
.wishlist-page .wishlist-empty p {
    margin-bottom: 22px;
    color: #687385;
}

.cart-page .cart-empty .btn,
.wishlist-page .wishlist-empty .btn {
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
}

.checkout-page .checkout__totals {
    margin-bottom: 0;
}

.checkout-page .checkout__totals-header {
    color: #768195;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.checkout-page .checkout__totals-products td {
    color: #465165;
}

.checkout-page .checkout__totals-footer {
    color: #172033;
    font-size: 22px;
}

.checkout-page .payment-methods__item,
.checkout-page .payment-methods__item:hover {
    border-color: #e4e8ef;
    border-radius: 10px;
    background: #fff;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.checkout-page .payment-methods__item + .payment-methods__item {
    margin-top: 9px;
}

.checkout-page .payment-methods__item-header {
    min-height: 54px;
    padding: 11px 14px;
}

.checkout-page .payment-methods__item--active,
.checkout-page .payment-methods__item--active:hover {
    border-color: #6aa8dc;
    background: #f2f8fd;
    box-shadow: 0 0 0 2px rgba(23, 105, 170, .08);
}

.checkout-page .payment-methods__item-description {
    color: #687385;
}

.checkout-page .checkout__agree {
    margin: 24px 0;
}

.checkout-page .form-control {
    border-color: #dfe4eb;
    border-radius: 8px;
}

.checkout-page .form-control:focus {
    border-color: #6aa8dc;
    box-shadow: 0 0 0 .2rem rgba(23, 105, 170, .12);
}

.checkout-page .btn-xl {
    min-height: 50px;
    border-radius: 8px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .cart-page .page-header__title .row {
        gap: 5px;
    }

    .cart-page .page-header__title [class*="col-"] {
        padding: 9px 6px;
        font-size: 11px;
    }

    .checkout-page .checkout-shipping {
        margin-top: 18px;
    }

    .cart-page .cart-shipping {
        margin-top: 18px;
    }

    .checkout-page .checkout-shipping__options {
        grid-template-columns: 1fr;
    }

    .cart-page .checkout-shipping__options {
        grid-template-columns: 1fr;
    }

    .checkout-page .checkout-shipping__option,
    .checkout-page .checkout-shipping__option:hover,
    .checkout-page .checkout-shipping__option:focus {
        min-height: 58px;
    }

    .cart-page .checkout-shipping__option,
    .cart-page .checkout-shipping__option:hover,
    .cart-page .checkout-shipping__option:focus {
        min-height: 58px;
    }

    .checkout-page .page-header__title .row {
        gap: 5px;
    }

    .checkout-page .page-header__title [class*="col-"] {
        padding: 9px 6px;
        font-size: 11px;
    }

    .checkout-page .checkout .card-body,
    .checkout-page .checkout-shipping .card-body {
        padding: 20px;
    }

    .cart-page .cart .card-body,
    .cart-page .cart-shipping .card-body,
    .cart-page .cart-empty .card-body,
    .wishlist-page .wishlist-empty .card-body {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .cart-page .cart-step {
        min-height: 48px;
        gap: 7px;
        padding: 10px 8px;
        font-size: 13px;
    }

    .cart-page .cart-step i {
        font-size: 14px;
    }

    .checkout-page .checkout-step {
        min-height: 48px;
        gap: 7px;
        padding: 10px 8px;
        font-size: 13px;
    }

    .checkout-page .checkout-step i {
        font-size: 14px;
    }

    .cart-page .cart__actions {
        display: block;
        padding: 16px;
    }

    .cart-page .cart__coupon-form,
    .cart-page .cart__buttons {
        width: 100%;
    }

    .cart-page .cart__buttons {
        flex-direction: column;
        margin-top: 20px;
    }
}

/* Shared storefront footer */
.site-footer--modern {
    margin-top: 36px;
    border-top: 0;
    background: #f4f7fb;
    color: #526071;
}

.site-footer--modern .site-footer__widgets {
    padding: 44px 0 28px;
}

.site-footer--modern .site-footer__widgets > .row > [class*="col-"] {
    margin-bottom: 16px;
}

.site-footer--modern .footer-contacts--card,
.site-footer--modern .footer-links,
.site-footer--modern .footer-newsletter {
    padding: 20px;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(23, 32, 51, .045);
}

.site-footer--modern .footer-contacts--card {
    min-height: 100%;
    color: #526071;
    font-size: 14px;
    line-height: 1.65;
}

.site-footer--modern .footer-contacts--card * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit;
}

.site-footer--modern .footer-contacts--card p,
.site-footer--modern .footer-contacts--card div {
    margin-top: 0;
    margin-bottom: 8px;
}

.site-footer--modern .footer-contacts--card p:last-child,
.site-footer--modern .footer-contacts--card div:last-child {
    margin-bottom: 0;
}

.site-footer--modern .footer-contacts--card strong,
.site-footer--modern .footer-contacts--card b {
    color: #172033;
    font-weight: 700;
}

.site-footer--modern .footer-contacts--card a {
    color: #1769aa;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.site-footer--modern .footer-contacts--card img {
    max-width: 100%;
    height: auto;
}

.site-footer--modern .footer-links__title {
    margin: 0 0 14px;
    color: #172033;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
}

.site-footer--modern .footer-links__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer--modern .footer-links__item + .footer-links__item {
    margin-top: 9px;
}

.site-footer--modern .footer-links__link {
    color: #647184;
    font-size: 13px;
    line-height: 1.5;
    transition: color .18s ease;
}

.site-footer--modern .footer-links__link:hover {
    color: #1769aa;
    text-decoration: none;
}

.site-footer--modern .footer-newsletter__text--social {
    color: #172033;
    font-weight: 700;
}

.site-footer--modern .footer-newsletter__social-links {
    margin: 12px 0 0;
    padding: 0;
}

.site-footer--modern .footer-newsletter__social-link a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
    background: #f7f9fc;
    color: #1769aa;
}

.site-footer--modern .site-footer__bottom {
    min-height: 62px;
    height: auto;
    border-top: 1px solid #e1e7ef;
    color: #778294;
}

.site-footer--modern .site-footer__copyright {
    font-size: 13px;
}

.site-footer--modern .site-footer__copyright a {
    color: #1769aa;
    font-weight: 600;
}

.contact-page__content {
    padding: 8px 0 52px;
}

.contact-page__success {
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
}

.contact-form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 40px 40px;
    border: 1px solid #e8ebf0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(23, 32, 51, .07);
}

.contact-form-card__heading {
    margin-bottom: 28px;
}

.contact-form-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #1769aa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-form-card__heading h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 25px;
    font-weight: 700;
}

.contact-form-card__heading p {
    margin: 0;
    color: #687385;
    font-size: 14px;
}

.contact-form label {
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
}

.contact-form .form-control {
    min-height: 48px;
    border: 1px solid #dfe4eb;
    border-radius: 9px;
    background: #fff;
    color: #172033;
    font-size: 14px;
}

.contact-form textarea.form-control {
    min-height: 150px;
    padding-top: 12px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: #6aa8dc;
    box-shadow: 0 0 0 .2rem rgba(23, 105, 170, .12);
}

.contact-form__error {
    margin: 6px 0 0;
    color: #c82333;
    font-size: 12px;
}

.contact-form__submit {
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 9px;
    background: #1769aa;
    color: white;
    font-weight: 700;
}

.contact-form__submit i {
    margin-right: 7px;
}

@media (max-width: 767px) {
    .site-footer--modern {
        margin-top: 24px;
    }

    .site-footer--modern .site-footer__widgets {
        padding: 28px 0 16px;
    }

    .site-footer--modern .footer-contacts--card,
    .site-footer--modern .footer-links,
    .site-footer--modern .footer-newsletter {
        padding: 16px;
        border-radius: 12px;
    }

    .site-footer--modern .site-footer__bottom {
        padding: 16px 0;
    }

    .contact-page__content {
        padding: 0 0 32px;
    }

    .contact-form-card {
        padding: 24px 18px;
        border-radius: 13px;
    }

    .contact-form-card__heading {
        margin-bottom: 22px;
    }

    .contact-form-card__heading h2 {
        font-size: 21px;
    }

    .contact-form__submit {
        width: 100%;
    }
}

.block-brands__slider {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #fff;
}

.block-brands__slider::before,
.block-brands__slider::after {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 72px;
    height: 100%;
    content: "";
    pointer-events: none;
}

.block-brands__slider::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.block-brands__slider::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.block-brands__track {
    display: flex;
    width: max-content;
    animation: brands-marquee 55s linear infinite;
    will-change: transform;
}

.block-brands__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
    padding: 14px 8px;
}

.block-brands__item {
    display: flex;
    flex: 0 0 156px;
    align-items: center;
    justify-content: center;
    height: 92px;
    padding: 12px 18px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.block-brands__item:hover {
    border-color: #dfe4eb;
    box-shadow: 0 5px 16px rgba(26, 39, 60, .07);
}

.block-brands__item a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.block-brands__item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}

.block-brands__slider:hover .block-brands__track {
    animation-play-state: paused;
}

@keyframes brands-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 575.98px) {
    .block-brands__slider::before,
    .block-brands__slider::after {
        width: 38px;
    }

    .block-brands__group {
        gap: 10px;
        padding: 12px 5px;
    }

    .block-brands__item {
        flex-basis: 126px;
        height: 78px;
        padding: 10px 14px;
    }

    .block-brands__item img {
        max-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .block-brands__track {
        animation: none;
        width: auto;
    }

    .block-brands__group:first-child {
        flex-wrap: wrap;
        justify-content: center;
    }

    .block-brands__group[aria-hidden="true"] {
        display: none;
    }
}

.user-dashboard-page {
    background: #f7f8fa;
}

.user-dashboard-page .page-header {
    padding-bottom: 12px;
}

.user-dashboard-page .account-dashboard {
    padding: 20px 0 64px;
}

.user-dashboard-page .account-nav {
    overflow: hidden;
    border: 1px solid #e8ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .05);
}

.user-dashboard-page .account-nav__title {
    padding: 24px 24px 8px;
    color: #172033;
    font-size: 17px;
    font-weight: 700;
}

.user-dashboard-page .account-nav ul {
    padding-bottom: 16px;
}

.user-dashboard-page .account-nav__item a {
    padding: 10px 24px;
    color: #687385;
    transition: background .18s ease, color .18s ease;
}

.user-dashboard-page .account-nav__item a:hover {
    background: #f7f9fc;
    color: #1769aa;
}

.user-dashboard-page .account-nav__item--active a {
    border-color: #1769aa;
    background: #f0f7fc;
    color: #1769aa;
    font-weight: 700;
}

.user-dashboard-page .dashboard__profile,
.user-dashboard-page .dashboard__address,
.user-dashboard-page .dashboard__orders {
    overflow: hidden;
    border: 1px solid #e8ebf0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
}

.user-dashboard-page .profile-card__body {
    padding: 28px 20px;
}

.user-dashboard-page .profile-card__avatar {
    width: 84px;
    height: 84px;
    padding: 3px;
    border: 1px solid #e8ebf0;
    background: #fff;
}

.user-dashboard-page .profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dashboard-page .profile-card__name {
    color: #172033;
    font-size: 18px;
    font-weight: 700;
}

.user-dashboard-page .profile-card__email {
    margin: 4px 0 0;
    color: #687385;
}

.user-dashboard-page .address-card__badge {
    top: 0;
    padding: 7px 11px;
    border-radius: 0 0 0 8px;
    background: #eef6fc;
    color: #1769aa;
    font-size: 10px;
    font-weight: 700;
}

.user-dashboard-page .address-card__body {
    padding: 28px;
}

.user-dashboard-page .address-card__name {
    margin-bottom: 16px;
    color: #172033;
    font-size: 17px;
}

.user-dashboard-page .address-card__row-title {
    margin-bottom: 4px;
    color: #8791a0;
}

.user-dashboard-page .address-card__footer .btn {
    min-height: 46px;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
}

.user-dashboard-page .address-card form {
    margin: 0;
}

.user-dashboard-page .address-card .form-control {
    min-height: 46px;
    border-color: #dfe4eb;
    border-radius: 8px;
}

.user-dashboard-page .address-card .form-control:focus {
    border-color: #6aa8dc;
    box-shadow: 0 0 0 .2rem rgba(23, 105, 170, .12);
}

.user-dashboard-page .dashboard-form__error {
    margin: 6px 0 0;
    color: #c82333;
    font-size: 13px;
}

.user-dashboard-page .dashboard-update-message {
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.user-dashboard-page .dashboard__orders {
    margin-top: 20px;
}

.user-orders-page .dashboard__orders {
    margin-top: 0;
}

.user-order-details-page .dashboard__orders {
    margin-top: 0;
}

.user-order-details-page .account-order-details__meta {
    width: 100%;
    min-width: 520px;
    margin: 0;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    overflow: hidden;
}

.user-order-details-page .account-order-details__body {
    min-width: 0;
    padding: 0 26px 26px;
}

.user-order-details-page .account-order-details__meta-wrap {
    width: 100%;
    margin-bottom: 20px;
}

.user-order-details-page .account-order-details__meta th {
    border: 0;
    background: #f7f9fc;
    color: #687385;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-order-details-page .account-order-details__meta td {
    border: 0;
    color: #172033;
    font-weight: 600;
}

.user-order-details-page .account-order-details__items {
    width: 100%;
    margin: 0;
}

.user-order-details-page .account-order-details__items .cart-table {
    min-width: 760px;
    margin-bottom: 0;
}

.user-order-details-page .account-order-details__items .cart-table__head {
    background: #f7f9fc;
    color: #768195;
}

.user-order-details-page .account-order-details__items .cart-table__row + .cart-table__row {
    border-top: 1px solid #edf0f4;
}

.user-order-details-page .account-order-details__totals-row {
    margin-top: 24px;
}

.user-order-details-page .order-detail-totals {
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    background: #f9fafc;
    box-shadow: none;
}

.user-order-details-page .order-detail-totals .card-body {
    padding: 22px;
}

.user-order-details-page .account-order-details > .alert {
    margin: 20px 26px 26px;
    border-radius: 8px;
}

@media (max-width: 575.98px) {
    .user-order-details-page .account-order-details__meta {
        min-width: 480px;
    }

    .user-order-details-page .account-order-details__body {
        padding: 0 18px 18px;
    }

    .user-order-details-page .account-order-details__items {
        width: 100%;
    }

    .user-order-details-page .dashboard__orders .card-header {
        padding: 20px 18px 10px;
    }

    .user-order-details-page .dashboard__orders .card-divider {
        margin: 0 18px 16px;
    }
}

.user-dashboard-page .dashboard__orders .card-header {
    padding: 22px 26px 10px;
    border: 0;
    background: #fff;
}

.user-dashboard-page .dashboard__orders .card-header h5 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
}

.user-dashboard-page .dashboard__orders .card-divider {
    margin: 0 26px;
    background: #edf0f4;
}

.user-dashboard-page .dashboard__orders .card-table thead th {
    border-bottom-width: 1px;
    border-bottom-color: #e8ebf0;
    color: #768195;
    font-weight: 700;
}

.user-dashboard-page .dashboard__orders .card-table tbody tr:hover > * {
    background: #f7f9fc;
}

.user-dashboard-page .wishlist-orders .wishlist {
    min-width: 760px;
    margin: 0;
}

.user-dashboard-page .wishlist-orders .wishlist__head {
    background: #f7f9fc;
    color: #768195;
}

.user-dashboard-page .wishlist-orders .wishlist__head .wishlist__column {
    border-top: 0;
    border-bottom: 1px solid #e8ebf0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-dashboard-page .wishlist-orders .wishlist__body .wishlist__row:hover .wishlist__column {
    background: #f9fbfd;
}

.user-dashboard-page .wishlist-orders .wishlist__product-name {
    color: #344054;
    font-weight: 600;
}

.user-dashboard-page .wishlist-orders .wishlist__product-name:hover {
    color: #1769aa;
    text-decoration: none;
}

.user-dashboard-page .wishlist-orders .wishlist__column--image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.user-dashboard-page .wishlist-orders .wishlist__column--remove .btn {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .user-dashboard-page .wishlist-orders .wishlist {
        min-width: 0;
    }

    .user-dashboard-page .wishlist-orders .wishlist__row {
        border-color: #e8ebf0;
        border-radius: 10px;
    }
}

@media (max-width: 991.98px) {
    .user-dashboard-page .account-nav {
        border-radius: 12px;
    }

    .user-dashboard-page .account-nav ul {
        padding: 0 8px;
        border: 0;
    }

    .user-dashboard-page .account-nav__item a {
        margin: 0;
        border: 0;
        border-radius: 8px;
        padding: 12px 14px;
    }

    .user-dashboard-page .account-nav__item--active a {
        background: #eef6fc;
    }
}

@media (max-width: 575.98px) {
    .user-dashboard-page .dashboard__orders .card-header {
        padding: 20px 18px 10px;
    }

    .user-dashboard-page .dashboard__orders .card-divider {
        margin: 0 18px;
    }

    .user-dashboard-page .address-card__body {
        padding: 22px;
    }

    .user-order-details-page .dashboard__orders .card-header {
        padding: 20px 18px 10px;
    }

    .user-order-details-page .dashboard__orders .card-divider {
        margin: 0 18px 16px;
    }
}
.auth-page {
    background: #f7f8fa;
}

.auth-page .page-header {
    padding-bottom: 12px;
}

.auth-page .auth-page__content {
    padding: 20px 0 64px;
}

.auth-page .auth-card {
    border: 1px solid #e8ebf0;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(26, 39, 60, .06);
}

.auth-page .auth-card .card-body {
    padding: 32px;
}

.auth-page .auth-card .card-title {
    margin: 0 0 12px;
    color: #172033;
    font-size: 22px;
    font-weight: 700;
}

.auth-page__switch {
    margin-bottom: 24px;
    color: #687385;
}

.auth-page__switch a {
    font-weight: 600;
}

.auth-page .auth-card .form-group {
    margin-bottom: 18px;
}

.auth-page .form-control {
    min-height: 46px;
    border-color: #dfe4eb;
    border-radius: 8px;
}

.auth-page .form-control:focus {
    border-color: #6aa8dc;
    box-shadow: 0 0 0 .2rem rgba(23, 105, 170, .12);
}

.auth-page .auth-card button[type="submit"] {
    width: 100%;
    min-height: 50px;
    border-radius: 8px;
    font-weight: 700;
}

.auth-page__field-error {
    margin: 7px 0 0;
    color: #c82333;
    font-size: 13px;
}

.auth-page .auth-card .alert {
    border-radius: 8px;
}

@media (max-width: 575.98px) {
    .auth-page .auth-card .card-body {
        padding: 22px;
    }
}

/* Shared product cards across home, search, brand, and category listings. */
.product-card {
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(26, 39, 60, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card::before {
    border-radius: inherit;
    box-shadow: 0 0 0 1px #e8ebf0 inset;
    transition: box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(26, 39, 60, .11);
}

.product-card:hover::before {
    box-shadow: 0 0 0 1px #d7e0ea inset;
}

.product-card__image {
    padding: 20px;
}

.product-card__image a {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card__info {
    padding: 0 20px 14px;
}

.product-card__name {
    color: #172033;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.product-card__name a:hover {
    color: #1769aa;
}

.product-card__prices {
    margin-top: 12px;
    color: #172033;
    font-size: 18px;
    line-height: 1.25;
}

.product-card__new-price {
    color: #c82333;
}

.product-card__old-price {
    margin-left: 5px;
    color: #8a94a3;
}

.product-card__actions {
    padding: 0 20px 20px;
}

.product-card__availability {
    color: #687385;
    font-size: 12px;
}

.product-card__buttons {
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.product-card__buttons .btn-primary,
.product-card__buttons .btn-secondary {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #1769aa;
    color: #fff;
    font-weight: 600;
}

.product-card__buttons .btn-primary:hover,
.product-card__buttons .btn-secondary:hover {
    background: #12588f;
    color: #fff;
}

.product-card__buttons .btn-light {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e8ebf0;
    border-radius: 8px;
    background: #fff;
    color: #687385;
}

.product-card__badges-list {
    top: 16px;
}

/* Keep the fixed homepage department menu scrollable without a visible bar. */
.site-header__nav-panel .departments--fixed.departments--open .departments__links {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.site-header__nav-panel .departments--fixed.departments--open .departments__links::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.site-header__nav-panel .departments--fixed.departments--open .departments__body::after {
    position: absolute;
    z-index: 4;
    right: 0px;
    bottom: 0px;
    left: 0px;
    height: 50px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 60%);
    content: "";
    pointer-events: none;
}

.site-header__nav-panel .departments--fixed.departments--open .departments__links {
    padding-bottom: 34px;
}

/* Give department mega-menu links comfortable, clear click targets. */
.site-header__nav-panel .departments__submenu--type--megamenu {
    z-index: 120;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__body {
    padding: 22px;
    background: #fff;
}

[dir="ltr"] .site-header__nav-panel .megamenu--departments {
    padding-right: 0;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--0 > .megamenu__item {
    padding: 0;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--0 > .megamenu__item > .megamenu__links--level--1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item {
    min-width: 0;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 13px;
    border: 1px solid #e8edf3;
    border-radius: 9px;
    background: #f8fafc;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a::after {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-top: 1.5px solid #8b97a7;
    border-right: 1.5px solid #8b97a7;
    content: "";
    transform: rotate(45deg);
    transition: border-color .16s ease, transform .16s ease;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a:hover,
.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a:focus-visible {
    border-color: #b8d7ee;
    background: #eef6fc;
    color: #1769aa;
    box-shadow: 0 3px 10px rgba(23, 105, 170, .08);
    text-decoration: none;
}

.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a:hover::after,
.site-header__nav-panel .departments__submenu--type--megamenu .megamenu__links--level--1 > .megamenu__item > a:focus-visible::after {
    border-color: #1769aa;
    transform: translateX(2px) rotate(45deg);
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-header__nav-panel .departments__submenu--size--xl {
        width: calc(100vw - 290px);
        max-width: 855px;
    }
}

/* Product detail gallery: let the images use the full gallery frame. */
.product--layout--standard .product-gallery__featured {
    padding: 0;
}

.product--layout--standard .product-gallery__featured a {
    padding: 0;
}

.product--layout--standard .product-gallery__featured img,
.product--layout--standard .product-gallery__carousel-image {
    display: block;
    width: 100%;
    height: auto;
}

.product--layout--standard .product-gallery__carousel-item {
    padding: 0;
}

.product-card__badge {
    border-radius: 6px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700;
}

.products-list__item .product-card {
    border-radius: 14px;
}

@media (max-width: 767px) {
    .products-list__body {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card__image {
        padding: 12px;
    }

    .product-card__info {
        padding: 0 12px 10px;
    }

    .product-card__name {
        font-size: 13px;
        line-height: 1.35;
    }

    .product-card__prices {
        font-size: 16px;
    }

    .product-card__actions {
        padding: 0 12px 12px;
    }

    .product-card__buttons {
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 12px;
    }

    .product-card__buttons .btn-primary,
    .product-card__buttons .btn-secondary {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .product-card__buttons .btn-light {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
}
