/* Color Palette Variables */
:root {
    --c1: #F8F8F8;
    /* Light gray background */
    --c2: #373435;
    /* Dark gray text */
    --c3: #FFFFFF;
    /* White */
    --c4: #D9D9D9;
    /* Medium gray */
    --c5: #F5D009;
    /* Yellow accent */
}
/* ===================== Empty State (No Products) ===================== */
.empty-state {
    position: relative;
    margin-top: 12px;
    padding: 28px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(245,208,9,0.10), rgba(245,208,9,0.04));
    border: 1px solid var(--c4);
    text-align: center;
    overflow: hidden;
    isolation: isolate; /* برای افکت‌های درونی */
}

/* حلقه دور کارت با گرادیان متحرک (بدون نیاز به تصویر) */
.empty-state::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 20px;
    background: conic-gradient(from 0deg, #f5d00933, #0000 20%, #f5d00955, #0000 60%, #f5d00933);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: emptyRing 4s linear infinite;
    z-index: -1;
}

/* هاله‌ی نرم پشت محتوا */
.empty-glow {
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 180%;
    background: radial-gradient(closest-side, rgba(245,208,9,0.15), rgba(245,208,9,0) 70%);
    filter: blur(20px);
    pointer-events: none;
    animation: emptyGlow 6s ease-in-out infinite alternate;
    z-index: -1;
}

/* آیکن تزئینی مینیمال */
.empty-icon {
    inline-size: 54px;
    block-size: 54px;
    line-height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--c3);
    border: 1px solid var(--c4);
    color: var(--c2);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(245, 208, 9, 0.20);
    animation: emptyFloat 3.8s ease-in-out infinite;
    user-select: none;
}

/* تیتر و متن */
.empty-title {
    font-family: 'yekanbakh', Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(16px, 2.4vw, 18px);
    color: var(--c2);
    margin: 4px 0 6px;
}

.empty-subtitle {
    font-family: 'yekanbakh', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: color-mix(in oklab, var(--c2), #000 15%);
    opacity: .9;
    margin: 0;
}

/* دکمه اختیاری */
.empty-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 0 18px;
    min-height: 40px;
    border-radius: 20px;
    background: var(--c5);
    color: var(--c2);
    font-weight: 700;
    font-size: 14px;
    border: 0;
    box-shadow: 0 4px 15px rgba(245, 208, 9, 0.35);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .2s ease;
}
.empty-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,208,9,.45); }
.empty-cta:active { transform: translateY(0); }

/* انیمیشن‌ها */
@keyframes emptyRing {
    to { transform: rotate(1turn); }
}
@keyframes emptyGlow {
    0% { transform: translateY(0); opacity: .9; }
    100% { transform: translateY(-8px); opacity: 1; }
}
@keyframes emptyFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* احترام به ترجیح کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
    .empty-state::before,
    .empty-glow,
    .empty-icon { animation: none !important; }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .empty-state { padding: 22px 16px; }
    .empty-icon { inline-size: 48px; block-size: 48px; line-height: 48px; }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevent text selection on interactive elements */
button,
.btn,
.nav-btn,
.cta-button,
.add-to-cart-btn,
.price-btn,
.view-product-btn,
.view-all-products-btn,
.back-button,
.view-all-products-header-btn,
.add-to-cart-detail-btn,
.price-detail-btn,
.view-product-detail-btn,
.catalog-view-all-btn,
.all-articles-btn,
.news-continue-btn,
.faq-question,
.dot,
.chevron-indicator,
.product-card,
.news-card,
.service-card,
.comment-item,
.navigation-buttons,
.action-buttons,
.product-actions,
.top-actions,
.section-header,
.product-view-header,
.catalog-header,
.news-header,
.faq-content,
.product-listing-content,
.product-view-content,
.comments-carousel,
.product-cards,
.product-cards-container,
.product-description-panel,
.panel-content-wrapper,
.product-description-text,
.product-specifications,
.product-detail-specs,
.product-detail-header,
.product-detail-description,
.news-content,
.news-image-container,
.faq-items,
.faq-answer,
.comment-pagination,
.pagination-dots,
.product-grid,
.catalog-view-all-container,
.faq-intro,
.faq-decorative-icons,
.user-comments-section,
.detailed-product-section,
.product-catalog-section,
.news-magazine-section,
.faq-section {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 1.6;
    color: var(--c2);
    font-weight: normal;
    direction: rtl;
    text-align: right;
}

