.product-page-hero {
  padding: 100px 0 70px;
  background: linear-gradient(135deg, #f4f8fb 0%, #eaf3f7 100%);
}

.product-page-content {
  max-width: 700px;
}

.product-page-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.product-page-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #556;
  margin-bottom: 28px;
}

.product-list-section {
  padding: 60px 0 100px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-detail-card {
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-detail-card img {
  border-radius: 10px;
  margin-bottom: 16px;
}

.product-detail-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.product-detail-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.site-footer {
  background: var(--primary-color);
  color: #fff;
  padding: 24px 0;
  text-align: center;
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Details */

.product-details {
  padding: 70px 0;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 35px;
  color: #777;
}

.breadcrumb a {
  text-decoration: none;
  color: #777;
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: flex-start;
}

.main-image {
  position: relative;
  background: #f7f7f7;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
}

.main-image img {
  max-width: 100%;
  height: 420px;
  object-fit: contain;
  display: inline;
}

.zoom-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/*.thumb-wrapper {*/
/*  display: flex;*/
/*  align-items: center;*/
/*  margin-top: 20px;*/
/*  gap: 15px;*/
/*}*/

/*.thumb-arrow {*/
/*  width: 40px;*/
/*  height: 40px;*/
/*  border-radius: 50%;*/
/*  border: 1px solid #ddd;*/
/*  background: #fff;*/
/*  cursor: pointer;*/
/*}*/

/*.thumbnails {*/
/*  display: flex;*/
/*  gap: 15px;*/
/*  flex: 1;*/
/*  justify-content: space-around;*/
/*}*/

/*.thumbnails img {*/
/*  width: 90px;*/
/*  height: 90px;*/
/*  border-radius: 10px;*/
/*  border: 2px solid transparent;*/
/*  object-fit: cover;*/
/*  cursor: pointer;*/
/*}*/

/*.thumbnails img.active {*/
/*  border-color: #d40c13;*/
/*}*/


/* Thumbnail Gallery */
.thumb-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.thumb-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* THIS IS THE SCROLLING AREA */
.thumbnails {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap !important;

    gap: 15px;

    width: 0;
    flex: 1 1 0;

    min-width: 0;

    overflow-x: auto !important;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

/* DO NOT ALLOW IMAGES TO SHRINK */
.thumbnails img {
    display: block;

    width: 90px !important;
    height: 90px !important;

    min-width: 90px !important;
    max-width: 90px !important;

    flex: 0 0 90px !important;
    flex-shrink: 0 !important;

    border-radius: 10px;
    border: 2px solid transparent;

    object-fit: cover;
    cursor: pointer;
}

.thumbnails img.active {
    border-color: #d40c13;
}

.category {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #d40c13;
}

.product-content h1 {
  font-size: 48px;
  margin: 10px 0;
  line-height: 1.2;
}

.product-content h4 {
  font-size: 22px;
  margin-bottom: 20px;
}

.product-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}
.product-content .btn-primary {
  border: 2px solid #ac0d12;
}
.product-content .btn-primary:hover {
  background: #ffffff;
  color: #ac0d12;
  border: 2px solid #ac0d12;
}
.feature-list {
  list-style: none;
}

.feature-list li {
  margin-bottom: 16px;
  padding-left: 35px;
  position: relative;
  font-size: 17px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d40c13;
  color: #d40c13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.btn-group {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.product-content .btn-outline {
  border: 2px solid #b30d13;
  color: #b30d13;
}

.product-content .btn-outline:hover {
    background: rgb(172 13 18);
    color: rgb(255 255 255);
}

.specifications {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.spec-box {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid #eee;
}

.spec-box:last-child {
  border-right: none;
}

.spec-box i {
  width: 60px;
  height: 60px;
  background: #fff5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d40c13;
  font-size: 24px;
}

.spec-box h4 {
  margin-bottom: 6px;
}

.spec-box p {
  color: #666;
}

.product-tabs-section .tab-content {width: 100%;}



@media (max-width: 991px) {
  .product-wrapper {
    grid-template-columns: 1fr;
  }

  .product-content h1 {
    font-size: 36px;
  }

  .specifications {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .specifications {
    grid-template-columns: 1fr;
  }

  .thumbnails img {
    width: 70px;
    height: 70px;
  }

  .btn-group {
    flex-direction: column;
  }
}

/* product-tabs-section */

.product-tabs-section {
  padding: 0px 0px 80px 0;
}

.product-tabs-section .container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Tabs */

.tabs {
  display: flex;
  width: 100%;
  gap: 70px;
  border-bottom: 1px solid #ddd;
  justify-content: flex-start;
}

.tab {
  border: none;

  background: none;

  padding: 20px 0;

  font-size: 16px;

  font-weight: 600;

  color: #555;

  cursor: pointer;

  position: relative;
}

.tab.active {
  color: #c8102e;
}

.tab.active::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -1px;

  width: 100%;

  height: 3px;

  background: #c8102e;
}

/* Description */

.description-wrapper {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 40px;

  margin: 60px 0;
}

.description-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  height: 355px;
  object-fit: cover;
  margin-top: 60px;
}

.description-content h2 {
  font-size: 34px;

  margin-bottom: 25px;

  color: #102a4c;
}

.description-content p {
  line-height: 1.9;

  color: #666;

  margin-bottom: 25px;
}

.description-image img {
  width: 100%;

  border-radius: 15px;

  display: block;
}

/* Specification */

.technical-specification h2 {
  font-size: 34px;

  margin-bottom: 30px;

  color: #102a4c;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

table {
  width: 100%;

  border-collapse: collapse;

  border-radius: 8px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

thead {
  background: #102a4c;

  color: #fff;
}

th {
  text-align: left;

  padding: 14px 20px;

  font-size: 15px;
}

td {
  padding: 14px 20px;

  border-bottom: 1px solid #ececec;

  font-size: 15px;

  color: #555;
}

tbody tr:nth-child(even) {
  background: #fafafa;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive */

@media (max-width: 992px) {
  .container {
    width: 90%;
  }

  .description-wrapper {
    grid-template-columns: 1fr;
  }

  .table-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: flex;
    align-items: center;
    gap: 35px;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #e5e5e5;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 576px) {
  .description-content h2,
  .technical-specification h2 {
    font-size: 28px;
  }

  th,
  td {
    padding: 12px;

    font-size: 14px;
  }
}

.tab-inner-content {
  display: none;
  animation: fade 0.3s ease;
}

.tab-inner-content.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*Shop Page CSS*/

