@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/iranyekan/eot/iranyekanwebbold(fanum).eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebbold(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/iranyekan/woff2/iranyekanwebbold(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/iranyekan/woff/iranyekanwebbold(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/iranyekan/ttf/iranyekanwebbold(fanum).ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/iranyekan/eot/iranyekanweblight(fanum).eot');
    src: url('../fonts/iranyekan/eot/iranyekanweblight(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/iranyekan/woff2/iranyekanweblight(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/iranyekan/woff/iranyekanweblight(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/iranyekan/ttf/iranyekanweblight(fanum).ttf') format('truetype');
}

@font-face {
    font-family: iranyekan;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/iranyekan/eot/iranyekanwebregular(fanum).eot');
    src: url('../fonts/iranyekan/eot/iranyekanwebregular(fanum).eot?#iefix') format('embedded-opentype'),
    /* IE6-8 */
    url('../fonts/iranyekan/woff2/iranyekanwebregular(fanum).woff2') format('woff2'),
    /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/iranyekan/woff/iranyekanwebregular(fanum).woff') format('woff'),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/iranyekan/ttf/iranyekanwebregular(fanum).ttf') format('truetype');
}
* {
    font-family: 'iranyekan', iranyekan, sans-serif
}
:root {
    --red: #e60012;
    --ink: #191919;
}

body {
    font-family: Vazirmatn, Tahoma, sans-serif;
    color: var(--ink);
}

.error-page {
    position: relative;
    display: grid;
    min-height: calc(100vh - 170px);
    padding: 4rem 1.25rem;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 20%, rgba(230, 0, 18, .12), transparent 28%),
        linear-gradient(135deg, #f8f8f8 0%, #ededed 100%);
}

.error-page::before,
.error-page::after {
    position: absolute;
    border: 1px solid rgba(230, 0, 18, .14);
    border-radius: 50%;
    content: '';
}

.error-page::before {
    width: 420px;
    height: 420px;
    right: -180px;
    top: -180px;
}

.error-page::after {
    width: 280px;
    height: 280px;
    left: -120px;
    bottom: -140px;
}

.error-card {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    padding: 3rem 2rem;
    border: 1px solid rgba(25, 25, 25, .08);
    border-radius: 24px 6px 24px 6px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 24px 60px rgba(25, 25, 25, .12);
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.error-mark {
    position: relative;
    display: grid;
    width: 132px;
    height: 132px;
    margin: 0 auto 1.5rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 14px 28px rgba(25, 25, 25, .18);
}

.error-mark::after {
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(255, 255, 255, .35);
    border-radius: 50%;
    content: '';
}

.error-mark span {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.error-mark i {
    position: absolute;
    right: -8px;
    bottom: 8px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 4px solid #f1f1f1;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: .85rem;
}

.error-card .eyebrow {
    color: var(--red);
}

.error-card h1 {
    margin: .35rem 0 .8rem;
    color: var(--ink);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 800;
}

.error-description {
    max-width: 420px;
    margin: 0 auto 1.8rem;
    color: #777;
    font-size: .86rem;
    line-height: 2;
}

.error-home-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    font-size: .78rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(230, 0, 18, .2);
    transition: background-color .2s ease, transform .2s ease;
}

.error-home-link:hover {
    color: #fff;
    background: #b8000e;
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .error-page {
        min-height: calc(100vh - 130px);
        padding: 2rem .75rem;
    }

    .error-card {
        padding: 2.25rem 1.25rem;
    }
}

.category-section {
    padding: 2rem 1rem;
    background: #fff;
}

.category-scroll {
    overflow-x: auto;
    padding-bottom: .75rem;
    scrollbar-color: #f28a92 #f1f1f1;
    scrollbar-width: thin;
}

.category-scroll::-webkit-scrollbar {
    height: 6px;
}

.category-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 1rem;
}

.category-scroll::-webkit-scrollbar-thumb {
    border-radius: 1rem;
    background: #f28a92;
    transition: background-color .2s ease;
}

.category-scroll::-webkit-scrollbar-thumb:hover {
    background: #e96b75;
}

.category-list {
    display: flex;
    width: max-content;
    min-width: 100%;
    justify-content: center;
    gap: clamp(1.25rem, 4vw, 4rem);
}

.category-link {
    position: relative;
    flex: 0 0 auto;
    padding: .65rem .1rem 1rem;
    color: #9b9b9b;
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s ease;
}

.category-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    content: '';
    background: #dedede;
    transition: background-color .25s ease;
}

.category-link:hover,
.category-link.is-active {
    color: var(--red);
}

.category-link:hover::after {
    background: var(--red);
}

.category-link.is-active::after {
    background: var(--red);
}

.story-reveal-section {
    position: relative;
    display: grid;
    min-height: 350px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #fff;
}

.story-reveal-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1800&q=85') center center / cover no-repeat;
    clip-path: inset(0 50% 0 50%);
    transition: clip-path .12s linear;
    will-change: clip-path;
}

.category-sport .story-reveal-media {
    background-image: url('https://images.unsplash.com/photo-1568772585407-9361f9bf3a87?auto=format&fit=crop&w=1800&q=85');
}

.category-adventure .story-reveal-media {
    background-image: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?auto=format&fit=crop&w=1800&q=85');
}

.catalog-category + .catalog-category {
    margin-top: 1.5rem;
}

.story-reveal-section::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: '';
    background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .22));
    clip-path: inset(0 calc(50% - (var(--story-progress, 0) * 50%)));
}

.story-reveal-content {
    align-self: center;
    width: min(620px, calc(100% - 2rem));
    padding: 4rem 1rem;
    margin-inline: auto;
    text-align: center;
    opacity: calc(.35 + (var(--story-progress, 0) * .65));
    transform: translateY(calc(24px - (var(--story-progress, 0) * 24px)));
}

.story-reveal-content h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
}

.story-reveal-content > p:not(.eyebrow) {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    font-size: .95rem;
    line-height: 2;
}

.story-reveal-button {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, .7);
    color: #fff;
    background: rgba(0, 0, 0, .25);
    font-size: .78rem;
    font-weight: 800;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.story-reveal-button:hover {
    border-color: var(--red);
    color: #fff;
    background: var(--red);
}

.products-section {
    padding: 2.5rem 2.25rem 5rem;
    background: #faf9f9;
}

.catalog-section {
    background: #f1f1f1;
}

.products-heading {
    max-width: 1150px;
    margin: 0 auto 1.25rem;
    text-align: right;
}

.products-heading .eyebrow {
    display: none;
}

.products-heading h2 {
    margin: 0;
    color: #111;
    font-size: .9rem;
    font-weight: 500;
}

.products-grid {
    display: grid;
    max-width: 1150px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    position: relative;
    min-width: 0;
    padding: .65rem .75rem .9rem;
    background: transparent;
    text-align: center;
    transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.product-card:hover {
    background: #fff;
    box-shadow: 0 18px 42px rgba(25, 25, 25, .2);
    transform: translateY(-3px);
}

.product-image {
    display: block;
    height: 210px;
    overflow: hidden;
    background: transparent;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 10px rgba(25, 25, 25, .18));
    transition: transform .35s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-title {
    display: block;
    margin: .2rem .25rem .25rem;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
    transition: color .25s ease;
}

.product-title:hover {
    color: var(--red);
}

.product-price {
    display: flex;
    min-height: 2.1rem;
    margin: 0 .25rem .65rem;
    flex-direction: column;
    gap: .2rem;
    align-items: center;
}

.product-category {
    display: block;
    margin: 0 .25rem;
    color: #777;
    font-size: .7rem;
}

.product-price span {
    color: #333;
    font-size: .76rem;
}

.product-price del {
    color: #aaa;
    font-size: .7rem;
}

.product-price strong {
    color: #222;
    font-size: .78rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    padding-top: .65rem;
    justify-content: center;
    gap: .8rem;
    border-top: 0;
    direction: rtl;
}

.product-actions a,
.product-actions button {
    display: inline-flex;
    width: 34px;
    height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #555;
    background: #f1f1f1;
    font-size: .85rem;
    font-weight: 800;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.product-actions a:hover,
.product-actions button:hover {
    color: #fff;
    background: var(--red);
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .category-section {
        padding: 1.25rem .75rem;
    }

    .category-list {
        justify-content: flex-start;
        gap: 1.75rem;
    }

    .story-reveal-section {
        min-height: 470px;
    }

    .story-reveal-content {
        padding: 3rem 1rem;
    }

    .story-reveal-content h1 {
        font-size: 1.7rem;
    }

    .products-section {
        padding: 3.5rem .75rem 4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 230px;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    inset-inline: 1.25rem;
    z-index: 1030;
    margin: 0;
    background: rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .45s ease, transform .45s ease;
}

.site-header.is-idle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 1rem));
}

.navbar {
    min-height: 82px;
    flex-wrap: wrap;
}

.site-logo {
    font: 800 1.05rem Arial, sans-serif;
    letter-spacing: .03em;
    color: var(--red);
}

.site-logo img {
    height: 80px;
    width: auto;
}

.site-logo span {
    color: #222;
}

.header-actions {
    margin-right: auto;
    direction: ltr;
}

.header-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #222;
    font-size: 1.4rem;
}

.account-dropdown {
    position: relative;
}

.account-dropdown .dropdown-toggle::after {
    display: none;
}

.account-menu {
    position: absolute;
    top: 100%;
    left: 0 !important;
    right: auto !important;
    display: block;
    min-width: 205px;
    padding: .45rem;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) !important;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.account-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) !important;
}

.account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .75rem;
    border-radius: 5px;
    font: 600 .78rem Vazirmatn, sans-serif;
}

.account-menu .dropdown-item i {
    width: 1.1rem;
    color: var(--red);
    text-align: center;
}

.account-menu .dropdown-item:hover,
.account-menu .dropdown-item:focus {
    color: #fff;
    background: var(--red);
}

.account-menu .dropdown-item:hover i,
.account-menu .dropdown-item:focus i {
    color: #fff;
}

.notification-dropdown {
    position: relative;
}

.notification-dropdown .dropdown-toggle::after {
    display: none;
}

.notification-dropdown .header-icon {
    position: relative;
    color: #333;
}

.notification-dropdown .header-icon:hover,
.notification-dropdown .header-icon:focus {
    color: var(--red);
}

.notification-dropdown .badge {
    position: absolute;
    top: 4px;
    right: 3px;
    min-width: 18px;
    height: 18px;
    padding: .15rem .3rem;
    border-radius: 999px;
    font-size: .58rem;
    line-height: 1.4;
}

.notification-menu {
    width: min(360px, calc(100vw - 2rem));
    max-height: min(540px, 75vh);
    padding: .45rem;
    overflow-y: auto;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(25, 25, 25, .13);
}

.notification-menu .dropdown-header {
    padding: .75rem .85rem;
    color: #777;
    font: 700 .7rem Vazirmatn, sans-serif;
}

.notification-menu .dropdown-item-text {
    display: block;
    padding: .85rem;
    color: #999;
    font-size: .7rem;
    text-align: center;
}

.notification-item {
    padding: .7rem .75rem;
    border-bottom: 1px solid #f0f0f0;
}

.notification-item-link {
    display: block;
    padding: 0 !important;
    color: #333;
    white-space: normal;
}

.notification-item-link:hover,
.notification-item-link:focus {
    color: var(--red);
    background: transparent;
}

.notification-item-title {
    display: block;
    margin-bottom: .35rem;
    font-size: .72rem;
    line-height: 1.7;
}