/* Header placeholder */
.header-placeholder {
    height: 80px;
    /* Adjust height as needed */
    background-color: var(--c3);
    border-bottom: 1px solid var(--c4);
}

/* Main content area */
.main-content {
    min-height: calc(100vh - 160px);
    /* Adjust based on header/footer heights */
    background-color: var(--c3);
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 1366px;
    margin: 0 auto;
}

/* Footer placeholder */
.footer-placeholder {
    height: 80px;
    /* Adjust height as needed */
    background-color: var(--c3);

}

/* Product Section Styles */
.product-section {
    max-width: 1309px;
    margin: 0 auto;
    padding: 0px;
    margin-bottom: 100px; /* Add space below */
}

.product-container {
    position: relative;
    overflow: hidden;
}

/* Main car image */
.main-image-container {
    position: relative;
    height: 583px;
    overflow: hidden;
    border-radius: 30px;
}

.product-section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Remove car image styles since it's merged with background */

/* Car animation styles removed - car image is now merged with background */

/* Yellow chevron indicator */
.chevron-indicator {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 56px;
    height: 56px;
    background-color: var(--c5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    box-shadow: 0 4px 15px rgba(245, 208, 9, 0.3);
    opacity: 1;
    /* Always visible */
    cursor: pointer;
    animation: floating 3s ease-in-out infinite;
}

/* Floating animation for chevron indicator */
@keyframes floating {
    0%, 100% {
        transform: translate(-50%, 0%);
    }
    50% {
        transform: translate(-50%, -10px);
    }
}

/* Hover animation for chevron indicator */
/* .chevron-indicator:hover {
    transform: translate(-50%, 0%) scale(1.1);
    box-shadow: 0 8px 25px rgba(245, 208, 9, 0.5);
    background-color: #f7d000;
    width: 62px;
    height: 62px;
}

.chevron-indicator:hover .chevron-icon {
    transform: translateY(2px);
} */

.chevron-icon {
    filter: brightness(0) invert(1);
    /* Makes the icon white */
}

/* Content card */
.content-card {
    position: relative;
    background-color: var(--c3);
    border-radius: 40px;
    margin-top: -212px;
    margin-left: 118px;
    margin-right: 118px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 10;
    /* Mask properties for the curved top edge */
    -webkit-mask: url('/../assets/images/content-card-vector.png') no-repeat center;
    -webkit-mask-clip: padding-box;
    mask: url('/../assets/images/content-card-vector.png') no-repeat center;
    mask-clip: padding-box;
    /* Preserve box shadow with mask */
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    /* Initial position - below final position */
    transform: translateY(200px);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Content card in final position */
.content-card.in-position {
    transform: translateY(0);
}

.screech-vector {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;

}

.card-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Illustration column */
.illustration-column {
    flex: 0 0 412px;
}

.window-illustration {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

/* Text column */
.text-column {
    flex: 1;
}

.product-title {
    font-size: 25px;
    font-weight: 900;
    color: var(--c2);
    margin-bottom: 5px;
    text-align: right;
}

.product-description {}

.product-description p {
    font-size: 15px;
    line-height: 30px;
    color: var(--c2);
    margin-bottom: 23px;
    text-align: right;
    font-weight: normal;
}

/* CTA Button */
.cta-button {
    display: flex;
    float: right;
    align-items: center;
    gap: 5px;
    background-color: var(--c5);
    color: var(--c2);
    border: none;
    height: 35px;
    line-height: 35px;
    align-items: center;
    border-radius: 20px;
    padding: 0 19px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 208, 9, 0.3);
    font-family: 'yekanbakh', Arial, sans-serif;
    flex-direction: row-reverse;
    margin-top: 23px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 208, 9, 0.4);
}

.button-arrow {}

/* Utility classes */
.container {
    max-width: 1158px;
    margin: 0 auto;
}


/* Product Listing Section */
.product-listing-section {
    padding: 60px 0;
    padding-bottom: 0px;
    padding-top: 100px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 20px;
}

.section-title {
    font-size: 23px;
    font-weight: 900;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    flex-shrink: 0;
}

.header-divider {
    flex: 1;
    height: 1px;
    background: #CDCDCD;

}

.navigation-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.product-listing-content {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    position: relative;
}

/* Product Cards Container */
.product-cards-container {
    flex: 1;
    max-width: 720px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Navigation Buttons */
.nav-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'yekanbakh', Arial, sans-serif;
    background-color: var(--c3);
    border: 1px solid var(--c4);

}

.nav-btn:hover {

    background-color: var(--c5);
    border: 1px solid var(--c5);
}

.nav-btn:hover .nav-icon {
    filter: brightness(0) invert(1);
}




/* Product Cards */
.product-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    padding-bottom: 10px;
    /* Space for potential scrollbar */
    max-width: 100%;
    white-space: nowrap;
    height: 400px;
    /* Fixed height to ensure scrolling works */
}

