/* ========================================================
   FIRELAX - Product Details Page Styles
   ======================================================== */

/* Page Layout */
.product-page {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Below content sections (reviews, related products) */
.product-below-content {
    margin-top: 24px;
    padding-bottom: 20px;
}

.product-section {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.04);
    margin-bottom: 18px;
}

.product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.product-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.product-reviews-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    align-items: start;
}

.product-reviews-summary {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    background: #f9fafb;
}

.product-reviews-summary-score .score-value {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    color: #111827;
}

.product-reviews-summary-score .score-stars {
    margin-top: 6px;
    font-size: 14px;
}

.product-reviews-summary-score .score-count {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.product-review-cta {
    margin-top: 12px;
    font-size: 12px;
}

.product-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fff;
}

.review-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.review-item-stars {
    font-size: 13px;
}

.review-item-date {
    font-size: 12px;
    color: #9ca3af;
}

.review-item-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
    font-size: 13px;
}

.review-item-text {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.65;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.related-product-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s ease;
}

.related-product-card:hover {
    border-color: rgba(254, 175, 57, 0.6);
    box-shadow: 0 8px 24px rgba(254, 175, 57, 0.12);
    transform: translateY(-2px);
}

.related-product-img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.related-product-img img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.related-product-title {
    font-weight: 800;
    color: #111827;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-price {
    margin-top: 4px;
    font-weight: 900;
    color: var(--price-green, #16a34a);
    font-size: 13px;
}

@media (max-width: 991px) {
    .product-reviews-grid {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .product-section {
        padding: 18px;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card Container */
.product-detail-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0,0,0,0.08);
    margin-top: 30px;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Mobile header (title above image) */
.product-mobile-header {
    display: none;
    padding: 28px 22px 8px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    color: #111827;
}

.product-rating-summary:hover {
    text-decoration: underline;
}

.product-rating-value {
    font-weight: 900;
}

.product-rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 12px;
    line-height: 1;
}

.product-rating-count {
    color: #6b7280;
}

/* Image Gallery Section */
.product-gallery {
    padding: 44px;
    padding-inline: 115px;
    min-height: 500px;
    height: 100%;
}

.product-main-image {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    cursor: zoom-in;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 60px rgba(0,0,0,0.12);
}

.product-main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

/* Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: #feaf39;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(254, 175, 57, 0.25);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info {
    display: inline-grid;
    padding: 40px 36px;
    background: #ffffff;
    height: 100%;
    position: relative;
}

.product-header--desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 19px;
    border: 1px solid #e5e7eb;
    background: #191919e8;
    border-radius: 20px;
    margin-bottom: -51px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* Category Badge */
.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #feaf39;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(254,175,57,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.product-properties-badges {
    margin-bottom: 12px;
}

.product-property-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 5px;
    margin-right: 2px;
    background: transparent;
    color: #2aaac2;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* Product Title */
.product-title,
.product-title a {
    color: #feaf39 !important;
}

.product-title {
    font-size: clamp(16px, 4vw, 28px);
    font-weight: 800;
    margin-bottom: -40px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    padding: 0 12px;
}

.product-sku {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 18px;
}

.product-header--desktop .product-sku,
.product-mobile-header .product-sku,
.product-mobile-header .product-selected-variant,
.product-header--desktop .product-selected-variant {
    display: none;
}

/* Price Box */
.product-price-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(254, 175, 57, 0.2);
    border-radius: 0;
    padding: 22px;
    margin-bottom: 19px;
    position: relative;
    z-index: 2;
    padding-block-end: 45px;
    overflow: visible;
}

.product-price-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(254,175,57,0.15) 0%, transparent 70%);
}

.product-price-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: -12px;
    margin-bottom: -15px;
    flex-direction: row;
}

.product-price-main {
    flex: 1;
}

.product-price-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-right: 10px;
}

.product-price-sku {
    color: #8b8f97;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.product-price-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.product-price-strikethrough {
    font-size: 18px;
    color: #6b7280;
    text-decoration: line-through;
    font-weight: 700;
}

