/*
  Azin Pash Tehran - Product-Details Page Styles
*/

/* Main image */
.az-product-main img {
  width: 100%;
  height: 420px;
  object-fit: contain;
}

/* Thumbnails */
.az-product-thumbs {
  height: 90px;
}

.az-product-thumbs .swiper-slide {
  height: 100%;
  opacity: 0.6;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  transition: all 0.2s ease;
}

.az-product-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--az-accent);
}

.az-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* Mobile */
@media (max-width: 575.98px) {
  .az-product-main img {
    height: 300px;
  }
}

.az-product-section-1 {
  position: relative;
  background-image: url("/images/single-product/bg1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
/* Product gallery */
.az-gallery-main {
  overflow: hidden;
}
.az-gallery-main img {
  width: 100%;
  height: 435px;
  object-fit: contain;
}
@media (max-width: 991.98px) {
  .az-gallery-main img {
    height: 320px;
  }
}
@media (max-width: 575.98px) {
  .az-gallery-main img {
    height: 260px;
  }
}

.az-thumb {
  border: 1px solid var(--az-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.az-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 29, 36, 0.4);
}
.az-thumb img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: #fff;
}

/* Hero / summary */
.az-kicker {
  font-size: 0.85rem;
  color: var(--az-muted);
}

.az-accent {
  color: var(--az-accent);
}
.az-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(237, 29, 36, 0.08);
  color: var(--az-accent);
  border: 1px solid rgba(237, 29, 36, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.az-spec-cards {
  background: var(--az-soft);
  border: 1px solid var(--az-border);
  border-radius: 16px;
  padding: 12px;
}
.az-spec-card {
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: 14px;
  padding: 12px;
  height: 100%;
}
.az-spec-card .lbl {
  font-size: 0.85rem;
  color: var(--az-muted);
  margin-bottom: 6px;
}
.az-spec-card .val {
  font-weight: 800;
}

.az-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Sections */
.az-section {
  padding: 48px 0;
}
@media (max-width: 575.98px) {
  .az-section {
    padding: 36px 0;
  }
}

.az-section-title h3 {
  margin: 0;
  font-weight: 800;
}

/* Technical table */

.az-table .table {
  margin-bottom: 0;
  border: 1px solid var(--az-border);
}
.az-table thead th {
  background: var(--az-accent);

  color: white;
}

/* Application cards */
.az-app-card {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  height: 100%;
}
.az-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(237, 29, 36, 0.08);
  color: var(--az-accent);
  border: 1px solid rgba(237, 29, 36, 0.18);
}

/* Gallery slider look (simple cards) */
.az-proj-card {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}
.az-proj-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #fff;
}
.az-product-accordion {
  position: relative;
  background-image: url("/images/single-product/background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-color: var(--bg-color-4);
}
/* Related products */
.az-related-card {
  border: 1px solid var(--az-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.az-related-card:hover {
  border-color: rgba(237, 29, 36, 0.35);
}
.az-related-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
}

.az-acc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.az-acc-kicker {
  color: black;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.az-acc-underline {
  width: 60px;
  height: 3px;
  background: black;
  border-radius: 3px;
}

.az-acc-item {
  border: none;
  border-radius: 12px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.az-acc-btn {
  background: #ffffff;
  font-weight: 600;
  padding: 16px 20px;
}

.az-acc-btn:not(.collapsed) {
  background: #fff;
  color: #ed1d24;
  box-shadow: none;
}

.az-acc-body {
  background: #fafafa;
  font-size: 14px;
  line-height: 1.8;
}

.table > :not(caption) > * > * {
  padding: 0.8rem 1.2rem;
}
.table {
  --bs-table-striped-bg: rgb(247 247 247);
}