.product-cards::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.product-card {
    flex-shrink: 0;
    width: 237px;
    min-width: 237px;
    height: 361px;
    background-color: var(--c3);
    border-radius: 20px;
    padding: 9px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1), inset 0 -1px 0 var(--c2);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);

}

.product-image {
    width: 100%;
    height: 180px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    margin-bottom: 10px;
}

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

.product-info {
    text-align: center;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--c2);
    margin-bottom: 1px;
    line-height: 25px;
}

.product-subtitle {
    font-size: 11px;
    color: var(--c2);
    margin-bottom: 12px;
    line-height: 25px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.add-to-cart-btn {
    width: 58px;
    height: 35px;
    background-color: var(--c5);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
}

.cart-icon {

    filter: brightness(0) invert(0.3);
}

.price-btn {
    flex: 1;
    height: 35px;
    background-color: var(--c3);
    border: 1px solid var(--c4);
    border-radius: 20px;
    color: var(--c2);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.price-btn span {
    font-size: 16px;
    font-weight: bold;
}

.price-btn:hover {
    background-color: var(--c4);
}

.view-product-btn {
    width: 100%;
    height: 35px;
    line-height: 35px;
    background-color: var(--c1);
    border: 1px solid var(--c4);
    border-radius: 20px;
    color: var(--c2);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.view-product-btn:hover {
    background-color: var(--c4);

}

/* View All Products Button */
.view-all-products-btn {
    width: 100%;
    height: 44px;
    background-color: var(--c4);
    border: 1px solid var(--c4);
    border-radius: 30px;
    color: var(--c2);
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.view-all-products-btn:hover {
    background-color: var(--c2);
    color: var(--c3);
    border: 1px solid var(--c2);
}

.arrow-icon {}

.view-all-products-btn:hover .arrow-icon {
    filter: brightness(0) invert(1);
}

/* Product Description Panel */
.product-description-panel {
    flex: 0 0 400px;
    background-color: rgba(245, 208, 9, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(245, 208, 9, 0.2);
    position: relative;
    max-height: 444px; /* Set maximum height */
    overflow: hidden; /* Hide overflow initially */
}

.decorative-line {
    position: absolute;
    left: 12px;
    top: 107px;
    bottom: 30px;
    width: 3px;
    background: var(--c3);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 208, 9, 0.3);
}

.decorative-scroll {
    position: absolute;
    left: 0;
    top: 0;
    height: 120px;
    width: 3px;
    background: rgba(245, 208, 9, 0.5);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 208, 9, 0.3);
    transition: top 0.3s ease;
    opacity: 0; /* Hidden by default */
}

/* Content wrapper for scrolling */
.panel-content-wrapper {
    max-height: 323px; /* Adjust based on panel height minus header */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px; /* Space for scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide default scrollbar for webkit browsers */
.panel-content-wrapper::-webkit-scrollbar {
    display: none;
}

/* Show decorative scrollbar when content is scrollable */
.product-description-panel.scrollable .decorative-scroll {
    opacity: 1;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 7px;
    margin-top: 33px;
}

.hexis-logo {
    width: 95px;
    height: 87px;
    background-color: var(--c3);
    border-radius: 0 0 8px 8px;
    padding: 8px;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 34px;
}

.panel-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
}

.product-description-text {
    margin-bottom: 14px;
}

.product-description-text p {
    font-size: 14px;
    line-height: 28px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
}

.product-specifications {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: var(--c3);
    border-radius: 20px;
    padding: 25px 17px;
}


.spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
}

.check-icon {
    flex-shrink: 0;
}

.spec-item-content {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dashed-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(to right,
            var(--c2) 0,
            var(--c2) 3px,
            transparent 3px,
            transparent 6px);
    opacity: 0.3;
}

.spec-label {
    font-size: 13px;
    font-weight: bold;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 30px;
    text-wrap: nowrap;
}

.spec-value {
    font-size: 13px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 26px;
    flex-shrink: 0;
    text-wrap: nowrap;
}


/* Detailed Product View Section */
.detailed-product-section {
    padding: 60px 0;
    padding-bottom: 0px;

}

/* Product View Header */
.product-view-header,
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 25px;

}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-2px);
}



