/* Epic Key storefront overrides on top of ShopGrids */

body {
    color: #081828;
}

.header .topbar .menu-top-link,
.header .topbar .useful-links,
.header .topbar .user-login {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.header .topbar .menu-top-link li,
.header .topbar .useful-links li,
.header .topbar .user-login li {
    margin-right: 0;
}

.header .topbar a {
    color: #fff;
    font-size: 13px;
}

.header .topbar .user {
    color: #fff;
    margin-right: 10px;
}

.header .header-middle .navbar-brand img {
    width: auto;
    max-height: 46px;
}

.header .main-menu-search {
    padding-left: 8px;
}

.header .navbar-search .search-select select,
.header .navbar-search .search-input input {
    font-size: 14px;
}

.header .nav-hotline h3 {
    font-size: 13px;
}

.header .navbar-cart .cart-btn {
    position: relative;
}

.header .navbar-cart .cart-btn .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 100px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    background: #f73232;
    color: #fff;
}

.navbar-area {
    will-change: transform;
}

.navbar-area.sticky {
    transform: translateY(0);
}

.navbar-area.sticky.nav-hidden {
    transform: translateY(-100%);
}

.trending-product .single-product .product-image {
    min-height: 255px;
}

.trending-product .single-product .product-image img {
    object-fit: cover;
    height: 205px;
    width: 100%;
}

.trending-product .single-product .button {
    width: 100%;
}

.trending-product .single-product .button .btn {
    border: 0;
    width: 100%;
}

.trending-product .single-product .button .btn.disabled {
    background: #9aa3ad;
    cursor: not-allowed;
}

.trending-product .single-product .review {
    margin-bottom: 10px;
}

.banner .single-banner {
    min-height: 290px;
}

.banner .single-banner .content {
    max-width: 80%;
}

.shipping-info ul li .media-body h5 {
    margin-bottom: 6px;
}

.footer .footer-seo {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .footer-seo p {
    margin: 0;
    color: #c8d0dc;
    font-size: 14px;
    line-height: 1.7;
}

.cart-notification {
    position: fixed;
    right: 20px;
    top: 92px;
    z-index: 1100;
    min-width: 260px;
    max-width: 360px;
    background: #081828;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 16px 30px rgba(8, 24, 40, 0.25);
    transform: translateX(130%);
    transition: transform 0.3s ease;
}

.cart-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
}

.cart-notification.show {
    transform: translateX(0);
}

.cart-notification-success {
    border-left: 4px solid #08c076;
}

.cart-notification-error {
    border-left: 4px solid #f73232;
}

/* Stock flags */
.stock-flag {
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
    line-height: 1.4;
    position: relative;
    padding-left: 22px;
}

.product-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-meta-line .stock-flag {
    margin-left: 4px;
}

.product-meta-block ul li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-available {
    color: #0a7c46;
    background: rgba(10, 124, 70, 0.16);
}

.stock-out {
    color: #c1121f;
    background: rgba(193, 18, 31, 0.18);
    border: 1px solid rgba(193, 18, 31, 0.35);
}

.stock-flag::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .header .topbar .top-left,
    .header .topbar .top-middle,
    .header .topbar .top-end {
        justify-content: center;
        text-align: center;
    }

    .header .main-menu-search {
        display: none;
    }

    .hero-area .custom-padding-right {
        padding-right: 12px;
    }

    .banner .single-banner {
        min-height: 250px;
    }
}

@media (max-width: 575px) {
    .cart-notification {
        right: 12px;
        left: 12px;
        max-width: none;
        min-width: 0;
    }
}

.home-page .trending-product .row > [class*="col-"] {
    display: flex;
}

.home-page .trending-product .single-product {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 34px rgba(8, 24, 40, 0.1);
}

.home-page .trending-product .single-product .product-image {
    min-height: 270px;
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: radial-gradient(circle at top, #ffffff 0%, #f2f6fc 88%);
}

.home-page .trending-product .single-product .product-image > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .trending-product .single-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-page .trending-product .single-product .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 228px;
}

.home-page .trending-product .single-product .title {
    min-height: 58px;
    margin-bottom: 10px;
}

.home-page .trending-product .single-product .title a {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
    line-height: 1.45;
}

.home-page .trending-product .single-product .review {
    min-height: 24px;
    margin-bottom: 12px;
}

.home-page .trending-product .single-product .price {
    margin-top: auto;
    margin-bottom: 12px;
}

.home-page .trending-product .single-product .button {
    width: 100%;
}

.home-page .trending-product .single-product .button .btn {
    width: 100%;
    border: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .trending-product .single-product .button .btn.disabled {
    background: #9aa3ad;
    cursor: not-allowed;
}

.home-page .epic-categories-carousel {
    padding-top: 4px;
}

.home-page .epic-categories-carousel .epic-category-slider {
    margin: 0 -10px;
}

.home-page .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .epic-categories-carousel .epic-category-slide {
    padding: 10px;
}

.home-page .epic-categories-carousel .epic-category-card {
    height: 226px;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(155deg, #ffffff 0%, #f4f8ff 48%, #edf4ff 100%);
    border: 1px solid rgba(1, 103, 243, 0.16);
    box-shadow: 0 14px 30px rgba(8, 24, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-page .epic-categories-carousel .epic-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 103, 243, 0.36);
    box-shadow: 0 20px 36px rgba(1, 103, 243, 0.16);
}

.home-page .epic-categories-carousel .epic-category-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, #0167f3 0%, #2d8bff 100%);
    box-shadow: 0 12px 22px rgba(1, 103, 243, 0.27);
}

.home-page .epic-categories-carousel .epic-category-card h3 {
    margin: 14px 0 8px;
    color: #081828;
    font-size: 20px;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .epic-categories-carousel .epic-category-card p {
    margin: 0;
    color: #5f6f87;
    font-size: 14px;
}

.home-page .epic-categories-carousel .epic-category-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0167f3;
    font-weight: 700;
    font-size: 14px;
}

.home-page .epic-categories-carousel .tns-controls {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.home-page .epic-categories-carousel .tns-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: #081828;
    color: #fff;
    transition: background 0.25s ease;
}

.home-page .epic-categories-carousel .tns-controls button:hover {
    background: #0167f3;
}

.home-page .epic-categories-carousel .tns-nav {
    display: none;
}

@media (max-width: 1199px) {
    .home-page .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-page .trending-product .single-product .product-image {
        min-height: 250px;
        height: 250px;
    }

    .home-page .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-page .epic-categories-carousel .epic-category-card {
        height: 210px;
        padding: 18px;
    }
}

@media (max-width: 575px) {
    .home-page .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
        grid-template-columns: 1fr;
    }
}

/* Full homepage composition */

.home-page .hero-area .hero-slider .single-slider {
    background-color: #f5f6fa;
    background-repeat: no-repeat;
    background-size: auto 88%;
    background-position: right 24px center;
}

.home-page .hero-area .hero-slider .single-slider .content {
    max-width: 520px;
    padding-right: 48%;
}

.home-page .hero-area .hero-small-banner {
    background-color: #f4f6fb;
    background-repeat: no-repeat;
    background-size: auto 88%;
    background-position: right 12px center;
}

.home-page .hero-area .hero-small-banner .content {
    max-width: 58%;
}

.home-page .hero-area .hero-small-banner .content h2 {
    line-height: 1.3;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 222px;
    background-size: contain;
    background-position: right center;
    box-shadow: 0 14px 30px rgba(4, 16, 30, 0.24);
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(124deg, rgba(7, 18, 34, 0.58) 8%, rgba(7, 18, 34, 0.26) 58%, rgba(7, 18, 34, 0.06) 100%);
    z-index: 2;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished::after {
    content: "";
    position: absolute;
    width: 164px;
    height: 164px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 103, 243, 0.34) 0%, rgba(1, 103, 243, 0) 70%);
    right: -56px;
    top: -56px;
    z-index: 2;
    pointer-events: none;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-media {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: 56%;
    height: calc(100% - 20px);
    object-fit: contain;
    object-position: center right;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(3, 12, 26, 0.28));
    pointer-events: none;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .content {
    position: relative;
    z-index: 3;
    max-width: min(68%, 246px);
    min-height: auto;
    margin: 10px;
    padding: 10px 11px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(7, 18, 34, 0.46) 0%, rgba(7, 18, 34, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    color: #fff;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .content h2 {
    color: #fff;
    font-size: 16px;
    line-height: 1.28;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .content p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 13px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-foot {
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-foot h3 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 7px 10px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.16);
}

.home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-link:hover {
    background: #fff;
    color: #0f2746;
}

.home-page .featured-categories {
    background: #fff;
}

.home-page .featured-categories .single-category {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 22px 22px 18px;
    margin-top: 24px;
    min-height: 236px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(8, 24, 40, 0.06);
}

.home-page .featured-categories .single-category h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-page .featured-categories .single-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 58%;
}

.home-page .featured-categories .single-category ul li {
    margin-bottom: 6px;
    line-height: 1.35;
}

.home-page .featured-categories .single-category ul li a {
    color: #5f6f87;
    font-size: 13px;
}

.home-page .featured-categories .single-category ul li:last-child a {
    color: #0167f3;
    font-weight: 700;
}

.home-page .featured-categories .single-category img {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 34%;
    max-height: 160px;
    object-fit: contain;
    pointer-events: none;
}

.home-page .single-product .product-image {
    min-height: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.home-page .single-product .product-image > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .single-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.home-page .single-banner {
    min-height: 240px;
    background-size: auto 88%;
    background-position: right 22px center;
    background-color: #eff3fb;
}

.home-page .single-banner .content {
    max-width: 56%;
}

.home-page .special-offer {
    background: #f9f9f9;
}

.home-page .special-offer .single-product {
    margin-top: 0;
    margin-bottom: 18px;
}

.home-page .special-offer .special-offer-main {
    margin-top: 12px;
}

.home-page .special-offer-sidebar {
    border: 1px solid #eee;
    background: #fff;
    padding: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(8, 24, 40, 0.06);
}

.home-page .special-product-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
}

.home-page .special-product-card .product-image {
    position: relative;
    height: 240px;
    background: #fff;
}

.home-page .special-product-card .product-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.home-page .special-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.home-page .special-product-card .discount-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f73232;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
}

.home-page .special-product-card .product-content {
    padding: 14px;
}

.home-page .special-product-card .product-content h4 {
    font-size: 18px;
    line-height: 1.32;
    margin-bottom: 8px;
}

.home-page .special-product-card .product-content .price span {
    color: #0167f3;
    font-size: 20px;
    font-weight: 700;
}

.home-page .offer-countdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    text-align: center;
}

.home-page .offer-countdown ul li {
    background: #f5f7fc;
    border: 1px solid #e8eef8;
    border-radius: 4px;
    padding: 8px 4px;
    font-size: 12px;
    color: #44566f;
}

.home-page .offer-countdown ul li span {
    display: block;
    color: #081828;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.home-page .offer-ended {
    background: #dc1120;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    padding: 34px 16px;
    margin-top: 14px;
    border-radius: 4px;
}

.home-page .home-product-list {
    background: #fff;
}

.home-page .home-product-list .single-list {
    border: 1px solid #e7edf7;
    border-radius: 12px;
    padding: 18px;
    margin-top: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(8, 24, 40, 0.07);
}