.product-price-label {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-price-value {
    font-size: 38px;
    font-weight: 900;
    color: #111827;
    line-height: 1;
}

.product-price-value small {
    font-size: 22px;
    font-weight: 700;
    color: #374151;
}

.product-price-original {
    text-align: right;
}

.product-price-original-label {
    font-size: 10px;
    color: #a1a1aa;
    text-transform: uppercase;
}

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

/* Omnibus-Richtlinie Preishinweis */
.omnibus-price-hint {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    line-height: 1.3;
}

.product-discount-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.product-savings {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    background: rgba(5, 150, 105, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
}

.product-tax-info {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 12px;
    color: #6b7280;
}

.product-price-footer {
    display: flex;
    margin-top: 14px;
    padding-top: 0px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.product-price-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.product-price-auxiliary {
    display: flex;
    gap: 14px;
}

.product-tax-info a {
    color: #003481;
    text-decoration: none;
    font-weight: 600;
}

.product-deposit-info {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 4px;
    color: #92400e;
    font-weight: 600;
    font-size: 11px;
}

/* Grundpreis (PAngV) */
.product-base-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding: 6px 12px;
    background: transparent;
    border-radius: 14px;
    font-size: 12px;
    color: #0369a1;
    font-weight: 600;
}

.product-base-price i {
    font-size: 12px;
    color: #0284c7;
}

.product-base-price-value {
    font-weight: 700;
}

.product-info-link {
    color: #feaf39;
    text-decoration: none;
    font-weight: 600;
}

.product-info-link:hover {
    text-decoration: underline;
}

.product-desc-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-desc-title i {
    color: #feaf39;
}

.product-desc-content {
    color: #4b5563;
    line-height: 1.8;
    font-size: 14px;
}

/* Accordion */
.product-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-accordion:hover {
    border-color: #feaf39;
    box-shadow: 0 4px 20px rgba(254, 175, 57, 0.1);
}

.product-accordion-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    transition: background 0.3s ease;
}

.product-accordion-header:hover {
    background: #fffbeb;
}

.product-accordion-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: #111827;
}

.product-accordion-title i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 175, 57, 0.1);
    color: #feaf39;
    border-radius: 9px;
    font-size: 14px;
}

.product-accordion-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.product-accordion.open .product-accordion-icon {
    transform: rotate(180deg);
    background: #feaf39;
    color: #fff;
}

.product-accordion-content {
    display: none;
    padding: 0 20px 18px 68px;
    color: #4b5563;
    line-height: 1.8;
    white-space: pre-line;
}

.product-accordion.open .product-accordion-content {
    display: block;
}

.product-accordion-content--richtext {
    white-space: normal;
}

.product-accordion-content--richtext :is(p, ul, ol) {
    margin-bottom: 0.95rem;
}

