@import url("https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");
@font-face {
  font-family: "Vazir";
  font-weight: normal;
  src: url("../fonts/Vazir.ttf") format("truetype");
}
@font-face {
  font-family: "Vazir";
  font-weight: bold;
  src: url("../fonts/Vazir-Bold.ttf") format("truetype");
}
:root {
  --swiper-theme-color: #FFFFFF;
  --swiper-pagination-bullet-size: 20px;
  --width-search: 50%;
}
@media screen and (max-width: 1000px) {
  :root {
    --width-search: 60%;
  }
}
@media screen and (max-width: 700px) {
  :root {
    --width-search: 80%;
  }
}
:root {
  --animate-duration: 0.8s;
  --animate-delay: 0.5s;
  --animate-repeat: 1;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(3, 24, 29, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(3, 24, 29, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(3, 24, 29, 0.3);
  }
}
@keyframes product-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes customBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}
.animate__animated.animate__pulse.animate__infinite.animate__slower {
  --animate-duration: 3s;
}

.animate__delay-1s {
  --animate-delay: 0.3s;
}

.animate__delay-2s {
  --animate-delay: 0.6s;
}

.animate__delay-3s {
  --animate-delay: 0.9s;
}

.product-container {
  max-width: 1400px;
  margin: 2rem auto 4rem;
  padding: 0 2rem;
  font-family: "Vazir", serif;
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-header {
  text-align: center;
  margin: 3rem 0;
  font-family: "IRANSans", sans-serif;
}
.product-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  will-change: transform, opacity;
}
.product-header .product-header-line {
  height: 4px;
  width: 80px;
  background-color: #3498db;
  margin: 0 auto;
  border-radius: 2px;
  animation: glow 2s infinite ease-in-out;
  will-change: box-shadow;
}

.product-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  will-change: opacity;
}
.product-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  font-family: "Vazir", serif;
  background-color: rgba(240, 240, 240, 0.5);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  border-right: 4px solid #03181d;
  transition: all 0.3s ease;
}
.product-intro p:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(240, 240, 240, 0.7);
}

.swiper {
  width: 100%;
  min-height: 32rem;
  height: clamp(32rem, 70vh, 46rem);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
  transition: all 0.5s ease;
  transform-origin: center center;
  will-change: transform, opacity;
}
.swiper:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .swiper {
    min-height: 30rem;
    height: 65vh;
  }
}
@media (max-width: 480px) {
  .swiper {
    min-height: 28rem;
    height: 60vh;
  }
}

.pr-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  font-family: "Vazir", serif;
  font-size: 18px;
  font-weight: 400;
  color: black;
  position: relative;
}
.pr-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
  transition: all 0.5s ease;
}
.pr-bg:hover::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
}
.pr-bg--placeholder {
  background: linear-gradient(135deg, #03181d, #FF6B35);
}

.pr-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 80%;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  transform: translateY(0);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease;
}
.pr-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.pr-content.animated-content {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform, opacity;
}
@media (max-width: 768px) {
  .pr-content {
    max-width: 90%;
    padding: 1.5rem;
  }
}

