/* IRANSans Font Family */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb_Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb_Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb_Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb_Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Base Font System */
* {
    font-family: 'IRANSansWeb', 'Tahoma', 'Arial', sans-serif !important;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Scroll padding to account for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Text Utilities */
.text-justify {
    text-align: justify !important;
    text-justify: inter-word;
    line-height: 1.7;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Icon System */
.icon-fix {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "fa-solid", "fa-brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-fix.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.icon-fix.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.icon-fix.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Button Styles */
.Chinesh-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.Chinesh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    color: white;
    text-decoration: none;
}

.focus-ring:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    color: white;
}

.badge-success {
    background-color: #22c55e;
}

.badge-warning {
    background-color: #f59e0b;
}

.badge-info {
    background-color: #3b82f6;
}

/* Card Styles */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

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

.Chinesh-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Shadow Utilities */
.shadow-soft {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Animation Utilities */
.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

.animate-bounce-slow {
    animation: bounce 2s ease-in-out infinite;
}

/* Product Detail Specific Styles */
.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

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

.zoom-container:hover .zoom-image {
    transform: scale(1.2);
}

/* Swiper Custom Styles */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: #dc2626;
    width: 35px;
    height: 35px;
    margin-top: -17px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-swiper .swiper-button-next:after,
.product-swiper .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.product-swiper .swiper-pagination-bullet {
    background: #dc2626;
    opacity: 0.3;
}

.product-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #dc2626;
}

/* Breadcrumb Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #dc2626;
}

.breadcrumb .current {
    color: #1f2937;
    font-weight: 500;
}

/* Product Info Styles */
.product-info {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.price-section {
    background: linear-gradient(135deg, #fee2e2, #fef3c7);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.contact-button {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    color: white;
    text-decoration: none;
}

.ar-preview-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
    background: linear-gradient(135deg, #0d6efd, #0a58ca);

    color: white;
    text-decoration: none;
}

.ar-preview-button {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.hide {
    display: none !important;
}