/* Chin Chin - main.css
 * Extracted from the supplied style (1).css; preserve existing selectors.
 * Install at: wp-content/themes/lavantheme/css/main.css
 * Page-specific components and home-only header overrides are excluded.
 * Keep legacy style.css active during this migration stage.
 */

/* Base */

:root {
  --brand-red: #a50022;
  --brand-green: #27813b;
  --accent-orange: #ffa628;
  --dark-red: #9b0020;
  --dark-green: #1a6f2d;
  --light-gray: #f8f8fd;
  --brand-red-faq: #a50022;
  --brand-green-faq: #27813b;
  --light-gray-faq: #f8f8fd;
}

@font-face {
    font-family: "IRANSansXV";
    src: url("../fonts/IRANSansXV.woff2") format("woff2"),
         url("../fonts/IRANSansXV.woff") format("woff");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

img, video {
  border-radius: 18px;
}

body {
    position: relative;
    font-family: "IRANSansXV", "Ubuntu", tahoma;
    line-height: 1.8;
    color: #484a53;
    font-size: 0.8rem;
    text-align: right;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
    outline: none;
}

p > a,
span > a {
    color: #266099;
}

p {
    text-align: justify;
}

ul,
li {
    list-style-type: none;
    padding: 0;
	text-align: justify;
 	line-height: 1.6;
}

textarea {
    border: 1px solid #eee;
    display: block;
    width: 100%;
    background-color: transparent;
    padding: 5px 10px;
    margin: 0;
}

input,
select {
    display: block;
    padding-right: 10px;
    padding-left: 10px;
    border: 1px solid #eee;
    height: 40px;
    line-height: 40px;
    color: #4b3f60;
    width: 100%;
    margin: 0;
    outline: none;
}

option {
    padding-right: 10px;
}

label {
    display: block;
    width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
    margin: 5px 0 0;
    height: auto;
    width: auto;
    position: relative;
    top: 2px;
    border: 1px solid #eee;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-orange);
}

input[type="submit"] {
    display: inline-block;
    width: auto;
    background-color: var(--accent-orange);
    border: 0 solid var(--accent-orange);
    color: #fff;
    font-weight: 700;
    padding: 0 20px;
    margin: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
}

input[type="submit"]:focus {
    border-color: var(--accent-orange);
}

input[type="submit"]:hover {
    background-color: var(--accent-orange);
}

input:disabled {
    background-color: #eee;
}

input:disabled:hover {
    background-color: #eee;
}

img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: auto;
}

video {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: auto;
}

li img,
h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
p img,
button img,
span img {
    display: inline;
    font-size: 5px;
}

.eng {
    font-family: "Roboto Condensed", sans-serif;
    direction: ltr;
    text-align: right;
    font-size: 15px;
}

.ltr {
    direction: ltr;
    text-align: left;
}

.overflow-hidden {
    overflow: hidden;
}

.text-medium {
    font-size: 0.95rem;
}

.mdi {
    position: relative;
}

.btn {
    position: relative;
    background-color: var(--accent-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem 0.7rem;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    min-width: 150px;
    border-radius: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    outline: 0;
    border: 0;
    overflow: hidden;
}

.btn.by-mdi {
    padding-left: 55px;
}

a.btn {
    color: #fff;
	border-radius: 20px;
}

.btn-white,
a.btn-white {
    background-color: #fff;
    color: var(--brand-red);
	border-radius: 20px;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    outline: 0;
    border-color: transparent;
    background-color: #ff9501;
}

a.btn-white:hover,
a.btn-white:focus {
    color: #fff;
}

.btn:focus,
.btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
}

.btn .mdi {
    position: absolute;
    height: 44px;
    width: 44px;
    line-height: 44px;
    left: 0;
    top: -1px;
    background-color: #ff9501;
    text-align: center;
    padding: 0;
    transition: all 0.5s;
}

.btn:hover .mdi {
    padding-right: 10px;
}

.label {
    position: relative;
    display: inline-block;
    background-color: #0559fd;
    font-size: 0.8rem;
    line-height: 30px;
    height: 30px;
    overflow: hidden;
    padding: 0 10px;
    border-radius: 8px;
}

.label .mdi {
    position: absolute;
    right: 6px;
    top: 6px;
    display: block;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    overflow: hidden;
}

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

