/* === General Styles === */
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Inria Sans", sans-serif;
}

/* === Product Page Main === */
.product-page {
  margin-top: 80px;
  background: #fff;
}

/* === Product Details Section (Mobile First) === */
.product-details {
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* === Mobile Product Slider === */
.product-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden; /* Change back to hidden to prevent content from extending outside */
  box-sizing: border-box;
}

/* === Container === */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.product-slider {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease;
  transform: translateX(0%);
  margin-right: 0; /* Remove negative margin */
  margin-top: 22px;
}

.product-slide {
  flex: 0 0 85%; /* Make slides take up 85% of container width */
  width: 85%;
  position: relative;
  display: flex;
  justify-content: center;
  padding-right: 16px;
  box-sizing: border-box;
}

.slide-image {
  width: 100%;
  aspect-ratio: 1/1; /* Keep square aspect ratio */
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

/* Mobile Navigation Arrows */
.mobile-arrow {
  position: absolute;
  top: 50%;
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
  transform: translateY(-50%);
}

.mobile-arrow.prev {
  left: 20px; /* Position arrows within container */
}

.mobile-arrow.next {
  right: 20px; /* Position arrows within container */
}

/* Remove slider dots */
.slider-dots {
  display: none;
}

/* === Desktop Product Gallery (Hidden on Mobile) === */
.mega-menu.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

.large-desktop-only {
  display: none;
}

.desktop-standard {
  display: block;
}

.gallery-standard {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.gallery-standard .grid-row-1,
.gallery-standard .grid-row-2,
.gallery-standard .grid-row-3 {
  max-width: 845px;
}

.gallery-standard .grid-row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 17px;
}

.gallery-standard .grid-row-2 img {
  aspect-ratio: 1/1;
}

.gallery-standard .grid-row-2 img:nth-of-type(1) {
  align-self: flex-start;
}

.gallery-standard .grid-row-2 img:nth-of-type(2) {
  grid-column-start: 1;
  grid-row-start: 2;
  align-self: center;
}

.gallery-standard .grid-row-2 img:nth-of-type(3) {
  grid-column-start: 1;
  grid-row-start: 3;
  align-self: flex-end;
}

.gallery-standard .grid-row-2 img:nth-of-type(4) {
  grid-column: span 3 / span 3;
  grid-row: span 3 / span 3;
  grid-column-start: 2;
  grid-row-start: 1;
}

.gallery-standard div > img {
  width: 100%;
  border-radius: 7px;
}

/* === Product Info === */
.product-details .product-info {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 10px 16px 32px;
  width: 95%;
  margin-inline: auto;
}

.product-header {
  margin-bottom: 16px;
}

.title-rating-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.title-group {
  flex: 1;
}

.product-title {
  color: #121212;
  font-family: "Inria Sans", sans-serif;
  font-size: 14.953px;
  font-style: normal;
  font-weight: 700;
  line-height: 28.6px;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.product-notes {
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  margin: 0;
}

.rating-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.rating-number {
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.stars {
  color: #000;
  font-size: 16px;
  margin-right: 4px;
}

.rating-text {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  color: #121212;
  font-size: 7.542px;
  font-style: normal;
  font-weight: 400;
  line-height: 12.66px; /* 167.869% */
}

/* === Product Pricing === */
.product-pricing {
  margin-bottom: 7px;
}

.current-price {
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 14.273px;
  font-style: normal;
  font-weight: 400;
  line-height: 21.75px;
}

/* === Size Selection === */
.size-selection {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
  width: 100%;
}

.size-btn {
  padding: 12px 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.size-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.size-btn:hover {
  border-color: #000;
}

/* === Product Actions === */
.product-actions {
  margin-bottom: 20px;
}

.add-to-cart-btn {
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 13.2px 30px 13.8px 30px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #333;
}

.add-to-cart-btn img {
  width: 18px;
  height: 18px;
}

.product-actions-secondary {
  margin-bottom: 18.5px;
}

.add-to-wishlist-btn {
  width: 100%;
  background: transparent;
  color: #121212;
  border: 1px solid #000;
  padding: 13.2px 30px 13.8px 30px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s ease;
}

.add-to-wishlist-btn:hover {
  background: #000;
  color: #fff;
}

.add-to-wishlist-btn img {
  width: 18px;
  height: 18px;
}

/* Remove old styles */
.quantity-selector,
.wishlist-btn,
.product-badge,
.product-subtitle {
  display: none;
}

/* === Product Description === */
.product-description {
  font-family: "Inter", sans-serif;
}

.gallery-grid img {
  border-radius: 7px;
}

.description-content {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.description-content.expanded {
  max-height: none;
}

.description-content p {
  font-size: 13.016px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  color: #333;
  margin-block: 0;
}

.read-toggle {
  background: none;
  border: none;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 24px;
  text-decoration: underline;
  margin-top: 30px;
}

/* === Layer It With Section === */
.layer-section {
  margin: 24px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.layer-heading {
  color: #121212;
  font-family: "Inria Sans", sans-serif;
  font-size: 12.375px;
  font-weight: 700;
  line-height: 23.4px; /* 189.091% */
  text-transform: uppercase;
  margin-bottom: 13px;
}

.layer-product {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 12.5px;
}

.layer-image {
  min-width: 112px;
  width: 112px;
  flex-shrink: 0;
}

.layer-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 7px;
}

.layer-info {
  flex: 1;
}

.layer-title {
  color: #121212;
  font-family: "Inria Sans", sans-serif;
  font-size: 12.516px;
  font-weight: 700;
  line-height: 23.4px; /* 186.966% */
  margin-top: 0;
  margin-bottom: 5px;
}

.layer-notes {
  color: #666;
  font-family: "Inter";
  font-size: 11px;
  font-weight: 400;
  line-height: 15.4px; /* 140% */
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 5px;
}

.layer-price {
  margin-top: 0;
  color: #121212;
  font-family: "Inter";
  font-size: 11.438px;
  font-weight: 400;
  line-height: 18px; /* 157.377% */
  margin-bottom: 5px;
}

.layer-description {
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
  margin: 0;
  color: #121212;
  font-family: "Inter";
  font-size: 12.086px;
  font-weight: 400;
  line-height: 20.8px; /* 172.101% */
}

.layer-add-to-cart {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  display: flex;
  min-width: 122px;
  padding: 5.5px 3.5px 5.89px 3.5px;
  flex-direction: column;
  align-items: center;
  flex: 1 0 0;
  border-radius: 20px;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  font-family: "Inter";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 14.4px; /* 120% */
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.layer-add-to-cart:hover {
  background: #333;
}

/* === Expandable Sections === */
.expandable-sections {
  border-top: 1px solid #eee;
  margin-top: 24px;
}

.section-subsection h4 {
  color: #121212;
  font-size: 12.375px;
  font-weight: 700;
  line-height: 23.4px; /* 189.091% */
}

.section-subsection p {
  color: #121212;
  font-family: Inter;
  font-size: 11px;
  font-weight: 400;
  line-height: 23.4px; /* 212.727% */
}

.section-item {
  border-bottom: 1px solid #eee;
}

.section-toggle {
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.toggle-icon {
  font-size: 16px;
  font-weight: 400;
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.section-item.expanded .section-content {
  max-height: 200px;
  padding-bottom: 16px;
}

.section-content p {
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 14.4px;
  text-transform: uppercase;
  margin: 0;
}

/* === First Impressions Section === */
.impressions-section {
  padding: 32px 0;
  background: #fff;
}

.section-title {
  text-transform: uppercase;
  margin: 0 0 24px 0;
  color: #000;
  font-family: "Inria Sans", sans-serif;
  font-size: 12.234px;
  font-weight: 700;
  line-height: 28.8px; /* 235.402% */
}

.impressions-container {
  position: relative;
  overflow: hidden;
}

.impressions-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 10px;
  scroll-snap-type: x mandatory;
}

.impressions-slider::-webkit-scrollbar {
  display: none;
}

.impression-item {
  flex: 0 0 80px;
  height: 160px;
  scroll-snap-align: center;
}

.impression-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  background: #fff;
  border: 1px solid #121212;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
  transform: translateY(-50%);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

.carousel-arrow:hover {
  background: #f5f5f5;
}

.carousel-arrow img {
  width: 16px;
  height: 16px;
}

/* === You May Also Like Section === */
.you-may-also-like {
  padding: 40px 0;
}

.you-may-also-like .section-heading {
  font-family: "Inria Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 31.2px;
  text-transform: uppercase;
  margin: 0 0 24px 0;
  text-align: left;
}

.you-may-also-like .products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.you-may-also-like .product-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.you-may-also-like .product-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.you-may-also-like .product-image-wrapper {
  margin-bottom: 16px;
  border-radius: 7.5px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
}

.you-may-also-like .product-image {
  width: 100%;
  height: auto;
  display: block;
}

.product-image.hover {
  display: none;
}

.product-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.product-image {
  width: 100%;
  object-fit: contain;
}

.product-info {
  padding: 20px 21px 0 16px;
  text-align: left;
}

.product-name {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.you-may-also-like .product-info {
  padding-left: 12.5px;
  padding-right: 12.5px;
  padding-top: 17px;
  width: 100%;
}

.you-may-also-like .product-category {
  margin: 0 0 12px 0;
  color: #121212;
  font-family: "Inter", sans-serif;
  font-size: 13.906px;
  font-weight: 700;
  line-height: 26px; /* 186.966% */
  text-transform: uppercase;
}

.you-may-also-like .product-name {
  text-transform: uppercase;
  margin: 0 0 8px 0;
  line-height: 1.4;

  color: #666;

  font-family: "Inter";
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px; /* 140% */
  text-transform: uppercase;
}

.you-may-also-like .price-section {
  font-weight: 400;
  color: #666;
  font-family: "Inter";
  font-size: 12.797px;
  font-style: normal;
  line-height: 22.4px; /* 175.043% */
  margin-bottom: 15px;
}

.you-may-also-like .price.sale {
  color: #ec1c1c;
  font-weight: 700;
  margin-right: 8px;
}

.you-may-also-like .price.original {
  color: #9b9b9b;
  text-decoration: line-through;
}

.add-to-cart.over-image {
  display: none;
}

.add-to-cart {
  background: #000;
  color: #fff;
  margin-top: 8px;
  padding: 14px 0;
  width: 90%;
  border: none;
  border-radius: 36px;
  font-size: 14.267px;
  line-height: 11.208px;
  letter-spacing: 0.431px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 13px;
}

.you-may-also-like .product-add-to-cart-button {
  color: #fff;
  font-family: "Inter", sans-serif;
  line-height: 14.4px;
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
}

.you-may-also-like .product-add-to-cart:hover {
  background: #333;
}

/* === Customer Reviews Section === */
.customer-reviews {
  padding: 40px 16px;
  background: #fff;
}

.reviews-container {
  margin: 0 auto;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Mobile Layout */
.overall-rating {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.overall-rating .rating-value {
  font-size: 24px;
  font-weight: 700;
}

.overall-rating .stars {
  font-size: 20px;
  color: #000;
}

.overall-rating .reviews-count {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.rating-breakdown {
  width: 100%;
  margin-bottom: 30px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
}

.rating-row .star-label {
  color: #000;
  flex-shrink: 0;
}

.progress-bar-container {
  flex-grow: 1;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #000;
  border-radius: 4px;
}

.rating-row .rating-count {
  color: #666;
  min-width: 25px;
  text-align: right;
}

.summary-right {
  text-align: center;
}

.recommendation .recommend-percentage {
  margin: 0 0 8px 0;
  color: #121212;
  font-family: "Inter";
  font-size: 18.438px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 173.559% */
}

.recommendation .recommend-text {
  margin: 0;
  color: #121212;
  text-align: center;
  font-family: Inter;
  font-size: 12.086px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.8px; /* 172.101% */
}

/* === Detailed Reviews List Section === */
.reviews-list-container {
  margin-top: 40px;
  font-family: "Inter", sans-serif;
}

/* === Reviews Header with Tabs & Action Buttons === */
.reviews-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.tabs {
  display: flex;
  gap: 24px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0 0 8px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  color: #121212;
  font-family: "Inria Sans", sans-serif;
  font-size: 13.906px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.tab-btn.active {
  color: #000;
  border-bottom-color: #000;
}

/* Action Buttons (Filter and Write Review) */
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-btn,
.write-review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-btn {
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  color: #fff;
  font-family: "Inria Sans", sans-serif;
  font-size: 11.125px;
  font-style: normal;
  font-weight: 700;
  line-height: 9.6px; /* 86.292% */
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.write-review-btn {
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  color: #fff;
  font-family: "Inria Sans", sans-serif;
  font-size: 11.125px;
  font-style: normal;
  font-weight: 700;
  line-height: 9.6px; /* 86.292% */
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.filter-btn img,
.write-review-btn img {
  width: 16px;
  height: 16px;
}

/* === Reviews Controls (Count & Sort Options) === */
.reviews-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid #ececec;
}

.review-count-display {
  color: #121212;
  font-family: "Inter";
  font-size: 13.344px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px; /* 167.869% */
}

.sort-options {
  display: flex;
  gap: 16px;
}

.sort-dropdown,
.photos-videos-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
}

/* === Review Items (Mobile First Layout) === */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 24px;
}

/* Reviewer Info Card */
.reviewer-info-card {
  border: 1px solid #ececec;
  background: #f9f9f9;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviewer-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
}

.verified-icon {
  width: 16px;
  height: 16px;
}

/* Product Info Inside Review Card */
.review-product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-product-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.review-product-details h4 {
  color: #121212;
  font-family: "Inter";
  font-size: 11.719px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 170.667% */
  margin: 0;
}

.review-product-details p {
  margin: 0;
  color: #121212;
  font-family: Inter;
  font-size: 11.719px;
  font-weight: 400;
  line-height: 20px;
}

/* Recommendation Status */
.reviewer-recommend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.reviewer-tag {
  display: flex;
  gap: 4px;
  align-items: center;
}

.thumb-icon {
  width: 16px;
  height: 16px;
}

/* User Metadata */
.reviewer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}

.reviewer-meta span:nth-of-type(1) {
  color: #121212;
  font-family: Inter;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 160% */
}

.reviewer-meta span:nth-of-type(2) {
  color: #121212;
  font-family: Inter;
  font-size: 11.719px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 170.667% */
}

/* Review Content Section */
.review-content .stars {
  font-size: 18px;
  margin-bottom: 8px;
}

.review-rating-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.review-time {
  font-size: 13px;
  color: #666;
}

.review-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 16px 0;
}

/* Helpful Buttons Section */
.review-helpful {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.helpful-actions {
  display: flex;
  gap: 12px;
}

.helpful-actions button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333;
}

.helpful-actions img {
  width: 16px;
  height: 16px;
}

/* Show More Button */
.show-more-btn {
  width: 100%;
  margin: 30px auto 0;
  display: block;
  padding: 12px;
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;

  color: #fff;
  font-family: "Inria Sans", sans-serif;
  font-size: 9.844px;
  font-style: normal;
  line-height: 14px; /* 142.222% */
  letter-spacing: 0.6px;
}

/* Instagram Grid */
.social-grid .grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.social-grid img:nth-of-type(3),
.social-grid img:nth-of-type(4) {
  display: none;
}

.social-grid img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* === Tablet Layout (576px and up) === */
@media (min-width: 576px) {
  /* Reviews Header Becomes Horizontal */
  .reviews-header {
    border-bottom: 0;
    flex-direction: column;
  }

  /* Action Buttons Side by Side */
  .actions {
    flex-direction: row;
    width: auto;
    justify-content: space-between;
  }

  .filter-btn,
  .write-review-btn {
    width: auto;
  }

  /* Review Item Becomes Horizontal */
  .review-item {
    flex-direction: row;
    gap: 24px;
  }

  .reviewer-info-card {
    flex: 0 0 250px; /* Fixed width for the left card */
  }

  .review-content {
    flex: 1;
  }

  /* Rating and Time on Same Line */
  .review-rating-time {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .tabs {
    border-bottom: 1px solid #ececec;
  }
  .show-more-btn {
    max-width: 104.2px;
  }
}

/* === Desktop Layout (960px and up) === */
@media (min-width: 960px) {
  /* Slight adjustments for desktop */
  .reviewer-info-card {
    flex: 0 0 300px; /* Wider info card on desktop */
  }

  /* === Product Card === */
  .product-card {
    scroll-snap-align: center;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: none;
  }

  .product-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
  }

  .product-image.default {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease;
  }

  .product-image.hover {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  /* === Product Info === */
  .product-info {
    padding: 12px 0 0 0;
    text-align: left;
  }

  .product-name {
    font-size: 17px; /* +1px */
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
  }

  /* Only when hovering on the image wrapper */
  .product-image-wrapper:hover .product-image.hover {
    opacity: 1;
  }

  .product-image-wrapper:hover .product-image.default {
    opacity: 0;
  }

  .product-image-wrapper:hover .add-to-cart.over-image {
    opacity: 1;
    pointer-events: auto;
  }

  .add-to-cart.over-image {
    display: block;
    position: absolute;
    bottom: 12px; /* ⬅️ move it slightly up */
    left: 12px; /* ⬅️ give spacing from left */
    right: 12px; /* ⬅️ give spacing from right */
    width: auto; /* ⬅️ allow full width with spacing */
    background: #666;
    color: #fff;
    border: none;
    padding: 14px 20px; /* ⬅️ more vertical & horizontal padding */
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.3s ease;
    border-radius: 30px; /* optional: rounded corners */
  }

  .product-info .add-to-cart {
    display: none;
  }

  .product-image-wrapper:hover .add-to-cart.over-image {
    opacity: 1;
    pointer-events: auto;
  }

  .add-to-cart.over-image:hover {
    background: #000;
  }

  /* Customer Reviews Summary Desktop Layout */
  .reviews-summary {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 40px;
  }
  .summary-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .overall-rating {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    text-align: left;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .overall-rating .rating-value {
    font-size: 22px;
    font-weight: 700;
    margin-right: 4px;
  }
  .overall-rating .stars {
    font-size: 18px;
    margin-right: 8px;
  }
  .overall-rating .reviews-count {
    font-size: 14px;
    color: #121212;
    font-weight: 400;
    margin-left: 8px;
    white-space: nowrap;
  }
  .rating-breakdown {
    margin-bottom: 0;
    width: 100%;
    max-width: 350px;
  }
  .rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
  }
  .rating-row .star-label {
    min-width: 40px;
    font-weight: 700;
    color: #121212;
  }
  .progress-bar-container {
    flex: 1;
    height: 7px;
    background: #f5f5f5;
    border-radius: 4px;
    margin: 0 8px;
  }
  .progress-bar {
    height: 100%;
    background: #121212;
    border-radius: 4px;
  }
  .rating-row .rating-count {
    min-width: 32px;
    text-align: right;
    font-weight: 400;
    color: #121212;
  }
  .summary-right {
    flex: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 8px;
    text-align: left;
  }
  .recommendation {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 400;
  }
  .recommendation .recommend-percentage {
    font-size: 22px;
    font-weight: 700;
    color: #121212;
    margin: 0;
  }
  .recommendation .recommend-text {
    font-size: 15px;
    font-weight: 400;
    color: #121212;
    margin: 0;
    line-height: 1.3;
  }

  /* More spacing between elements */
  .reviews-list {
    gap: 32px;
  }

  .review-item {
    padding-bottom: 32px;
  }

  /* Instagram Grid */
  .social-grid img:nth-of-type(3),
  .social-grid img:nth-of-type(4) {
    display: block;
  }
}

/* Tablet (576px to 960px) */
@media (min-width: 576px) and (max-width: 959px) {
  /* === Product Details === */
  .product-details {
    flex-direction: row;
    gap: 0;
    padding: 36px 0;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    align-items: flex-start;
  }

  /* === Mobile Elements Hidden === */
  .mobile-only {
    display: none;
  }

  /* === Desktop Gallery (Tablet Style) === */
  .desktop-only {
    display: block;
  }

  .product-gallery {
    flex: 0 0 50%;
    width: 50%;
    margin-bottom: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Hide standard desktop gallery and large desktop grid */
  .gallery-standard,
  .large-desktop-only {
    display: none;
  }

  /* === Tablet Gallery Grid === */
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    max-width: 100%;
    overflow: hidden;
  }

  .gallery-grid.large-desktop-only {
    display: none;
  }

  .title-rating-wrapper {
    flex-direction: column;
  }

  .gallery-grid img {
    width: 100%;
    max-width: 334px;
    height: 334px;
    object-fit: cover;
    display: block;
  }

  /* === Product Info === */
  .product-details .product-info {
    flex: 0 0 50%;
    width: 50%;
    /* padding-left: 50px; */
    box-sizing: border-box;
    min-height: 100%;
  }

  .product-title {
    color: #121212;
    font-family: "Inria Sans", sans-serif;
    font-size: 20.508px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
  }

  .product-notes {
    font-size: 16px;
  }

  .current-price {
    color: #121212;
    font-family: "Inter", sans-serif;
    font-size: 15.75px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }
  .product-pricing {
    margin-bottom: 18.8px;
  }

  .layer-image {
    min-width: 80px;
    width: 80px;
  }

  /* === Size Selection (Tablet) === */
  .size-selection {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    width: auto;
  }

  .size-btn {
    border-radius: 2.766px;
    border: 0.692px solid rgba(18, 18, 18, 0.35);
    background: #fff;
    color: #121212;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 8.71px;
    font-style: normal;
    font-weight: 400;
    line-height: 8.991px;
    text-transform: uppercase;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 56.537px;
    height: 34.579px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .size-btn.active {
    background: #121212;
    color: #fff;
    border-color: rgba(18, 18, 18, 0.35);
  }

  .size-btn:hover {
    border-color: rgba(18, 18, 18, 0.6);
  }

  .product-actions-secondary {
    margin-bottom: 20px;
  }
  .summary-left {
    width: 310px;
    max-width: 310px;
    align-self: center;
  }
}

@media (min-width: 960px) {
  .desktop-only {
    display: block;
  }

  .product-page {
    margin-top: 100px;
  }

  /* === Product Details === */
  .product-details {
    flex-direction: row;
    gap: 60px;
    margin: 0 auto;
  }

  .you-may-also-like .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  /* === Mobile Elements Hidden === */
  .mobile-only {
    display: none;
  }

  /* === Desktop Gallery === */
  .product-gallery {
    width: calc(50% - 40px);
  }

  /* Hide tablet grid and large desktop grid */
  .gallery-grid {
    display: none;
  }

  .large-desktop-only {
    display: none;
  }

  /* Show standard desktop gallery */
  .gallery-main {
    width: 100%;
    margin-bottom: 20px;
  }

  .gallery-main img {
    width: 100%;
    height: auto;
    display: block;
  }

  .gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  .thumb {
    width: calc(16.666% - 10px);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }

  .thumb.active {
    border-color: #000;
  }

  .thumb img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* === Product Info === */

  .product-details {
    gap: 40px;
  }

  .product-details .product-info {
    flex: 0 0 50%;
    padding: 0;
    width: 50%;
    /* padding-left: 40px; */
  }

  .product-title {
    color: #121212;
    font-family: "Inria Sans", sans-serif;
    font-size: 20.508px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
  }

  .product-pricing {
    margin-bottom: 27px;
  }

  .product-notes {
    font-size: 18px;
  }

  .current-price {
    color: #121212;
    font-family: "Inter", sans-serif;
    font-size: 15.75px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  /* === Size Selection (Desktop) === */
  .size-selection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 27px;
    width: 100%;
  }

  .size-btn {
    width: 100%;
    min-width: auto;
  }

  .product-actions-secondary {
    margin-bottom: 26px;
  }

  /* === Instagram Photos === */
  .social-grid .grid-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@media (min-width: 1440px) {
  /* === Large Desktop Gallery Grid === */
  .large-desktop-only {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 875px 203px 875px;
    gap: 20px;
    width: 875px;
  }

  .gallery-main-large {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-row-small {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: 20px;
  }

  .gallery-medium {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-main-bottom {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .main-image-large {
    width: 875px;
    height: 875px;
    object-fit: cover;
    display: block;
  }

  .small-image {
    width: 193px;
    height: 193px;
    object-fit: cover;
    flex: 1;
  }

  .medium-image {
    width: 203px;
    height: 631px;
    object-fit: cover;
  }

  /* === Product Info Large Desktop === */
  .product-details .product-info {
    flex: 1;
    /* max-width: 500px; */
  }

  .product-title {
    color: #121212;
    font-family: "Inria Sans", sans-serif;
    font-size: 20.508px;
    font-style: normal;
    font-weight: 700;
    line-height: 39px;
  }

  .current-price {
    color: #121212;
    font-family: "Inter", sans-serif;
    font-size: 15.75px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
  }

  .layer-section {
    margin: 32px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .layer-product {
    gap: 20px;
  }

  .layer-image {
    width: 100px;
  }

  /* === Impressions Section Large Desktop === */
  .impressions-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .impressions-container {
    max-width: 500px;
    margin: 0;
    padding: 0;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
  /* === You May Also Like Section ===  */
  .you-may-also-like {
    padding: 80px 0;
  }

  .you-may-also-like .section-heading {
    font-size: 16.5px;
  }

  .you-may-also-like .product-category {
    font-size: 12px;
  }

  .you-may-also-like .product-name {
    font-size: 14px;
  }

  .you-may-also-like .price-section {
    font-size: 15px;
  }

  .desktop-standard {
    align-items: flex-end;
  }

  .you-may-also-like .price-section {
    font-size: 15px;
  }

  .desktop-standard {
    align-items: flex-end;
  }

  .gallery-standard .grid-row-2 {
    grid-template-columns: repeat(12, 1fr);
  }
  .gallery-standard .grid-row-2 img:nth-of-type(1) {
    grid-column: 1/5;
  }
  .gallery-standard .grid-row-2 img:nth-of-type(2) {
    grid-column: 1/5;
  }
  .gallery-standard .grid-row-2 img:nth-of-type(3) {
    grid-column: 1/5;
  }
  .gallery-standard .grid-row-2 img:nth-of-type(4) {
    grid-column: 5/13;
  }
}