.benefits-section {
    border-top: 1px dashed var(--light-gray);
    display: flex
;
    justify-content: space-around;
    align-items: center;
    padding: 60px 20px;
    margin: 20px 0;
}.benefit-item {
     text-align: center;
     display: flex
 ;
     flex-direction: row;
 }.benefit-img {
      width: 51px;
      height: 51px;
      background-color: var(--theme-yellow);
      border-radius: 10px;
      display: flex
  ;
      justify-content: center;
      align-items: center;
      margin-left: 10px;
  }.benefit-text {
       text-align: right;
   }
.view-all-products-header-btn {
    background-color: transparent;
    background-image: url('/../assets/images/back-btn-background.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    min-width: 230px;
    height: 35px;
    line-height: 35px;
    padding-left: 11px;
    padding-right: 29px;
    color: var(--c2);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: none;
    font-family: 'yekanbakh', Arial, sans-serif;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

.view-all-products-header-btn:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
}


.btn-arrow-icon {
    filter: brightness(0) invert(0.5);
    flex-shrink: 0;
}

.product-view-title,
.catalog-title,
.news-title {
    font-size: 23px;
    font-weight: 900;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    flex-shrink: 0;
}

/* Product View Content */
.product-view-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid var(--c4);
    border-radius: 20px;
    padding: 21px 38px 26px 22px;
    position: relative;
    margin-bottom: 30px;
}

/* Left Panel - Product Visual */
.product-visual-panel {
    flex: 0 0 304px;
    gap: 23px;
    display: flex;
    flex-direction: column;

}

.product-image-card {
    width: 304px;
    height: 304px;
    position: relative;


}

.product-detail-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.add-to-cart-detail-btn {
    width: 83px;
    height: 44px;
    background-color: var(--c5);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.add-to-cart-detail-btn:hover {
    transform: scale(1.05);
}

.cart-plus-icon {
    width: 23px;
    height: 22px;
    filter: brightness(0) invert(0.3);
}

.price-detail-btn {
    flex: 1;
    background-color: var(--c3);
    height: 44px;
    border: 1px solid var(--c4);
    border-radius: 20px;
    color: var(--c2);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.price-detail-btn span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 7px;

}

.price-detail-btn:hover {
    background-color: var(--c4);
}

.view-product-detail-btn img{position: absolute;right: 20px;}
.view-product-detail-btn {
    width: 100%;
    position: relative;
    line-height: 44px;
    text-align: center;
    height: 44px;
    background-color: var(--c1);
    border: 1px solid var(--c4);
    border-radius: 20px;
    color: var(--c2);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'yekanbakh', Arial, sans-serif;
}

.view-product-detail-btn:hover {
    background-color: var(--c4);
}

/* Right Panel - Product Details */
.product-details-panel {
    flex: 1;
    background-color: var(--c3);
    padding-top: 67px;
    display: flex;
    flex-direction: column;
    height: 425px;
    justify-content: space-between;

}

.product-detail-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

.brand-logo {
    position: absolute;
    width: 87px;
    height: 72px;
    background-color: #F9F9F9;
    border: 1px solid var(--c4);
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 38px;
}

.hexis-logo-red {
    max-width: 73px;
    max-height: 65px;
    object-fit: contain;
}

.product-detail-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 25px;
}

