/* Product Highlight */
.product-highlight {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

/* Тільки на сторінці товару: менший відступ від header (глобальний main дає 40px) */
main { margin-top: 12px; }

/* Хлібні крихти картки товару — мінімалістичний рядок в один рядок */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 20px;
    font-size: 11px;
    line-height: 1.4;
    color: #9aa0ac;
    white-space: nowrap;
    overflow: hidden;
}
.breadcrumb a { color: #9aa0ac; text-decoration: none; }
.breadcrumb a:hover { color: #5c6270; }
.breadcrumb-sep { margin: 0 4px; color: #c7ccd4; }
.breadcrumb [aria-current] {
    display: inline-block;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    color: #9aa0ac;
}

.highlight-image {
    flex: 2;
    display: flex;
    align-items: center;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.highlight-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-info h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.highlight-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.highlight-info ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-family: 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
}

.highlight-info ul li:before {
    content: "•";
    color: var(--g-brand-500, #2c7a5b);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Featured Product */
.featured-product {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    align-items: stretch;
}

.product-carousel {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: none;
}

.carousel-image.active {
    display: block;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: var(--g-brand-500, #2c7a5b);
}

.thumbnail:hover {
    border-color: var(--g-brand-700, #225f47);
}

.product-details {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-details h2 {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.product-details .sku {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.product-details .price {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-details .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.product-details .new-price {
    color: var(--g-brand-500, #2c7a5b);
    font-weight: 600;
}

.product-details .buy-button {
    padding: 16px 40px; /* Вертикальний padding 16px, горизонтальний 40px для ширини */
    background-color: #ffd812; /* Жовтий фон */
    color: #000; /* Чорний текст */
    border: none;
    border-radius: 50px; /* Повне заокруглення */
    font-size: 18px; /* Розмір шрифту */
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
    display: inline-block; /* Для точного контролю ширини */
    text-align: center; /* Центрування тексту */
}

.product-details .buy-button:hover {
    background-color: #FFA41C; /* Помаранчевий при наведенні */
}

.product-details .discount {
    font-size: 14px;
    color: #737373;
    margin-bottom: 10px;
}

.product-details .availability {
    font-size: 14px;
    color: var(--g-brand-500, #2c7a5b);
    font-weight: 500;
    margin-bottom: 10px;
}

.product-details .description {
    font-size: 16px;
    color: #737373;
}

.product-details .description p {
    margin-bottom: 10px;
}
/* Styling for tables in the additional product info section */
.additional-product-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.additional-product-info th,
.additional-product-info td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    font-size: 16px;
    color: #333;
}

.additional-product-info th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: #222;
}

.additional-product-info tr:nth-child(even) {
    background-color: #fdfdfd;
}

.additional-product-info tr:hover {
    background-color: #f5f5f5;
}