.notification-item-description,
.notification-card-description {
    margin: 0;
    color: #777;
    font-size: .68rem;
    line-height: 1.9;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.notification-seen-button {
    padding: .3rem .65rem;
    margin-top: .55rem;
    border: 1px solid #18794e;
    border-radius: 4px;
    color: #18794e;
    background: #fff;
    font: 700 .62rem Vazirmatn, sans-serif;
    cursor: pointer;
}

.notification-seen-button:hover,
.notification-seen-button:focus {
    color: #fff;
    background: #18794e;
}

.notification-page .account-heading {
    padding-bottom: 1.5rem;
}

.notification-list {
    max-width: 1180px;
    padding: 0 1.25rem;
    margin: 0 auto;
}

.notification-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: .75rem;
    border: 1px solid #e5e5e5;
    border-right: 3px solid var(--red);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(25, 25, 25, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.notification-card:hover {
    border-color: #d8d8d8;
    box-shadow: 0 12px 25px rgba(25, 25, 25, .08);
    transform: translateY(-1px);
}

.notification-card.is-seen {
    border-right-color: #c9c9c9;
    opacity: .78;
}

.notification-card-content {
    min-width: 0;
    flex: 1;
}

.notification-card-link {
    color: #333;
}

.notification-card-link:hover {
    color: var(--red);
}

.notification-card-link h2 {
    margin: 0 0 .45rem;
    font-size: .9rem;
    line-height: 1.7;
}

.notification-card-date {
    display: block;
    margin-top: .65rem;
    color: #aaa;
    font-size: .62rem;
}

.notification-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: .45rem;
}

.notification-actions form {
    margin: 0;
}

.notification-actions .account-submit {
    width: auto;
    padding: .55rem .75rem;
    margin: 0;
    border-radius: 4px;
    white-space: nowrap;
    font-size: .65rem;
}

@media (max-width: 640px) {
    .notification-menu {
        position: fixed !important;
        top: 70px !important;
        right: 1rem !important;
        left: 1rem !important;
        width: auto;
    }

    .notification-card {
        flex-direction: column;
        gap: .9rem;
    }

    .notification-actions {
        width: 100%;
    }

    .notification-actions form,
    .notification-actions .account-submit {
        flex: 1;
    }
}

.menu-toggle {
    display: inline-flex;
    position: relative;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 70px;
    height: 38px;
}

.menu-toggle-line {
    display: block;
    width: 27px;
    height: 3px;
    background: #191919;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle-text {
    position: absolute;
    right: 40px;
    font: 700 .65rem Vazirmatn, sans-serif;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-text {
    font-size: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-text::after {
    content: 'بستن';
    font-size: .65rem;
}

.menu-drawer {
    top: 61px;
    width: min(360px, 86vw);
    height: calc(100% - 61px);
    border: 0;
    box-shadow: -8px 8px 22px rgba(0, 0, 0, .12);
}

.menu-drawer .offcanvas-header {
    min-height: 58px;
    border-bottom: 1px solid #d9d9d9;
}

.menu-drawer .offcanvas-title {
    font-size: .9rem;
    font-weight: 800;
}

.nav-panel {
    margin: 0;
}

.nav-panel>.nav-item {
    border-bottom: 1px solid #d9d9d9;
}

.nav-panel .nav-link {
    padding: 1rem 1.25rem;
    font-size: .82rem;
    font-weight: 700;
}

.catalog-page {
    background: #f7f7f7;
}

.catalog-heading {
    max-width: 1180px;
    padding: 3.5rem 1.25rem 2rem;
    margin: 0 auto;
    text-align: center;
}

.catalog-heading h1 {
    margin: .35rem 0 .6rem;
    color: #191919;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
}

.catalog-heading p:last-child {
    margin: 0;
    color: #777;
    font-size: .9rem;
}

.catalog-layout {
    display: grid;
    max-width: 1180px;
    padding: 0 1.25rem 5rem;
    margin: 0 auto;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.catalog-filters {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 28px rgba(25, 25, 25, .06);
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.filter-heading h2,
.results-toolbar h2 {
    margin: 0;
    color: #191919;
    font-size: 1rem;
    font-weight: 800;
}

.filter-close,
.filter-toggle {
    border: 0;
    color: #191919;
    background: transparent;
}

.filter-close {
    display: none;
}

.filter-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem .7rem;
    border: 1px solid #ddd;
    color: #888;
}

.filter-search button {
    padding: .15rem .35rem;
    border: 0;
    color: #fff;
    background: var(--red);
    cursor: pointer;
}

.filter-search input,
.price-inputs input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #191919;
    background: transparent;
    font: inherit;
    font-size: .75rem;
}

.type-switch-fieldset {
    padding-top: 1.25rem !important;
}

.type-switch {
    display: grid;
    padding: .25rem;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background: #f4f4f4;
    grid-template-columns: 1fr 1fr;
    gap: .25rem;
}

.type-switch__option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.type-switch__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.type-switch__option span {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border-radius: 999px;
    color: #777;
    font-size: .68rem;
    transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.type-switch__option input:checked + span {
    color: #fff;
    background: var(--red);
    box-shadow: 0 5px 12px rgba(230, 0, 18, .2);
}

.type-switch__option input:focus-visible + span {
    outline: 2px solid #191919;
    outline-offset: 2px;
}

.catalog-filters fieldset {
    padding: 1.1rem 0 0;
    margin: 0;
    border: 0;
}

.catalog-filters legend {
    margin-bottom: .7rem;
    color: #333;
    font-size: .78rem;
    font-weight: 800;
}

.catalog-filters legend span {
    float: left;
    color: #999;
    font-size: .65rem;
    font-weight: 400;
}

.price-sliders {
    position: relative;
    display: grid;
    height: 25px;
    align-items: center;
}

.price-sliders input {
    width: 100%;
    grid-area: 1 / 1;
    accent-color: var(--red);
    pointer-events: none;
}

.price-sliders input::-webkit-slider-thumb {
    pointer-events: auto;
    cursor: grab;
}

.price-sliders input::-moz-range-thumb {
    pointer-events: auto;
    cursor: grab;
}

.price-values {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: .65rem;
}

.apply-filter {
    width: 100%;
    padding: .65rem;
    margin-top: .8rem;
    border: 0;
    color: #fff;
    background: var(--red);
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
}

.price-inputs label {
    flex: 1;
    padding: .5rem;
    border: 1px solid #ddd;
    color: #999;
    font-size: .65rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .65rem;
    color: #555;
    font-size: .78rem;
    cursor: pointer;
}

.check-row input {
    accent-color: var(--red);
}

.filter-reset {
    width: 100%;
    padding: .65rem;
    margin-top: 1rem;
    border: 1px solid #ddd;
    color: #555;
    background: #fff;
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
}

.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.results-toolbar span {
    color: #888;
    font-size: .72rem;
}

.catalog-products {
    display: grid;
    padding-top: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-product {
    position: relative;
    padding: .75rem .75rem 1rem;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow .25s ease, transform .25s ease;
}

.catalog-product:hover {
    box-shadow: 0 14px 30px rgba(25, 25, 25, .13);
    transform: translateY(-3px);
}

.catalog-product .product-image {
    height: 175px;
}

.catalog-product .product-title {
    font-size: .9rem;
}

.catalog-product .product-price {
    margin-bottom: .5rem;
}

.stock-label {
    display: inline-block;
    padding: .25rem .65rem;
    font-size: .65rem;
    font-weight: 700;
}

.stock-label.is-available {
    color: #18794e;
    background: #e8f6ee;
}

.stock-label.is-unavailable {
    color: #a33a3a;
    background: #fbeaea;
}

.catalog-product[hidden] {
    display: none;
}

.filter-toggle {
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding-top: 2rem;
}

.page-number,
.page-next {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #ddd;
    color: #555;
    background: #fff;
    font-size: .75rem;
}

.page-number.is-active,
.page-number:hover,
.page-next:hover {
    border-color: var(--red);
    color: #fff;
    background: var(--red);
}

@media (max-width: 1199.98px) {
    .catalog-layout {
        display: block;
    }

    .filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .75rem 1rem;
        margin-bottom: 1rem;
        border: 1px solid #191919;
        background: #fff;
        font: inherit;
        font-size: .75rem;
        cursor: pointer;
    }

    .catalog-filters {
        display: block;
        position: fixed;
        top: 61px;
        right: 0;
        z-index: 1025;
        width: min(360px, 86vw);
        max-height: calc(100vh - 61px);
        margin: 0;
        overflow-y: auto;
        visibility: hidden;
        box-shadow: -12px 12px 30px rgba(25, 25, 25, .18);
        opacity: 0;
        transform: translateX(105%);
        transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
    }

    .catalog-filters.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .filter-close {
        display: block;
    }

    .catalog-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .catalog-heading {
        padding: 2.5rem .75rem 1.5rem;
    }

    .catalog-layout {
        padding: 0 .75rem 4rem;
    }

    .catalog-products {
        grid-template-columns: 1fr;
    }

    .catalog-product .product-image {
        height: 220px;
    }
}

.nav-panel .nav-link i {
    margin-left: .5rem;
}

.nav-panel .dropdown-menu {
    position: static;
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 3px solid var(--red);
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .55s ease, transform .55s ease, max-height .6s ease, padding .35s ease, visibility .6s ease;
}

.nav-panel .dropdown-menu.show {
    opacity: 1;
    max-height: 260px;
    padding: 0 0 .5rem;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.nav-panel .dropdown-item {
    padding: .55rem 1.5rem;
    font-size: .78rem;
}

.dropdown-menu {
    border: 0;
    border-right: 2px solid var(--red);
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.hero-section {
    position: relative;
    height: min(620px, calc(100vh - 61px));
    min-height: 420px;
    overflow: visible;
    padding-bottom: 2.5rem;
}

.hero-image,
.feature-card img,
.news-card img,
.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .1) 70%);
}

.hero-content {
    position: absolute;
    right: 0;
    bottom: 2rem;
    left: 0;
    z-index: 1;
    display: flex;
    width: min(680px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.eyebrow {
    margin-bottom: .3rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.hero-content h1 {
    max-width: 600px;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
}

.hero-content p:not(.eyebrow) {
    max-width: 510px;
    font-size: .95rem;
}

#heroSlider {
    position: relative;
    height: 100%;
}

#heroSlider .carousel-inner {
    height: 100%;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(15, 15, 15, .28);
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .16);
    opacity: 1;
    transition: all .25s ease;
}

#heroSlider .carousel-control-prev {
    right: 1.25rem;
    left: auto;
}

#heroSlider .carousel-control-next {
    left: 1.25rem;
    right: auto;
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    background: rgba(230, 0, 18, .72);
    border-color: rgba(255, 255, 255, .6);
    transform: translateY(-50%) scale(1.04);
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 1.15rem;
    height: 1.15rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

#heroSlider .carousel-control-prev-icon {
    transform: rotate(180deg);
}

#heroSlider .carousel-control-next-icon {
    transform: rotate(180deg);
}

#heroSlider .carousel-indicators {
    right: 0;
    bottom: -1.9rem;
    left: 0;
    margin: 0;
    justify-content: center;
    gap: .5rem;
}

#heroSlider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(17, 17, 17, .35);
    opacity: 1;
    transition: all .25s ease;
}

#heroSlider .carousel-indicators .active {
    width: 26px;
    border-radius: 50rem;
    background-color: var(--red);
}

#heroSlider .carousel-indicators [data-bs-target]:hover {
    background-color: rgba(17, 17, 17, .7);
}

.brands-section {
    background: #fff;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 250px;

    background: #fff;
}

.brand-card {
    position: relative;
    display: block;
    min-height: 0;
    overflow: visible;
    color: white;
    transition: transform .2s ease, filter .2s ease;
}

