input::placeholder {
    color: #B8C8D6 !important;
    font-weight: bolder;
    font-size: 14px;
}

i{
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
}

/* nav  */
.nav-item{
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
}
.user-btn ,.shop-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    width: 42px;
    height: 40px;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.shop-btn{
    border: 0;
}

/* hero section */
.hero-section{
    position: relative;
}
.hero-container {
    /* position: relative; */
    display: grid;
    grid-template-columns: 3fr 5fr 4fr;
    align-items: center;
    min-height: 450px;
}
.hero-list{
    z-index: 2;
    height: min-content;
    width: max-content;
}
.hero-list span{
    font-size: 17px;
}
.hero-list svg{
    width: 34px;
    height: 35px;
    color: var(--icon-secondary);
}
.hero-list div{
    gap: 15px;
}
.hero-btn-container button{
    /*padding: 12px 20px;*/
}
.hero-section {
    overflow: hidden;
}
/* متن */
.hero-content{
    height: min-content;
    z-index: 2;
}
.hero-content p {
    line-height: 2;
}
/* عکس */
.hero-image-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: url("../images/hero-image.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    z-index: 1;
    pointer-events: none;
}
.hero-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(
        to right,
        transparent 45%,
        var(--bg-section) 100%
    );
}

/* why choose us */

.section-title {
    display: flex;
    justify-content: center;
}

.section-title h2 {
    position: relative;
    margin: 0;
    padding: 0 45px;
    color: var(--primary);
    font-size: 28px;
}

.title-line-left{
    position: relative;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-dark);
}

.title-line-left::before{
    position: absolute;
    display: block;
    left: 0;
    top: 50%;
    rotate: 45deg;
    content: '';
    background-color: var(--secondary-dark);
    width: 10px;
    height: 10px;
    translate: -100% -50%;
}

.title-line-left::after{
    position: absolute;
    display: block;
    top: 50%;
    right: 50%;
    content: "";
    background-color: var(--secondary-dark);
    width: 7px;
    height: 7px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    transform: translate(+50% , -50%);
    -webkit-transform: translate(+50% , -50%);
    -moz-transform: translate(+50% , -50%);
    -ms-transform: translate(+50% , -50%);
    -o-transform: translate(+50% , -50%);
}

.title-line-right{
    position: relative;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-dark);
}
.title-line-right::before{
    position: absolute;
    display: block;
    /* right: 0; */
    top: 50%;
    rotate: 45deg;
    content: '';
    background-color: var(--secondary-dark);
    width: 10px;
    height: 10px;
    translate: 100% -50%;
}

.title-line-right::after{
    position: absolute;
    display: block;
    top: 50%;
    right: 50%;
    content: "";
    background-color: var(--secondary-dark);
    width: 7px;
    height: 7px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    transform: translate(+50% , -50%);
    -webkit-transform: translate(+50% , -50%);
    -moz-transform: translate(+50% , -50%);
    -ms-transform: translate(+50% , -50%);
    -o-transform: translate(+50% , -50%);
}

/* category section */
.category-wrapper{
    flex: 0 0 74%;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 100%;
}
.category-wrapper > div{
    height: fit-content;
}
.category-text-box {
    flex: 0 0 26%;
    /* width: ; */
}
.category-text-box > div{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}


/* glory */
.glory-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 1rem;
}

.glory-text {
    flex: 0 0 20%;
}

.glory-stats {
    flex: 0 0 80%;

    display: flex;
}

.glory-stat {
    flex: 1 1 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.glory-wrapper p{
    margin: 0;
}

.glory-text{
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

p.title{
    font-size: 1.75rem;
    font-weight: bold;
}

p.sub-title{
    font-size: 16px;
    font-weight: 600;
}

/* best sellers */
.shopping-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
}

.shopping-btn i,.shopping-btn svg{
    font-size: 18px;
}

.products-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.products-slider::-webkit-scrollbar {
    display: none;
}

.product-card {
    padding: 0;
    flex: 0 0 calc((100% - 80px) / 6) !important;
}

.shopping-card{
    justify-content: space-between;
}

/* service section */

.service-features-wrapper {
    display: flex;
    /* display: grid;
    grid-template-columns: repeat(5, 1fr); */
    justify-content: center;
    align-items: stretch;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    overflow: hidden;
    padding: 15px 0px;
    -webkit-border-radius: var(--radius-lg);
    -moz-border-radius: var(--radius-lg);
    -ms-border-radius: var(--radius-lg);
    -o-border-radius: var(--radius-lg);
    
}

.service-feature {
    height: auto;
    min-width: fit-content;
    position: relative;
    flex: 1 1 20%;
    display: flex;  
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: right;
    padding: 0 10px;
    /* border-right:2px solid var(--border-normal); */
}

.service-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 0;
    width: 2px;
    background-color: var(--border-normal);
}

.service-feature-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 32px;
}

.service-feature-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    /* align-self: start; */
}

.service-feature-content span {
    margin: 0 0 7px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-wrap: wrap;
    white-space: wrap;
}

.service-feature-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* co worker */

.brands-slider-wrapper {
    position: relative;
    padding: 0 45px;
}

.brands-slider {
    height: 75px;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow: hidden;
    width: 100%;
}

