.page-description {
    font-size: 16px;
    margin-bottom: 16px;
    max-height: 300px;
    position: relative;
    overflow: hidden;
}
.page-description.expand {
    max-height: none;
}
.page-description:not(.expand):after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 230px;
  left: 0;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), var(--background-secondary) 60%, var(--background-secondary) 100%);
  width: 100%;
  height: 80px;
}
.page-description.expand .expand-button {
    display: none;
}
.page-description .expand-button {
    display: block;
    color: var(--color-hover);
    position: absolute;
    top: 280px;
    z-index: 2;
}
.product-thumbnail.glide__bullet {
    width: 50px;
    height: 50px;
    border-radius: 25%;
    overflow: hidden;
}

.product-thumbnails .glide__bullets {
    position: relative;
    transform: translateX(-50%);
    z-index: 1;
}

.product-model, .product-image {
    width: 500px;
    max-width: 100vw;
    aspect-ratio: 1 / 1;
}

.glide__slide {
    display: flex;
    justify-content: center;
}

.content-split {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    position: relative;
}

@media (max-width: 800px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-gallery {
    width: 100%;
    overflow: hidden;
}

.product-option-group {
    margin-bottom: 16px;
}

.product-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 10px;
    width: 170px;
    height: 45px;
    padding: 8px 4px 8px 4px;
    background-color: #232323;
    border: 2px solid #333;
    border-radius: 8px;
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}

.product-option:has(.color-option) {
    height: 60px;
    padding: 8px;
}

@media (max-width: 1214px) {
    .product-option {
        width: calc(50% - 10px);
    }
}

.product-option:hover {
    background-color: #2a2a2a;
}

.product-option-checkbox {
    display: none;
}

.product-option-checkbox:checked + .product-option {
    border-color: var(--color-hover);
    background-color: #2a2a2a;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.option-name {
    text-align: center;
    width: 100%;
}

.product-option:has(.color-option) .option-name {
    text-align: center;
    width: calc(100% - 30px);
}

@property --val {
    syntax: '<integer>';
    inherits: true;
    initial-value: 0;
}

label.slider {
    width: 100%;
}

.product-status {
    margin-bottom: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

.status-badge.available {
    background-color: rgba(0, 180, 0, 0.15);
    color: #00b400;
}

.status-badge.unavailable {
    background-color: rgba(255, 60, 60, 0.15);
    color: #ff3c3c;
}

.status-badge.waiting {
    background-color: rgba(255, 150, 0, 0.15);
    color: #ff9600;
}

.status-description {
    color: #aaa;
    font-size: 14px;
    margin-top: 4px;
    margin-bottom: 16px;
}

.availability-form {
    margin-top: 16px;
    margin-bottom: 24px;
}

.availability-form input {
    background-color: #232323;
    border: 1px solid #333;
    color: white;
    border-radius: 4px 0 0 4px;
    padding: 8px 12px;
}

.availability-form button {
    border-radius: 0 4px 4px 0;
    background-color: var(--color-hover);
    color: black;
    border: none;
    padding: 8px 16px;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.availability-form button:hover {
    background-color: color-mix(in srgb, var(--color-hover), black 50%);
    color: white;
}

/* Product actions layout */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: #232323;
  border-radius: 10px;
}

/* Price display */
.product-price {
  margin-bottom: 8px;
}

.price-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.price-container.discounted {
  position: relative;
}

.current-price {
  font-size: 28px;
  font-weight: 600;
  color: white;
}

.current-price.sale {
  color: var(--color-hover);
}

.original-price {
  font-size: 18px;
  color: #888;
  text-decoration: line-through;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--color-hover-rgb), 0.2);
  color: var(--color-hover);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Button containers */
.product-actions-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-button-container {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

/* Action buttons */
button.primary-button,
button.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 50px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button.primary-button {
  background-color: var(--color-hover);
  color: black;
}

button.primary-button:hover {
  background-color: color-mix(in srgb, var(--color-hover), black 15%);
  color: white;
}

button.secondary-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

button.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
/* Quantity input */
.quantity-input {
  display: flex;
  align-items: stretch;
  width: 120px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #333;
}

.quantity-input input {
  width: 50px;
  text-align: center;
  color: white;
  background-color: transparent;
  border: none;
  font-size: 16px;
  -moz-appearance: textfield;
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-button {
  width: 35px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.quantity-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Wishlist button */
.wishlist-action {
  margin-top: 8px;
}

.wishlist-button {
  display: flex;
  align-items: center;
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.wishlist-button:hover {
  color: white;
}

.wishlist-button.active {
  color: var(--color-hover);
}

.heart-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: fill 0.2s;
}

.heart-icon.filled {
  fill: var(--color-hover);
  stroke: var(--color-hover);
}

/* Special offers */
.special-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.05);
}

.volume-discount {
  border-left: 3px solid var(--color-hover);
}

.bundle-discount {
  border-left: 3px solid #00b400;
}

.offer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.volume-discount .offer-icon {
  background-color: var(--color-hover);
}

.volume-discount .offer-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-hover);
}

.bundle-discount .offer-icon {
  background-color: rgba(0, 180, 0, 0.2);
}

.bundle-discount .offer-icon svg {
  width: 18px;
  height: 18px;
  fill: #00b400;
}

.offer-text {
  font-size: 14px;
  color: #ddd;
  line-height: 1.4;
}

.bundle-link {
  color: var(--color-hover);
  text-decoration: none;
}

.bundle-link:hover {
  text-decoration: underline;
}

.full-width-background {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: white;
    color: black;
}
.full-width-background .section-title {
    color: black;
}
.product-details-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
}
.product-details {
    text-align: left;
}

.product-details td{
    padding: 8px;
}