/* ================================================
   1. HERO SLIDER
================================================ */
html {
    font-size: 62.5%;
}

.hero-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1.6rem;
    box-shadow: 0 6px 20px rgba(43, 34, 48, 0.08);
}

.hero-slider .slide-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.hero-slider .slide {
    flex: 0 0 100%;
    aspect-ratio: 16/5.2;
    position: relative;
    display: block;
}

@media (max-width: 768px) {
    .hero-slider .slide {
        aspect-ratio: 16/9;
    }
}

.hero-slider .slide .slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #982067 0%, #6e1649 60%, #4a0f33 100%);
}

.hero-slider .slide .slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 26px);
}

.hero-slider .slide .slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4.8rem;
    color: #ffffff;
    max-width: 56rem;
}

@media (max-width: 768px) {
    .hero-slider .slide .slide-content {
        padding: 1.6rem;
        max-width: 100%;
    }
}

.hero-slider .slide .slide-content .slide-eyebrow {
    color: #c99a4b;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.hero-slider .slide .slide-content h2 {
    font-size: 3.4rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .hero-slider .slide .slide-content h2 {
        font-size: 2rem;
    }
}

.hero-slider .slide .slide-content p {
    font-size: 1.7rem;
    opacity: 0.9;
    margin-bottom: 1.6rem;
}

@media (max-width: 768px) {
    .hero-slider .slide .slide-content p {
        font-size: 1.35rem;
    }
}

.hero-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-slider .slider-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
}

.hero-slider .slider-arrow.prev {
    right: 1.2rem;
}

.hero-slider .slider-arrow.next {
    left: 1.2rem;
}

@media (max-width: 576px) {
    .hero-slider .slider-arrow {
        display: none;
    }
}

.hero-slider .slider-dots {
    position: absolute;
    bottom: 1.2rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 0.4rem;
    z-index: 5;
}

.hero-slider .slider-dots button {
    width: 2.6rem;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.18s cubic-bezier(0.22, 0.9, 0.3, 1), width 0.18s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.hero-slider .slider-dots button.is-active {
    background: #c99a4b;
    width: 4rem;
}

/* ================================================
   9. SECTION HEADER
================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.section-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    padding-right: 12px;
    border-right: 4px solid var(--brand-primary);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 13px;
    margin: 4px 0 0 0;
}

.section-more {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: gap var(--transition);
}

.section-more:hover {
    color: var(--brand-primary-dark);
    gap: 10px;
}

/* ================================================
   10. CATEGORIES
================================================ */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
    padding: 16px 8px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition);
    height: 100%;
}

.category-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-img-wrap {
    width: 100%;
    margin-bottom: 10px;
}

.category-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform var(--transition);
}

.category-card:hover .category-icon-placeholder {
    transform: scale(1.1);
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.categories-row {
    justify-content: center;
}

/* ================================================
   11. AD BANNERS
================================================ */
.ad-banner-section {
    padding: 20px 0;
}

.ad-banner-item,.ad-banner-item-custom{
    display: block;
    padding: 28px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    min-height: 180px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.ad-banner-item{display: flex; justify-content: space-between;}
.ad-banner-item .ad-image{
    display: flex;
    justify-content: flex-end;
    width: 50%;
}
.ad-banner-item .ad-banner-content{display: flex; justify-content: space-between;flex-direction: column;}

.ad-banner-item .ad-image img{
    max-height: 100%;
}
.ad-banner-item-custom {
    padding: 0;
}
/* .ad-banner-item-custom .ad-banner-content{
    height: 100%;
} */
.ad-banner-item-custom img{
    transition: transform var(--transition), box-shadow var(--transition);
    /* max-height: 100%;
    width: auto; */
}
.ad-banner-item:hover,.ad-banner-item-custom img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.ad-banner-pink {
    background: linear-gradient(135deg, #982067 0%, #c4387f 100%);
}

.ad-banner-blue {
    background: linear-gradient(135deg, #0f3460 0%, #1565c0 100%);
}

.ad-banner-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.ad-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    margin-bottom: 8px;
}

.ad-link {
    color: #ffe;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Full-width ad banner */
.ad-banner-full {
    padding: 0;
    margin: 24px 0;
}

.ad-full-link {
    display: block;
    text-decoration: none;
    background: linear-gradient(135deg, #982067 0%, #1a1a2e 100%);
    padding: 40px 0;
}

.ad-full-content h2 {
    color: #fff;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.ad-full-content h2 span {
    color: #ffe082;
}

.ad-full-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.ad-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--brand-primary);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
}

.ad-full-btn:hover {
    background: #ffe082;
}

/* ================================================
   12. PRODUCTS SECTION
================================================ */
.products-main-section .section-pad {
    padding: 50px 0;
}

.products-tabs-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.products-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: var(--white);
    color: var(--text-medium);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-persian);
    display: flex;
    align-items: center;
    gap: 4px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--brand-primary);
    color: var(--white);
    border-color: var(--brand-primary);
}

/* Product Card */
.product-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-img-wrap {
    position: relative;
    background: var(--bg-gray);
    aspect-ratio: 1;
    overflow: hidden;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    min-height: 160px;
}