.home-page .home-product-list .row > .col-lg-4:nth-child(1) .single-list {
    border-top: 3px solid #0167f3;
}

.home-page .home-product-list .row > .col-lg-4:nth-child(2) .single-list {
    border-top: 3px solid #08c076;
}

.home-page .home-product-list .row > .col-lg-4:nth-child(3) .single-list {
    border-top: 3px solid #f59e0b;
}

.home-page .home-product-list .list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-page .home-product-list .single-list h3 {
    font-size: 20px;
    margin: 0;
}

.home-page .home-product-list .list-head-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 7px 12px;
    border: 1px solid #d7e5fb;
    background: #fff;
    color: #0167f3;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.home-page .home-product-list .list-head-link:hover {
    background: #0167f3;
    color: #fff;
    border-color: #0167f3;
}

.home-page .home-product-list .list-subtitle {
    margin: 10px 0 12px;
    color: #5f6f87;
    font-size: 13px;
    line-height: 1.55;
}

.home-page .home-product-list .single-list-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f8;
}

.home-page .home-product-list .single-list-product:last-child {
    border-bottom: 0;
}

.home-page .home-product-list .single-list-product .list-image {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    background: #fff;
    border: 1px solid #eef2f8;
    border-radius: 4px;
    overflow: hidden;
}

.home-page .home-product-list .single-list-product .list-image a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.home-page .home-product-list .single-list-product .list-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.home-page .home-product-list .single-list-product .list-content .category {
    color: #78879c;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.home-page .home-product-list .single-list-product .list-content h5 {
    font-size: 14px;
    margin: 0 0 6px;
    line-height: 1.35;
}

.home-page .home-product-list .single-list-product .list-content .price {
    color: #0167f3;
    font-weight: 700;
    font-size: 14px;
}

.home-page .brands {
    background: #f9f9f9;
}

.home-page .brands .single-brand {
    padding: 8px;
}

.home-page .brands .single-brand a {
    height: 84px;
    border: 1px solid #e9eef8;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #081828;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.home-page .blog-section {
    background: #fff;
}

.home-page .blog-section .single-blog {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 24px;
    background: #fff;
    height: calc(100% - 24px);
}

.home-page .blog-section .single-blog .blog-image {
    width: 100%;
    height: 220px;
    background: #f6f8fc;
}

.home-page .blog-section .single-blog .blog-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.home-page .blog-section .single-blog .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.home-page .blog-section .single-blog .blog-content {
    padding: 18px;
}

.home-page .blog-section .single-blog .blog-content .category {
    color: #0167f3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.home-page .blog-section .single-blog .blog-content h4 {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.home-page .blog-section .single-blog .blog-content p {
    font-size: 14px;
    margin-bottom: 14px;
}

.home-page .blog-section .single-blog .blog-content .btn {
    padding: 10px 18px;
    font-size: 13px;
}