.brand-item {
    flex: 0 0 calc((100% - 120px) / 7);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-normal);
    box-shadow: var(--shadow-sm);
    margin: 5px 0;
    border-radius: var(--radius-sm);
    -webkit-border-radius: var(--radius-sm);
    -moz-border-radius: var(--radius-sm);
    -ms-border-radius: var(--radius-sm);
    -o-border-radius: var(--radius-sm);
}

.brand-placeholder {
    width: 100%;
    border: 1px solid var(--border-card);
    border-radius: 10px;
    background-color: #fff;
}

.brands-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-card);
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary);
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.brands-slider-btn:hover {
    background-color: var(--primary);
    color: #fff;
}

.brands-slider-prev {
    right: 0;
}

.brands-slider-next {
    left: 0;
}

/* =========================
   Articles Slider
========================= */

.article-slider-wrapper {
    position: relative;
    width: 100%;
    padding: 0 45px;
}

/* خود ردیف اسلایدر */
.article-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: 100%;
    padding: 0 5px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* =========================
   Article Card
========================= */

.article-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    background-color: #fff;
    transition:all 0.2s ease;
    -webkit-transition:all 0.2s ease;
    -moz-transition:all 0.2s ease;
    -ms-transition:all 0.2s ease;
    -o-transition:all 0.2s ease;
    border: 1px solid var(--border-normal);
    box-shadow: var(--shadow-sm);
    margin: 6px 0;
}

.article-card:hover {
    transform: translateY(-3px);
}


/* =========================
   Image
========================= */

.article-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* دسته‌بندی روی تصویر */

.article-category {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 12px;
    background-color: #fff;
    color: var(--secondary-dark);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    -webkit-border-radius: var(--radius-sm);
    -moz-border-radius: var(--radius-sm);
    -ms-border-radius: var(--radius-sm);
    -o-border-radius: var(--radius-sm);
}


/* =========================
   Article Body
========================= */

.article-body {
    min-height: 145px;
    padding: 14pط 16px;
    text-align: right;
}

/* عنوان */

.article-title {
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    line-height: 1.9;
    font-weight: 700;
    /* حداکثر دو خط */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================
   Meta
========================= */

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.article-date {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.article-link {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.article-link:hover {
    color: var(--primary-dark);
}

/* =========================
   Slider Buttons
========================= */

.article-slider-wrapper .brands-slider-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border-card);
    background-color: #fff;
    color: var(--primary-dark);
    z-index: 5;
    cursor: pointer;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.article-slider-wrapper .brands-slider-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
}

.article-slider-wrapper .brands-slider-prev {
    right: 0;
}

.article-slider-wrapper .brands-slider-next {
    left: 0;
}

/* newsletter-section */

.newsletter-wrapper {
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 25px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    min-height: 170px;
    overflow: hidden;
}

.newsletter-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-icon {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 55px;
    color: #f5b14c;
}

.newsletter-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.newsletter-text h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.newsletter-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    height: 45px;
    gap: 15px;
    align-items: center;
}

.newsletter-input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 12px;
    padding: 0 25px;
    font-family: inherit;
    background: #fff;
    color: var(--primary-dark);
    direction: rtl;
}

.newsletter-input::placeholder {
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
}

.newsletter-btn {
    height: 100%;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* footer */
.main-footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding-top: 35px;
    direction: rtl;
}
/* =========================
   Footer Top
========================= */
.footer-top {
    align-items: stretch;
}
/* ستون‌ها */
.footer-column,
.footer-logo-section {
    padding: 0 20px;
}
/* خط جداکننده */
.footer-column:not(:first-child),
.footer-logo-section {
    position: relative;
}
.footer-column:not(:first-child)::after{
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.15);
}
/* =========================
   Logo
========================= */
.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-logo-wrapper {
    text-align: center;
}
.footer-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
}
/* =========================
   Titles
========================= */
.footer-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}
/* =========================
   About
========================= */
.footer-about {
    text-align: right;
}
.footer-about p {
    font-size: 0.9rem;
    line-height: 2.2;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}
/* =========================
   Links
========================= */
.footer-links ul{
    width: fit-content;
    margin: 0 auto !important;
}
.footer-links ul,
.footer-contact-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-links li {
    margin-bottom: 13px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s ease;
}
.footer-links a:hover {
    color: #8ebf55;
    padding-right: 5px;
}
/* =========================
   Contact
========================= */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: fit-content;
    gap: 13px;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    line-height: 1.8;
}
.footer-contact-list i {
    color: #8ebf55;
    font-size: 1.5rem;
    width: 28px;
    text-align: center;
    flex: 0 0 auto;
}
/* =========================
   Social
========================= */
.footer-social {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    gap: 18px;
    margin-top: 10px;
}
.footer-social a {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.25s ease;
}
.footer-social a:hover {
    background-color: #fff;
    color: #0d294b;
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -o-transform: translateY(-3px);
}
/* =========================
   Footer Bottom
========================= */
.footer-bottom {
    position: relative;
    margin-top: 25px;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-bottom::after{
    position: absolute;
    content: "";
    height: 1px;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.15);
}
.copyright {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}
.footer-bottom-links a:hover {
    color: #8ebf55;
}
.footer-bottom-links span {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.4);
}