.product-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-actions-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
}

.product-card:hover .product-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

.prod-action-btn {
    width: 32px;
    height: 32px;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
}

.prod-action-btn:hover {
    background: var(--brand-primary);
    color: var(--white);
    border-color: var(--brand-primary);
}

.prod-action-btn.wishlisted {
    background: #fff0f6;
    color: var(--brand-primary);
}

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-brand {
    font-size: 11px;
    color: var(--brand-primary);
    font-weight: 600;
}

.product-name {
    margin: 0;
}

.product-name a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--brand-primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: #ffa000;
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.rating-count {
    font-size: 11px;
    color: var(--text-light);
}

.product-price {
    margin-top: auto;
}

.price-original {
    display: block;
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-dark);
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    background: var(--brand-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-persian);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.add-to-cart-btn:hover {
    background: var(--brand-primary-dark);
    transform: translateY(-1px);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
}

/* ================================================
   13. SPECIAL OFFERS
================================================ */
.special-offers-section {
    background: var(--brand-primary);
}

.special-offers-section .section-title {
    color: #fff;
    border-right-color: #fff;
}

.special-offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.offers-fire-icon {
    font-size: 28px;
    color: #ffe082;
}

.countdown-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 4px;
}

.time-unit {
    text-align: center;
}

.time-val {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 8px;
    min-width: 48px;
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.time-sep {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.special-offers-section .section-more {
    color: #ffe082;
}

.offers-swiper {
    padding-bottom: 8px !important;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.offer-img {
    position: relative;
    background: var(--bg-light);
}

.offer-img .product-img-placeholder {
    min-height: 140px;
}

.offer-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--brand-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.offer-info {
    padding: 12px;
}

.offer-name {
    font-size: 13px;
    margin-bottom: 10px;
}

.offer-name a {
    color: var(--text-dark);
    font-weight: 600;
}

.offer-name a:hover {
    color: var(--brand-primary);
}

.offer-progress {
    margin-bottom: 8px;
}

.offer-progress {
    background: #f0f0f0;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 4px;
    position: relative;
}

.offer-progress-bar {
    height: 100%;
    background: var(--brand-primary);
    border-radius: 3px;
}

.offer-remain {
    font-size: 11px;
    color: var(--text-light);
}

.offer-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offer-original {
    font-size: 11px;
    color: #999;
    text-decoration: line-through;
}

.offer-current {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
}

/* ================================================
   14. TRUST SECTION
================================================ */
.trust-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-item {
    text-align: center;
    padding: 20px 16px;
    transition: transform var(--transition);
}

.trust-item:hover {
    transform: translateY(-4px);
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

.trust-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.trust-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ================================================
   15. FAQ SECTION
================================================ */
.faq-item {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-btn {
    font-family: var(--font-persian);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 20px;
    background: var(--white);
    box-shadow: none !important;
    color: var(--text-dark);
}

.faq-btn:not(.collapsed) {
    color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.03);
}

.faq-btn::after {
    margin-right: auto;
    margin-left: 0;
}

.faq-body {
    font-size: 13px;
    color: var(--text-medium);
    padding: 0 20px 16px;
    line-height: 1.8;
}


/* ================================================
   16. VIDEOS SECTION
================================================ */
.video-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
    height: 100%;
}

.video-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.video-thumb-wrap {
    position: relative;
    background: #1a1a2e;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
}

.video-play-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.video-overlay-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--brand-primary-rgb), 0);
    cursor: pointer;
    transition: background var(--transition);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8);
    border: none;
}

.video-overlay-btn:hover {
    background: rgba(var(--brand-primary-rgb), 0.4);
    color: #fff;
}

.video-info {
    padding: 14px;
}

.video-cat {
    display: inline-block;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.5;
}

.video-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
}

/* ================================================
   17. BLOG SECTION
================================================ */
.blog-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-img-link {
    position: relative;
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-gray);
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08), rgba(var(--brand-primary-rgb), 0.03));
    min-height: 160px;
}

.blog-cat-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--brand-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
}

.blog-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.blog-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.blog-title a {
    color: inherit;
}

.blog-title a:hover {
    color: var(--brand-primary);
}

.blog-excerpt {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-primary);
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* ================================================
   18. BRANDS SECTION
================================================ */
.brands-swiper {
    padding-bottom: 8px !important;
}

.brand-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: all var(--transition);
    background: var(--white);
}

.brand-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.brand-logo-placeholder {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 8px;
}

.brand-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.brand-link {
    font-size: 12px;
    color: var(--brand-primary);
}

/* ================================================
   19. NEWSLETTER SECTION
================================================ */
.newsletter-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    padding: 50px 0;
}

.newsletter-inner h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.newsletter-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.newsletter-input-wrap {
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-persian);
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-btn {
    background: var(--text-dark);
    color: #fff;
    padding: 0 28px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition);
    font-family: var(--font-persian);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #000;
}

.cursor{
    display:inline-block;
    animation: blink .8s infinite;
    font-weight:bold;
}

@keyframes blink{
    50%{
        opacity:0;
    }
}