/* ===== CSS VARIABLES ===== */
:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --primary-grey: #808080;
  --light-grey: #f5f5f5;
  --dark-grey: #333333;
  --background-grey: #f8f8f8;
  --border-grey: #e0e0e0;

  /* Color swatches */
  --color-light-grey: #d3d3d3;
  --color-medium-grey: #a9a9a9;
  --color-black: #000000;
  --color-mint-green: #98ff98;
  --color-white: #ffffff;
  --color-purple: #dda0dd;

  /* Typography */
  --font-primary: "Arial", sans-serif;
  --font-secondary: "Helvetica", sans-serif;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
}

/* ===== GLOBAL RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--background-grey);
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 1px
    ),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  min-height: 100vh;
}

.container {
  max-width: 1250px !important;
  width: 90% !important;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    width: 100% !important;
    max-width: 98% !important;
  }
}

/* ===== HEADER SECTION ===== */
.header {
  background-color: var(--primary-white);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-grey);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--spacing-sm);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.hamburger-menu {
  font-size: 18px;
  color: var(--primary-black);
  cursor: pointer;
  margin-right: var(--spacing-sm);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-black);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-grey);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.diamond-logo {
  width: 24px;
  height: 24px;
  background-color: var(--primary-black);
  transform: rotate(45deg);
  border-radius: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-icons i {
  font-size: 18px;
  color: var(--primary-black);
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-icons i:hover {
  color: var(--primary-grey);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background-color: var(--primary-black);
  color: var(--primary-white);
  border: none;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cart-btn:hover {
  background-color: var(--dark-grey);
}

.cart-btn i {
  font-size: 14px;
  color: var(--primary-white);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: var(--spacing-xl) 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.main-content .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.product-details-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: start;
  justify-content: center;

  width: 100%;
  height: 100%;
}

/* ===== PRODUCT IMAGES SECTION ===== */
.product-images {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 50%;

  position: sticky;
  top: 0;
}

.main-image {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: var(--primary-white); */
  border-radius: 3px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  padding: var(--spacing-sm);
  box-sizing: border-box;

  height: 100%;
  width: auto;
  min-width: calc(100% - 4rem);
  aspect-ratio: 1/1;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.thumbnail-images {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  width: 4rem;
  margin-top: 1rem;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  background-color: var(--primary-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail.active {
  border-color: var(--primary-black);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.thumbnail:hover {
  border-color: var(--primary-grey);
}

/* ===== THUMBNAIL SWIPER STYLES ===== */
.thumbnail-swiper {
  width: 80px;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.thumbnail-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.thumbnail-swiper .swiper-slide {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-swiper .swiper-slide .thumbnail {
  width: 100%;
  height: 80px;
  margin: 0;
}

/* Navigation arrows */
.thumbnail-next,
.thumbnail-prev {
  width: 30px;
  height: 30px;
  background-color: var(--primary-white);
  border: 1px solid var(--border-grey);
  border-radius: 50%;
  color: var(--primary-black);
  font-size: 12px;
  transition: all 0.3s ease;

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail-next {
  position: relative !important;
}

.thumbnail-prev {
  position: relative !important;
  bottom: 0 !important;
}

.thumbnail-next:hover,
.thumbnail-prev:hover {
  background-color: var(--light-grey);
  border-color: var(--primary-grey);
}

.thumbnail-swiper .thumbnail-next::after,
.thumbnail-swiper .thumbnail-prev::after {
  display: none;
}

.thumbnail-swiper .swiper-button-next i,
.thumbnail-swiper .swiper-button-prev i {
  font-size: 12px;
}

/* ===== PRODUCT DETAILS SECTION ===== */
.product-details {
  position: relative;
  top: 0px;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: auto;
  min-width: auto;
}

.details-panel {
  background-color: var(--primary-white);
  border-radius: 2px;
  padding: var(--spacing-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.wishlist-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 18px;
  color: var(--primary-black);
  cursor: pointer;
  transition: color 0.3s ease;
}

.wishlist-icon:hover {
  color: var(--primary-grey);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-height: fit-content !important;
}

.product-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-black);
  text-transform: uppercase;
  margin-bottom: 0;
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.price-section p {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: var(--spacing-xs);
}

.price {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-black);
  line-height: 1;
}

.price.discount-price {
  text-decoration: line-through;
  font-weight: 500;
}

.price.discount-percentage {
  font-size: 1rem;
  line-height: 1.4;
  color: red;
  font-weight: 400;
}

.tax-info {
  font-size: 14px;
  color: var(--primary-grey);
  font-weight: 400;
}

.product-description {
  margin-bottom: var(--spacing-md);
}

.product-description p {
  font-size: 16px;
  color: var(--primary-black);
  line-height: 1.5;
}

/* ===== COLOR SELECTION ===== */
.color-selection {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.color-selection label {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-black);
}

.color-swatches {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  position: relative;
}

.color-swatch[data-color="light-grey"] {
  background-color: var(--color-light-grey);
}

.color-swatch[data-color="medium-grey"] {
  background-color: var(--color-medium-grey);
}

.color-swatch[data-color="black"] {
  background-color: var(--color-black);
}

.color-swatch[data-color="mint-green"] {
  background-color: var(--color-mint-green);
}

.color-swatch[data-color="white"] {
  background-color: var(--color-white);
  border: 1px solid var(--border-grey);
}

.color-swatch[data-color="purple"] {
  background-color: var(--color-purple);
}

.color-swatch.active {
  border-color: var(--primary-black);
}

.color-swatch:hover {
  border-color: var(--primary-grey);
}

/* ===== SIZE SELECTION ===== */
.size-selection {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.size-selection label {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-black);
}

.size-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.size-btn {
  min-width: 48px;
  height: 40px;
  border: 1px solid var(--border-grey);
  background-color: var(--primary-white);
  color: var(--primary-black);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.size-btn:hover {
  border-color: var(--primary-black);
}

.size-btn.active {
  background-color: var(--primary-black);
  color: var(--primary-white);
  border-color: var(--primary-black);
}

.size-guide-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.size-link {
  font-size: 12px;
  color: var(--primary-grey);
  text-decoration: none;
  transition: color 0.3s ease;
}

.size-link:hover {
  color: var(--primary-black);
}

.separator {
  font-size: 12px;
  color: var(--primary-grey);
}

/* ===== BADGES ===== */
.badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-lg);


}

.badge-item {
  display: flex;
  flex-direction: column;

  gap: var(--spacing-xs);
  align-items: start;
  width: 100%;
  height: 100%;
}

.badge-item img {
  width: 50px;
  height: 50px;
}

.badge-item p {
  font-size: 14px;
  color: var(--primary-black);
}

/* ===== PRODUCT ACCORDION ===== */
/* ===== ACCORDION STYLES ===== */
.product-accordion-section {
  margin-top: 1rem;
  padding: 0rem;
}

.product-block {
  max-width: 800px;
  margin: 0 auto;
}

.product-accordion {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-toggle {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-toggle:hover {
  background-color: #f8f8f8;
  color: #333333;
}

.accordion-toggle:focus {
  outline: 2px solid #007cba;
  outline-offset: -2px;
}

.accordion-toggle::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
  color: #666666;
}

.accordion-toggle.active::after {
  transform: rotate(45deg);
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
  font-size: 1rem !important;
}

.accordion-content.active {
  max-height: 1000px;
  padding: 0 2rem 1.5rem 2rem;
}

.accordion-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  margin: 1rem 0 0.5rem 0;
}

.accordion-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #333333;
  margin: 1rem 0 0.5rem 0;
}

.accordion-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.accordion-content li {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: #555555;
}


.accordion-content > * {
  font-size: 1rem !important;
}

.accordion-content strong {
  color: #000000;
  font-weight: 600;
}

.metafield-rich_text_field {
  margin: 0.5rem 0;
}

/* ===== PAYMENT OPTIONS ===== */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);

  width: auto;
  height: auto;
}

.payment-options img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-accordion-section {
    margin-top: 1.5rem;
    padding: 0rem;
  }

  .accordion-toggle {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .accordion-content.active {
    padding: 0 1.5rem 1rem 1.5rem;
  }

  .accordion-content h4 {
    font-size: 1.1rem;
  }

  .accordion-content h5 {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .accordion-toggle {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .accordion-content.active {
    padding: 0 1rem 0.8rem 1rem;
  }

  .accordion-content ul {
    padding-left: 1rem;
  }
}

/* ===== ADD TO CART BUTTON ===== */
.add-to-cart-buttons {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xs);
  margin-top: 1rem;
}

.add-to-cart-btn {
  width: 100%;
  height: 48px;
  background-color: var(--light-grey);
  color: var(--primary-black);
  border: 1px solid var(--border-grey);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-top: 0;
}

.add-to-cart-btn.black {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.add-to-cart-btn.white {
  background-color: var(--primary-white);
  color: var(--primary-black);
}

.add-to-cart-btn:hover {
  background-color: var(--border-grey);
}

/* ===== Your may also like ===== */

/* ===== NEW THIS WEEK SECTION ===== */
.you-may-like {
  padding: var(--spacing-xxl) 0;
  background-color: transparent;
  width: 100%;
  height: 100%;
  max-height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
  width: 100%;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-black);

  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
  font-style: italic;
  min-width: fit-content;
  flex-wrap: nowrap;
}

.section-header span {
  width: fit-content;
}

.item-count {
  color: var(--primary-grey);
  font-weight: normal;
  font-size: 30px;
  width: fit-content;
}

.see-all {
  color: var(--primary-grey);
  font-weight: 500;
  transition: color 0.3s ease;
  width: 100%;
  margin-left: auto;
  display: inline-block;
  text-align: right;
}

.see-all:hover {
  color: var(--primary-black);
}

.products-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* ===== NEW THIS WEEK SWIPER STYLES ===== */
.you-may-like {
  width: 100%;
  position: relative;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.you-may-like .container {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 1rem;
}

.you-may-like-swiper {
  width: 100%;
  height: auto;
  padding: 1rem 0;
  box-sizing: border-box;
}

.you-may-like .swiper-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  align-items: stretch;
}

.you-may-like .swiper-slide {
  height: auto;
  width: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.product-card {
  text-align: start;
  transition: transform 0.3s ease;
  background-color: var(--primary-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto !important;
  flex-shrink: 0;
}

.product-card img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: 0 !important;
}

.product-overlay {
  display: none;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  background-color: var(--primary-white);
  color: var(--primary-black);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

.product-info {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--primary-black);
}

.product-description {
  font-size: 14px;
  color: var(--primary-grey);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  max-width: fit-content !important;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-black);
}

.original-price {
  font-size: 14px;
  color: var(--primary-grey);
  text-decoration: line-through;
}

.product-colors {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-dot:hover {
  border-color: var(--primary-black);
  transform: scale(1.1);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: 1rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-black);
  background-color: var(--primary-white);
  color: var(--primary-black);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--primary-black);
  color: var(--primary-white);
}

@media (max-width: 768px) {
  .you-may-like .container {
    padding: 0 0.5rem;
  }

  .product-card {
    width: 250px;
  }

  .product-image-container {
    height: 250px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-black);

    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    gap: var(--spacing-lg);
    font-style: italic;
  }

  .product-info {
    padding: 0.75rem;
  }

  .product-card h3 {
    font-size: 14px;
  }

  .product-description {
    font-size: 12px;
  }

  .price {
    font-size: 16px;
  }

  .original-price {
    font-size: 12px;
  }

  .color-dot {
    width: 14px;
    height: 14px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
  }

  .product-details-panel {
  padding: 0.5rem !important;
  }
}

@media (max-width: 480px) {
  .you-may-like {
    padding: 0.5rem !important;
  }
  .you-may-like .container {
    padding: 0 0.25rem;
  }

  .product-card {
    width: 100%;
  }

  .product-image-container {
    height: 300px;
    width: 100%;
    aspect-ratio: 1/1;
  }

  .product-info {
    padding: 0.5rem;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .product-description {
    font-size: 11px;
  }

  .price {
    font-size: 14px;
  }

  .quick-view-btn {
    padding: 0.4rem 0.8rem;
    font-size: 12px;
  }

  .carousel-controls {  
    margin-bottom: 3rem;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .container  
  {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .main-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .main-content .container {
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 100%;
  }

  .product-details-container {
    flex-direction: column;
  }

  .product-images .main-image {
    width: 100%;
    height: 100%;
  }

  .product-details {
    width: 100%;
  }

  .product-details .details-panel {
    width: 100%;
  }

  .product-images {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .badges{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-sm);
  }

  .badge-item{
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .badge-item p{
    text-align: center;
  }

  .thumbnail-images {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .thumbnail-swiper {
    width: 70%;
    height: 100px;
    max-width: 300px;
  }

  .thumbnail-swiper .swiper-slide .thumbnail {
    width: 80px;
    height: 80px;
  }

  /* Mobile navigation arrows */

  .thumbnail-next i {
    transform: rotate(-90deg);
  }

  .thumbnail-prev i {
    transform: rotate(-90deg);
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .main-image img {
    height: 400px;
  }

  .nav-links {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .main-image img {
    height: auto !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
  }

  .product-name {
    font-size: 18px;
  }

  .price {
    font-size: 20px;
  }

  .details-panel {
    padding: 1rem 0.5rem !important;
  }

  .color-swatches {
    justify-content: center;
  }

  .size-buttons {
    justify-content: center;
  }
}