.product-detail-description {}

.product-detail-description p {
    font-size: 14px;
    line-height: 25px;
    color: var(--c2);
    text-align: justify;
    font-family: 'yekanbakh', Arial, sans-serif;
}

/* Product Specifications */
.product-detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 57px;
    margin-bottom: 12px;

}

.spec-item-detail {
    display: flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 25px;
    padding-right: 20px;
}

.spec-item-detail::before {
    content: "•";
    color: #000;
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
}

.spec-label-detail {
    font-weight: bold;
}

/* User Comments Section */
.user-comments-section {
    padding: 55px 19px 37px 27px;
    position: relative;
    background-image: url('/../assets/images/user-comments-vector.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* Comments Title Tab */
.comments-title {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 18px;
    line-height: 25px;
    font-weight: bold;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
}

/* Comments Carousel Container */
.comments-carousel {
    position: relative;
    height: 94px;
    /* Fixed height for carousel viewport */
    overflow: hidden;
}

/* Comment Content Container */
.comment-item {
    background-color: var(--c3);
    max-height: 94px;
    border-radius: 15px;
    padding: 8px 18px 13px 18px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
}

.comment-item.active {
    opacity: 1;
    transform: translateX(0);
}

.comment-item.prev {
    transform: translateX(-100%);
}

.comment-author {
    font-size: 12px;
    font-weight: bold;
    line-height: 25px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    text-align: right;
}

.comment-text {
    font-size: 13px;
    line-height: 25px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    text-align: justify;
}

/* Pagination Dots */
.comment-pagination {
    position: absolute;
    bottom: 19px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.pagination-dots {
    display: flex;
    gap: 11px;
}

.dot {
    width: 24px;
    height: 4px;
    border-radius: 3px;
    background-color: #D9D9D9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: var(--c4);
}

.dot.active {
    background-color: var(--c5);
    transform: scale(1.2);
}

/* Product Catalog Section */
.product-catalog-section {
    padding: 80px 0;
    background-color: var(--c3);
    padding-bottom: 0px;
}

/* Catalog Header */



/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-bottom: 60px;
}

.product-grid::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 439px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 4%, rgba(255, 255, 255, 0.87) 73%);
    pointer-events: none;
    z-index: 1;
}

/* Catalog Product Card */
.product-grid .product-card {
    max-width: unset !important;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}




/* Catalog View All Button Container */
.catalog-view-all-container {
    position: relative;
    text-align: center;
}

.catalog-view-all-btn {
    background: linear-gradient(135deg, #f5d009 0%, #e6c008 100%);
    color: var(--c2);
    border: none;
    width: 313px;
    height: 77px;
    line-height: 77px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    font-family: 'yekanbakh', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 208, 9, 0.3);
    position: relative;
    overflow: hidden;
    -webkit-mask: url('/../assets/images/catalog-view-all-btn-vector.png') no-repeat center;
    -webkit-mask-size: 100% 100%;
    mask: url('/../assets/images/catalog-view-all-btn-vector.png') no-repeat center;
    mask-size: 100% 100%;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;

}

.catalog-view-all-btn span {
    width: 100%;
    text-align: center;
}

.catalog-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 208, 9, 0.4);
}

.catalog-view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.catalog-view-all-btn:hover::before {
    left: 100%;
}

.catalog-view-all-container .btn-top-icon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);

    filter: brightness(0) saturate(100%) invert(15%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
    transition: all 0.3s ease;
    z-index: 100;
}

.catalog-view-all-btn:hover+.btn-top-icon {
    top: -17px;
}


/* News Magazine Section */
.news-magazine-section {
    padding: 80px 0;
    background-color: var(--c3);
    padding-bottom: 0px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 23px;
}