.brand-card:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.brand-card.image-card > div {
    position: absolute;
    inset: 0;
    width: auto !important;
    height: auto !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.leftcIRC::after,
.rightcIRC::after,
.topcIRC::after,
.bottomcIRC::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 30px;
    z-index: 1;
    background-color: inherit;
}

.leftcIRC::after {
    top: 40%;
    right: 100%;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.rightcIRC::after {
    top: 40%;
    left: 100%;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.topcIRC::after {
    bottom: 100%;
    left: 40%;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.bottomcIRC::after {
    top: 100%;
    left: 40%;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.leftcIRC,
.rightcIRC,
.topcIRC,
.bottomcIRC {
    z-index: 2;
}
.brand-card>div {
    display: flex;
    height: 100%;
    padding: 1.35rem 1.1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .5rem;
    text-align: center;
}

.brand-card strong {
    font: 800 1.05rem/1 Arial, sans-serif;
    letter-spacing: .04em;
}

.brand-card span {
    max-width: 170px;
    font-size: .8rem;
    line-height: 1.5;
    font-weight: 600;
}

.brand-card b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: fit-content;
    padding-top: .3rem;
    border-bottom: 2px solid currentColor;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-card--one-col {
    grid-column: span 1;
}

.brand-card--one-row {
    grid-row: span 1;
}

.brand-card--wide {
    grid-column: span 2;
}

.brand-card--tall {
    grid-row: span 2;
}

.brand-card--wide.brand-red,
.brand-card--wide.brand-blue,
.brand-card--wide.brand-white,
.brand-card--wide.brand-dark,
.brand-card--wide.brand-cyan {
    min-height: 160px;
}

@media (min-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.brand-blue {
    background: #0f7dc1;
}

.brand-red {
    background: #e31d2a;
}

.brand-cyan {
    background: #13b8d4;
}
.brand-dark {
    background: #000;
    color: white !important;
}
.brand-white {
    background: #fff;
    color:#000 !important;
}

.brand-dark {
    background: #111;
}

.brand-light {
    color: var(--ink);
    background: #f5f5f5;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-card span {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .3rem .7rem;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    font-size: .75rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
    }

    .brand-card--wide {
        grid-column: span 2;
    }

    .brand-card--tall {
        grid-row: span 1;
    }

    .brand-card strong {
        font-size: .9rem;
    }

    .brand-card span {
        max-width: none;
        font-size: .72rem;
    }
}

.section-title {
    padding: 2.5rem 1rem 1.5rem;
    margin: 0;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.feature-card {
    position: relative;
    height: 360px;
    overflow: hidden;
    color: #fff;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .27);
}

.feature-card div {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: flex;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.7rem;
    font-weight: 800;
}

.feature-card p {
    max-width: 320px;
    font-size: .85rem;
}

.feature-card b {
    font-size: .75rem;
}

.legacy-section {
    min-height: 460px;
    color: #fff;
}

.legacy-content {
    display: flex;
    min-height: 460px;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.legacy-content h2 {
    font-size: 2rem;
    font-weight: 800;
}

.legacy-content a {
    font-size: .8rem;
    font-weight: 700;
}

.news-section {
    max-width: 1150px;
}

.news-slider {
    position: relative;
    padding: 0 .25rem 2.75rem;
    overflow: hidden;
}

.news-slider .swiper-wrapper { align-items: stretch; }
.news-slider .news-slide { height: auto; }

.news-slide-item {
    height: 100%;
    margin: 0;
}

.news-slider .swiper-pagination {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    margin-bottom: 0;
}

.news-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #aaa;
    opacity: 1;
    transition: width .25s ease, border-radius .25s ease, background-color .25s ease;
}

.news-slider .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 1rem;
    background: var(--red);
}

.news-card {
    height: 100%;
    background: #fafafa;
}

.news-card img {
    display: block;
    height: 185px;
}

.news-card div {
    padding: 1.2rem;
    text-align: center;
}

.news-card h3 {
    font-size: 1rem;
    font-weight: 800;
}

.news-card p {
    min-height: 44px;
    font-size: .74rem;
}

.news-card a {
    color: #006da5;
    font-size: .75rem;
    font-weight: 800;
}

.latest-engines-section {
    position: relative;
    padding: 2.5rem 1rem 3rem;
    overflow: hidden;
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.latest-engines-section .section-title {
    color: #fff;
}

.latest-engines-section .section-title {
    padding-top: 0;
}

.latest-engines-slider {
    position: relative;
    max-width: 1240px;
    padding: 0 2.5rem 2.75rem;
    margin: 0 auto;
    overflow: hidden;
}

.latest-engines-slider .swiper-wrapper {
    align-items: stretch;
}

.latest-engine-slide {
    height: auto;
}

.latest-engine-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 330px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(25, 25, 25, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(25, 25, 25, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.latest-engine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 38px rgba(25, 25, 25, .14);
}

.latest-engine-card__image {
    position: relative;
    display: block;
    height: 205px;
    overflow: hidden;
    background: #f1f1f1;
}

.latest-engine-card__image::after {
    position: absolute;
    right: 1rem;
    bottom: .85rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 25, 25, .72);
    content: 'موتور';
    font-size: .65rem;
    font-weight: 700;
}

.latest-engine-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.latest-engine-card:hover .latest-engine-card__image img {
    transform: scale(1.06);
}

.latest-engine-card__body {
    display: flex;
    flex: 1;
    padding: 1rem 1.1rem 1.1rem;
    flex-direction: column;
}

.latest-engine-card__title {
    display: -webkit-box;
    min-height: 48px;
    margin-bottom: .8rem;
    overflow: hidden;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.latest-engine-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
}

.latest-engine-card__price {
    display: flex;
    flex-direction: column;
    color: #888;
    font-size: .65rem;
}

.latest-engine-card__price strong {
    margin-top: .2rem;
    color: var(--red);
    font-size: .78rem;
}

.latest-engine-card__link {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: .85rem;
    transition: background-color .2s ease, transform .2s ease;
}

.latest-engine-card__link:hover {
    color: #fff;
    background: #b8000e;
    transform: scale(1.08);
}

.latest-engines-slider .swiper-button-next,
.latest-engines-slider .swiper-button-prev {
    width: 38px;
    height: 38px;
    margin-top: -24px;
    border: 1px solid rgba(25, 25, 25, .1);
    border-radius: 50%;
    color: var(--red);
    background: #fff;
    box-shadow: 0 8px 18px rgba(25, 25, 25, .1);
}

.latest-engines-slider .swiper-button-next::after,
.latest-engines-slider .swiper-button-prev::after {
    font-size: .85rem;
    font-weight: 800;
}

.latest-engines-slider .swiper-pagination {
    bottom: .2rem;
}

.latest-engines-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #aaa;
    opacity: 1;
    transition: width .25s ease, border-radius .25s ease, background-color .25s ease;
}

.latest-engines-slider .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 1rem;
    background: var(--red);
}

.category-showcase-section {
    position: relative;
    padding: 3rem 1rem 3.5rem;
    overflow: hidden;
    background: #191919;
}

.category-showcase-section .section-title {
    padding-top: 0;
    color: #fff;
}

.category-showcase-slider {
    position: relative;
    max-width: 1240px;
    padding: 0 2.5rem 2.75rem;
    margin: 0 auto;
    overflow: hidden;
}

.category-showcase-slider .swiper-wrapper {
    align-items: stretch;
}

.category-showcase-slide {
    height: auto;
}

.category-showcase-card {
    position: relative;
    display: flex;
    height: 320px;
    overflow: hidden;
    align-items: end;
    border-radius: 18px 3px 18px 3px;
    color: #fff;
    background: #333;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .2);
    isolation: isolate;
    transition: transform .35s ease, box-shadow .35s ease;
}

.category-showcase-card:hover {
    color: #fff;
    box-shadow: 0 22px 38px rgba(0, 0, 0, .32);
    transform: translateY(-7px) rotate(-1deg);
}

.category-showcase-card__image,
.category-showcase-card::after {
    position: absolute;
    inset: 0;
}

.category-showcase-card__image {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.category-showcase-card:hover .category-showcase-card__image {
    transform: scale(1.08);
}

.category-showcase-card::after {
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 20%, rgba(0, 0, 0, .82));
    content: '';
}

.category-showcase-card__content {
    width: 100%;
    padding: 1.3rem;
}

.category-showcase-card__content span {
    display: block;
    margin-bottom: .35rem;
    color: #ffb2b7;
    font-size: .68rem;
}

.category-showcase-card__content h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.category-showcase-card__content i {
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-top: .75rem;
    place-items: center;
    border-radius: 50%;
    color: #191919;
    background: #fff;
    font-size: .75rem;
}

.category-showcase-slider .swiper-button-next,
.category-showcase-slider .swiper-button-prev {
    width: 38px;
    height: 38px;
    margin-top: -24px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.category-showcase-slider .swiper-button-next::after,
.category-showcase-slider .swiper-button-prev::after {
    font-size: .8rem;
}

.category-showcase-slider .swiper-pagination {
    bottom: .2rem;
}

.category-showcase-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #777;
    opacity: 1;
}

.category-showcase-slider .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 1rem;
    background: #ff6b73;
}

@media (max-width: 575.98px) {
    .news-slider {
        padding-right: .25rem;
        padding-left: .25rem;
    }

    .latest-engines-section {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .latest-engines-slider {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .latest-engine-card {
        min-height: 310px;
    }

    .latest-engine-card__image {
        height: 185px;
    }

    .category-showcase-section {
        padding-right: .5rem;
        padding-left: .5rem;
    }

    .category-showcase-slider {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .category-showcase-card {
        height: 280px;
    }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
    .news-slider .news-slide {
        flex-basis: 50%;
    }
}

.product-detail-page {
    padding: 0 0 5rem;
    background: #f7f7f7;
}

.articles-page {
    background: #f7f7f7;
}

.utility-page {
    min-height: 70vh;
    padding-bottom: 5rem;
    background: #f7f7f7;
}

.account-page,
.checkout-page {
    min-height: 75vh;
    padding-bottom: 5rem;
    background: #f7f7f7;
}

.account-heading {
    max-width: 1180px;
    padding: 3.5rem 1.25rem 2rem;
    margin: 0 auto;
}

.account-heading h1 {
    margin: .45rem 0 .55rem;
    color: #191919;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
}

.account-heading p {
    margin: 0;
    color: #888;
    font-size: .8rem;
}

.account-layout {
    display: grid;
    max-width: 1180px;
    padding: 0 1.25rem;
    margin: 0 auto;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.account-sidebar {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 25px rgba(25, 25, 25, .05);
}

.account-user {
    display: flex;
    padding-bottom: 1.25rem;
    align-items: center;
    flex-direction: column;
    gap: .4rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.account-user > img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.account-user > i {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
}

.account-user strong {
    color: #333;
    font-size: .8rem;
}

.account-user span {
    color: #999;
    direction: rtl;
    font-size: .62rem;
}

.wallet-balance {
    color: #18794e !important;
    direction: rtl !important;
}

.wallet-balance i {
    margin-left: .25rem;
}

.account-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    padding: 1rem;
    place-items: center;
    visibility: hidden;
    background: rgba(0, 0, 0, .62);
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.account-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.account-modal-box {
    position: relative;
    width: min(650px, 100%);
    max-height: 90vh;
    padding: 2.5rem;
    overflow-y: auto;
    background: #fff;
    border-top: 4px solid var(--red);
    box-shadow: 0 20px 55px rgba(25, 25, 25, .2);
    transform: translateY(16px);
    transition: transform .25s ease;
}

.account-modal.is-open .account-modal-box {
    transform: translateY(0);
}

.account-modal-box h2 {
    margin: 0 0 1.8rem;
    color: #191919;
    font-size: 1.3rem;
}

.account-modal-box form {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.account-modal-box .form-row {
    gap: .8rem;
}

.account-modal-box label {
    display: block;
    margin-bottom: .9rem;
    color: #4a4a4a;
    font-size: .72rem;
    font-weight: 700;
}

.account-modal-box input,
.account-modal-box textarea {
    display: block;
    width: 100%;
    padding: .85rem .9rem;
    margin-top: .45rem;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    outline: 0;
    color: #333;
    background: #fafafa;
    font: inherit;
    font-size: .75rem;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.account-modal-box input::placeholder,
.account-modal-box textarea::placeholder {
    color: #b0b0b0;
}

.account-modal-box input:focus,
.account-modal-box textarea:focus {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, .1);
}

.account-modal-box textarea {
    min-height: 96px;
    resize: vertical;
}

.account-modal-box .account-submit {
    width: 100%;
    padding: .9rem;
    margin-top: .4rem;
    font-weight: 700;
}

.account-modal-close {
    position: absolute;
    top: .8rem;
    left: .8rem;
    border: 0;
    color: #777;
    background: transparent;
    cursor: pointer;
}

.account-modal-box textarea {
    resize: vertical;
}

.account-sidebar nav a:not(:has(i))::before {
    display: inline-block;
    width: 17px;
    color: #999;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    text-align: center;
}

.account-sidebar nav a:nth-child(1):not(:has(i))::before { content: '\f570'; }
.account-sidebar nav a:nth-child(2):not(:has(i))::before { content: '\f3c5'; }
.account-sidebar nav a:nth-child(3):not(:has(i))::before { content: '\f007'; }
.account-sidebar nav a:nth-child(4):not(:has(i))::before { content: '\f304'; }
.account-sidebar nav a:nth-child(5):not(:has(i))::before { content: '\f023'; }
.account-sidebar nav a:nth-child(6):not(:has(i))::before { content: '\f004'; }
.account-sidebar nav a:nth-child(7):not(:has(i))::before { content: '\f2f5'; }

.account-sidebar nav {
    padding-top: .8rem;
}

.account-sidebar nav a {
    display: flex;
    padding: .7rem .5rem;
    align-items: center;
    gap: .6rem;
    color: #666;
    font-size: .72rem;
}

.account-sidebar nav a i {
    width: 17px;
    color: #999;
    text-align: center;
}

.account-sidebar nav a:hover,
.account-sidebar nav a.is-active {
    color: var(--red);
    background: #fff1f2;
}

.account-sidebar nav a.is-active i {
    color: var(--red);
}

.account-content {
    min-width: 0;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.mobile-account-menu {
    display: none;
}

.account-table-wrap {
    overflow-x: auto;
}

.account-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    color: #555;
    font-size: .72rem;
}

.account-table th,
.account-table td {
    padding: 1rem .7rem;
    border-bottom: 1px solid #eee;
    text-align: right;
    white-space: nowrap;
}

.account-table th {
    color: #888;
    background: #fafafa;
    font-size: .68rem;
    font-weight: 700;
}

.account-table td a {
    color: var(--red);
    font-weight: 700;
}

.status {
    display: inline-block;
    padding: .3rem .55rem;
    font-size: .62rem;
}

.status-success { color: #18794e; background: #e8f6ee; }
.status-pending { color: #946b12; background: #fff7dc; }
.status-muted { color: #888; background: #eee; }
.status-error {
    color: red;
    background: #ffbfbf;
}

.address-grid,
.favorite-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.address-card,
.favorite-card {
    position: relative;
    padding: 1.25rem;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.address-card.is-default {
    border-color: #f28a92;
}

.default-label {
    color: var(--red);
    font-size: .62rem;
    font-weight: 700;
}

.address-card h2,
.favorite-card h2 {
    margin: .55rem 0;
    color: #333;
    font-size: .95rem;
}

.address-card p,
.address-card > span {
    color: #777;
    font-size: .72rem;
    line-height: 2;
}

.address-card > div {
    display: flex;
    gap: 1rem;
    padding-top: .8rem;
}

.address-card a,
.address-card button {
    padding: 0;
    border: 0;
    color: var(--red);
    background: transparent;
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
}

.add-address {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .65rem;
    border: 1px dashed #ccc;
    color: var(--red);
    background: #fff;
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
}

.profile-overview {
    display: flex;
    padding-bottom: 1.5rem;
    align-items: center;
    gap: .9rem;
    border-bottom: 1px solid #eee;
}

.profile-avatar {
    display: grid;
    width: 65px;
    height: 65px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 1.5rem;
    font-weight: 800;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-edit {
    margin-bottom: 1rem;
}

.profile-overview h2 { margin: 0 0 .25rem; color: #333; font-size: 1rem; }
.profile-overview p { margin: 0; color: #999; font-size: .68rem; }
.account-action { display: inline-flex; padding: .65rem .8rem; margin-right: auto; align-items: center; gap: .4rem; color: #fff; background: var(--red); font-size: .68rem; }

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
}

.profile-info-grid div { display: flex; padding: 1rem; flex-direction: column; gap: .45rem; background: #fafafa; }
.profile-info-grid span { color: #999; font-size: .65rem; }
.profile-info-grid strong { color: #333; font-size: .75rem; }

.account-form { max-width: 650px; }
.account-form label { display: block; margin-bottom: 1rem; color: #555; font-size: .72rem; }
    .account-form input, select, textarea {
        display: block;
        width: 100%;
        padding: .75rem;
        margin-top: .4rem;
        border: 1px solid #ddd;
        outline: 0;
        font: inherit;
        font-size: .75rem;
    }
        .account-form input:focus, select:focus, textarea:focus {
            border-color: var(--red);
        }
.account-submit { padding: .8rem 1rem; border: 0; color: #fff; background: var(--red); font: inherit; font-size: .72rem; cursor: pointer; }
.account-status { color: #18794e; font-size: .68rem; }

.favorite-card { text-align: center; }
.favorite-card img { width: 100%; height: 160px; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(25,25,25,.15)); }
.favorite-card > span { display: block; color: #999; font-size: .65rem; }
.favorite-card strong { color: #333; font-size: .75rem; }
.favorite-card > a { display: block; padding-top: .75rem; color: var(--red); font-size: .7rem; font-weight: 700; }
.remove-favorite { position: absolute; top: .7rem; left: .7rem; border: 0; color: #999; background: transparent; cursor: pointer; }

.invoice-box { padding: 1.25rem; border: 1px solid #eee; }
.invoice-top, .invoice-address, .invoice-total { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.invoice-top { padding-bottom: 1.25rem; border-bottom: 1px solid #eee; }
.invoice-top strong, .invoice-top span { display: block; }
.invoice-top strong { color: #333; font-size: 1rem; }.invoice-top span { color: #999; font-size: .68rem; }
.invoice-address { padding: 1.25rem 0; }.invoice-address div { display: flex; flex-direction: column; gap: .35rem; }.invoice-address span { color: #999; font-size: .65rem; }.invoice-address strong { color: #333; font-size: .75rem; }.invoice-address p { margin: 0; color: #777; font-size: .7rem; line-height: 2; }
.invoice-total { padding: 1.2rem 0; color: #555; font-size: .75rem; }.invoice-total strong { color: var(--red); font-size: 1rem; }

.order-detail-summary { display: grid; padding: 1.25rem 0; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-bottom: 1px solid #eee; }
.order-detail-summary div { display: flex; flex-direction: column; gap: .35rem; }
.order-detail-summary span, .order-price-summary span { color: #999; font-size: .65rem; }
.order-detail-summary strong { color: #333; font-size: .75rem; }
.order-detail-heading { margin: 1.5rem 0 .8rem; color: #333; font-size: .9rem; }
.order-product-cell { display: flex; align-items: center; gap: .7rem; }
.order-product-cell img { width: 52px; height: 52px; object-fit: contain; }
.order-product-cell a { color: #333; font-weight: 700; }
.order-products-table small { display: block; margin-top: .25rem; color: #999; font-size: .6rem; }
.order-detail-lower { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr); gap: 2rem; }
.order-price-summary { display: flex; flex-direction: column; gap: .7rem; }
.order-price-summary > div { display: flex; justify-content: space-between; gap: 1rem; }
.order-price-summary > div:last-child { padding-top: .7rem; border-top: 1px solid #eee; }

@media (max-width: 700px) {
    .order-detail-summary, .order-detail-lower { grid-template-columns: 1fr; }
    .order-products-table { min-width: 680px; }
}

.checkout-page { padding-bottom: 5rem; }.checkout-layout { display: grid; max-width: 1000px; padding: 0 1.25rem; margin: 0 auto; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: 1rem; align-items: start; }.checkout-items, .checkout-summary { padding: 1.5rem; background: #fff; border: 1px solid #e5e5e5; }.checkout-items h2, .checkout-summary h2 { margin: 0 0 1.25rem; color: #333; font-size: 1rem; }.checkout-items h2 span { float: left; color: #999; font-size: .68rem; font-weight: 400; }.checkout-item { display: flex; padding: 1rem 0; align-items: center; gap: 1rem; border-bottom: 1px solid #eee; }.checkout-item img { width: 130px; height: 100px; object-fit: contain; }.checkout-item div { display: flex; flex: 1; flex-direction: column; gap: .35rem; }.checkout-item h3 { margin: 0; color: #333; font-size: .85rem; }.checkout-item span { color: #999; font-size: .68rem; }.checkout-item strong { color: #222; font-size: .75rem; }.checkout-item .quantity-control { width: 90px; margin-top: .35rem; }.remove-item { border: 0; color: #999; background: transparent; cursor: pointer; }.checkout-summary > div { display: flex;flex-direction:column; padding: .7rem 10px; justify-content: space-between; color: #777; font-size: .72rem; border-bottom: 1px solid #eee; }.checkout-summary strong { color: #333; }.checkout-summary .summary-total { padding: 1.25rem 0; color: #333; font-weight: 700; }.checkout-summary .summary-total strong { color: var(--red); font-size: .95rem; }.checkout-summary h3 { margin: 1.5rem 0 .8rem; color: #333; font-size: .85rem; }.checkout-summary label { color: #777; font-size: .68rem; }.checkout-summary select { display: block; width: 100%; padding: .7rem; margin-top: .4rem; border: 1px solid #ddd; font: inherit; font-size: .68rem; }.checkout-submit { width: 100%; padding: .85rem; margin-top: 1rem; border: 0; color: #fff; background: var(--red); font: inherit; font-size: .72rem; cursor: pointer; }
.checkout-item h3 a { color: inherit; }
.checkout-item-info { min-width: 0; }
.item-prices, .item-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.item-prices strong { color: var(--red); }
.item-prices small { color: #777; font-size: .65rem; }
.item-actions { margin-top: .35rem; }
.item-actions .quantity-control { margin-top: 0; }
.remove-item-form { display: flex; }
.discount-form { display: flex; width: min(360px, 100%); margin-top: .45rem; gap: .35rem; }
.discount-form input { flex: 1; min-width: 0; padding: .45rem .6rem; border: 1px solid #ddd; font: inherit; font-size: .65rem; }
.discount-form button { padding: .45rem .7rem; border: 0; color: #fff; background: var(--red); font: inherit; font-size: .65rem; cursor: pointer; }
.checkout-address { display: flex; flex-direction: column; gap: .4rem; color: #777; font-size: .68rem; line-height: 1.8; }
.checkout-address a { color: var(--red); font-weight: 700; }
.checkout-address-list { display: flex; flex-direction: column; gap: .65rem; }
.checkout-address { padding: .75rem; border: 1px solid #e5e5e5; background: #fff; }
.checkout-address.is-selected { border-color: var(--red); background: #fff8f8; }
.checkout-address-select { display: flex; width: 100%; padding: 0; flex-direction: column; align-items: flex-start; gap: .25rem; border: 0; color: inherit; background: transparent; font: inherit; text-align: right; cursor: pointer; }
.checkout-address-select b { color: #18794e; font-size: .62rem; }
.secondary-submit { color: var(--red); background: #fff; border: 1px solid var(--red); }
.account-error { color: #a33a3a; }
.checkout-submit[disabled] { cursor: not-allowed; opacity: .55; }
.checkout-empty { max-width: 650px; padding: 3rem 1.25rem; margin: 0 auto 5rem; color: #777; background: #fff; border: 1px solid #e5e5e5; text-align: center; }
.checkout-empty > i { color: var(--red); font-size: 2rem; }
.checkout-empty h2 { margin: 1rem 0 1.5rem; color: #333; font-size: 1rem; }

.auth-page {
    min-height: 75vh;
    padding-bottom: 5rem;
    background: #f7f7f7;
}

.auth-intro {
    max-width: 680px;
    padding: 4rem 1.25rem 2.5rem;
    margin: 0 auto;
    text-align: center;
}

.auth-intro h1 {
    margin: .55rem 0 .7rem;
    color: #191919;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.auth-intro p {
    margin: 0;
    color: #777;
    font-size: .85rem;
    line-height: 2;
}

.auth-card {
    display: grid;
    max-width: 900px;
    min-height: 540px;
    margin: 0 auto;
    grid-template-columns: .75fr 1.25fr;
    background: #fff;
    box-shadow: 0 15px 40px rgba(25, 25, 25, .08);
}

.auth-card-aside {
    display: flex;
    padding: 2.5rem;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    background: linear-gradient(145deg, #191919, #3d3d3d);
}

.auth-card-aside > i {
    margin-bottom: 2rem;
    color: #ff5e68;
    font-size: 2rem;
}

.auth-card-aside h2 {
    margin: 0 0 .9rem;
    font-size: 1.4rem;
    line-height: 1.7;
}

.auth-card-aside p {
    margin: 0;
    color: #ccc;
    font-size: .78rem;
    line-height: 2;
}

.auth-forms {
    position: relative;
    padding: 2.5rem;
}

.auth-mode-switch {
    display: grid;
    position: relative;
    width: 100%;
    padding: .3rem;
    margin-bottom: 2rem;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    background: #f7f7f7;
}

.auth-mode-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.auth-mode-option {
    display: flex;
    position: relative;
    z-index: 1;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 999px;
    color: #888;
    cursor: pointer;
    font-size: .72rem;
    transition: color .25s ease;
}

.auth-mode-option i {
    color: #aaa;
    font-size: .78rem;
    transition: color .25s ease;
}

.auth-mode-switch::before {
    position: absolute;
    top: .3rem;
    right: .3rem;
    bottom: .3rem;
    width: calc(50% - .3rem);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(25, 25, 25, .09);
    content: '';
    transition: transform .25s ease;
}

.auth-mode-switch:has(#passwordMode:checked) .auth-mode-option[for="passwordMode"],
.auth-mode-switch:has(#codeMode:checked) .auth-mode-option[for="codeMode"] {
    color: #191919;
    font-weight: 700;
}

.auth-mode-switch:has(#passwordMode:checked) .auth-mode-option[for="passwordMode"] i,
.auth-mode-switch:has(#codeMode:checked) .auth-mode-option[for="codeMode"] i {
    color: var(--red);
}

.auth-mode-switch:has(#codeMode:checked)::before {
    transform: translateX(-100%);
}

.auth-mode-input:focus-visible + .auth-mode-option {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

.auth-form {
    display: none;
    animation: auth-form-in .3s ease;
}

.auth-form.is-active {
    display: block;
}

@keyframes auth-form-in {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

.auth-form h2 {
    margin: 0 0 .35rem;
    color: #191919;
    font-size: 1.35rem;
    font-weight: 800;
}

.auth-form-subtitle {
    margin: 0 0 1.75rem;
    color: #888;
    font-size: .75rem;
}

.auth-form fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.auth-form fieldset:disabled {
    opacity: .65;
}

.auth-registration-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    line-height: 2;
}

.auth-registration-success i {
    color: #18794e;
}

.auth-form > label {
    display: block;
    margin-bottom: 1rem;
    color: #555;
    font-size: .72rem;
}

.auth-form input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    padding: .75rem;
    margin-top: .4rem;
    border: 1px solid #ddd;
    outline: 0;
    color: #333;
    background: #fff;
    font: inherit;
    font-size: .75rem;
}

.auth-form input:not([type="checkbox"]):focus {
    border-color: var(--red);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-left: 2.5rem !important;
}

.password-toggle {
    position: absolute;
    top: 50%;
    left: .7rem;
    padding: .25rem;
    border: 0;
    color: #888;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .25rem 0 1.5rem;
}

.remember-option,
.terms-check {
    color: #777;
    font-size: .68rem;
}

.remember-option input,
.terms-check input {
    margin-left: .3rem;
    accent-color: var(--red);
}

.auth-link {
    padding: 0;
    border: 0;
    color: var(--red);
    background: transparent;
    font: inherit;
    font-size: .68rem;
    cursor: pointer;
}

.auth-code-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 2.8rem;
    padding: .7rem 1rem;
    margin: .2rem 0 1.35rem;
    border: 1px solid rgba(196, 0, 16, .18);
    border-radius: .35rem;
    color: var(--red);
    background: #fff7f7;
    box-shadow: 0 5px 14px rgba(196, 0, 16, .08);
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.auth-code-button:hover:not(:disabled) {
    color: #fff;
    background: var(--red);
    box-shadow: 0 8px 18px rgba(196, 0, 16, .18);
    transform: translateY(-1px);
}

.auth-code-button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.auth-code-button:disabled {
    color: #999;
    background: #f5f5f5;
    border-color: #e5e5e5;
    box-shadow: none;
    cursor: not-allowed;
}

.auth-code-button span:last-child {
    min-width: 3.2rem;
    color: inherit;
    direction: ltr;
    text-align: center;
}

.auth-submit {
    width: 100%;
    padding: .85rem;
    border: 0;
    color: #fff;
    background: var(--red);
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
    margin-top : 30px !important;
}

.auth-submit:hover {
    background: #b9000e;
}

.auth-status {
    min-height: 1.1rem;
    margin: .8rem 0 0;
    color: #18794e;
    font-size: .68rem;
    text-align: center;
}

.auth-switch {
    margin: 1.25rem 0 0;
    color: #777;
    font-size: .7rem;
    text-align: center;
}

.terms-check {
    display: block;
    margin: .25rem 0 1.25rem;
}

.utility-heading {
    max-width: 760px;
    padding: 4rem 1.25rem 3rem;
    margin: 0 auto;
    text-align: center;
}

.utility-heading h1 {
    margin: .55rem 0 .8rem;
    color: #191919;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
}

.utility-heading p {
    margin: 0;
    color: #777;
    font-size: .88rem;
    line-height: 2;
}

.contact-layout,
.contact-map,
.terms-content,
.faq-page-layout {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    padding: 0 1.25rem;
    grid-template-columns: .8fr 1.2fr;
    gap: 1rem;
}

.contact-details,
.contact-form {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.contact-layout .contact-details {
    grid-column: 1 / -1;
    width: 100%;
}

.contact-details h2,
.contact-form h2,
.map-heading h2,
.terms-content h2,
.faq-page-list h2 {
    margin: 0 0 1.5rem;
    color: #191919;
    font-size: 1.15rem;
    font-weight: 800;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.contact-item > i {
    width: 25px;
    color: var(--red);
    font-size: 1rem;
    text-align: center;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.contact-item strong {
    color: #333;
    font-size: .78rem;
}

.contact-item span,
.contact-item a {
    color: #777;
    font-size: .72rem;
    line-height: 1.8;
}

.contact-item a:hover {
    color: var(--red);
}

.contact-socials {
    display: flex;
    gap: .5rem;
    padding-top: 1.5rem;
}

.contact-socials a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 1rem;
    color: #555;
    font-size: .72rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: .7rem;
    margin-top: .4rem;
    border: 1px solid #ddd;
    outline: 0;
    color: #333;
    background: #fff;
    font: inherit;
    font-size: .75rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--red);
}

.form-col {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.contact-submit {
    padding: .8rem 1.3rem;
    border: 0;
    color: #fff;
    background: var(--red);
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}

.form-status {
    display: inline-block;
    margin: 0 .8rem;
    color: #18794e;
    font-size: .7rem;
}

.contact-map {
    padding: 4rem 1.25rem 0;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
    filter: grayscale(.2);
}

.map-heading {
    margin-bottom: 1.25rem;
}

.map-heading h2 {
    margin-top: .4rem;
}

.terms-content {
    max-width: 900px;
    padding: 0 1.25rem;
}

.terms-updated {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    color: #999;
    font-size: .7rem;
}

.terms-content article {
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
}

.terms-content h2 {
    margin-bottom: .65rem;
    font-size: 1rem;
}

.terms-content p {
    margin: 0 0 .8rem;
    color: #666;
    font-size: .82rem;
    line-height: 2.2;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.faq-page-layout {
    display: grid;
    padding: 0 1.25rem;
/*    grid-template-columns: 220px minmax(0, 1fr);*/
    gap: 3rem;
    align-items: start;
}

.faq-topic-list {
    display: flex;
    flex-direction: column;
    border-right: 2px solid #ddd;
}

.faq-topic-list a {
    padding: .8rem 1rem;
    color: #777;
    font-size: .75rem;
}

.faq-topic-list a:hover,
.faq-topic-list a.is-active {
    color: var(--red);
    border-right: 2px solid var(--red);
    margin-right: -2px;
}

.faq-page-list .faq-group + .faq-group {
    padding-top: 3rem;
}

.faq-page-list h2 {
    margin-bottom: 1rem;
}

.article-detail-page {
    padding-bottom: 5rem;
    background: #f7f7f7;
}

.article-detail-hero {
    display: flex;
    min-height: min(46vw, 560px);
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .12)), url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=2200&q=90') center / cover;
}

.article-detail-hero-content {
    width: min(900px, 100%);
    padding: 3rem max(1.25rem, calc((100% - 1180px) / 2));
    color: #fff;
}

.article-detail-hero h1 {
    max-width: 800px;
    margin: .7rem 0 1.25rem;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.45;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, .82);
    font-size: .7rem;
}

.article-detail-meta i {
    margin-left: .3rem;
    color: #ffb4b8;
}

.article-detail-layout,
.article-comments {
    max-width: 900px;
    padding: 0 1.25rem;
    margin: 0 auto;
}

.article-content {
    padding: 3.5rem 0 0;
    color: #555;
    font-size: .92rem;
    line-height: 2.3;
}

.article-content .article-lead {
    color: #333;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 2.2;
}

.article-content h2 {
    margin: 2.7rem 0 .8rem;
    color: #191919;
    font-size: 1.5rem;
    font-weight: 800;
}

.article-content p {
    margin: 0 0 1.1rem;
}

.article-content figure {
    margin: 2.5rem 0;
}

.article-content figure img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.article-content figcaption {
    padding-top: .55rem;
    color: #999;
    font-size: .68rem;
}

.article-share-bar {
    display: flex;
    margin-top: 3rem;
    padding: 1.25rem 0;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.article-share-bar strong {
    color: #333;
    font-size: .82rem;
}

.article-share-bar button {
    display: inline-flex;
    padding: .7rem 1rem;
    align-items: center;
    gap: .5rem;
    border: 0;
    color: #fff;
    background: var(--red);
    font: inherit;
    font-size: .7rem;
    cursor: pointer;
}

.article-comments {
    padding-top: 4rem;
}

.article-section-heading {
    margin-bottom: 1.5rem;
}

.article-section-heading h2 {
    margin: .4rem 0 0;
    color: #191919;
    font-size: 1.35rem;
    font-weight: 800;
}

.comments-summary {
    display: flex;
    padding: 1rem 0;
    align-items: center;
    gap: .8rem;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.comments-summary strong {
    color: #222;
    font-size: 2rem;
}

.comment-stars {
    color: #e7aa17;
    font-size: .78rem;
}

.comments-summary small {
    color: #888;
    font-size: .7rem;
}

.comments-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.25rem;
}

.comment-thread {
    min-width: 0;
}

.comment-thread.has-replies {
    grid-column: 1 / -1;
}

.comment-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: .6rem;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.comment-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.comment-card.is-reply {
    background: #fafafa;
}

.comment-replies {
    display: grid;
    gap: .8rem;
    margin: .8rem 0 0 0;
    padding-right: 2.5rem;
    border-right: 2px solid #eee;
}

.comments-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    margin-top: 1.25rem;
    padding: .8rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: .5rem;
    color: #555;
    font: inherit;
    cursor: pointer;
    background: #fff;
    transition: background .2s ease, border-color .2s ease;
}

.comments-load-more:hover {
    border-color: #cfcfcf;
    background: #f8f8f8;
}

.comments-end-message {
    display: block;
    margin-top: 1.25rem;
    color: #888;
    font-size: .8rem;
    text-align: center;
}

.comment-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border: 0;
    border-radius: .4rem;
    color: #888;
    font-size: .68rem;
    font-family: inherit;
    background: #f5f5f5;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.comment-reply-btn:hover {
    color: #191919;
    background: #ececec;
}

/* ---- فرم ارسال دیدگاه ---- */
.comment-form {
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: .75rem;
}

.comment-form-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 1.25rem;
    color: #191919;
    font-size: 1.05rem;
}

.comment-form-title i {
    color: #e7aa17;
}

.comment-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 576px) {
    .comment-form-row {
        grid-template-columns: 1fr;
    }
}

.comment-field {
    position: relative;
    margin-bottom: 1.1rem;
}

.comment-field input,
.comment-field textarea {
    width: 100%;
    padding: .9rem .9rem .55rem;
    border: 1px solid #ddd;
    border-radius: .5rem;
    color: #333;
    font-size: .8rem;
    font-family: inherit;
    background: #fcfcfc;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    resize: vertical;
}

.comment-field input:focus,
.comment-field textarea:focus {
    border-color: #e7aa17;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(231, 170, 23, .15);
}

.comment-field label {
    position: absolute;
    top: .85rem;
    right: .95rem;
    color: #999;
    font-size: .78rem;
    pointer-events: none;
    transition: top .15s ease, font-size .15s ease, color .15s ease;
}

.comment-field input:focus + label,
.comment-field input:not(:placeholder-shown) + label,
.comment-field textarea:focus + label,
.comment-field textarea:not(:placeholder-shown) + label {
    top: .25rem;
    color: #e7aa17;
    font-size: .6rem;
}

.comment-field .req {
    color: #e05252;
}

.comment-counter {
    position: absolute;
    bottom: -1.15rem;
    left: .2rem;
    color: #aaa;
    font-size: .6rem;
}

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .25rem;
}

.replying-to {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .75rem;
    border-radius: .4rem;
    color: #666;
    font-size: .7rem;
    background: #f5f5f5;
}

.replying-to i {
    color: #e7aa17;
}

.replying-to strong {
    color: #191919;
}

.cancel-reply {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .5rem;
    border: 0;
    border-radius: .3rem;
    color: #c0392b;
    font-size: .65rem;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    transition: background .2s ease;
}

.cancel-reply:hover {
    background: #fdecea;
}

.comment-submit {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.6rem;
    border: 0;
    border-radius: .5rem;
    color: #fff;
    font-size: .8rem;
    font-family: inherit;
    background: #191919;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease, opacity .2s ease;
}

.comment-submit:hover {
    background: #e7aa17;
    transform: translateY(-1px);
}

.comment-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.comment-status {
    margin: .75rem 0 0;
    font-size: .72rem;
    min-height: 1rem;
}

.comment-status.is-success {
    color: #1e8e5a;
}

.comment-status.is-error {
    color: #c0392b;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: .65rem;
}

    .comment-user img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50%;
        object-fit: cover;
    }

.comment-user div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.comment-user strong {
    color: #333;
    font-size: .78rem;
}

.comment-user small,
.comment-card > small {
    color: #999;
    font-size: .63rem;
}

.comment-card > .comment-stars {
    display: block;
    margin-top: .9rem;
}

.comment-card p {
    margin: .8rem 0;
    color: #666;
    font-size: .78rem;
    line-height: 2;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    padding: 1rem;
    place-items: center;
    visibility: hidden;
    background: rgba(0, 0, 0, .7);
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.share-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.share-modal-box {
    position: relative;
    width: min(420px, 100%);
    padding: 2rem;
    text-align: center;
    background: #fff;
    transform: translateY(15px);
    transition: transform .25s ease;
}

.share-modal.is-open .share-modal-box {
    transform: translateY(0);
}

.share-modal-box h2 {
    margin: 0 0 .6rem;
    color: #191919;
    font-size: 1.25rem;
}

.share-modal-box p {
    margin: 0 0 1.25rem;
    color: #777;
    font-size: .75rem;
}

.share-modal-close {
    position: absolute;
    top: .75rem;
    left: .75rem;
    border: 0;
    color: #555;
    background: transparent;
    cursor: pointer;
}

.share-options {
    display: flex;
    justify-content: center;
    gap: .7rem;
}

.share-options a,
.share-options button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #333;
    cursor: pointer;
}

    .share-options a:nth-child(1) {
        background: #53f218;
    }
    .share-options a:nth-child(2) {
        background: #17a3d8;
    }
    .share-options a:nth-child(3) {
        background: #9322d9;
    }
.share-options button { background: var(--red); }

.copy-status {
    display: block;
    min-height: 1rem;
    padding-top: .7rem;
    color: #18794e;
    font-size: .68rem;
}

@media (max-width: 767.98px) {
    .account-heading {
        padding: 2.75rem .75rem 1.5rem;
    }

    .account-layout {
        display: block;
        padding: 0 .75rem;
    }

    .account-sidebar {
        position: fixed;
        top: 60px;
        right: 0;
        z-index: 1020;
        width: min(300px, 84vw);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateX(105%);
        transition: transform .35s ease, opacity .35s ease, visibility .35s ease;
    }

    .account-sidebar.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .account-content {
        padding: 1rem;
    }

    .mobile-account-menu {
        display: block;
        margin-bottom: 1rem;
    }

    .mobile-account-menu button {
        display: inline-flex;
        padding: .7rem .9rem;
        align-items: center;
        gap: .5rem;
        border: 1px solid #ddd;
        color: #333;
        background: #fff;
        font: inherit;
        font-size: .72rem;
        cursor: pointer;
    }

    .address-grid,
    .favorite-grid,
    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-overview {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .account-action {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .checkout-layout {
        display: block;
        padding: 0 .75rem;
    }

    .checkout-summary {
        margin-top: 1rem;
    }

    .checkout-item img {
        width: 90px;
        height: 80px;
    }

    .invoice-address {
        flex-direction: column;
    }

    .auth-page {
        padding-bottom: 4rem;
    }

    .auth-intro {
        padding: 2.75rem .75rem 1.75rem;
    }

    .auth-card {
        display: block;
        width: calc(100% - 1.5rem);
        min-height: 0;
    }

    .auth-card-aside {
        padding: 1.5rem;
    }

    .auth-card-aside > i {
        margin-bottom: .8rem;
        font-size: 1.35rem;
    }

    .auth-card-aside h2 {
        margin-bottom: .35rem;
        font-size: 1.05rem;
    }

    .auth-card-aside p {
        font-size: .7rem;
    }

    .auth-forms {
        padding: 1.5rem;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
        gap: .65rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-details,
    .contact-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-map {
        padding: 3rem .75rem 0;
    }

    .contact-map iframe {
        height: 280px;
    }

    .faq-page-layout {
        display: block;
        padding: 0 .75rem;
    }

    .faq-topic-list {
        display: grid;
        margin-bottom: 2.5rem;
        grid-template-columns: repeat(2, 1fr);
        border-right: 0;
        border-bottom: 1px solid #ddd;
    }

    .faq-topic-list a {
        border-bottom: 2px solid transparent;
        text-align: center;
    }

    .faq-topic-list a:hover,
    .faq-topic-list a.is-active {
        border-right: 0;
        border-bottom-color: var(--red);
        margin-right: 0;
    }

    .article-detail-hero {
        min-height: 62vw;
    }

    .article-detail-hero-content {
        padding: 2rem .75rem;
    }

    .article-detail-meta {
        gap: .7rem;
    }

    .article-detail-layout,
    .article-comments {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .article-content {
        padding-top: 2.5rem;
        font-size: .85rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-share-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: .9rem;
    }

    .comments-list {
        grid-template-columns: 1fr;
    }
}

.articles-heading {
    max-width: 760px;
    padding: 4rem 1.25rem 2.5rem;
    margin: 0 auto;
    text-align: center;
}

.articles-heading h1 {
    margin: .55rem 0 .8rem;
    color: #191919;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
}

.articles-heading p {
    margin: 0;
    color: #777;
    font-size: .88rem;
    line-height: 2;
}

.featured-article,
.articles-list {
    max-width: 1180px;
    margin: 0 auto;
}

.featured-article {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    background: #fff;
}

.featured-article-image,
.article-card-image {
    display: block;
    overflow: hidden;
}

.featured-article-image {
    min-height: 390px;
}

.featured-article-image img,
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.featured-article:hover img,
.article-card:hover img {
    transform: scale(1.04);
}

.featured-article-content {
    display: flex;
    padding: 2.5rem;
    justify-content: center;
    flex-direction: column;
}

.article-category {
    color: var(--red);
    font-size: .7rem;
    font-weight: 800;
}

.featured-article h2 {
    margin: .7rem 0 1rem;
    color: #191919;
    font-size: 1.55rem;
    line-height: 1.6;
}

.featured-article-content > p,
.article-card-body > p {
    color: #777;
    font-size: .78rem;
    line-height: 2;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: .65rem;
}

.article-read-more {
    display: inline-flex;
    width: fit-content;
    padding-top: 1.25rem;
    align-items: center;
    gap: .6rem;
    color: var(--red);
    font-size: .72rem;
    font-weight: 800;
}

.articles-list {
    padding: 4rem 1.25rem 5rem;
}

.articles-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.articles-toolbar h2 {
    margin: 0;
    color: #191919;
    font-size: 1.25rem;
    font-weight: 800;
}

.article-search {
    display: flex;
    width: min(280px, 48%);
    padding: .65rem .8rem;
    align-items: center;
    gap: .5rem;
    border: 1px solid #ddd;
    color: #888;
    background: #fff;
}

.article-search input {
    width: 100%;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .72rem;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.article-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow .25s ease, transform .25s ease;
}

.article-card:hover {
    box-shadow: 0 15px 30px rgba(25, 25, 25, .12);
    transform: translateY(-4px);
}

.article-card-image {
    height: 210px;
}

.article-card-body {
    padding: 1.25rem;
}

.article-card h3 {
    min-height: 3rem;
    margin: .55rem 0 .6rem;
    color: #222;
    font-size: .95rem;
    line-height: 1.7;
}

.article-card-body > p {
    min-height: 3.1rem;
    margin-bottom: 1rem;
}

.article-card .article-meta a {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
}

.article-card[hidden] {
    display: none;
}

@media (max-width: 767.98px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-article-image {
        min-height: 250px;
    }

    .featured-article-content {
        padding: 1.5rem;
    }

    .articles-list {
        padding: 3rem .75rem 4rem;
    }

    .articles-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .article-search {
        width: 100%;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-card-image {
        height: 230px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product-description {
    display: flex;
    max-width: 1180px;
    padding: 4rem 1.25rem 1rem;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.product-description-copy {
/*    max-width: 760px;*/
}

.product-description-copy h2 {
    margin: .55rem 0 .9rem;
    color: #191919;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 800;
}

.product-description-copy p {
    margin: 0;
    color: #777;
    font-size: .85rem;
    line-height: 2.1;
}

.product-description-copy p + p {
    margin-top: 1rem;
}

.product-description-points {
    display: flex;
    flex-shrink: 0;
    gap: 1.5rem;
}

.product-description-points div {
    display: flex;
    min-width: 75px;
    align-items: center;
    flex-direction: column;
    gap: .55rem;
    color: #555;
    font-size: .65rem;
    text-align: center;
}

.product-description-points i {
    color: var(--red);
    font-size: 1.2rem;
}

.product-photo-gallery {
    display: grid;
    max-width: 1180px;
    padding: 3rem 1.25rem 0;
    margin: 0 auto;
    grid-template-columns: 1.45fr .8fr .8fr;
    grid-template-rows: 220px 220px;
    gap: .75rem;
}

.product-3d-section {
    width: 100%;
    max-width: 1180px;
    padding: 4rem 1.25rem 0;
    margin: 0 auto;
}

.product-3d-section .product-section-heading p {
    margin: .6rem 0 0;
    color: #777;
    font-size: .8rem;
}

.product-3d-viewer {
    width: 100%;
    height: min(560px, 52vw);
    min-height: 360px;
    margin-top: 1.25rem;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 15px 35px rgba(25, 25, 25, .1);
}

.product-3d-viewer canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
}

.product-3d-viewer canvas:active {
    cursor: grabbing;
}

.gallery-photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #ddd;
    cursor: zoom-in;
}

.gallery-photo--large {
    grid-row: span 2;
}

.gallery-photo--tall {
    grid-row: span 2;
}

.gallery-photo--wide {
    grid-column: span 1;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.gallery-photo:hover img {
    filter: brightness(.78);
    transform: scale(1.05);
}

.gallery-preview-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: rgba(25, 25, 25, .72);
    opacity: 0;
    transition: opacity .25s ease;
}

.gallery-photo:hover .gallery-preview-icon {
    opacity: 1;
}

.photo-preview {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    padding: 3rem;
    place-items: center;
    visibility: hidden;
    background: rgba(0, 0, 0, .88);
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.photo-preview-3d-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 1;
    padding: .7rem 1rem;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(25, 25, 25, .55);
    font: inherit;
    font-size: .7rem;
    cursor: pointer;
}

.photo-preview-3d-toggle:hover,
.photo-preview-3d-toggle[aria-pressed="true"] {
    border-color: var(--red);
    background: var(--red);
}

.three-d-viewer {
    display: none;
    position: relative;
    width: min(1000px, 90vw);
    height: min(650px, 75vh);
    background: #eee;
}

.photo-preview.show-3d .three-d-viewer {
    display: block;
}

.photo-preview.show-3d > img,
.photo-preview.show-3d .photo-preview-prev,
.photo-preview.show-3d .photo-preview-next {
    display: none;
}

.three-d-viewer canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.three-d-viewer span {
    position: absolute;
    right: 50%;
    bottom: .8rem;
    color: #555;
    font-size: .65rem;
    transform: translateX(50%);
}

.photo-preview.is-open {
    visibility: visible;
    opacity: 1;
}

.photo-preview img {
    max-width: min(1100px, 92vw);
    .photo-preview-3d-toggle {
        top: .75rem;
        right: .75rem;
    }

    .three-d-viewer {
        width: 96vw;
        height: 68vh;
    }

    .download-section {
        display: grid;
        max-width: 1180px;
        padding: 4rem 1.25rem 0;
        margin: 0 auto;
        grid-template-columns: .8fr 1.2fr;
        gap: 2rem;
        align-items: center;
    }

    .download-copy h2 {
        margin: .5rem 0 .8rem;
        color: #191919;
        font-size: 1.6rem;
        font-weight: 800;
    }

    .download-copy p {
        max-width: 420px;
        margin: 0 0 1.25rem;
        color: #777;
        font-size: .82rem;
        line-height: 2;
    }

    .download-button {
        display: inline-flex;
        padding: .8rem 1.1rem;
        align-items: center;
        gap: .55rem;
        color: #fff;
        background: var(--red);
        font-size: .72rem;
        font-weight: 700;
    }

    .download-button:hover {
        color: #fff;
        background: #b9000e;
    }

    .download-image {
        overflow: hidden;
        background: #eee;
    }

    .download-image img {
        display: block;
        width: 100%;
        max-height: 430px;
        object-fit: cover;
    }
    min-height: min(43vw, 560px);
    overflow: hidden;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .08)), url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=2200&q=90') center / cover;
}

.product-cover-content {
    position: relative;
    z-index: 2;
    width: 1180px;
    padding: 2rem 1.25rem;
    margin: 0 auto;
    color: #fff;
}

.product-cover {
    position: relative;
    display: flex;
    min-height: min(58vw, 680px);
    overflow: hidden;
    align-items: flex-end;
    background: #171717;
}

.product-cover::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .08));
}

.product-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-cover-label {
    display: block;
    margin-bottom: .45rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.product-cover h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
}

.product-cover-scroll {
    position: absolute;
    right: 3rem;
    bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #fff;
    font-size: .65rem;
    writing-mode: vertical-rl;
}

.product-sticky-nav {
    position: sticky;
    top: 60px;
    z-index: 1000;
    display: flex;
    min-height: 78px;
    padding: .75rem max(1.25rem, calc((100% - 1180px) / 2));
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 5px 16px rgba(25, 25, 25, .08);
}

.product-nav-summary {
    display: flex;
    min-width: 235px;
    flex-direction: column;
    gap: .15rem;
}

.product-nav-summary strong {
    color: #222;
    font-size: .78rem;
}

.product-nav-summary span {
    color: #777;
    font-size: .62rem;
}

.product-nav-summary span:last-child {
    color: #18794e;
}

.product-nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-right: auto;
}

.product-nav-links a {
    color: #333;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-nav-links a:hover {
    color: var(--red);
}

.product-nav-links .product-nav-related {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    color: #fff;
    background: var(--red);
    font-weight: 700;
}

.product-nav-links .product-nav-related:hover {
    color: #fff;
    background: #b8000e;
}

.product-nav-cta {
    display: inline-flex;
    padding: .9rem 1.2rem;
    align-items: center;
    gap: .7rem;
    color: #fff;
    background: var(--red);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.product-nav-cta:hover {
    color: #fff;
    background: #b9000e;
}

.product-breadcrumb,
.product-detail-hero,
.product-specs {
    max-width: 1180px;
    margin: 3rem auto 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: .72rem;
}

.product-breadcrumb i {
    color: var(--red);
    font-size: .6rem;
}

.product-detail-hero {
    display: grid;
    padding: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 3rem;
    background: #fff;
}

.product-gallery-main {
    display: grid;
    min-height: 460px;
    place-items: center;
    background: #f2f2f2;
}

.product-gallery-main img {
    width: 90%;
    height: 410px;
    object-fit: contain;
    filter: drop-shadow(0 18px 12px rgba(25, 25, 25, .18));
    transition: opacity .2s ease;
}

.product-thumbnails {
    display: flex;
    gap: .75rem;
    padding-top: .75rem;
}

.product-thumbnail {
    width: 82px;
    height: 70px;
    padding: .3rem;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
}

.product-thumbnail.is-active {
    border-color: var(--red);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-info {
    align-self: center;
}

.product-detail-category {
    color: var(--red);
    font-size: .75rem;
    font-weight: 800;
}

.product-detail-info h1,
.product-detail-info h2 {
    margin: .6rem 0 1rem;
    color: #191919;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    direction: ltr;
    text-align: right;
}

.product-detail-intro {
    color: #777;
    font-size: .85rem;
    line-height: 2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.25rem 0;
}

.product-rating i {
    margin-left: .15rem;
    color: #e7aa17;
    font-size: .75rem;
}

.product-rating small {
    color: #888;
    font-size: .68rem;
}

.product-detail-price {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-detail-price span {
    color: #888;
    font-size: .7rem;
}

.product-detail-price strong {
    color: #191919;
    font-size: 1.2rem;
}

.product-availability {
    padding: 1rem 0;
    color: #18794e;
    font-size: .78rem;
    font-weight: 700;
}

.product-purchase {
    display: flex;
    gap: .6rem;
}

.quantity-control {
    display: flex;
    width: 105px;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #ddd;
}

.quantity-control button {
    padding: .6rem;
    border: 0;
    color: #555;
    background: transparent;
    cursor: pointer;
}

.quantity-control output {
    font-size: .8rem;
}

.add-to-cart {
    flex: 1;
    border: 0;
    color: #fff;
    background: var(--red);
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}

.add-to-cart.is-added {
    background: #18794e;
}

.add-to-favorites {
    width: 44px;
    border: 1px solid #ddd;
    color: var(--red);
    background: #fff;
    cursor: pointer;
}

.add-to-favorites.is-added {
    background: #fff1f2;
}

.product-delivery {
    margin: 1rem 0 0;
    color: #888;
    font-size: .7rem;
}

.product-delivery i {
    margin-left: .35rem;
    color: var(--red);
}

.product-specs {
    padding: 4rem 0 0;
}

.product-section-heading {
    margin-bottom: 1.5rem;
}

.product-section-heading h2 {
    margin: .4rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.specs-grid div {
    display: flex;
    padding: 1.1rem;
    flex-direction: column;
    gap: .4rem;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    background: #fff;
}

.specs-grid span {
    color: #888;
    font-size: .7rem;
}

.specs-grid strong {
    color: #222;
    font-size: .82rem;
}

.product-faq,
.product-reviews {
    max-width: 1180px;
    padding: 4rem 1.25rem 0;
    margin: 0 auto;
}

.faq-list {
    border-top: 1px solid #ddd;
}

.faq-item {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    color: #333;
    background: transparent;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-question i {
    color: var(--red);
    font-size: 1.2rem;
    transition: transform .3s ease;
}

.faq-item.is-open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .35s ease, opacity .25s ease;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer p {
    max-width: 800px;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: #777;
    font-size: .78rem;
    line-height: 2;
}

.faq-item.is-open .faq-answer p {
    margin-top: .8rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.reviews-summary strong {
    color: #222;
    font-size: 2rem;
}

.reviews-summary i,
.review-header i {
    color: #e7aa17;
    font-size: .75rem;
}

.reviews-summary small {
    color: #888;
    font-size: .7rem;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1.25rem;
}

.review-list article {
    padding: 1.25rem;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: .78rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.review-user img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.review-score {
    color: #555;
    font-size: .75rem;
}

.review-score i {
    color: #e7aa17;
}

.review-list .review-stars {
    display: block;
    margin-top: .9rem;
}

.review-list p {
    margin: .8rem 0;
    color: #666;
    font-size: .78rem;
    line-height: 2;
}

.review-list article > small {
    color: #18794e;
    font-size: .65rem;
}

@media (max-width: 767.98px) {
    .product-detail-page {
        padding: 0 0 4rem;
    }

    .product-description {
        padding: 2.5rem .75rem .5rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
    }

    .product-description-points {
        width: 100%;
        justify-content: space-around;
        gap: .5rem;
    }

    .product-photo-gallery {
        padding: 1.5rem .75rem 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 240px 150px 150px;
    }

    .product-3d-section {
        padding: 3rem .75rem 0;
    }

    .product-3d-viewer {
        height: 70vw;
        min-height: 280px;
    }

    .gallery-photo--large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-photo--tall {
        grid-row: span 2;
    }

    .gallery-preview-icon {
        right: .6rem;
        bottom: .6rem;
        width: 32px;
        height: 32px;
        opacity: 1;
        font-size: .75rem;
    }

    .photo-preview {
        padding: 2rem .5rem;
    }

    .photo-preview-3d-toggle {
        top: .75rem;
        right: .75rem;
    }

    .three-d-viewer {
        width: 96vw;
        height: 68vh;
    }

    .photo-preview-prev,
    .photo-preview-next {
        top: auto;
        bottom: 1.25rem;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .photo-preview-prev {
        right: calc(50% + 8px);
    }

    .photo-preview-next {
        left: calc(50% + 8px);
    }

    .product-cover {
        min-height: 62vw;
        background-position: 58% center;
    }

    .product-cover-content {
        padding: 1.25rem .75rem;
    }

    .product-cover-scroll {
        right: .75rem;
        bottom: 1.4rem;
    }

    .product-sticky-nav {
        top: 60px;
        min-height: auto;
        padding: .75rem;
        flex-wrap: wrap;
        gap: .75rem;
    }

    .product-nav-summary {
        min-width: 0;
        flex: 1;
    }

    .product-nav-links {
        width: 100%;
        order: 3;
        overflow-x: auto;
        gap: 1rem;
        margin-right: 0;
        padding-bottom: .2rem;
    }

    .product-nav-cta {
        padding: .75rem;
    }

    .product-detail-hero {
        margin-top: 1.5rem;
    }

        .download-section {
            padding: 3rem .75rem 0;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

    .product-detail-hero {
        padding: .75rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-gallery-main {
        min-height: 290px;
    }

    .product-gallery-main img {
        height: 270px;
    }

    .product-detail-info h1,
    .product-detail-info h2 {
        font-size: 2rem;
    }

    .product-purchase {
        flex-wrap: wrap;
    }

    .add-to-cart {
        min-height: 44px;
        order: 2;
        flex-basis: calc(100% - 115px);
    }

    .product-specs {
        padding-top: 3rem;
    }

    .product-faq,
    .product-reviews {
        padding: 3rem .75rem 0;
    }

    .review-list {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.newsletter {
    padding: 2rem 0;
    background: #eaf0f1;
}

.newsletter__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 2.5rem;
    direction: ltr;
    padding: 1.5rem 2rem;
    border-block: 1px solid #cbd7d9;
    background: linear-gradient(115deg, #dce8eb, #f5f3ed);
}

.newsletter__visual,
.newsletter__content {
    direction: rtl;
}

.newsletter__visual {
    display: grid;
    min-height: 230px;
    place-items: center;
}

.newsletter__visual img {
    display: block;
    width: 100%;
    max-height: 270px;
    object-fit: contain;
}

.newsletter__content h2 {
    margin: 0 0 .75rem;
    color: #172b31;
    font-size: 1.6rem;
    font-weight: 800;
}

.newsletter__eyebrow {
    margin-bottom: .5rem;
    color: #1675a4;
    font-size: .85rem;
    font-weight: 800;
}

.newsletter__description {
    margin-bottom: 1.25rem;
    color: #526166;
}

.newsletter__form {
    display: flex;
    gap: .65rem;
}

.newsletter__form input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: .7rem .9rem;
    border: 1px solid #c4d0d2;
    border-radius: 4px;
    background: #fff;
    color: #172b31;
}

.newsletter__form input:focus {
    border-color: #1675a4;
    outline: 2px solid rgba(22, 117, 164, .18);
}

.newsletter__form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 4px;
    background: #d96835;
    color: #fff;
    font-weight: 700;
}

.newsletter__form button:disabled {
    cursor: wait;
    opacity: .7;
}

.newsletter__feedback {
    display: block;
    min-height: 1.5rem;
    padding-top: .35rem;
    font-size: .85rem;
}

.newsletter__feedback.is-success {
    color: #247247;
}

.newsletter__feedback.is-error {
    color: #a9362c;
}

@media (max-width: 767.98px) {
    .newsletter {
        padding: 1.25rem 0;
    }

    .newsletter__layout {
        grid-template-columns: 1fr;
        gap: .75rem;
        padding: 1rem;
    }

    .newsletter__visual {
        min-height: 160px;
    }

    .newsletter__visual img {
        max-height: 190px;
    }

    .newsletter__content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 479.98px) {
    .newsletter__form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .newsletter__form button {
        width: 100%;
    }
}

.site-footer {
    background: #f0f0f0;
}

.site-footer h3 {
    margin-bottom: 1rem;
    color: #777;
    font-size: .75rem;
    font-weight: 800;
}

.site-footer a {
    display: block;
    margin-bottom: .5rem;
    font-size: .75rem;
    font-weight: 600;
}

.socials {
    display: flex;
    gap: .5rem;
}

.socials a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    background: #333;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: .7rem;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content {
        max-width: 820px;
    }

    .feature-card {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .site-header {
        inset-inline: .5rem;
    }

    .navbar {
        min-height: 72px;
    }

    .site-logo {
        font-size: .78rem;
    }

    .site-logo img {
        height: 62px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .menu-toggle {
        width: 59px;
    }

    .menu-toggle-text {
        display: none;
    }

    .hero-section {
        min-height: 350px;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-card {
        min-height: 165px;
    }

    .brand-card>div {
        padding: 1rem;
    }

    .brand-card strong {
        font-size: 1rem;
    }

    .brand-card span {
        font-size: .7rem;
    }

    .feature-card {
        height: 260px;
    }

    .feature-card h3 {
        font-size: 1.35rem;
    }

    .legacy-section,
    .legacy-content {
        min-height: 320px;
    }
}

.menu-drawer {
    top: 0;
    right: 0 !important;
    left: auto !important;
    width: min(360px, 86vw);
    height: 100vh;
    transform: translateX(100%);
}

.offcanvas.menu-drawer {
    inset: 0 0 0 auto !important;
}

.offcanvas.menu-drawer:not(.show):not(.showing) {
    transform: translate3d(100%, 0, 0) !important;
}

.header-icon {
    position: relative;
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
}

.header-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 50rem;
    color: #fff;
    background: var(--red);
    font: 700 .6rem Arial, sans-serif;
}

.search-panel {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 1029;
    height: 0;
    overflow: hidden;
    background: #f4f4f4;
    border-bottom: 0 solid #ddd;
    transition: height .25s ease, border-width .25s ease;
}

.search-panel.is-open {
    height: 76px;
    border-bottom-width: 1px;
}

.search-form {
    display: flex;
    height: 100%;
    padding: 0 1.5rem;
    align-items: center;
    gap: 1rem;
}

.search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #222;
    background: transparent;
    font: 500 1.05rem Vazirmatn, sans-serif;
}

.search-form input::placeholder {
    color: #8b8b8b;
}

.search-form button {
    flex: 0 0 auto;
    border: 0;
    color: #111;
    background: transparent;
    font: 800 .75rem Vazirmatn, sans-serif;
}

.search-form button i {
    margin-right: .35rem;
    font-size: .65rem;
}

@media (max-width: 575.98px) {
    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .header-badge {
        top: 0;
        right: 0;
        min-width: 15px;
        height: 15px;
        font-size: .55rem;
    }

    .search-panel {
        top: 61px;
    }

    .search-form {
        padding: 0 1rem;
    }
}

.offcanvas.menu-drawer.hiding {
    transform: translate3d(100%, 0, 0) !important;
}

.nav-panel .dropdown-toggle {
    position: relative;
}

.nav-panel .dropdown-toggle::after {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    color: #111;
    content: '+';
    font: 700 1.2rem/1 Arial, sans-serif;
    transform: translateY(-50%);
}

.nav-panel .dropdown-toggle.show::after {
    content: '-';
}

.mobile-brands-section {
    display: none;
}

@media (max-width: 1199.98px) {
    .brands-section {
        display: none;
    }

    .mobile-brands-section {
        display: block;
    }

    .mobile-brand-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 180px;
        overflow: visible;
    }

    .mobile-brand-row--reverse .mobile-brand-copy {
        order: 2;
    }

    .mobile-brand-row--reverse .mobile-brand-image {
        order: 1;
    }

    .mobile-brand-copy,
    .mobile-brand-image {
        position: relative;
        min-width: 0;
        min-height: 180px;
        overflow: visible;
    }

    .mobile-brand-copy {
        display: flex;
        overflow: visible;
        padding: 1rem;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: .45rem;
        text-align: center;
    }

    .mobile-brand-copy strong {
        font: 800 1rem/1 Arial, sans-serif;
    }

    .mobile-brand-copy span {
        max-width: 170px;
        font-size: .7rem;
        line-height: 1.5;
        font-weight: 600;
    }

    .mobile-brand-copy b {
        padding-top: .25rem;
        border-bottom: 2px solid currentColor;
        font-size: .7rem;
    }

    .mobile-brand-image {

    }

    .brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 180px;
    }

    .brand-grid > .brand-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }

    .brand-grid > .brand-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    .brand-grid > .brand-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    .brand-grid > .brand-card:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }
    .brand-grid > .brand-card:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }
    .brand-grid > .brand-card:nth-child(5) {
        grid-column: 1;
        grid-row: 3;
    }
    .brand-grid > .brand-card:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }
    .brand-grid > .brand-card:nth-child(7) {
        grid-column: 2;
        grid-row: 4;
    }
    .brand-grid > .brand-card:nth-child(8) {
        grid-column: 1;
        grid-row: 4;
    }
    .brand-grid > .brand-card:nth-child(9) {
        grid-column: 1;
        grid-row: 5;
    }
    .brand-grid > .brand-card:nth-child(10) {
        grid-column: 2;
        grid-row: 5;
    }
    .brand-grid > .brand-card:nth-child(11) {
        grid-column: 1;
        grid-row: 6;
    }
    .brand-grid > .brand-card:nth-child(12) {
        grid-column: 2;
        grid-row: 6;
    }
    .brand-grid > .brand-card:nth-child(13) {
        grid-column: 1;
        grid-row: 8;
    }
    .brand-grid > .brand-card:nth-child(14) {
        grid-column: 2;
        grid-row: 7;
    }
    .brand-grid > .brand-card:nth-child(15) {
        grid-column: 1;
        grid-row: 7;
    }
    .brand-grid > .brand-card:nth-child(16) {
        grid-column: 2;
        grid-row: 8;
    }

    .brand-grid > .brand-card:nth-child(1)::after,
    .brand-grid > .brand-card:nth-child(5)::after,
    .brand-grid > .brand-card:nth-child(9)::after,
    .brand-grid > .brand-card:nth-child(15)::after {
        top: 40%;
        right: auto;
        left: 100%;
        width: 15px;
        height: 30px;
        clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    .brand-grid > .brand-card:nth-child(3)::after,
    .brand-grid > .brand-card:nth-child(7)::after,
    .brand-grid > .brand-card:nth-child(12)::after,
    .brand-grid > .brand-card:nth-child(16)::after {
        top: 40%;
        right: 100%;
        left: auto;
        width: 15px;
        height: 30px;
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
    }
}