@media (max-width: 1199px) {
    .home-page .hero-area .hero-slider .single-slider .content {
        padding-right: 42%;
    }

    .home-page .hero-area .hero-small-banner .content {
        max-width: 62%;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .content {
        max-width: min(70%, 236px);
        margin: 10px;
        padding: 10px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-media {
        width: 54%;
    }

    .home-page .single-banner .content {
        max-width: 64%;
    }

    .home-page .featured-categories .single-category img {
        width: 32%;
    }
}

@media (max-width: 991px) {
    .home-page .hero-area .hero-slider .single-slider {
        background-size: auto 74%;
        background-position: right 14px center;
    }

    .home-page .hero-area .hero-slider .single-slider .content {
        max-width: 100%;
        padding-right: 32%;
    }

    .home-page .hero-area .hero-small-banner .content {
        max-width: 66%;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished {
        min-height: 206px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .content {
        max-width: min(74%, 230px);
        min-height: auto;
        margin: 10px;
        padding: 10px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-media {
        width: 52%;
    }

    .home-page .featured-categories .single-category {
        min-height: 212px;
    }

    .home-page .single-banner {
        min-height: 210px;
        background-size: auto 80%;
    }

    .home-page .single-banner .content {
        max-width: 70%;
    }

    .home-page .special-offer-sidebar {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .home-page .hero-area .hero-slider .single-slider {
        min-height: 440px;
        background-size: contain;
        background-position: center top;
    }

    .home-page .hero-area .hero-slider .single-slider .content {
        max-width: calc(100% - 28px);
        left: 14px;
        right: 14px;
        top: auto;
        bottom: 14px;
        transform: none;
        padding: 14px;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.9);
    }

    .home-page .hero-area .hero-small-banner {
        background-size: contain;
        background-position: right center;
    }

    .home-page .hero-area .hero-small-banner .content {
        max-width: 70%;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished {
        min-height: 194px;
        background-position: right center;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .content {
        max-width: min(78%, 224px);
        min-height: auto;
        margin: 10px;
        padding: 9px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-media {
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: 50%;
        height: calc(100% - 16px);
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished::before {
        background: linear-gradient(128deg, rgba(7, 18, 34, 0.52) 8%, rgba(7, 18, 34, 0.22) 62%, rgba(7, 18, 34, 0.04) 100%);
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .content h2 {
        font-size: 15px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-foot h3 {
        font-size: 15px;
    }

    .home-page .featured-categories .single-category {
        min-height: 195px;
    }

    .home-page .featured-categories .single-category ul {
        max-width: 64%;
    }

    .home-page .featured-categories .single-category img {
        width: 30%;
        max-height: 120px;
    }

    .home-page .single-product .product-image {
        min-height: 200px;
        height: 200px;
    }

    .home-page .single-banner {
        min-height: 200px;
    }

    .home-page .single-banner .content {
        max-width: 74%;
    }

    .home-page .offer-ended {
        font-size: 28px;
    }

    .home-page .blog-section .single-blog .blog-image {
        height: 200px;
    }

    .home-page .home-product-list .list-head {
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-page .home-product-list .list-head-link {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .home-page .hero-area .hero-slider .single-slider {
        min-height: 400px;
    }

    .home-page .hero-area .hero-small-banner .content,
    .home-page .featured-categories .single-category ul,
    .home-page .single-banner .content {
        max-width: 100%;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished {
        min-height: 176px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .content {
        max-width: min(92%, 220px);
        min-height: auto;
        margin: 8px;
        padding: 8px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-media {
        width: 48%;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-foot {
        gap: 8px;
    }

    .home-page .hero-area .hero-small-banner.hero-small-banner-polished .hero-card-link {
        padding: 7px 10px;
        font-size: 11px;
    }

    .home-page .featured-categories .single-category {
        min-height: 180px;
        padding-right: 16px;
    }

    .home-page .featured-categories .single-category img {
        display: none;
    }

    .home-page .home-product-list .single-list-product .list-image {
        flex-basis: 74px;
        width: 74px;
        height: 74px;
    }

    .home-page .offer-countdown ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .offer-ended {
        font-size: 24px;
        padding: 24px 10px;
    }
}

/* Final homepage parity and homogeny fixes */

.header .header-middle .navbar-brand.epic-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: 100%;
}

.header .header-middle .navbar-brand.epic-brand .epic-brand-icon {
    width: 42px;
    height: 42px;
    max-height: none;
    border-radius: 10px;
    flex-shrink: 0;
}

.header .header-middle .navbar-brand.epic-brand .epic-brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    color: #081828;
    text-transform: uppercase;
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

.header .header-middle .navbar-brand.epic-brand .epic-brand-text span {
    color: #0167f3;
}

.footer .footer-logo .epic-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer .footer-logo .epic-footer-brand .epic-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer .footer-logo .epic-footer-brand .epic-brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    color: #fff;
    text-transform: uppercase;
    font-family: "Arial Black", Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
}

.footer .footer-logo .epic-footer-brand .epic-brand-text span {
    color: #2d8bff;
}

.home-page .hero-area .hero-slider .single-slider {
    min-height: 446px;
    background-size: 44% auto;
    background-position: right 22px center;
}

.home-page .hero-area .hero-slider .single-slider .content {
    max-width: 560px;
    padding-right: 46%;
}

.home-page .hero-area .hero-slider .single-slider .content h2 {
    line-height: 1.27;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .hero-area .hero-slider .single-slider .content h2 span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .hero-area .hero-slider .single-slider .content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .hero-area .hero-small-banner {
    min-height: 214px;
    background-size: 40% auto;
    background-position: right 12px center;
}

.home-page .hero-area .hero-small-banner .content {
    max-width: 60%;
}

.home-page .hero-area .hero-small-banner .content h2,
.home-page .hero-area .hero-small-banner.style2 .content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .hero-area .hero-small-banner .content h2 span,
.home-page .hero-area .hero-small-banner.style2 .content h2 {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .featured-categories .epic-categories-carousel {
    position: relative;
}

.home-page .featured-categories .epic-categories-carousel .epic-category-slider {
    margin: 0 -10px;
}

.home-page .featured-categories .epic-categories-carousel .epic-category-slide {
    padding: 0 10px;
}

.home-page .featured-categories .epic-categories-carousel .single-category {
    margin-top: 24px;
}

.home-page .featured-categories .epic-categories-carousel .single-category h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .featured-categories .epic-categories-carousel .single-category ul li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .featured-categories .epic-categories-carousel .tns-controls {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.home-page .featured-categories .epic-categories-carousel .tns-controls button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #081828;
}

.home-page .single-banner {
    background-size: 42% auto;
}

.home-page .single-banner .content h2,
.home-page .special-offer .special-offer-main .content h2,
.home-page .special-product-card .product-content h4,
.home-page .home-product-list .single-list-product .list-content h5,
.home-page .blog-section .single-blog .blog-content h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .single-banner .content p,
.home-page .blog-section .single-blog .blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .single-product .product-info .category,
.home-page .home-product-list .single-list-product .list-content .category,
.home-page .blog-section .single-blog .blog-content .category {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .single-product .product-info .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .home-product-list .single-list {
    height: calc(100% - 24px);
}

.home-page .home-product-list .single-list-product .list-content {
    min-width: 0;
    flex: 1;
}

@media (max-width: 1199px) {
    .header .header-middle .navbar-brand.epic-brand .epic-brand-text {
        font-size: 24px;
    }

    .home-page .hero-area .hero-slider .single-slider {
        background-size: 46% auto;
    }

    .home-page .hero-area .hero-slider .single-slider .content {
        padding-right: 42%;
    }
}

@media (max-width: 991px) {
    .home-page .hero-area .hero-slider .single-slider {
        min-height: 420px;
        background-size: 48% auto;
    }

    .home-page .hero-area .hero-slider .single-slider .content {
        padding-right: 38%;
    }

    .home-page .featured-categories .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        gap: 18px;
    }

    .home-page .featured-categories .epic-categories-carousel .epic-category-slide {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .header .header-middle .navbar-brand.epic-brand .epic-brand-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .header .header-middle .navbar-brand.epic-brand .epic-brand-text,
    .footer .footer-logo .epic-footer-brand .epic-brand-text {
        font-size: 20px;
        letter-spacing: 0.04em;
    }

    .home-page .hero-area .hero-slider .single-slider {
        min-height: 410px;
        background-size: contain;
        background-position: center top;
    }

    .home-page .hero-area .hero-slider .single-slider .content {
        max-width: calc(100% - 24px);
        padding-right: 14px;
    }

    .home-page .hero-area .hero-small-banner {
        background-size: 38% auto;
    }
}

@media (max-width: 575px) {
    .home-page .hero-area .hero-small-banner {
        background-size: 32% auto;
    }

    .home-page .featured-categories .epic-categories-carousel .epic-category-slider:not(.tns-slider) {
        grid-template-columns: 1fr;
    }
}

/* Hero/category quick correction pass */

.home-page .hero-area .hero-slider .single-slider {
    background-size: clamp(300px, 44%, 430px) auto;
    background-position: right 8px center;
}

.home-page .hero-area .hero-slider .single-slider .content {
    max-width: none;
    padding: 20px clamp(220px, 29vw, 300px) 20px 44px;
}

.home-page .hero-area .hero-slider .single-slider .content h2 {
    max-width: 360px;
    margin-bottom: 10px;
}

.home-page .hero-area .hero-slider .single-slider .content p {
    max-width: 360px;
    margin-top: 12px;
}

.home-page .hero-area .hero-slider .single-slider .content h3 {
    margin-top: 14px;
}

.home-page .hero-area .hero-slider .single-slider .content .button {
    margin-top: 18px;
}

.home-page .hero-area .hero-small-banner.style2 {
    background-color: #081828;
    background-image: linear-gradient(140deg, rgba(8, 24, 40, 0.94) 0%, rgba(1, 103, 243, 0.84) 100%), url("../images/hero/small-banner-bg.png");
    background-size: cover;
    background-position: center;
}

.home-page .hero-area .hero-small-banner.style2 .content h2,
.home-page .hero-area .hero-small-banner.style2 .content p {
    color: #fff;
}

.home-page .hero-area .hero-small-banner.style2 .content .button .btn {
    background-color: #fff;
    color: #0167f3;
}

.home-page .featured-categories .epic-categories-carousel .single-category {
    min-height: 220px;
    padding-right: 40%;
}

.home-page .featured-categories .epic-categories-carousel .single-category h3 {
    margin-bottom: 8px;
    max-width: 60%;
}

.home-page .featured-categories .epic-categories-carousel .single-category .category-lead-product {
    margin: 0;
    max-width: 60%;
    min-height: 38px;
}

.home-page .featured-categories .epic-categories-carousel .single-category .category-lead-product a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    color: #5f6f87;
    line-height: 1.35;
}

.home-page .featured-categories .epic-categories-carousel .single-category .category-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: #0167f3;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .home-page .hero-area .hero-slider .single-slider .content {
        padding: 18px 210px 18px 32px;
    }

    .home-page .featured-categories .epic-categories-carousel .single-category {
        padding-right: 38%;
    }
}

@media (max-width: 767px) {
    .home-page .hero-area .hero-slider .single-slider .content {
        padding: 14px;
    }

    .home-page .hero-area .hero-slider .single-slider .content h2,
    .home-page .hero-area .hero-slider .single-slider .content p {
        max-width: 100%;
    }

    .home-page .featured-categories .epic-categories-carousel .single-category,
    .home-page .featured-categories .epic-categories-carousel .single-category h3,
    .home-page .featured-categories .epic-categories-carousel .single-category .category-lead-product {
        max-width: 100%;
        padding-right: 0;
    }
}

/* Products page composition */

.products-page .products-shop {
    background: #f9f9f9;
}

.products-page .products-context {
    margin-bottom: 24px;
    padding: 20px 24px;
    border-radius: 10px;
    border: 1px solid #dfe8f6;
    background: linear-gradient(145deg, #ffffff 0%, #f2f7ff 100%);
}

.products-page .products-context h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.products-page .products-context p {
    margin: 0;
    font-size: 14px;
    color: #4f6078;
    line-height: 1.65;
}

.products-page .products-sidebar {
    position: sticky;
    top: 106px;
}

.products-page .sidebar-widget {
    background: #fff;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 26px rgba(8, 24, 40, 0.06);
}

.products-page .sidebar-widget .widget-title {
    font-size: 16px;
    margin: 0 0 14px;
}

.products-page .products-search-form {
    position: relative;
}

.products-page .products-search-form input {
    width: 100%;
    height: 44px;
    border: 1px solid #d8e2f2;
    border-radius: 7px;
    padding: 0 42px 0 12px;
    font-size: 14px;
}

.products-page .products-search-form button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #0167f3;
    font-size: 16px;
    padding: 0;
}

.products-page .category-picker-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.products-page .category-picker-form {
    margin: 0;
}

.products-page .category-picker-label {
    display: block;
    margin: 0 0 6px;
    color: #6f809a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.products-page .category-picker-select {
    width: 100%;
    height: 44px;
    border: 1px solid #d8e2f2;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #11233f;
    background: #fff;
}

.products-page .category-picker-select:focus {
    outline: 0;
    border-color: #0167f3;
    box-shadow: 0 0 0 3px rgba(1, 103, 243, 0.12);
}

.products-page .category-quick-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 220px;
    overflow: auto;
    padding-right: 4px;
}

.products-page .category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e9f7;
    border-radius: 999px;
    padding: 8px 12px;
    color: #3f5470;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    background: #f7faff;
}

.products-page .category-pill:hover,
.products-page .category-pill.active {
    border-color: #0167f3;
    color: #0167f3;
    background: #eaf2ff;
}

.products-page .price-filter-form .price-input-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.products-page .price-filter-form .price-input-row input {
    width: 100%;
    border: 1px solid #d8e2f2;
    border-radius: 7px;
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
}

.products-page .price-filter-form .separator {
    color: #7486a0;
    font-weight: 600;
}

.products-page .price-filter-form .btn {
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 700;
}

.products-page .price-range-display {
    margin: 10px 0 0;
    font-size: 12px;
    color: #657790;
}

.products-page .btn-clear-filters {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #f73232;
    border-radius: 7px;
    color: #f73232;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 12px;
}

.products-page .btn-clear-filters:hover {
    background: #fff2f2;
}

.products-page .products-toolbar {
    background: #fff;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    box-shadow: 0 8px 26px rgba(8, 24, 40, 0.06);
}

.products-page .products-toolbar .toolbar-meta h2 {
    font-size: 22px;
    margin: 0;
}

.products-page .products-toolbar .toolbar-meta p {
    margin: 4px 0 0;
    color: #687a93;
    font-size: 13px;
}

.products-page .products-toolbar .toolbar-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-page .products-toolbar .total-show-product {
    margin: 0;
    font-size: 12px;
    color: #6f809a;
    font-weight: 500;
}

.products-page .products-toolbar .total-show-product span {
    color: #1a2f4e;
    font-weight: 700;
}

.products-page .products-toolbar .toolbar-search {
    width: 240px;
    border: 1px solid #d8e2f2;
    border-radius: 7px;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
}

.products-page .products-toolbar .toolbar-sort {
    display: flex;
    align-items: center;
    gap: 6px;
}

.products-page .products-toolbar .toolbar-sort label {
    font-size: 13px;
    color: #61738d;
    margin: 0;
}

.products-page .products-toolbar .toolbar-sort select {
    min-width: 180px;
    border: 1px solid #d8e2f2;
    border-radius: 7px;
    height: 42px;
    padding: 0 10px;
    font-size: 14px;
    color: #081828;
    background: #fff;
}

.products-page .products-grid-row > [class*="col-"] {
    display: flex;
}

.products-page .single-product {
    width: 100%;
    height: 100%;
    margin-top: 22px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 30px rgba(8, 24, 40, 0.09);
}

.products-page .single-product .product-image {
    min-height: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: radial-gradient(circle at top, #ffffff 0%, #f3f7ff 86%);
}

.products-page .single-product .product-image > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-page .single-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.products-page .single-product .product-image .button {
    width: calc(100% - 26px);
    left: 13px;
    transform: none;
}

.products-page .single-product .product-image .button .btn {
    width: 100%;
    border: 0;
}

.products-page .single-product .product-image .button .btn.disabled {
    background: #9aa3ad;
    cursor: not-allowed;
}

.products-page .single-product .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 214px;
    padding-top: 16px;
}

.products-page .single-product .product-info .category {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-page .single-product .product-info .title {
    margin: 0 0 8px;
}

.products-page .single-product .product-info .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.42;
    min-height: 44px;
}

.products-page .single-product .product-info .review {
    margin-top: 6px;
    min-height: 24px;
}

.products-page .single-product .product-info .price {
    margin-top: auto;
    padding-top: 8px;
}

.products-page .products-pagination {
    margin-top: 28px;
}

.products-page .products-pagination .pagination-list li.ellipsis span {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    color: #667890;
}

.products-page .no-products-box {
    background: #fff;
    border: 1px solid #e6edf8;
    border-radius: 10px;
    text-align: center;
    padding: 44px 20px;
    margin-top: 20px;
    box-shadow: 0 8px 26px rgba(8, 24, 40, 0.06);
}

.products-page .no-products-box i {
    font-size: 44px;
    color: #0167f3;
    margin-bottom: 14px;
    display: inline-block;
}

.products-page .no-products-box h3 {
    margin-bottom: 8px;
}

.products-page .no-products-box p {
    margin-bottom: 18px;
    color: #677991;
}

.products-page .products-internal-links {
    padding: 70px 0;
    background: #fff;
}

.products-page .category-chip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.products-page .category-chip-list .category-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dce6f6;
    border-radius: 100px;
    padding: 10px 16px;
    font-size: 13px;
    color: #33445d;
    background: #fff;
}

.products-page .category-chip-list .category-chip i {
    color: #0167f3;
}

.products-page .category-chip-list .category-chip:hover {
    border-color: #0167f3;
    color: #0167f3;
    background: #f2f7ff;
}

@media (max-width: 1199px) {
    .products-page .products-toolbar .toolbar-search {
        width: 210px;
    }

    .products-page .products-toolbar .toolbar-sort select {
        min-width: 160px;
    }
}

@media (max-width: 991px) {
    .products-page .products-sidebar {
        position: static;
        margin-bottom: 18px;
    }

    .products-page .category-quick-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 4px;
    }

    .products-page .category-pill {
        flex: 0 0 auto;
    }

    .products-page .products-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-page .products-toolbar .toolbar-controls {
        width: 100%;
    }

    .products-page .products-toolbar .toolbar-search {
        width: 100%;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .products-page .products-context {
        padding: 16px;
    }

    .products-page .products-context h3 {
        font-size: 18px;
    }

    .products-page .products-toolbar .toolbar-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .products-page .products-toolbar .toolbar-sort {
        width: 100%;
        display: grid;
        grid-template-columns: 58px 1fr;
    }

    .products-page .products-toolbar .toolbar-sort select {
        width: 100%;
    }

    .products-page .single-product .product-image {
        min-height: 225px;
        height: 225px;
    }

    .products-page .products-internal-links {
        padding: 56px 0;
    }
}

/* Product detail page refinements */

.product-show-page .item-details .product-images .main-img img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
}

.product-show-page .item-details .product-images .images img {
    height: 94px;
    object-fit: contain;
    background: #fff;
}

.product-show-page .item-details .product-images .images .img.active-thumb,
.product-show-page .item-details .product-images .images .img:hover {
    border-color: #0167f3;
}

.product-show-page .detail-discount-note {
    margin: -8px 0 14px;
    color: #0167f3;
    font-size: 14px;
    font-weight: 600;
}

.product-show-page .item-details .product-info .form-group input[readonly] {
    background: #f7f9fc;
}

.product-show-page .item-details .product-info .form-group input.stock-ok {
    color: #0c9f4b;
    font-weight: 600;
}

.product-show-page .item-details .product-info .form-group input.stock-low {
    color: #f73232;
    font-weight: 600;
}

.product-show-page .trending-product .related-products-grid-row > [class*="col-"] {
    display: flex;
}

.product-show-page .trending-product .single-product {
    width: 100%;
    height: 100%;
    margin-top: 22px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 30px rgba(8, 24, 40, 0.09);
}

.product-show-page .trending-product .single-product .product-image {
    min-height: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: radial-gradient(circle at top, #ffffff 0%, #f3f7ff 86%);
}

.product-show-page .trending-product .single-product .product-image > a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-show-page .trending-product .single-product .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.product-show-page .trending-product .single-product .product-image .button {
    width: calc(100% - 26px);
    left: 13px;
    transform: none;
}

.product-show-page .trending-product .single-product .product-image .button .btn {
    width: 100%;
    border: 0;
}

.product-show-page .trending-product .single-product .product-image .button .btn.disabled {
    background: #9aa3ad;
    cursor: not-allowed;
}

.product-show-page .trending-product .single-product .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 214px;
    padding-top: 16px;
}

.product-show-page .trending-product .single-product .product-info .category {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-show-page .trending-product .single-product .product-info .title {
    margin: 0 0 8px;
}

.product-show-page .trending-product .single-product .product-info .title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.42;
    min-height: 44px;
}

.product-show-page .trending-product .single-product .product-info .review {
    margin-top: 6px;
    min-height: 24px;
}

.product-show-page .trending-product .single-product .product-info .price {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 767px) {
    .product-show-page .item-details .product-images .images img {
        height: 80px;
    }

    .product-show-page .trending-product .single-product .product-image {
        min-height: 225px;
        height: 225px;
    }

    .product-show-page .item-details .product-info .bottom-content .wish-button .btn {
        margin-top: 10px;
    }
}

/* Cart and checkout parity */

.shopgrids-cart-page .shopping-cart.section {
    background: #f4f7fc;
    padding: 48px 0 68px;
}

.shopgrids-cart-page .cart-list-head {
    border: 1px solid #e4ecf7;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 34px rgba(8, 24, 40, 0.07);
}

.shopgrids-cart-page .cart-list-title {
    background: linear-gradient(135deg, #081828 0%, #0e2a43 100%);
    padding: 16px 22px;
}

.shopgrids-cart-page .cart-list-title p {
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.shopgrids-cart-page .cart-single-list {
    padding: 18px 22px;
    border-top: 1px solid #edf2fb;
}

.shopgrids-cart-page .cart-single-list img {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    border: 1px solid #ebf0f8;
    background: #fff;
    object-fit: contain;
    padding: 6px;
}

.shopgrids-cart-page .cart-single-list .product-name {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.35;
}

.shopgrids-cart-page .cart-single-list .product-name a {
    color: #081828;
}

.shopgrids-cart-page .cart-single-list .product-des {
    margin: 0;
}

.shopgrids-cart-page .cart-single-list .product-des span {
    display: block;
    margin-top: 2px;
    color: #5e6f86;
    font-size: 13px;
}

.shopgrids-cart-page .cart-single-list .count-input select {
    height: 42px;
    border: 1px solid #d9e3f3;
    border-radius: 9px;
    font-weight: 600;
    color: #081828;
}

.shopgrids-cart-page .cart-single-list p {
    margin: 0;
    font-weight: 700;
    color: #081828;
}

.shopgrids-cart-page .cart-single-list .remove-item {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ffd5d5;
    color: #f73232;
    background: #fff7f7;
    transition: all 0.2s ease;
}

.shopgrids-cart-page .cart-single-list .remove-item:hover {
    background: #f73232;
    color: #fff;
}

.shopgrids-cart-page .total-amount {
    margin-top: 24px;
}

.shopgrids-cart-page .total-amount .left,
.shopgrids-cart-page .total-amount .right {
    background: #fff;
    border: 1px solid #e4ecf7;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 16px 30px rgba(8, 24, 40, 0.06);
}

.shopgrids-cart-page .coupon form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.shopgrids-cart-page .coupon form input {
    flex: 1;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #d5e0f1;
    padding: 0 14px;
}

.shopgrids-cart-page .coupon .button .btn {
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
}

.shopgrids-cart-page .total-amount .right ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shopgrids-cart-page .total-amount .right ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #5f6f87;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px dashed #e0e8f5;
}

.shopgrids-cart-page .total-amount .right ul li span {
    font-weight: 700;
    color: #081828;
}

.shopgrids-cart-page .total-amount .right ul li.last {
    border-bottom: 0;
    margin-top: 2px;
    padding-top: 14px;
    font-size: 17px;
}

.shopgrids-cart-page .total-amount .right .button {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shopgrids-cart-page .clear-cart-btn {
    width: 100%;
    margin-top: 10px;
}

.shopgrids-cart-page .cart-empty-state {
    background: #fff;
    border: 1px solid #e4ecf7;
    border-radius: 16px;
    text-align: center;
    padding: 56px 24px;
    box-shadow: 0 16px 32px rgba(8, 24, 40, 0.08);
}

.shopgrids-cart-page .cart-empty-state .empty-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #0167f3;
    font-size: 30px;
}

.shopgrids-cart-page .cart-empty-state h3 {
    margin-bottom: 10px;
}

.shopgrids-cart-page .cart-empty-state p {
    margin-bottom: 20px;
    color: #5f6f87;
}

.shopgrids-checkout-page .checkout-wrapper.section {
    background: #f4f7fc;
    padding: 48px 0 72px;
}

.shopgrids-checkout-page .checkout-steps-form-style-1 {
    background: #fff;
    border: 1px solid #e4ecf7;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 18px 34px rgba(8, 24, 40, 0.07);
}

.shopgrids-checkout-page .checkout-steps-form-style-1 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shopgrids-checkout-page .checkout-steps-form-style-1 ul > li {
    border: 1px solid #e8eef8;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.shopgrids-checkout-page .checkout-steps-form-style-1 ul > li:last-child {
    margin-bottom: 0;
}

.shopgrids-checkout-page .checkout-steps-form-style-1 .title {
    margin: 0;
    padding: 15px 18px;
    background: #f7faff;
    font-size: 16px;
    font-weight: 700;
    color: #081828;
    cursor: pointer;
}

.shopgrids-checkout-page .checkout-steps-form-style-1 .checkout-steps-form-content {
    padding: 18px;
}

.shopgrids-checkout-page .single-form {
    margin-bottom: 14px;
}

.shopgrids-checkout-page .single-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #5f6f87;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.shopgrids-checkout-page .single-form input,
.shopgrids-checkout-page .single-form select,
.shopgrids-checkout-page .single-form textarea {
    width: 100%;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    min-height: 46px;
    padding: 10px 14px;
    background: #fff;
    color: #081828;
}

.shopgrids-checkout-page .single-form textarea {
    min-height: 120px;
    resize: vertical;
}

.shopgrids-checkout-page .city-search-input {
    margin-bottom: 8px;
}

.shopgrids-checkout-page .city-hint {
    display: block;
    margin-top: 8px;
    color: #7385a0;
    font-size: 12px;
}

.shopgrids-checkout-page .steps-form-btn {
    margin-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shopgrids-checkout-page .checkout-payment-option,
.shopgrids-checkout-page .checkout-payment-form {
    border: 1px solid #e7eef9;
    border-radius: 12px;
    padding: 16px;
    background: #fbfdff;
}

.shopgrids-checkout-page .payment-title {
    margin-bottom: 10px;
}

.shopgrids-checkout-page .payment-option-wrapper,
.shopgrids-checkout-page .checkout-payment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shopgrids-checkout-page .single-payment-option {
    border: 1px solid #dbe6f7;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
}

.shopgrids-checkout-page .single-payment-option label {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #081828;
    font-weight: 700;
}

.shopgrids-checkout-page .single-payment-option label i {
    color: #0167f3;
    font-size: 18px;
}

.shopgrids-checkout-page .single-payment-option p {
    margin: 8px 0 0;
    color: #5f6f87;
    font-size: 13px;
}

.shopgrids-checkout-page .single-payment-option small {
    margin-left: auto;
    font-size: 11px;
    color: #f73232;
    text-transform: uppercase;
}

.shopgrids-checkout-page .single-payment-option.disabled-option {
    opacity: 0.64;
}

.shopgrids-checkout-page .single-payment-option input[type="radio"] {
    margin-right: 8px;
}

.shopgrids-checkout-page .checkout-sidebar-coupon,
.shopgrids-checkout-page .checkout-sidebar-price-table {
    border: 1px solid #e4ecf7;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 18px 34px rgba(8, 24, 40, 0.07);
}

.shopgrids-checkout-page .checkout-sidebar-coupon p {
    margin: 0 0 10px;
    color: #5f6f87;
    font-size: 14px;
}

.shopgrids-checkout-page .checkout-sidebar-coupon .single-form {
    display: flex;
    gap: 8px;
    margin: 0;
}

.shopgrids-checkout-page .checkout-sidebar-coupon .single-form .form-input {
    flex: 1;
}

.shopgrids-checkout-page .checkout-summary-items {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shopgrids-checkout-page .checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #edf2fb;
    border-radius: 10px;
    background: #fbfdff;
}

.shopgrids-checkout-page .checkout-summary-item img {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    border: 1px solid #e8eef9;
    padding: 4px;
    object-fit: contain;
    background: #fff;
}

.shopgrids-checkout-page .checkout-summary-item .item-meta {
    flex: 1;
    min-width: 0;
}

.shopgrids-checkout-page .checkout-summary-item h6 {
    margin: 0 0 2px;
    font-size: 14px;
    line-height: 1.35;
}

.shopgrids-checkout-page .checkout-summary-item span {
    color: #7385a0;
    font-size: 12px;
}

.shopgrids-checkout-page .checkout-summary-item strong {
    color: #081828;
    font-size: 14px;
}

.shopgrids-checkout-page .sub-total-price,
.shopgrids-checkout-page .total-payable {
    border-top: 1px dashed #dde7f6;
    padding-top: 12px;
    margin-top: 12px;
}

.shopgrids-checkout-page .total-price,
.shopgrids-checkout-page .payable-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.shopgrids-checkout-page .total-price:last-child,
.shopgrids-checkout-page .payable-price:last-child {
    margin-bottom: 0;
}

.shopgrids-checkout-page .total-price .value,
.shopgrids-checkout-page .payable-price .value {
    margin: 0;
    color: #5f6f87;
    font-size: 14px;
}

.shopgrids-checkout-page .total-price .price,
.shopgrids-checkout-page .payable-price .price {
    margin: 0;
    font-weight: 700;
    color: #081828;
}

.shopgrids-checkout-page .payable-price .price {
    font-size: 21px;
}

.shopgrids-checkout-page .free-shipping {
    color: #08c076;
    font-weight: 700;
}

.shopgrids-checkout-page .delivery-estimate {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #d7f6e7;
    background: #f1fdf7;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #086a46;
}

.shopgrids-checkout-page .delivery-estimate i {
    font-size: 22px;
}

.shopgrids-checkout-page .delivery-estimate strong {
    display: block;
    color: #0a5d3f;
    font-size: 14px;
}

.shopgrids-checkout-page .delivery-estimate span {
    font-size: 12px;
}

.shopgrids-checkout-page .price-table-btn {
    margin-top: 16px;
}

.shopgrids-checkout-page .price-table-btn .btn {
    width: 100%;
}

.shopgrids-checkout-page .checkout-trust-badges {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.shopgrids-checkout-page .checkout-trust-badges div {
    border: 1px solid #e8eef9;
    border-radius: 9px;
    background: #fbfdff;
    color: #5f6f87;
    font-size: 12px;
    padding: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.shopgrids-checkout-page .checkout-trust-badges i {
    color: #0167f3;
}

.shopgrids-checkout-page .checkout-alert-error {
    margin-bottom: 14px;
    border: 1px solid #ffd6d6;
    border-radius: 10px;
    background: #fff5f5;
    color: #f73232;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shopgrids-checkout-page .checkout-alert-error i {
    font-size: 16px;
}

.home-page .offer-ended {
    display: none;
}

.home-page .offer-ended.is-visible {
    display: block;
}

@media (max-width: 991px) {
    .shopgrids-checkout-page .checkout-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .shopgrids-cart-page .cart-list-title {
        display: none;
    }

    .shopgrids-cart-page .cart-single-list {
        padding: 14px;
    }

    .shopgrids-cart-page .cart-single-list .row > [class*="col-"] {
        margin-bottom: 12px;
    }

    .shopgrids-cart-page .cart-single-list .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .shopgrids-cart-page .coupon form {
        flex-direction: column;
        align-items: stretch;
    }

    .shopgrids-cart-page .total-amount .left,
    .shopgrids-cart-page .total-amount .right {
        padding: 18px;
    }

    .shopgrids-checkout-page .checkout-steps-form-style-1,
    .shopgrids-checkout-page .checkout-sidebar-coupon,
    .shopgrids-checkout-page .checkout-sidebar-price-table {
        padding: 16px;
    }

    .shopgrids-checkout-page .checkout-steps-form-style-1 .checkout-steps-form-content {
        padding: 14px;
    }

    .shopgrids-checkout-page .steps-form-btn {
        flex-direction: column;
    }

    .shopgrids-checkout-page .steps-form-btn .btn {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .shopgrids-checkout-page .checkout-trust-badges {
        grid-template-columns: 1fr;
    }
}

/* Auth pages */

.auth-shop-page .auth-hero {
    background:
        radial-gradient(circle at 8% 18%, rgba(11, 120, 246, 0.11) 0, rgba(11, 120, 246, 0) 47%),
        radial-gradient(circle at 88% 78%, rgba(8, 192, 118, 0.12) 0, rgba(8, 192, 118, 0) 52%),
        #f4f7fc;
}

.auth-shop-page .auth-grid {
    position: relative;
    z-index: 2;
}

.auth-shop-page .auth-promo-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #102f4f;
    border-radius: 18px;
    background: linear-gradient(155deg, #081828 0%, #0e2f50 58%, #0167f3 130%);
    box-shadow: 0 22px 40px rgba(8, 24, 40, 0.23);
    padding: 30px;
}

.auth-shop-page .auth-promo-card::before,
.auth-shop-page .auth-promo-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-shop-page .auth-promo-card::before {
    width: 180px;
    height: 180px;
    right: -80px;
    top: -72px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 72%);
}

.auth-shop-page .auth-promo-card::after {
    width: 230px;
    height: 230px;
    left: -95px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(8, 192, 118, 0.22) 0%, rgba(8, 192, 118, 0) 76%);
}

.auth-shop-page .auth-kicker {
    margin: 0 0 10px;
    color: #8ec2ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.auth-shop-page .auth-promo-card h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
}

.auth-shop-page .auth-promo-card p {
    margin: 14px 0 0;
    color: #d1e3f8;
    line-height: 1.72;
    font-size: 15px;
}

.auth-shop-page .auth-benefits {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.auth-shop-page .auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #e6f0fc;
    line-height: 1.6;
    font-size: 14px;
}

.auth-shop-page .auth-benefits i {
    color: #08c076;
    margin-top: 2px;
}

.auth-shop-page .auth-mini-stats {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-shop-page .auth-mini-stats li {
    border: 1px solid rgba(189, 215, 245, 0.32);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 11px 10px;
    text-align: center;
}

.auth-shop-page .auth-mini-stats strong {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.auth-shop-page .auth-mini-stats span {
    display: block;
    margin-top: 3px;
    color: #c1d7f2;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.auth-shop-page .auth-form-card {
    height: 100%;
    border: 1px solid #dce7f6;
    border-radius: 18px;
    background: linear-gradient(140deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 20px 36px rgba(8, 24, 40, 0.08);
    padding: 30px;
}

.auth-shop-page .auth-header h2 {
    margin: 0;
    color: #081828;
    font-size: 30px;
    line-height: 1.24;
}

.auth-shop-page .auth-header p {
    margin: 10px 0 0;
    color: #5f6f87;
    line-height: 1.68;
}

.auth-shop-page .auth-form {
    margin-top: 20px;
}

.auth-shop-page .auth-inline-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-shop-page .auth-input-group {
    margin-bottom: 14px;
}

.auth-shop-page .auth-input-group label {
    display: block;
    margin-bottom: 7px;
    color: #44566f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.auth-shop-page .auth-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d9e4f5;
    border-radius: 11px;
    min-height: 48px;
    background: #fff;
    padding: 0 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-shop-page .auth-input-wrap i {
    color: #0167f3;
    font-size: 16px;
}

.auth-shop-page .auth-input-wrap input {
    width: 100%;
    border: 0;
    background: transparent;
    min-height: 44px;
    color: #081828;
    font-size: 15px;
}

.auth-shop-page .auth-input-wrap input:focus {
    outline: none;
}

.auth-shop-page .auth-input-wrap:focus-within {
    border-color: #0167f3;
    box-shadow: 0 0 0 3px rgba(1, 103, 243, 0.13);
}

.auth-shop-page .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 8px 0 18px;
}

.auth-shop-page .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #4e6079;
    font-size: 14px;
    line-height: 1.6;
}

.auth-shop-page .checkbox-label input {
    margin-top: 3px;
    accent-color: #0167f3;
}

.auth-shop-page .forgot-link,
.auth-shop-page .auth-footer a,
.auth-shop-page .auth-form-check a {
    color: #0167f3;
    font-weight: 600;
}

.auth-shop-page .forgot-link:hover,
.auth-shop-page .auth-footer a:hover,
.auth-shop-page .auth-form-check a:hover {
    color: #0054c7;
}

.auth-shop-page .btn-submit {
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #0167f3 0%, #0057cf 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-shop-page .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(1, 103, 243, 0.27);
}

.auth-shop-page .btn-submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 103, 243, 0.18);
}

.auth-shop-page .form-hint {
    margin: 2px 0 12px;
    color: #6f8099;
    font-size: 13px;
}

.auth-shop-page .auth-form-check {
    margin-bottom: 16px;
}

.auth-shop-page .auth-footer {
    border-top: 1px solid #e4ecf8;
    margin-top: 20px;
    padding-top: 16px;
}

.auth-shop-page .auth-footer p {
    margin: 0;
    color: #5f6f87;
}

.auth-shop-page .social-login {
    margin-top: 20px;
}

.auth-shop-page .divider {
    position: relative;
    text-align: center;
    margin-bottom: 14px;
}

.auth-shop-page .divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid #dfe9f8;
}

.auth-shop-page .divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: #f7faff;
    color: #647a97;
    padding: 0 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.auth-shop-page .social-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.auth-shop-page .social-btn {
    min-height: 44px;
    border: 1px solid #d9e4f4;
    border-radius: 10px;
    background: #fff;
    color: #7e8da2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    cursor: not-allowed;
}

.auth-shop-page .coming-soon-text {
    margin: 10px 0 0;
    color: #7d8ca2;
    font-size: 12px;
    text-align: center;
}

.auth-shop-page .alert {
    margin-top: 16px;
    border-radius: 11px;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.auth-shop-page .alert i {
    margin-top: 1px;
}

.auth-shop-page .alert-error {
    border: 1px solid #ffd1d8;
    background: #fff2f4;
    color: #b61f35;
}

.auth-shop-page .alert-success {
    border: 1px solid #b7ebcf;
    background: #ecfcf3;
    color: #0f7449;
}

@media (max-width: 1199px) {
    .auth-shop-page .auth-promo-card h2 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .auth-shop-page .auth-promo-card,
    .auth-shop-page .auth-form-card {
        padding: 24px;
    }

    .auth-shop-page .auth-promo-card h2,
    .auth-shop-page .auth-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .auth-shop-page .auth-promo-card,
    .auth-shop-page .auth-form-card {
        padding: 18px;
        border-radius: 12px;
    }

    .auth-shop-page .auth-promo-card h2,
    .auth-shop-page .auth-header h2 {
        font-size: 24px;
    }

    .auth-shop-page .auth-inline-grid,
    .auth-shop-page .social-buttons,
    .auth-shop-page .auth-mini-stats {
        grid-template-columns: 1fr;
    }

    .auth-shop-page .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Account pages */

.account-shop-page .account-section {
    background:
        radial-gradient(circle at 9% 12%, rgba(1, 103, 243, 0.1) 0, rgba(1, 103, 243, 0) 40%),
        radial-gradient(circle at 86% 84%, rgba(8, 192, 118, 0.1) 0, rgba(8, 192, 118, 0) 46%),
        #f4f7fc;
}

.account-shop-page .account-section .container {
    position: relative;
    z-index: 2;
}

.account-shop-page .alert {
    border-radius: 11px;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.account-shop-page .alert-success {
    border: 1px solid #b7ebcf;
    background: #ecfcf3;
    color: #0f7449;
}

.account-shop-page .alert-error {
    border: 1px solid #ffd1d8;
    background: #fff2f4;
    color: #b61f35;
}

.account-shop-page .account-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.account-shop-page .account-sidebar,
.account-shop-page .account-content {
    border: 1px solid #dbe6f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(8, 24, 40, 0.07);
}

.account-shop-page .account-sidebar {
    padding: 18px;
    position: sticky;
    top: 105px;
}

.account-shop-page .user-info {
    border: 1px solid #e3ebf8;
    border-radius: 13px;
    background: #f7faff;
    text-align: center;
    padding: 16px;
}

.account-shop-page .user-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #0167f3 0%, #0057cf 100%);
    color: #fff;
    font-size: 26px;
}

.account-shop-page .user-info h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.account-shop-page .user-info p {
    margin: 5px 0 0;
    color: #5f6f87;
    font-size: 13px;
    word-break: break-word;
}

.account-shop-page .account-nav {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-shop-page .account-nav a {
    border: 1px solid #d9e5f6;
    border-radius: 10px;
    background: #fff;
    min-height: 44px;
    padding: 10px 12px;
    color: #32496a;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.account-shop-page .account-nav a.active {
    border-color: #0167f3;
    background: #eef5ff;
    color: #0167f3;
}

.account-shop-page .account-nav a:hover {
    color: #0167f3;
    border-color: #0167f3;
}

.account-shop-page .account-nav .logout-link {
    margin-top: 8px;
    border-color: #f3d1d7;
    background: #fff7f8;
    color: #b61f35;
}

.account-shop-page .account-content {
    padding: 24px;
}

.account-shop-page .account-welcome-card,
.account-shop-page .account-page-header {
    border: 1px solid #dce8f8;
    border-radius: 14px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f6ff 100%);
    padding: 18px;
    margin-bottom: 16px;
}

.account-shop-page .account-kicker {
    margin: 0 0 6px;
    color: #0167f3;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 700;
}

.account-shop-page .account-welcome-card h2,
.account-shop-page .account-page-header h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.23;
    color: #081828;
}

.account-shop-page .account-welcome-card p,
.account-shop-page .account-page-header p {
    margin: 8px 0 0;
    color: #5f6f87;
    line-height: 1.72;
}

.account-shop-page .dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.account-shop-page .stat-card {
    border: 1px solid #dfe8f7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(8, 24, 40, 0.05);
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.account-shop-page .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #0167f3;
    font-size: 22px;
}

.account-shop-page .stat-info h3 {
    margin: 0;
    color: #081828;
    font-size: 26px;
    line-height: 1.1;
}

.account-shop-page .stat-info p {
    margin: 4px 0 0;
    color: #5f6f87;
    font-size: 13px;
}

.account-shop-page .recent-orders,
.account-shop-page .account-details,
.account-shop-page .settings-section {
    border: 1px solid #dfe8f7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(8, 24, 40, 0.05);
    padding: 18px;
}

.account-shop-page .recent-orders,
.account-shop-page .settings-section {
    margin-bottom: 14px;
}

.account-shop-page .recent-orders h2,
.account-shop-page .account-details h2,
.account-shop-page .settings-section h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.account-shop-page .section-description {
    margin: 7px 0 0;
    color: #5f6f87;
    font-size: 14px;
}

.account-shop-page .orders-table {
    margin-top: 14px;
    overflow-x: auto;
}

.account-shop-page .orders-table table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

.account-shop-page .orders-table th,
.account-shop-page .orders-table td {
    border-bottom: 1px solid #e6edf8;
    text-align: left;
    padding: 11px 10px;
    font-size: 14px;
    color: #364c6a;
}

.account-shop-page .orders-table th {
    color: #081828;
    font-weight: 700;
}

.account-shop-page .status-badge {
    border-radius: 100px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.account-shop-page .status-pending,
.account-shop-page .status-processing {
    border: 1px solid #ffe4b2;
    color: #ad6a00;
    background: #fff6e5;
}

.account-shop-page .status-shipped {
    border: 1px solid #bdd6ff;
    color: #1255b5;
    background: #ebf3ff;
}

.account-shop-page .status-delivered {
    border: 1px solid #b8ebcf;
    color: #0f7449;
    background: #ecfcf3;
}

.account-shop-page .status-cancelled {
    border: 1px solid #ffcfd5;
    color: #b61f35;
    background: #fff2f4;
}

.account-shop-page .btn-view,
.account-shop-page .btn-secondary,
.account-shop-page .btn-view-order,
.account-shop-page .btn-cancel-order,
.account-shop-page .btn-primary,
.account-shop-page .btn-danger {
    border-radius: 10px;
    border: 0;
    min-height: 42px;
    padding: 10px 14px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.account-shop-page .btn-primary,
.account-shop-page .btn-view,
.account-shop-page .btn-view-order {
    background: #0167f3;
    color: #fff;
}

.account-shop-page .btn-primary:hover,
.account-shop-page .btn-view:hover,
.account-shop-page .btn-view-order:hover {
    background: #0057cf;
    color: #fff;
}

.account-shop-page .btn-secondary {
    border: 1px solid #d6e2f5;
    background: #fff;
    color: #314766;
}

.account-shop-page .btn-secondary:hover {
    color: #0167f3;
    border-color: #0167f3;
}

.account-shop-page .btn-cancel-order,
.account-shop-page .btn-danger {
    border: 1px solid #f3d1d7;
    background: #fff7f8;
    color: #b61f35;
}

.account-shop-page .btn-cancel-order:hover,
.account-shop-page .btn-danger:hover {
    border-color: #ea9eab;
    color: #9f1b2f;
}

.account-shop-page .details-grid,
.account-shop-page .order-details-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.account-shop-page .detail-item {
    border: 1px solid #e3ebf8;
    border-radius: 10px;
    background: #f9fbff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.account-shop-page .detail-item strong {
    color: #081828;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-shop-page .detail-item span {
    color: #44566f;
    line-height: 1.55;
}

.account-shop-page .full-width {
    grid-column: 1 / -1;
}

.account-shop-page .order-total {
    font-weight: 700;
    color: #081828;
}

.account-shop-page .orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-shop-page .order-card {
    border: 1px solid #dfe8f7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(8, 24, 40, 0.05);
    padding: 14px;
}

.account-shop-page .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebf0f9;
}

.account-shop-page .order-info h3 {
    margin: 0;
    font-size: 18px;
}

.account-shop-page .order-date {
    margin: 6px 0 0;
    color: #5f6f87;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.account-shop-page .order-body {
    padding-top: 12px;
}

.account-shop-page .tracking-item {
    border-color: #d6e2f5;
    background: #f2f7ff;
}

.account-shop-page .tracking-number {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.account-shop-page .order-notes {
    margin-top: 10px;
    border-top: 1px solid #ebf0f9;
    padding-top: 10px;
}

.account-shop-page .order-notes p {
    margin: 5px 0 0;
    color: #5f6f87;
}

.account-shop-page .order-footer {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.account-shop-page .settings-form {
    margin-top: 14px;
}

.account-shop-page .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.account-shop-page .form-group {
    margin-bottom: 12px;
}

.account-shop-page .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #44566f;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.account-shop-page .form-group input,
.account-shop-page .form-group select {
    width: 100%;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 15px;
    color: #081828;
    background: #fff;
}

.account-shop-page .form-group input:focus,
.account-shop-page .form-group select:focus {
    outline: none;
    border-color: #0167f3;
    box-shadow: 0 0 0 3px rgba(1, 103, 243, 0.12);
}

.account-shop-page #address-settings {
    scroll-margin-top: 120px;
}

.account-shop-page .danger-zone {
    border-color: #f6d8de;
    background: linear-gradient(145deg, #fff8f9 0%, #fff 100%);
}

.account-shop-page .empty-state {
    border: 1px dashed #d8e2f2;
    border-radius: 12px;
    background: #f9fbff;
    text-align: center;
    padding: 30px 18px;
}

.account-shop-page .empty-state i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #0167f3;
    font-size: 30px;
}

.account-shop-page .empty-state h3 {
    margin-bottom: 7px;
}

.account-shop-page .empty-state p {
    margin-bottom: 14px;
    color: #5f6f87;
}

@media (max-width: 1199px) {
    .account-shop-page .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .account-shop-page .account-grid {
        grid-template-columns: 1fr;
    }

    .account-shop-page .account-sidebar {
        position: static;
    }

    .account-shop-page .account-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .account-shop-page .account-sidebar,
    .account-shop-page .account-content,
    .account-shop-page .recent-orders,
    .account-shop-page .account-details,
    .account-shop-page .settings-section,
    .account-shop-page .order-card {
        border-radius: 12px;
        padding: 16px;
    }

    .account-shop-page .account-welcome-card h2,
    .account-shop-page .account-page-header h2,
    .account-shop-page .recent-orders h2,
    .account-shop-page .account-details h2,
    .account-shop-page .settings-section h2 {
        font-size: 23px;
    }

    .account-shop-page .dashboard-stats,
    .account-shop-page .details-grid,
    .account-shop-page .order-details-grid,
    .account-shop-page .form-row {
        grid-template-columns: 1fr;
    }

    .account-shop-page .order-header,
    .account-shop-page .order-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-shop-page .btn-view,
    .account-shop-page .btn-secondary,
    .account-shop-page .btn-view-order,
    .account-shop-page .btn-cancel-order,
    .account-shop-page .btn-primary,
    .account-shop-page .btn-danger {
        width: 100%;
    }
}

/* Order success page */

.order-success-shop-page .order-success-section {
    background:
        radial-gradient(circle at 12% 10%, rgba(1, 103, 243, 0.1) 0, rgba(1, 103, 243, 0) 40%),
        radial-gradient(circle at 88% 82%, rgba(8, 192, 118, 0.12) 0, rgba(8, 192, 118, 0) 48%),
        #f4f7fc;
}

.order-success-shop-page .order-success-card {
    border: 1px solid #dbe6f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(8, 24, 40, 0.08);
    padding: 26px;
}

.order-success-shop-page .order-success-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfcf3;
    color: #0f7449;
    font-size: 38px;
}

.order-success-shop-page .order-success-card h1,
.order-success-shop-page .order-success-number,
.order-success-shop-page .order-success-message {
    text-align: center;
}

.order-success-shop-page .order-success-card h1 {
    margin: 0;
    color: #081828;
    font-size: 34px;
    line-height: 1.2;
}

.order-success-shop-page .order-success-number {
    margin: 10px 0 0;
    color: #0167f3;
    font-weight: 700;
}

.order-success-shop-page .order-success-message {
    margin: 8px auto 0;
    max-width: 660px;
    color: #5f6f87;
    line-height: 1.72;
}

.order-success-shop-page .order-success-summary,
.order-success-shop-page .order-success-items {
    border: 1px solid #dfe8f7;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(8, 24, 40, 0.05);
    padding: 16px;
    margin-top: 16px;
}

.order-success-shop-page .order-success-summary h2,
.order-success-shop-page .order-success-items h3 {
    margin: 0 0 10px;
}

.order-success-shop-page .order-success-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #e7eef9;
    color: #44566f;
}

.order-success-shop-page .order-success-row.total {
    border-bottom: 0;
    color: #081828;
    font-weight: 700;
}

.order-success-shop-page .order-success-item-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e7eef9;
}

.order-success-shop-page .order-success-item-row:last-child {
    border-bottom: 0;
}

.order-success-shop-page .order-success-item-row img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 1px solid #deeaef;
    object-fit: cover;
}

.order-success-shop-page .order-success-item-name {
    display: block;
    color: #081828;
    font-weight: 700;
}

.order-success-shop-page .order-success-item-qty {
    margin-top: 3px;
    color: #5f6f87;
    font-size: 13px;
}

.order-success-shop-page .order-success-item-price {
    color: #081828;
    font-weight: 700;
}

.order-success-shop-page .order-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.order-success-shop-page .order-success-delivery-info {
    margin-top: 14px;
    border: 1px solid #d6e2f5;
    border-radius: 11px;
    background: #f2f7ff;
    padding: 10px 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    color: #314b6e;
}

.order-success-shop-page .order-success-delivery-info i {
    color: #0167f3;
    font-size: 19px;
}

@media (max-width: 767px) {
    .order-success-shop-page .order-success-card {
        padding: 18px;
    }

    .order-success-shop-page .order-success-card h1 {
        font-size: 27px;
    }

    .order-success-shop-page .order-success-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .order-success-shop-page .order-success-item-row {
        grid-template-columns: 62px 1fr;
    }

    .order-success-shop-page .order-success-item-price {
        grid-column: 1 / -1;
    }

    .order-success-shop-page .order-success-actions .btn-primary,
    .order-success-shop-page .order-success-actions .btn-secondary {
        width: 100%;
    }
}

/* About and contact pages */

.about-shop-page .about-hero,
.about-shop-page .about-story,
.about-shop-page .about-metrics,
.about-shop-page .about-values,
.about-shop-page .about-coverage,
.about-shop-page .about-seo-copy,
.contact-shop-page .contact-hero,
.contact-shop-page .contact-main,
.contact-shop-page .contact-faq {
    background: #f4f7fc;
}

.about-shop-page .about-hero .container,
.about-shop-page .about-story .container,
.about-shop-page .about-metrics .container,
.about-shop-page .about-values .container,
.about-shop-page .about-coverage .container,
.about-shop-page .about-seo-copy .container,
.contact-shop-page .contact-hero .container,
.contact-shop-page .contact-main .container,
.contact-shop-page .contact-faq .container {
    position: relative;
    z-index: 2;
}

.about-shop-page .about-hero-card,
.contact-shop-page .contact-hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe8f6;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 18px 34px rgba(8, 24, 40, 0.07);
    padding: 34px;
}

.about-shop-page .about-hero-card::before,
.contact-shop-page .contact-hero-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    right: -78px;
    top: -76px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 103, 243, 0.23) 0%, rgba(1, 103, 243, 0) 70%);
    pointer-events: none;
}

.about-shop-page .about-hero-card > *,
.contact-shop-page .contact-hero-card > * {
    position: relative;
    z-index: 1;
}

.about-shop-page .about-kicker,
.contact-shop-page .contact-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #0167f3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-shop-page .about-hero-card h2,
.contact-shop-page .contact-hero-card h2 {
    margin: 0;
    color: #081828;
    font-size: 34px;
    line-height: 1.22;
}

.about-shop-page .about-hero-card p,
.contact-shop-page .contact-hero-card p {
    margin: 16px 0 0;
    color: #5f6f87;
    line-height: 1.75;
    font-size: 16px;
}

.about-shop-page .about-hero-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-shop-page .about-hero-badges,
.contact-shop-page .contact-hero-badges {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-shop-page .about-hero-badges span,
.contact-shop-page .contact-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dce7f8;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.78);
    padding: 8px 13px;
    color: #314766;
    font-size: 13px;
    font-weight: 700;
}

.about-shop-page .about-hero-badges i,
.contact-shop-page .contact-hero-badges i {
    color: #0167f3;
    font-size: 15px;
}

.about-shop-page .about-hero-actions .btn.btn-alt {
    background: #fff;
    color: #081828;
    border: 1px solid #d6e2f5;
}

.about-shop-page .about-hero-actions .btn.btn-alt:hover {
    color: #0167f3;
    border-color: #0167f3;
    background: #f2f7ff;
}

.about-shop-page .about-story-card {
    height: 100%;
    border: 1px solid #e4ecf7;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(8, 24, 40, 0.06);
    padding: 28px;
}

.about-shop-page .about-story-card-accent {
    background: linear-gradient(160deg, #081828 0%, #0f3154 100%);
    border-color: #0f3154;
}

.about-shop-page .about-story-card h2 {
    margin: 0 0 14px;
    font-size: 27px;
    line-height: 1.25;
    color: #081828;
}

.about-shop-page .about-story-card p {
    margin: 0 0 12px;
    color: #5f6f87;
    font-size: 15px;
    line-height: 1.75;
}

.about-shop-page .about-story-card p:last-child {
    margin-bottom: 0;
}

.about-shop-page .about-story-card-accent h2 {
    color: #fff;
}

.about-shop-page .about-story-card-accent .about-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-shop-page .about-story-card-accent .about-checklist li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #d9e6f8;
    line-height: 1.6;
}

.about-shop-page .about-story-card-accent .about-checklist i {
    color: #08c076;
    margin-top: 2px;
}

.about-shop-page .about-metric-card {
    height: 100%;
    border: 1px solid #d8e2f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 24, 40, 0.05);
    padding: 22px 20px;
    text-align: center;
}

.about-shop-page .about-metric-card strong {
    display: block;
    margin-bottom: 6px;
    color: #0167f3;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
}

.about-shop-page .about-metric-card span {
    display: block;
    color: #5f6f87;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.about-shop-page .about-values .section-title {
    margin-bottom: 20px;
}

.about-shop-page .about-values .section-title h2 {
    margin-bottom: 10px;
}

.about-shop-page .about-values .section-title p {
    max-width: 760px;
    margin: 0 auto;
}

.about-shop-page .about-value-card {
    height: 100%;
    border: 1px solid #e4ecf7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(8, 24, 40, 0.06);
    padding: 26px 22px;
    text-align: center;
}

.about-shop-page .about-value-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #0167f3;
    font-size: 24px;
}

.about-shop-page .about-value-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.about-shop-page .about-value-card p {
    margin: 0;
    color: #5f6f87;
    line-height: 1.65;
    font-size: 14px;
}

.about-shop-page .about-coverage-card,
.about-shop-page .about-seo-card {
    border: 1px solid #dbe6f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(8, 24, 40, 0.06);
    padding: 30px;
}

.about-shop-page .about-coverage-card h2,
.about-shop-page .about-seo-card h2 {
    margin: 0 0 10px;
    font-size: 29px;
    line-height: 1.3;
}

.about-shop-page .about-coverage-card p,
.about-shop-page .about-seo-card p {
    margin: 0 0 12px;
    color: #5f6f87;
    line-height: 1.75;
    font-size: 15px;
}

.about-shop-page .about-coverage-card p:last-child,
.about-shop-page .about-seo-card p:last-child {
    margin-bottom: 0;
}

.about-shop-page .about-city-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-shop-page .about-city-list li {
    border: 1px solid #d9e5f6;
    border-radius: 100px;
    background: #f5f8ff;
    color: #384e6c;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
}

.contact-shop-page .contact-info-wrap {
    display: grid;
    gap: 14px;
    height: 100%;
}

.contact-shop-page .contact-info-card {
    border: 1px solid #e3ebf8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(8, 24, 40, 0.06);
    padding: 22px;
}

.contact-shop-page .contact-info-card i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: #edf4ff;
    color: #0167f3;
    margin-bottom: 10px;
}

.contact-shop-page .contact-info-card h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.contact-shop-page .contact-info-card p {
    margin: 0;
    color: #5f6f87;
    line-height: 1.65;
}

.contact-shop-page .contact-info-card p + p {
    margin-top: 3px;
}

.contact-shop-page .contact-info-card a {
    color: #0167f3;
}

.contact-shop-page .contact-social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.contact-shop-page .contact-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #081828;
    border: 1px solid #d8e2f2;
    background: #fff;
}

.contact-shop-page .contact-social-links a:hover {
    color: #0167f3;
    border-color: #0167f3;
    background: #eef4ff;
}

.contact-shop-page .contact-form-card {
    height: 100%;
    border: 1px solid #dde7f6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(8, 24, 40, 0.07);
    padding: 30px;
}

.contact-shop-page .contact-form-card h2 {
    margin: 0;
    font-size: 30px;
}

.contact-shop-page .contact-form-card .subtitle {
    margin: 10px 0 0;
    color: #5f6f87;
}

.contact-shop-page .contact-form-grid {
    margin-top: 22px;
}

.contact-shop-page .form-group {
    margin-bottom: 16px;
}

.contact-shop-page .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #44566f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.contact-shop-page .form-group input,
.contact-shop-page .form-group textarea {
    width: 100%;
    border: 1px solid #d8e2f2;
    border-radius: 10px;
    min-height: 46px;
    padding: 10px 14px;
    color: #081828;
    background: #fff;
    font-size: 15px;
}

.contact-shop-page .form-group textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-shop-page .form-group input:focus,
.contact-shop-page .form-group textarea:focus {
    outline: none;
    border-color: #0167f3;
    box-shadow: 0 0 0 3px rgba(1, 103, 243, 0.12);
}

.contact-shop-page .captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-shop-page .captcha-question {
    min-width: 120px;
    border: 1px solid #dce7f8;
    border-radius: 10px;
    background: #f7faff;
    color: #081828;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
}

.contact-shop-page .captcha-group input {
    max-width: 130px;
}

.contact-shop-page .btn-submit {
    width: 100%;
    margin-top: 4px;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: #0167f3;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.contact-shop-page .btn-submit:hover {
    background: #0057cf;
}

.contact-shop-page .btn-submit:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.icon-spin {
    display: inline-block;
    animation: icon-spin 0.9s linear infinite;
}

@keyframes icon-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.contact-shop-page .message-box {
    border-radius: 10px;
    padding: 11px 12px;
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    display: none;
}

.contact-shop-page .message-box.success {
    border: 1px solid #b5e8ce;
    background: #eafcf2;
    color: #0a6a40;
}

.contact-shop-page .message-box.error {
    border: 1px solid #ffcfd5;
    background: #fff0f2;
    color: #b1142c;
}

.contact-shop-page .contact-form-note {
    margin: 14px 0 0;
    color: #5f6f87;
    font-size: 13px;
}

.contact-shop-page .contact-faq .section-title {
    margin-bottom: 20px;
}

.contact-shop-page .contact-faq-item {
    border: 1px solid #dee8f7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(8, 24, 40, 0.05);
    padding: 14px 16px;
}

.contact-shop-page .contact-faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: #081828;
    padding-right: 18px;
    position: relative;
}

.contact-shop-page .contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-shop-page .contact-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    color: #0167f3;
    font-weight: 700;
}

.contact-shop-page .contact-faq-item[open] summary::after {
    content: '-';
}

.contact-shop-page .contact-faq-item p {
    margin: 10px 0 0;
    color: #5f6f87;
    line-height: 1.7;
    font-size: 14px;
}

@media (max-width: 991px) {
    .about-shop-page .about-hero-card,
    .contact-shop-page .contact-hero-card,
    .contact-shop-page .contact-form-card,
    .about-shop-page .about-coverage-card,
    .about-shop-page .about-seo-card {
        padding: 24px;
    }

    .about-shop-page .about-hero-card h2,
    .contact-shop-page .contact-hero-card h2 {
        font-size: 30px;
    }

    .about-shop-page .about-story-card h2,
    .about-shop-page .about-coverage-card h2,
    .about-shop-page .about-seo-card h2,
    .contact-shop-page .contact-form-card h2 {
        font-size: 25px;
    }
}

@media (max-width: 767px) {
    .about-shop-page .about-hero-card,
    .contact-shop-page .contact-hero-card,
    .contact-shop-page .contact-form-card,
    .about-shop-page .about-story-card,
    .about-shop-page .about-coverage-card,
    .about-shop-page .about-seo-card,
    .contact-shop-page .contact-info-card {
        padding: 18px;
        border-radius: 12px;
    }

    .about-shop-page .about-hero-card h2,
    .contact-shop-page .contact-hero-card h2 {
        font-size: 25px;
    }

    .about-shop-page .about-story-card h2,
    .about-shop-page .about-coverage-card h2,
    .about-shop-page .about-seo-card h2,
    .contact-shop-page .contact-form-card h2 {
        font-size: 22px;
    }

    .about-shop-page .about-hero-actions {
        flex-direction: column;
    }

    .about-shop-page .about-hero-actions .btn {
        width: 100%;
    }

    .about-shop-page .about-hero-badges,
    .contact-shop-page .contact-hero-badges {
        flex-direction: column;
    }

    .about-shop-page .about-hero-badges span,
    .contact-shop-page .contact-hero-badges span {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-shop-page .captcha-group {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-shop-page .captcha-question,
    .contact-shop-page .captcha-group input {
        max-width: none;
        width: 100%;
    }
}

/* Mobile hero slider image-first tuning */
@media (max-width: 767px) {
    .home-page .hero-area .hero-slider .single-slider .content {
        left: 10px;
        right: auto;
        bottom: 10px;
        max-width: min(72%, 260px);
        padding: 10px 11px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.66);
        backdrop-filter: blur(2px);
    }

    .home-page .hero-area .hero-slider .single-slider .content h2 {
        font-size: 17px;
        line-height: 1.24;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }

    .home-page .hero-area .hero-slider .single-slider .content h2 span {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .home-page .hero-area .hero-slider .single-slider .content p {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.35;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        display: -webkit-box;
    }

    .home-page .hero-area .hero-slider .single-slider .content h3 {
        margin-top: 7px;
        font-size: 16px;
    }

    .home-page .hero-area .hero-slider .single-slider .content h3 span {
        font-size: 11px;
        margin-right: 6px;
    }

    .home-page .hero-area .hero-slider .single-slider .content .button {
        margin-top: 9px;
    }

    .home-page .hero-area .hero-slider .single-slider .content .button .btn {
        padding: 8px 11px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .home-page .hero-area .hero-slider .single-slider .content {
        max-width: min(76%, 232px);
        padding: 8px 9px;
    }

    .home-page .hero-area .hero-slider .single-slider .content p {
        display: none;
    }

    .home-page .hero-area .hero-slider .single-slider .content h2 {
        font-size: 15px;
    }

    .home-page .hero-area .hero-slider .single-slider .content h3 {
        font-size: 14px;
        margin-top: 6px;
    }

    .home-page .hero-area .hero-slider .single-slider .content .button {
        margin-top: 7px;
    }
}

/* Blog pages */

.blog-page .blog-index-main,
.blog-detail-page .blog-detail-main {
    background: #f4f7fc;
}

.blog-page .blog-intro-box {
    border: 1px solid #dbe6f7;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 14px 28px rgba(8, 24, 40, 0.06);
}

.blog-page .blog-intro-box h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.25;
}

.blog-page .blog-intro-box p {
    margin: 0;
    color: #5f6f87;
    line-height: 1.72;
}

.blog-page .blog-results-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.blog-page .blog-results-head h3 {
    margin: 0;
    font-size: 24px;
}

.blog-page .blog-results-head span {
    color: #61738d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-page .single-blog.blog-card,
.blog-detail-page .single-blog.blog-card {
    height: 100%;
    border: 1px solid #e4ecf7;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(8, 24, 40, 0.06);
}

.blog-page .single-blog.blog-card .blog-image,
.blog-detail-page .single-blog.blog-card .blog-image {
    width: 100%;
    height: 220px;
    background: radial-gradient(circle at 15% 12%, #ffffff 0%, #edf3fe 100%);
}

.blog-page .single-blog.blog-card .blog-image a,
.blog-detail-page .single-blog.blog-card .blog-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-page .single-blog.blog-card .blog-image img,
.blog-detail-page .single-blog.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
}

.blog-page .single-blog.blog-card .blog-content,
.blog-detail-page .single-blog.blog-card .blog-content {
    padding: 18px;
}

.blog-page .single-blog.blog-card .blog-content .category,
.blog-detail-page .single-blog.blog-card .blog-content .category {
    color: #0167f3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.blog-page .single-blog.blog-card .blog-content h4,
.blog-detail-page .single-blog.blog-card .blog-content h4 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

.blog-page .single-blog.blog-card .blog-content p,
.blog-detail-page .single-blog.blog-card .blog-content p {
    margin: 0;
    color: #5f6f87;
    line-height: 1.65;
    font-size: 14px;
}

.blog-page .single-blog.blog-card .blog-content .button,
.blog-detail-page .single-blog.blog-card .blog-content .button {
    margin-top: 14px;
}

.blog-page .blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: #70829d;
    font-size: 12px;
}

.blog-page .blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-page .blog-empty-state {
    border: 1px solid #dce7f6;
    border-radius: 14px;
    background: #fff;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 14px 28px rgba(8, 24, 40, 0.06);
}

.blog-page .blog-empty-state h4 {
    margin-bottom: 8px;
}

.blog-page .blog-empty-state p {
    margin-bottom: 18px;
    color: #5f6f87;
}

.blog-page .blog-sidebar,
.blog-detail-page .blog-sidebar {
    position: sticky;
    top: 106px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.blog-page .blog-widget,
.blog-detail-page .blog-widget {
    background: #fff;
    border: 1px solid #e3ebf8;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(8, 24, 40, 0.06);
}

.blog-page .blog-widget .widget-title,
.blog-detail-page .blog-widget .widget-title {
    margin: 0 0 12px;
    font-size: 17px;
}

.blog-page .blog-search-form {
    position: relative;
}

.blog-page .blog-search-form input {
    width: 100%;
    height: 44px;
    border: 1px solid #d7e2f4;
    border-radius: 8px;
    padding: 0 42px 0 12px;
    font-size: 14px;
}

.blog-page .blog-search-form button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #0167f3;
    font-size: 16px;
    padding: 0;
}

.blog-page .blog-topic-list,
.blog-detail-page .blog-topic-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-page .blog-topic-list a,
.blog-detail-page .blog-topic-list a {
    border: 1px solid #dce7f7;
    border-radius: 8px;
    min-height: 40px;
    padding: 9px 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #334a69;
    font-size: 13px;
    font-weight: 700;
    background: #f8fbff;
}

.blog-page .blog-topic-list a:hover,
.blog-page .blog-topic-list a.active,
.blog-detail-page .blog-topic-list a:hover,
.blog-detail-page .blog-topic-list a.active {
    border-color: #0167f3;
    color: #0167f3;
    background: #edf4ff;
}

.blog-page .blog-featured-list,
.blog-detail-page .blog-featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-page .blog-featured-item,
.blog-detail-page .blog-featured-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-page .blog-featured-item .thumb,
.blog-detail-page .blog-featured-item .thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    border: 1px solid #dce6f7;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.blog-page .blog-featured-item .thumb img,
.blog-detail-page .blog-featured-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.blog-page .blog-featured-item .meta span,
.blog-detail-page .blog-featured-item .meta span {
    display: block;
    margin-bottom: 4px;
    color: #70829d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.blog-page .blog-featured-item .meta h4,
.blog-detail-page .blog-featured-item .meta h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.blog-page .seo-note p,
.blog-detail-page .seo-note p {
    margin: 0;
    color: #5f6f87;
    line-height: 1.7;
    font-size: 14px;
}

.blog-page .pagination .ellipsis span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    border-radius: 6px;
    border: 1px solid #e2ebf8;
    color: #6a7f9c;
}

.blog-detail-page .blog-article-card {
    border: 1px solid #dce7f8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(8, 24, 40, 0.07);
    padding: 24px;
}

.blog-detail-page .blog-article-header .topic-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #cce0ff;
    background: #edf5ff;
    color: #0167f3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 11px;
}

.blog-detail-page .blog-article-header h2 {
    margin: 12px 0 10px;
    font-size: 33px;
    line-height: 1.2;
}

.blog-detail-page .blog-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #697f9f;
    font-size: 13px;
}

.blog-detail-page .blog-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-page .blog-article-image {
    margin-top: 18px;
    width: 100%;
    height: clamp(220px, 38vw, 360px);
    border-radius: 14px;
    border: 1px solid #dce6f8;
    overflow: hidden;
    background: radial-gradient(circle at top, #ffffff 0%, #edf3fe 100%);
}

.blog-detail-page .blog-article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.blog-detail-page .blog-article-lead {
    margin: 18px 0 0;
    color: #415b7d;
    line-height: 1.74;
    font-size: 17px;
    font-weight: 500;
}

.blog-detail-page .blog-article-content {
    margin-top: 20px;
}

.blog-detail-page .blog-article-content h2,
.blog-detail-page .blog-article-content h3,
.blog-detail-page .blog-article-content h4 {
    margin: 22px 0 10px;
    line-height: 1.3;
}

.blog-detail-page .blog-article-content p {
    margin: 0 0 14px;
    color: #415b7d;
    line-height: 1.78;
}

.blog-detail-page .blog-article-content ul,
.blog-detail-page .blog-article-content ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

.blog-detail-page .blog-article-content li {
    color: #415b7d;
    margin-bottom: 8px;
}

.blog-detail-page .blog-article-content a {
    color: #0167f3;
    text-decoration: underline;
}

.blog-detail-page .blog-tag-row {
    margin-top: 22px;
}

.blog-detail-page .blog-tag-row h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.blog-detail-page .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-detail-page .tag-pill {
    border: 1px solid #d4e2f7;
    border-radius: 999px;
    background: #f5f9ff;
    color: #334b6c;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.blog-detail-page .tag-pill:hover {
    border-color: #0167f3;
    color: #0167f3;
    background: #eaf2ff;
}

.blog-detail-page .blog-article-cta {
    margin-top: 24px;
    border: 1px solid #d9e6f8;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #eff5ff 100%);
    padding: 20px;
}

.blog-detail-page .blog-article-cta h4 {
    margin: 0 0 8px;
    font-size: 22px;
}

.blog-detail-page .blog-article-cta p {
    margin: 0 0 12px;
    color: #5f6f87;
}

.blog-detail-page .blog-related-wrap {
    margin-top: 24px;
}

.blog-detail-page .blog-related-wrap .section-title {
    margin-bottom: 12px;
}

.blog-detail-page .blog-related-wrap .section-title h3 {
    margin-bottom: 6px;
}

.blog-detail-page .blog-related-wrap .section-title p {
    margin: 0;
    color: #5f6f87;
}

.blog-detail-page .blog-widget .btn-alt {
    margin-top: 12px;
    width: 100%;
    border: 1px solid #d7e2f4;
    background: #fff;
    color: #324a6a;
}

.blog-detail-page .blog-widget .btn-alt:hover {
    border-color: #0167f3;
    color: #0167f3;
    background: #eef4ff;
}

@media (max-width: 991px) {
    .blog-page .blog-sidebar,
    .blog-detail-page .blog-sidebar {
        position: static;
    }

    .blog-page .blog-intro-box h2 {
        font-size: 26px;
    }

    .blog-detail-page .blog-article-header h2 {
        font-size: 29px;
    }
}

@media (max-width: 767px) {
    .blog-page .blog-intro-box,
    .blog-detail-page .blog-article-card {
        padding: 18px;
    }

    .blog-page .blog-results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-page .single-blog.blog-card .blog-image,
    .blog-detail-page .single-blog.blog-card .blog-image {
        height: 200px;
    }

    .blog-detail-page .blog-article-header h2 {
        font-size: 24px;
    }

    .blog-detail-page .blog-article-lead {
        font-size: 16px;
    }
}