.all-articles-btn {
    background-color: transparent;
    color: black;
    border: 1px solid var(--c5);
    width: 120px;
    height: 35px;
    line-height: 35px;
    border-radius: 10px;
    font-size: 15px;
    text-align: center;
    font-family: 'yekanbakh', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.all-articles-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 208, 9, 0.3);
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.news-card {
    background: var(--c1);
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 11px;
    padding-bottom: 34px;
    position: relative;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.news-image-container {
    position: relative;
    height: 207px;
    overflow: hidden;
    border-radius: 25px;
    margin-bottom: 19px;
}

.news-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, transparent 26%, rgba(245, 208, 10, 1) 100%);
    pointer-events: none;
    z-index: 1;

}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-date-overlay {
    position: absolute;
    bottom: 10px;
    left: 19px;
    height: 21px;
    line-height: 21px;
    text-align: center;
    background: #373435;
    background: linear-gradient(90deg, rgba(55, 52, 53, 1) 0%, rgba(157, 148, 151, 0) 100%);
    color: var(--c3);
    padding: 0 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'yekanbakh', Arial, sans-serif;
    z-index: 100;
}

.news-content {}

.news-card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    margin: 0 0 8px 0;
}

.news-description {
    font-size: 13px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    line-height: 24px;
}

.news-continue-btn {
    background: var(--c3);
    color: #1769FF;
    height: 34px;
    line-height: 34px;
    border: 1px solid var(--c4);
    padding: 0 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    font-family: 'yekanbakh', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
}



.news-continue-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    color: var(--c3);
    background-color: var(--c5);
    border: 1px solid var(--c5);
}


.continue-arrow {
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(214deg) brightness(104%) contrast(107%);
}



.news-continue-btn:hover .continue-arrow {
    transform: translateX(-4px);
    filter: brightness(0) invert(1);
}



/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--c3);
    padding-bottom: 0px;
}

.faq-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Right Column - Introduction */
.faq-intro {
    flex: 0 0 513px;
    background-image: url('/../assets/images/question-mark-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 30px;
    padding-right: 100px;
    position: relative;
    min-height: 513px;
    overflow: hidden;
}

.faq-intro::before {
    content: '';
    position: absolute;
    width: 751px;
    height: 329px;
    top: 0;
    left: 41px;

    background-image: url('/../assets/images/square-groups.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.faq-title {
    font-size: 25px;
    font-weight: 900;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    margin-bottom: 10px;
    line-height: 1.3;
}

.faq-description {
    max-width: 349px;
    font-size: 18px;
    line-height: 30px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    text-align: justify;

}

.faq-decorative-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decorative-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.1;
    filter: brightness(0) invert(1);
}

.decorative-icon:nth-child(1) {
    top: 20px;
    right: 20px;
}

.decorative-icon:nth-child(2) {
    bottom: 40px;
    left: 30px;
}

.decorative-icon:nth-child(3) {
    top: 50%;
    right: 50px;
}

/* Left Column - FAQ Items */

.faq-section .container {
    width: 100vw;
    max-width: calc(1366px - (1366px - 1158px)/2);
    margin-left: auto;
    margin-right: 0;
}

.faq-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: var(--c3);

    transition: all 0.3s ease;
    gap: 11px;
    display: flex;
    flex-direction: column;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    background-color: var(--c3);
    padding: 15px;
    padding-left: 38px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
}

.faq-question:hover {
    background-color: var(--c1);
}

.question-number {
    width: 21px;
    height: 29px;
    line-height: 29px;
    text-align: center;
    background-color: var(--c5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c3);
    font-size: 15px;
    font-weight: 600;
    font-family: 'yekanbakh', Arial, sans-serif;
    flex-shrink: 0;
    position: relative;
    right: -19px;
    top: 50%;

}

.question-text {
    font-size: 18px;
    font-weight: bold;
    color: black;
    font-family: 'yekanbakh', Arial, sans-serif;
    margin: 0;
    flex: 1;
}