table th,
table td {
    line-height: 1.8;
    border-color: #e6ecf5;
    text-align: right;
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

table th {
    color: #515365;
    vertical-align: bottom;
    border-bottom: 1px solid #e6ecf5;
    border-top-width: 0;
}

.sec-style {
    padding-top: 60px;
    padding-bottom: 60px;
}

.sec-style.by-back {
    background-color: var(--light-gray);
}

.sec-head {
    padding-bottom: 40px;
}

.sec-head.sm {
    padding-bottom: 10px;
}

.sec-head > h2,
.sec-head > h3,
.sec-head > h4,
.sec-head > p {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-green);
    font-weight: 600;
    margin: 0;
}

.sec-head > h4 {
    font-size: 1.5rem;
}

.site-logo {
    max-height: 50px;
}

.sec-style .row { align-items: flex-start; }

/* Header */

.site-header {
    --header-height: 78px;
    --header-red: #9b1c2b;
    --header-red-soft: #fff3f4;
    --header-ink: #292522;
    --header-muted: #716b66;
    --header-line: #ece7e2;
    position: sticky;
    top: 0;
    z-index: 1030;
    direction: rtl;
    color: var(--header-ink);
    font-family: "IRANSansXV", Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    background: #fff;
    border-bottom: 1px solid var(--header-line);
    box-shadow: 0 4px 18px rgba(44, 34, 30, 0.07);
    isolation: isolate;
}

.site-header *,
.site-header *::before,
.site-header *::after {
    box-sizing: border-box;
}

.site-header ul,
.site-header li {
    padding: 0;
    margin: 0;
    line-height: normal;
    text-align: right;
    list-style: none;
}

.site-header a {
    color: inherit;
    text-decoration: none;
}

.site-header img {
    display: block;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
}

.site-header__container {
    width: min(calc(100% - 32px), 1240px);
    margin-inline: auto;
}

.site-header__desktop {
    display: none;
}

.site-header__mobile {
    position: relative;
    display: block;
}

.site-header__mobile-inner {
    display: grid;
    min-height: 64px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
}

.site-header__mobile-brand {
    display: flex;
    width: 96px;
    height: 56px;
    align-items: center;
    justify-self: center;
}