.pr-title {
  font-weight: 700;
  font-size: 3rem;
  color: #03181d;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1200px) {
  .pr-title {
    color: white;
    background-color: rgba(3, 24, 29, 0.5);
    padding: 1rem;
    border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .pr-title {
    font-size: 2.2rem;
  }
}
@media (max-width: 480px) {
  .pr-title {
    font-size: 1.8rem;
  }
}

.pr-short {
  font-weight: 400;
  max-width: 100%;
  font-family: "Vazir", serif;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .pr-short {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .pr-short {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

.pr-button {
  display: inline-flex;
  align-items: center;
  font-family: "Vazir", serif;
  font-size: 1.1rem;
  background-color: rgba(255, 107, 53, 0.8);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
  overflow: hidden;
  position: relative;
  will-change: transform, box-shadow;
}
.pr-button::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}
.pr-button:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}
.pr-button span {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: all 0.3s ease;
}
.pr-button:hover {
  background-color: rgba(3, 24, 29, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(3, 24, 29, 0.4);
}
.pr-button:hover span {
  transform: translateX(-3px);
}
.pr-button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}
.pr-button.animate__animated:hover {
  animation-play-state: paused;
}
@media (max-width: 480px) {
  .pr-button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

.pr-padding {
  padding: 2rem 20rem;
}
@media screen and (max-width: 1300px) {
  .pr-padding {
    padding: 1rem 10rem;
  }
}
@media screen and (max-width: 870px) {
  .pr-padding {
    padding: 1rem 5rem;
  }
}
@media screen and (max-width: 550px) {
  .pr-padding {
    padding: 1rem;
  }
}

.product-detail {
  padding: 2rem;
  font-family: "Vazir", serif;
}

.product-detail-container {
  width: min(100%, 1240px);
  margin: 0 auto;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  color: #666;
  font-size: 0.95rem;
}
.product-breadcrumb a {
  color: #03181d;
  text-decoration: none;
}
.product-breadcrumb a:hover {
  color: #FF6B35;
}
.product-breadcrumb a:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.product-detail-hero {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-detail-hero-image {
  position: relative;
  display: flex;
  align-items: end;
  min-height: clamp(22rem, 50vw, 32rem);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.product-detail-hero-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(3, 24, 29, 0.88), rgba(3, 24, 29, 0.35));
}
.product-detail-hero-image--placeholder {
  background: linear-gradient(135deg, #03181d, #FF6B35);
}

.product-detail-hero-overlay {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  padding: clamp(1.5rem, 4vw, 4rem);
  color: white;
}
.product-detail-hero-overlay h1 {
  margin: 0.85rem 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
}
.product-detail-hero-overlay p {
  max-width: 45rem;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
}

.product-category-badge {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.14);
  color: white;
  text-decoration: none;
}
.product-category-badge:hover {
  background-color: #FF6B35;
}
.product-category-badge:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.product-detail-sidebar {
  align-self: start;
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-detail-info {
  padding: 1.25rem;
  border-radius: 14px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.product-detail-info h2 {
  margin: 0 0 1rem;
  color: #03181d;
  font-size: 1.15rem;
}
.product-detail-info dl {
  margin: 0;
}
.product-detail-info dl div {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(3, 24, 29, 0.12);
}
.product-detail-info dt {
  margin-bottom: 0.3rem;
  color: #666;
  font-size: 0.85rem;
}
.product-detail-info dd {
  margin: 0;
  color: #212121;
  font-weight: 700;
}
.product-detail-info a {
  color: #03181d;
  text-decoration: none;
}
.product-detail-info a:hover {
  color: #FF6B35;
}

.product-detail-cta,
.product-detail-back-link {
  display: inline-flex;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.product-detail-cta:hover,
.product-detail-back-link:hover {
  transform: translateY(-2px);
}
.product-detail-cta:focus-visible,
.product-detail-back-link:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.product-detail-cta {
  background-color: #FF6B35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  color: white;
}

.product-detail-back-link {
  border: 1px solid rgba(3, 24, 29, 0.2);
  background-color: white;
  color: #03181d;
}

.pr-page {
  font-family: "Vazir", serif;
  font-size: 1.1rem;
  font-weight: normal;
}

.pr-page-body {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 14px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #212121;
  line-height: 2;
}
.pr-page-body h2,
.pr-page-body h3,
.pr-page-body h4 {
  margin: 2rem 0 0.75rem;
  color: #03181d;
  line-height: 1.5;
}
.pr-page-body h2:first-child,
.pr-page-body h3:first-child,
.pr-page-body h4:first-child {
  margin-top: 0;
}
.pr-page-body p,
.pr-page-body ul,
.pr-page-body ol {
  margin: 0 0 1.25rem;
}
.pr-page-body ul,
.pr-page-body ol {
  padding-inline-start: 1.5rem;
}
.pr-page-body a {
  color: #FF6B35;
  font-weight: 700;
}
.pr-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.pr-page-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  white-space: nowrap;
}
.pr-page-body th,
.pr-page-body td {
  padding: 0.8rem;
  border: 1px solid rgba(3, 24, 29, 0.15);
  text-align: start;
}
.pr-page-body th {
  background-color: rgba(233, 216, 166, 0.25);
  color: #03181d;
}

.product-detail-gallery,
.product-detail-related {
  margin-top: 3rem;
}

.product-detail-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.product-detail-section-heading h2 {
  margin: 0;
  color: #03181d;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.product-detail-section-heading a {
  color: #FF6B35;
  font-weight: 700;
  text-decoration: none;
}
.product-detail-section-heading a:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.product-detail-gallery > a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}
.product-detail-gallery > a img {
  display: block;
  width: 100%;
  max-height: 35rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-detail-gallery > a span {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  background-color: rgba(3, 24, 29, 0.85);
  color: white;
}
.product-detail-gallery > a:hover img {
  transform: scale(1.03);
}
.product-detail-gallery > a:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(255, 255, 255, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #03181d;
  transition: all 0.3s ease;
  will-change: transform, opacity;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}
.swiper-button-next:focus-visible,
.swiper-button-prev:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.swiper-pagination-bullet {
  opacity: 0.7;
  background-color: white;
  transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
  background-color: #FF6B35;
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}
.swiper-pagination-bullet:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.search-bar {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-bar-input {
  margin: 0 auto;
  padding: 1rem 0.5rem;
  width: var(--width-search);
  background-color: transparent;
  box-shadow: 2px 2px 2px 2px rgba(3, 24, 29, 0.5);
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #1a237e;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: "Vazir", serif;
}
.search-bar-input:focus {
  border-color: #FF6B35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25);
  outline: none;
}
.search-bar-item {
  text-align: center;
}
.search-bar-item .search-bar-father {
  width: var(--width-search);
  background-color: white;
  display: flex;
  margin: 0 auto 3rem;
  border-radius: 5px;
  align-items: center;
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  font-family: "Vazir", serif;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.search-bar-item .search-bar-father:hover, .search-bar-item .search-bar-father:focus-visible {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.search-bar-item .search-bar-father:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}
.search-bar-item-img {
  display: flex;
  width: 14%;
  height: 100%;
}
@media screen and (max-width: 900px) {
  .search-bar-item-img {
    width: 20%;
  }
}
.search-bar-item-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 0 5px 5px 0;
  max-height: 100%;
}
.search-bar-item-img--placeholder {
  background: linear-gradient(135deg, #03181d, #FF6B35);
}
.search-bar-item-text {
  padding-inline: 1rem;
  max-width: 87%;
}

.search-bar-items {
  display: flex;
  align-items: center;
  height: 80px;
  width: 100%;
}

.search-bar-empty {
  margin: 0 auto 3rem;
  color: #212121;
  font-family: "Vazir", serif;
}

.product-grid-section {
  margin-top: 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #212121;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover, .product-card:focus-visible {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px);
}
.product-card:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.product-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #e5e5e5;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card-image--placeholder {
  background: linear-gradient(135deg, #03181d, #FF6B35);
}

.product-card:hover .product-card-image img,
.product-card:focus-visible .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}
.product-card-content h3 {
  margin: 0 0 0.75rem;
  color: #03181d;
  font-family: "Vazir", serif;
  font-size: 1.25rem;
}
.product-card-content p {
  display: -webkit-box;
  margin: 0 0 1.25rem;
  overflow: hidden;
  color: #555;
  font-family: "Vazir", serif;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card-link {
  margin-top: auto;
  color: #FF6B35;
  font-family: "Vazir", serif;
  font-weight: 700;
}

.table {
  width: 100%;
  max-width: 80%;
  overflow-x: auto;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  white-space: nowrap;
}
.table table {
  width: auto;
  margin: 0;
}

.tag-head {
  padding: 1.5rem;
  border-radius: 14px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: #03181d;
}
.tag-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.tag-head-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tag-head a {
  background-color: #03181d;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid #03181d;
}
.tag-head a:hover {
  background-color: #FF6B35;
  border-color: #FF6B35;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.tag-head a:focus-visible {
  outline: 3px solid #FF6B35;
  outline-offset: 3px;
}

.notFound {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  font-size: 2rem;
  color: #03181d;
  font-weight: 700;
  animation: product-pulse 3s infinite ease-in-out;
}

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

/*# sourceMappingURL=product-style.css.map */