.expand-icon {

    filter: brightness(0) invert(0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .expand-icon {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: var(--c1);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.faq-item.active .faq-answer {
    padding: 20px 20px;
    max-height: 200px;
}
html{scroll-behavior:smooth; }
.clearfix{clear: both;margin:20px 0px;}
.faq-answer p {
    font-size: 16px;
    line-height: 27px;
    color: var(--c2);
    font-family: 'yekanbakh', Arial, sans-serif;
    text-align: justify;
    margin: 0;
}
.text-block ul{    padding-right: 40px;}


/* Responsive Design for News Magazine Section */
@media (max-width: 1200px) {


    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 900px;
    }

    .news-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }

    .catalog-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
    }

    .catalog-title {
        font-size: 24px;
    }

    .catalog-product-info {
        padding: 15px;
    }

    .catalog-view-all-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Responsive Design for Detailed Product View */
@media (max-width: 1024px) {
    .product-view-content {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .product-visual-panel {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-listing-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .product-description-panel {
        flex: none;
        width: 100%;
    }

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

    .product-card {
        flex: 0 0 calc(50% - 10px);
    }
    .illustration-column{display: none;}
}

@media (max-width: 768px) {

    .detailed-product-section {
        padding: 40px 20px;
    }

    .product-view-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .product-view-title {
        font-size: 20px;
    }

    .product-details-panel {
        padding: 0;
    }

    .product-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .brand-logo {
        position: static;
        margin-bottom: 10px;
        margin-top: -20px;
    }

    .product-detail-name {
        margin-top: 0;
        font-size: 16px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .add-to-cart-detail-btn {
        width: 100%;
    }



    .product-listing-section {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .product-cards {
        flex-direction: column;
        gap: 15px;
    }

    .product-card {
        flex: none;
    }

    .navigation-buttons {
        justify-content: center;
    }

    .product-description-panel {
        padding: 20px;
    }

    .panel-header {
        flex-direction: column;
        text-align: right;
        align-items: flex-start;
        gap: 10px;
        margin-top: 47px;
    }

    .decorative-line{
        left: 8px;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .spec-label {
        min-width: auto;
    }

    /* .main-content {
        overflow-x: hidden;
    }

    .container {
    overflow-x: hidden;
    } */

    .product-section {
        padding: 20px 10px;
    }

    .content-card {
        margin-left: 20px;
        margin-right: 20px;
        padding: 30px 20px;
        mask: none;
        margin-top: -86px;
        box-shadow: none;
        filter: none;
        border: 1px solid var(--c4);
    }

    .card-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .main-car-image{
        top: 59%;
    }

    .chevron-indicator{
        display: none;
    }

    .illustration-column {
        flex: none;
        width: 100%;
        max-width: 200px;
    }

    .product-title {
        font-size: 2rem;
        text-align: center;
    }

    .product-description p {
        text-align: center;
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        flex-direction: row-reverse;
        /* Maintain RTL for mobile */
    }

    .section-header{
        flex-direction: column;
    }

    .header-divider{
        display: none;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 300px;
    }

    .chevron-indicator {
        width: 50px;
        height: 50px;
    }

    .chevron-icon {
        width: 20px;
        height: 20px;
    }

    .content-card {
        margin-left: 15px;
        margin-right: 15px;
        padding: 25px 15px;
    }

    .product-title {
        font-size: 1.8rem;
    }
}




@media (max-width: 900px) {
    .news-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .news-title {
        font-size: 24px;
    }

    .all-articles-btn {
        align-self: flex-end;
    }
}

/* Responsive Design for FAQ Section */
@media (max-width: 1024px) {
    .faq-content {
        flex-direction: column;
        gap: 40px;
    }

    .faq-intro {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 24px;
    }

    .faq-description {
        font-size: 14px;
        line-height: 24px;
    }

    .question-text {
        font-size: 14px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .faq-intro {
        padding: 30px 20px;
    }

    .faq-title {
        font-size: 20px;
    }

    .question-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .expand-icon {
        width: 16px;
        height: 16px;
    }
}
.text-block p {
    font-family: 'yekanbakh', 'Arial', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--c2);
    line-height: 30px;
    text-align: justify;
}.content-title {
     font-family: 'yekanbakh', 'Arial', sans-serif;
     font-size: 25px;
     font-weight: 800;
     color: var(--c2);
     margin-bottom: 10px;
 }
     .content-section {
         padding: 80px 0;
         padding-top: 0;
     }

@media (max-width: 900px) {
    .faq-section .container {
        width: 100%;
        max-width: unset !important;
    }
    .main-image-container{height: 270px;}
    .product-section-background{height: unset;}
}
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .faq-section {
        padding: 60px 0;
    }
    .faq-section .container {
        width: 100%;
        max-width: unset !important;
    }
    .product-image-card {
        width: 100%;
    }
    .main-image-container{height: 171px;}
}