.product-accordion-content--richtext :is(table, .nutrition-data-table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.product-accordion-content--richtext :is(th, td) {
    padding: 12px 14px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.product-accordion-content--richtext thead th {
    background: #f9fafb;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.product-accordion-content--richtext tbody th {
    background: #fcfcfd;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
}

.product-accordion-content--richtext tr:last-child th,
.product-accordion-content--richtext tr:last-child td {
    border-bottom: none;
}

.product-accordion-content--nutrition {
    overflow-x: auto;
    color: #f3f4f6;
}

.product-accordion-content--nutrition .nutrition-multi-tables {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-accordion-content--nutrition :is(.nutrition-table-block, .nutrition-block-html) {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.product-accordion-content--nutrition .nutrition-block-title {
    margin: 0;
    color: #1f2937;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
}

.product-accordion-content--nutrition .nutrition-table-wrapper {
    overflow-x: auto;
    background: linear-gradient(180deg, #20252d 0%, #171b22 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.product-accordion-content--nutrition :is(table, .nutrition-data-table) {
    border-color: rgba(255, 255, 255, 0.08);
    background: #242424;
}

.product-accordion-content--nutrition :is(th, td) {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.product-accordion-content--nutrition thead th {
    background: #0e1014;
    color: #f9fafb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-accordion-content--nutrition thead th:first-child {
    letter-spacing: normal;
    text-transform: none;
}

.product-accordion-content--nutrition tbody th {
    background: #2b2b2b;
    color: #ffffff;
    font-weight: 700;
}

.product-accordion-content--nutrition tbody td {
    background: #242424;
    color: #f8fafc;
}

.product-accordion-content--nutrition tr:last-child th,
.product-accordion-content--nutrition tr:last-child td {
    border-bottom: none;
}

.product-detail-secondary {
    padding: 8px 32px 36px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-secondary-inner {
    max-width: 980px;
    margin: 0 auto;
}

.product-detail-accordions {
    margin-top: 20px;
}

.product-detail-accordions .product-accordion {
    margin-bottom: 14px;
}

/* Action Box */
.product-action-box {
    border-radius: 20px;
    background: #fed288;
    padding: 24px;
    border: 1px solid #e5e7eb;
    margin-top: -52px;
    position: relative;
    z-index: 1;
}

.product-inline-stock {
    font-size: 11px;
    overflow: visible;
    margin-top: -31px;
    padding-bottom: 11px;
}

.product-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
    flex-wrap: nowrap;
    margin-top: 2px;
}

.product-qty-row label {
    font-weight: 600;
    color: #374151;
    margin-top: -6px;
}

.product-qty-controls {
    display: flex;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    overflow-y: clip;
    width: 126px;
    margin-top: 14px;
    margin-left: 107px;
    flex-direction: row;
}

.product-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-qty-btn:hover:not(:disabled) {
    background: #feaf39;
    color: white;
}

.product-qty-btn:disabled {
    color: #5a5b5d;
    cursor: not-allowed;
}

.product-qty-btn--left {
    border-radius: 10px 0 0 10px;
}

.product-qty-btn--right {
    border-radius: 0 10px 10px 0;
}

.product-qty-input {
    width: 64px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    border: none;
    outline: none;
    -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Buttons */
.product-btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.product-btn-row--stacked {
    margin-top: 6px;
}

.product-btn-cart {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #feaf39 0%, #f59e0b 100%);
    border: none;
    color: #1a1d23;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(254, 175, 57, 0.35);
}

.product-btn-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(254, 175, 57, 0.45);
}

.product-btn-cart:disabled {
    background: #2e2e2edb;
    cursor: not-allowed;
    box-shadow: none;
}

.product-btn-favorite {
    padding: 6px 60px;
    background: #fef4ca;
    border: 2px solid #fed388;
    color: #9d2828;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-top: 14px;
    align-items: center;
}

.product-btn-favorite:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* Trust Badges */
.product-trust-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 8px;
}

.product-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: transparent;
    border: transparent;
    border-radius: 12px;
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-trust-item i {
    color: #16a34a;
    font-size: 16px;
}

/* Info Cards */
.product-info-cards {
    margin-top: 24px;
}

.product-info-cards--secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 0;
    align-items: start;
}

.product-info-cards--secondary .product-info-card {
    margin-bottom: 0;
}

.product-info-cards--desktop-only {
    display: block;
}

.product-info-cards--mobile-only {
    display: none;
}

/* Info cards under the gallery (left column) */
.product-info-cards--gallery {
    margin-top: 20px;
}

.product-info-cards--gallery .product-info-card {
    padding: 16px 18px;
    margin-bottom: 12px;
}

.product-info-cards--gallery .product-info-card-title {
    font-size: 14px;
    margin-bottom: 6px;
}

.product-info-cards--gallery .product-info-card-text {
    font-size: 12.5px;
}

.product-info-card {
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
}

.product-info-card.shipping {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.product-info-card.returns {
    background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.product-info-card-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-info-card.shipping .product-info-card-title i {
    color: #3b82f6;
}

.product-info-card.returns .product-info-card-title i {
    color: #eab308;
}

.product-info-card-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

.product-info-card-text .highlight {
    font-weight: 700;
    color: #059669;
}

/* Info card dropdown toggle */
.product-info-card-toggle {
    cursor: pointer;
    user-select: none;
    justify-content: space-between;
    margin-bottom: 0;
}

.product-info-card-arrow {
    font-size: 16px;
    color: #6b7280;
    transition: transform 0.25s ease;
    display: inline-block;
    line-height: 1;
    flex-shrink: 0;
}

.product-info-card.open .product-info-card-arrow {
    transform: rotate(180deg);
}

.product-info-card-toggle ~ .product-info-card-text {
    display: none;
    margin-top: 10px;
}

.product-info-card.open .product-info-card-text {
    display: block;
}

/* Lightbox */
.product-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 9999;
    cursor: zoom-out;
}

.product-lightbox-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.product-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.product-lightbox-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 991px) {
    .product-mobile-header {
        display: block;
    }

    .product-header--desktop {
        display: none;
    }

    .product-info {
        padding: 28px 22px;
    }
    
    .product-title {
        font-size: clamp(16px, 4vw, 24px);
    }
    
    .product-price-value {
        font-size: 32px;
    }
    
    .product-gallery {
        min-height: auto;
        padding: 22px;
        padding-inline: 22px;
        height: auto;
    }

    .product-info {
        height: auto;
    }

    .product-detail-secondary {
        padding: 0 22px 28px;
    }

    .product-detail-secondary-inner {
        max-width: none;
    }

    .product-info-cards--secondary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .product-detail-card {
        border-radius: 0;
        margin-top: 0;
    }
    
    .product-info {
        padding: 28px 20px;
    }
    
    .product-price-row {
        flex-direction: column;
        gap: 16px;
    }

    .product-price-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-stock-badge {
        align-self: flex-start;
    }
    
    .product-price-original {
        text-align: left;
    }
    
    .product-btn-row {
        flex-direction: column;
    }
    
    .product-btn-cart,
    .product-btn-favorite {
        width: 100%;
    }
    
    .product-trust-row {
        justify-content: center;
    }
    
    .product-action-box {
        padding: 24px 20px;
        border-radius: 16px;
    }

    /* Qty-Zeile: Wrapping erlauben damit btn-favorite (100% breit auf Mobile) in zweite Zeile rutscht */
    .product-qty-row {
        flex-wrap: wrap;
    }

    /* Qty-Controls: breiter für 48px-Touch-Buttons (mobile-native-app) */
    .product-qty-controls {
        width: 160px;
    }

    /* Stock-Badge: negatives margin-top entfernen, das in die Qty-Controls einbricht */
    .product-inline-stock {
        margin-top: 0;
        margin-bottom: 6px;
    }

    .product-detail-secondary {
        padding: 0 20px 24px;
        padding-top: 16px;
    }
}

@media (max-width: 575px) {
    .product-mobile-header {
        padding: 22px 16px 8px;
    }

    .product-info {
        padding: 22px 16px;
    }

    .product-detail-secondary {
        padding: 0 16px 20px;
    }

    .product-title {
        font-size: clamp(14px, 4.5vw, 20px);
    }

    .product-price-value {
        font-size: 28px;
    }

    .product-accordion-content {
        padding: 0 16px 16px 20px;
    }

    .product-accordion-header {
        padding: 16px;
    }

    .product-category-badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    .product-tax-info {
        font-size: 12px;
    }

    .product-trust-row {
        flex-direction: column;
        gap: 10px;
    }

    .product-trust-item {
        width: 100%;
        justify-content: center;
    }

    .product-qty-row {
        justify-content: space-between;
    }

    .product-qty-controls {
        margin-left: 0;
        margin-top: 0;
    }

    .product-btn-favorite {
        padding: 6px 20px;
        margin-left: 0;
    }

    /* Beschreibungs-Inhalte mobil anpassen */
    .product-desc-content .content-box {
        padding: 16px;
    }

    .product-desc-content .headline {
        font-size: 18px;
    }

    .product-desc-content table {
        font-size: 12px;
    }

    .product-desc-content table th,
    .product-desc-content table td {
        padding: 8px 6px;
    }

    /* Related Products: 2 Spalten auf kleinen Phones */
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .related-product-card {
        padding: 10px;
    }

    .related-product-title {
        font-size: 12px;
    }

    /* Gallery-Thumbnails kleiner */
    .product-thumbnails {
        gap: 8px;
    }

    .product-thumbnail {
        width: 50px;
        height: 50px;
    }

    /* Lightbox Arrows größere Touch-Targets */
    .product-lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* ========================================================
   PRODUCT DESCRIPTION - Custom Content Styles
   These classes support rich HTML descriptions from suppliers
   ======================================================== */

.product-desc-content .content-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-desc-content .headline {
    font-size: 22px;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-desc-content .intro {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}

.product-desc-content .highlight {
    color: #ff6b35;
    font-weight: 600;
}

.product-desc-content .feature-list {
    margin: 20px 0;
    padding-left: 24px;
    list-style: none;
}

.product-desc-content .feature-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 8px;
    line-height: 1.6;
    color: #374151;
}

.product-desc-content .feature-list li::before {
    content: "?";
    position: absolute;
    left: -20px;
    color: #10b981;
    font-weight: 700;
}

.product-desc-content .brand {
    margin-top: 24px;
    font-size: 13px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

/* Additional description utility classes */
.product-desc-content .product-highlight-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
}

.product-desc-content .product-warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
}

.product-desc-content .product-info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 16px 0;
}

.product-desc-content h2,
.product-desc-content h3,
.product-desc-content h4 {
    color: #111827;
    margin-top: 20px;
    margin-bottom: 12px;
}

.product-desc-content h2 { font-size: 20px; font-weight: 700; }
.product-desc-content h3 { font-size: 17px; font-weight: 600; }
.product-desc-content h4 { font-size: 15px; font-weight: 600; }

.product-desc-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.product-desc-content table th,
.product-desc-content table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.product-desc-content table th {
    background: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.product-desc-content table tr:hover td {
    background: #f9fafb;
}