@media (min-width: 992px) {
.site-header {
        transition:
            top 320ms ease,
            right 320ms ease,
            left 320ms ease,
            background-color 320ms ease,
            border-color 320ms ease,
            border-radius 320ms ease,
            box-shadow 320ms ease;
    }
.site-header__desktop-inner {
        gap: 14px;
    }
.site-header__nav--right,
    .site-header__left,
    .site-header__left .site-header__nav {
        align-self: stretch;
    }
.site-header__nav--right > .site-header__menu,
    .site-header__nav--left > .site-header__menu {
        height: 100%;
    }
.site-header__menu > .menu-item {
        display: flex;
        height: 100%;
        align-items: center;
    }
.site-header__menu > .menu-item > a {
        min-height: 100%;
        font-size: 0.9rem;
    }
.site-header__nav--right > .site-header__menu {
        justify-content: flex-end;
    }
.site-header__nav--left > .site-header__menu {
        justify-content: flex-start;
    }
.site-header__brand-link {
        top: 6px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
.site-header__menu > .menu-item > a {
        font-size: 0.82rem;
    }
}

.site-header__mobile-brand img {
    width: 96px;
    height: 56px;
    object-fit: contain;
}

.site-header__mobile-language,
.site-header__language {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--header-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 10px;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-header__mobile-language {
    justify-self: end;
}

.mobile-navigation {
    position: static;
    justify-self: start;
}

.mobile-navigation summary {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    color: var(--header-ink);
    font-size: 1.8rem;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 12px;
    list-style: none;
    transition: color 160ms ease, background-color 160ms ease;
    place-items: center;
}

.mobile-navigation summary::-webkit-details-marker {
    display: none;
}

.mobile-navigation__close {
    display: none;
}

.mobile-navigation[open] .mobile-navigation__open {
    display: none;
}

.mobile-navigation[open] .mobile-navigation__close {
    display: block;
}

.mobile-navigation[open] summary {
    color: var(--header-red);
    background: var(--header-red-soft);
}

.mobile-navigation__panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    padding: 10px 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-top: 1px solid var(--header-line);
    border-bottom: 1px solid var(--header-line);
    box-shadow: 0 18px 32px rgba(44, 34, 30, 0.12);
    -webkit-overflow-scrolling: touch;
}

.mobile-navigation__menu,
.mobile-navigation__menu .sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-navigation__menu > li {
    border-bottom: 1px solid var(--header-line);
}

.mobile-navigation__menu > li:last-child {
    border-bottom: 0;
}

.mobile-navigation__menu a {
    display: flex;
    min-height: 48px;
    padding: 0.7rem 0.6rem;
    align-items: center;
    color: var(--header-ink);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.mobile-navigation__menu .current-menu-item > a,
.mobile-navigation__menu .current-menu-ancestor > a {
    color: var(--header-red);
}

.mobile-navigation__menu .sub-menu {
    padding: 0.25rem 0.8rem 0.65rem 0.25rem;
    background: #fbfaf8;
    border-radius: 12px;
}

.mobile-navigation__menu .sub-menu a {
    min-height: 42px;
    padding-block: 0.5rem;
    color: var(--header-muted);
    font-size: 0.86rem;
    font-weight: 500;
}

.mobile-navigation__menu .sub-menu .sub-menu {
    padding-right: 0.8rem;
    background: transparent;
    border-right: 2px solid var(--header-line);
    border-radius: 0;
}

.skip-link:focus {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 100000;
    display: block;
    width: auto;
    height: auto;
    padding: 0.7rem 1rem;
    clip: auto;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    background: #74131f;
    border-radius: 8px;
}

.site-header a:focus-visible,
.site-header summary:focus-visible {
    outline: 3px solid rgba(230, 166, 47, 0.8);
    outline-offset: 2px;
}

body.admin-bar .site-header {
    top: 32px;
}

@media (min-width: 992px) {
.site-header__mobile {
        display: none;
    }
.site-header__desktop {
        display: block;
    }
.site-header__desktop-inner {
        position: relative;
        display: grid;
        min-height: var(--header-height);
        grid-template-columns: minmax(0, 1fr) 146px minmax(0, 1fr);
        align-items: stretch;
        overflow: visible;
    }
.site-header__nav {
        min-width: 0;
        height: var(--header-height);
    }
.site-header__left {
        display: grid;
        min-width: 0;
        height: var(--header-height);
        grid-template-columns: minmax(0, 1fr) 48px;
        column-gap: 0.65rem;
        align-items: stretch;
    }
.site-header__menu {
        display: flex;
        min-width: 0;
        height: 100%;
        gap: clamp(0.05rem, 0.28vw, 0.28rem);
        align-items: stretch;
    }
.site-header__nav--right > .site-header__menu {
        justify-content: flex-end;
		padding-left: 50px;
    }
.site-header__nav--left > .site-header__menu {
        justify-content: flex-start;
		padding-right: 50px;
    }
.site-header__menu > .menu-item {
        position: static;
        display: flex;
        height: 100%;
        flex: 0 1 auto;
        align-items: stretch;
    }
.site-header__menu > .menu-item > a {
        position: relative;
        display: flex;
        height: 100%;
        min-height: var(--header-height);
        padding: 0.6rem clamp(0.35rem, 0.58vw, 0.58rem);
        align-items: center;
        color: var(--header-ink);
        font-size: clamp(0.9rem, 0.88vw, 0.98rem);
        font-weight: 650;
        line-height: 1.5;
        white-space: nowrap;
        transition: color 160ms ease;
    }
.site-header__menu > .menu-item > a::after {
        position: absolute;
        right: 50%;
        bottom: 7px;
        width: 0;
        height: 3px;
        content: "";
        background: var(--header-red);
        border-radius: 999px;
        transform: translateX(50%);
        transition: width 180ms ease;
    }
.site-header__menu > .current-menu-item > a,
    .site-header__menu > .current-menu-ancestor > a,
    .site-header__menu > .menu-item:focus-within > a {
        color: var(--header-red);
    }
.site-header__menu > .current-menu-item > a::after,
    .site-header__menu > .current-menu-ancestor > a::after,
    .site-header__menu > .menu-item:focus-within > a::after {
        width: 58%;
    }
.site-header__brand {
        position: relative;
        z-index: 2;
        width: 146px;
        height: var(--header-height);
    }
.site-header__brand-link {
        position: absolute;
        top: 4px;
        left: 50%;
        z-index: 2;
        display: flex;
        width: 116px;
        height: 68px;
        align-items: center;
        justify-content: center;
        transform: translateX(-50%);
    }
.site-header__logo {
        width: 116px;
        height: 68px;
        max-height: none;
        object-fit: contain;
    }
.site-header__language {
        align-self: center;
        justify-self: end;
    }
.site-header__menu > .menu-item > .sub-menu {
        position: absolute;
        top: 100%;
        right: 50%;
        z-index: 20;
        display: none;
        width: min(960px, calc(100vw - 40px));
        max-height: min(calc(100vh - var(--header-height) - 24px), 620px);
        max-height: min(calc(100dvh - var(--header-height) - 24px), 620px);
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.25rem;
        padding: 1.45rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border: 1px solid var(--header-line);
        border-top: 3px solid var(--header-red);
        border-radius: 0 0 18px 18px;
        box-shadow: 0 20px 46px rgba(44, 34, 30, 0.15);
        transform: translateX(50%);
    }
.site-header__menu > .menu-item:focus-within > .sub-menu {
        display: grid;
    }
.site-header__menu > .menu-item > .sub-menu > li {
        min-width: 0;
        height: auto;
    }
.site-header__menu > .menu-item > .sub-menu > li > a {
        display: block;
        padding-bottom: 0.55rem;
        color: var(--header-ink);
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.7;
        border-bottom: 1px solid var(--header-line);
        transition: color 160ms ease;
    }
.site-header__menu .sub-menu .sub-menu {
        position: static;
        display: block;
        visibility: visible;
        width: auto;
        height: auto;
        padding: 0.55rem 0 0;
        margin: 0;
        opacity: 1;
        background: transparent;
        border: 0;
        box-shadow: none;
        transform: none;
    }
.site-header__menu .sub-menu .sub-menu a {
        display: block;
        padding: 0.35rem 0;
        color: var(--header-muted);
        font-size: 0.82rem;
        font-weight: 450;
        line-height: 1.65;
        transition: color 160ms ease;
    }
.site-header__menu .sub-menu a:hover,
    .site-header__menu .sub-menu a:focus-visible {
        color: var(--header-red);
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
.site-header__menu > .menu-item:hover > a {
        color: var(--header-red);
    }
.site-header__menu > .menu-item:hover > a::after {
        width: 58%;
    }
.site-header__menu > .menu-item-has-children:hover > .sub-menu {
        display: grid;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
.site-header__container {
        width: min(calc(100% - 24px), 1240px);
    }
.site-header__desktop-inner {
        grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr);
    }
.site-header__brand {
        width: 128px;
    }
.site-header__brand::before {
        width: 158px;
    }
.site-header__brand-link,
    .site-header__logo {
        width: 108px;
    }
.site-header__left {
        grid-template-columns: minmax(0, 1fr) 44px;
        column-gap: 0.25rem;
    }
.site-header__menu {
        gap: 0;
    }
.site-header__menu > .menu-item > a {
        padding-inline: 0.32rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 782px) {
body.admin-bar .site-header {
        top: 46px;
    }
}

@media (max-width: 600px) {
body.admin-bar .site-header {
        top: 0;
    }
}

@media (max-width: 379.98px) {
.site-header__container {
        width: min(calc(100% - 20px), 1240px);
    }
.site-header__mobile-inner {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }
.mobile-navigation summary {
        width: 44px;
        height: 44px;
    }
.site-header__mobile-brand,
    .site-header__mobile-brand img {
        width: 88px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
.site-header *,
    .site-header *::before,
    .site-header *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Footer */

.cc-footer {
    --cc-footer-bg: var(--brand-red, #9b1b2b);
    --cc-footer-dark: var(--dark-red, #78101f);
    --cc-footer-accent: var(--accent-orange, #f2aa2f);
    direction: rtl;
    overflow: hidden;
    color: #fff;
    background: var(--cc-footer-bg);
}

.cc-footer a {
    color: inherit;
    text-decoration: none;
}

.cc-footer__main {
    display: grid;
    grid-template-columns: 1fr 1.12fr 1.08fr;
    align-items: stretch;
    width: min(1540px, calc(100% - 64px));
    padding: 64px 0;
    margin: 0 auto;
}

.cc-footer__block {
    display: flex;
    min-width: 0;
    min-height: 340px;
    padding: 0 clamp(24px, 3vw, 52px);
    flex-direction: column;
    justify-content: center;
}

.cc-footer__contact,
.cc-footer__nav {
    border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.cc-footer__brand {
    align-items: center;
    text-align: center;
}

.cc-footer__logo-link {
    display: inline-flex;
    line-height: 0;
}

.cc-footer__logo {
    display: block;
    width: 110px;
    height: auto;
    margin: 0;
}

.cc-footer__tagline {
    margin: 20px 0 24px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
}

.cc-footer__brand-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.cc-footer__shop-row {
    margin-top: 20px;
}

.cc-footer__socials,
.cc-footer__contacts,
.cc-footer__menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.cc-footer__socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cc-footer__socials a {
    display: grid;
    width: 42px;
    height: 42px;
    line-height: 1;
    place-items: center;
}

.cc-footer__socials img {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0;
    object-fit: contain;
}

.cc-footer__digikala,
.cc-footer__digikala:hover,
.cc-footer__digikala:focus {
    display: inline-flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.cc-footer__digikala img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.cc-footer__contact {
    margin: 0;
}

.cc-footer__contacts {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
}

.cc-footer__contacts li {
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
    font-size: 16px;
    line-height: 2;
}

.cc-footer__contacts li > a,
.cc-footer__contacts li > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cc-footer__contact-icon {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    color: var(--cc-footer-accent);
    font-size: 28px;
    line-height: 1;
    border: 2px solid var(--cc-footer-accent);
    border-radius: 50%;
    place-items: center;
}

.cc-footer__menu {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 18px clamp(28px, 4vw, 56px);
    justify-content: center;
}

.cc-footer__menu > li {
    position: relative;
    padding-right: 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    white-space: nowrap;
}

.cc-footer__menu > li::before {
    position: absolute;
    top: 0.9em;
    right: 0;
    width: 6px;
    height: 6px;
    content: "";
    background: var(--cc-footer-accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

.cc-footer__menu a:hover,
.cc-footer__menu a:focus-visible {
    color: var(--cc-footer-accent);
}

.cc-footer a:focus-visible {
    outline: 2px solid var(--cc-footer-accent);
    outline-offset: 4px;
}

.cc-footer__copyright {
    padding: 15px 24px;
    background: var(--cc-footer-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-footer__copyright p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 1024px) {
    .cc-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(920px, calc(100% - 48px));
        padding: 48px 0;
    }
    .cc-footer__block {
        min-height: 0;
        padding: 36px;
    }
    .cc-footer__brand {
        grid-column: 1 / -1;
        padding-top: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
    .cc-footer__contact {
        border-inline-start: 0;
    }
}

@media (max-width: 700px) {
    .cc-footer__main {
        grid-template-columns: 1fr;
        width: min(520px, calc(100% - 32px));
        padding: 32px 0;
    }
    .cc-footer__block {
        width: 100%;
        padding: 32px 0;
        border-inline-start: 0;
    }
    .cc-footer__brand {
        grid-column: auto;
        padding-top: 0;
    }
    .cc-footer__brand,
    .cc-footer__contact {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }
    .cc-footer__nav {
        padding-bottom: 0;
    }
    .cc-footer__contacts,
    .cc-footer__menu {
        max-width: 440px;
    }
}

@media (max-width: 400px) {
    .cc-footer__tagline {
        font-size: 17px;
    }
    .cc-footer__brand-row {
        gap: 10px;
        font-size: 14px;
    }
    .cc-footer__socials {
        gap: 6px;
    }
    .cc-footer__socials a,
    .cc-footer__socials img {
        width: 38px;
        height: 38px;
    }
    .cc-footer__digikala img {
        width: 132px;
    }
    .cc-footer__contacts li,
    .cc-footer__menu > li {
        font-size: 14px;
    }
    .cc-footer__menu {
        column-gap: 20px;
    }
}

/* Shared heading: mobile */

@media (max-width: 767.98px) {
.sec-head > h2,
    .sec-head > h3,
    .sec-head > h4,
    .sec-head > p {
        font-size: 1.4rem;
    }
.sec-head > h4 {
        font-size: 1.2rem;
    }
}

/* Shared screen-reader class */

.screen-reader-text {
    font-size: 1rem;
    font-weight: 600;
}
