/**
 * Single Product Page Styles - 24H Pneus
 *
 * Premium BOLD design for tyre product pages
 * BEM naming convention
 * Mobile-first responsive design
 *
 * @package 24hpneus
 * @version 1.0.0
 */

/* =============================================================================
   CSS Variables
   ============================================================================= */
:root {
    --sp-primary: #e63946;
    --sp-primary-dark: #c1121f;
    --sp-primary-light: #fce4e6;
    --sp-secondary: #1d3557;
    --sp-success: #2a9d8f;
    --sp-warning: #e9c46a;
    --sp-danger: #e63946;
    --sp-info: #457b9d;

    --sp-text-primary: #1a1a1a;
    --sp-text-secondary: #6b7280;
    --sp-text-muted: #9ca3af;

    --sp-bg-primary: #ffffff;
    --sp-bg-secondary: #f8f9fa;
    --sp-bg-tertiary: #f1f3f5;

    --sp-border-color: #e5e7eb;
    --sp-border-radius: 12px;
    --sp-border-radius-sm: 8px;
    --sp-border-radius-lg: 16px;

    --sp-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --sp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --sp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --sp-transition: all 0.3s ease;
    --sp-transition-fast: all 0.15s ease;

    /* EU Label Colors */
    --eu-a: #00a651;
    --eu-b: #50b848;
    --eu-c: #b5d333;
    --eu-d: #fff200;
    --eu-e: #f7941d;
    --eu-f: #ed1c24;
    --eu-g: #be1e2d;
}

/* =============================================================================
   Breadcrumb
   ============================================================================= */
.tf-breadcrumb {
    padding: 15px 0;
    background: var(--sp-bg-secondary);
    border-bottom: 1px solid var(--sp-border-color);
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-item {
    color: var(--sp-text-secondary);
}

.breadcrumb-item a {
    color: var(--sp-text-secondary);
    text-decoration: none;
    transition: var(--sp-transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--sp-primary);
}

.breadcrumb-item:last-child {
    color: var(--sp-text-primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--sp-text-muted);
    font-size: 10px;
}

/* =============================================================================
   Main Product Section
   ============================================================================= */
.tf-product-section {
    padding: 40px 0 60px;
}

/* =============================================================================
   Product Media (Gallery)
   ============================================================================= */
.tf-product-media {
    position: relative;
}

.tf-product-media[data-sticky="true"] {
    position: sticky;
    top: 100px;
}

/* Badges */
.tf-product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tf-product-badges .badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff;
}

.badge--sale {
    background: var(--sp-primary);
}

.badge--new {
    background: var(--sp-success);
}

.badge--low-stock {
    background: var(--sp-warning);
    color: var(--sp-text-primary);
}

.badge--runflat {
    background: var(--sp-secondary);
}

/* Main Image */
.tf-product-media__main {
    margin-bottom: 15px;
}

.tf-product-media__image {
    position: relative;
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: zoom-in;
}

.tf-product-media__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.tf-product-media__image:hover .tf-product-media__img {
    transform: scale(1.05);
}

.tf-product-media__zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 12px;
    color: var(--sp-text-secondary);
    opacity: 0;
    transition: var(--sp-transition);
}

.tf-product-media__image:hover .tf-product-media__zoom-hint {
    opacity: 1;
}

/* Thumbnails */
.tf-product-media__thumbs {
    padding: 0 5px;
}

.tf-product-thumb {
    border: 2px solid transparent;
    border-radius: var(--sp-border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--sp-transition-fast);
    aspect-ratio: 1;
    background: var(--sp-bg-secondary);
}

.tf-product-thumb:hover,
.tf-product-thumb.active {
    border-color: var(--sp-primary);
}

.tf-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =============================================================================
   Product Info
   ============================================================================= */
.tf-product-info {
    padding-left: 20px;
}

/* Header (Brand & Season) */
.tf-product-info__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.tf-product-brand__logo {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
}

.tf-product-brand__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tf-product-season {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tf-product-season--summer {
    background: #fff3cd;
    color: #856404;
}

.tf-product-season--winter {
    background: #cce5ff;
    color: #004085;
}

.tf-product-season--allseason {
    background: #d4edda;
    color: #155724;
}

.tf-product-season__icon {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}

.tf-product-season--summer .tf-product-season__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23856404'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v3M12 20v3M4.22 4.22l2.12 2.12M17.66 17.66l2.12 2.12M1 12h3M20 12h3M4.22 19.78l2.12-2.12M17.66 6.34l2.12-2.12' stroke='%23856404' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tf-product-season--winter .tf-product-season__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004085'%3E%3Cpath d='M12 2v20M2 12h20M4.93 4.93l14.14 14.14M19.07 4.93L4.93 19.07' stroke='%23004085' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23004085'/%3E%3C/svg%3E");
}

.tf-product-season--allseason .tf-product-season__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23155724'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23155724' stroke-width='2' fill='none'/%3E%3Cpath d='M12 6v6l4 2' stroke='%23155724' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Product Title */
.tf-product-info__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--sp-text-primary);
    margin-bottom: 12px;
}

/* Rating */
.tf-product-info__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tf-rating {
    display: flex;
    gap: 2px;
}

.tf-rating i {
    font-size: 16px;
    color: #ddd;
}

.tf-rating i.active {
    color: #ffc107;
}

.tf-rating i.half {
    color: #ffc107;
    position: relative;
}

.tf-rating i.half::after {
    content: "\e95b";
    font-family: 'icomoon';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #ffc107;
}

.tf-rating__count {
    font-size: 14px;
    color: var(--sp-text-secondary);
    text-decoration: none;
}

.tf-rating__count:hover {
    color: var(--sp-primary);
    text-decoration: underline;
}

/* Price Block */
.tf-product-info__price {
    background: linear-gradient(135deg, var(--sp-primary-light) 0%, #fff 100%);
    border: 2px solid var(--sp-primary);
    border-radius: var(--sp-border-radius);
    padding: 20px;
    margin-bottom: 25px;
}

.tf-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.tf-price__old {
    font-size: 18px;
    color: var(--sp-text-muted);
    text-decoration: line-through;
}

.tf-price__current {
    font-size: 36px;
    font-weight: 800;
    color: var(--sp-primary);
    line-height: 1;
}

.tf-price__discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--sp-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
}

.tf-price__unit {
    margin-top: 8px;
    font-size: 13px;
    color: var(--sp-text-secondary);
}

/* =============================================================================
   Tyre Specifications Grid
   ============================================================================= */
.tf-product-specs {
    margin-bottom: 20px;
}

.tf-product-specs__title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sp-text-secondary);
    margin-bottom: 10px;
}

.tf-product-specs__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tf-spec-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--sp-bg-secondary);
    border-radius: 20px;
    transition: var(--sp-transition-fast);
}

.tf-spec-item:hover {
    background: var(--sp-bg-tertiary);
}

.tf-spec-item__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-primary-light);
    border-radius: 50%;
    color: var(--sp-primary);
    font-size: 12px;
    flex-shrink: 0;
}

.tf-spec-item__label {
    font-size: 11px;
    color: var(--sp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tf-spec-item__value {
    font-size: 13px;
    font-weight: 700;
    color: var(--sp-text-primary);
}

/* =============================================================================
   EU Tyre Label
   ============================================================================= */
.tf-eu-label {
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius);
    padding: 15px;
    margin-bottom: 20px;
}

.tf-eu-label__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sp-text-secondary);
    margin-bottom: 12px;
}

.tf-eu-label__info {
    color: var(--sp-info);
    font-size: 16px;
}

.tf-eu-label__grid {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.tf-eu-label__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 70px;
}

.tf-eu-label__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 6px;
    font-size: 18px;
    box-shadow: var(--sp-shadow-sm);
}

.tf-eu-label__item--fuel .tf-eu-label__icon {
    color: var(--eu-b);
}

.tf-eu-label__item--wet .tf-eu-label__icon {
    color: var(--sp-info);
}

.tf-eu-label__item--noise .tf-eu-label__icon {
    color: var(--sp-text-secondary);
}

.tf-eu-label__rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 4px;
}

.tf-eu-label__rating--a { background: var(--eu-a); }
.tf-eu-label__rating--b { background: var(--eu-b); }
.tf-eu-label__rating--c { background: var(--eu-c); color: #333; }
.tf-eu-label__rating--d { background: var(--eu-d); color: #333; }
.tf-eu-label__rating--e { background: var(--eu-e); }
.tf-eu-label__rating--f { background: var(--eu-f); }
.tf-eu-label__rating--g { background: var(--eu-g); }

.tf-eu-label__waves {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.tf-eu-label__waves .wave {
    width: 8px;
    height: 16px;
    background: var(--sp-border-color);
    border-radius: 2px;
}

.tf-eu-label__waves .wave.active {
    background: var(--sp-text-primary);
}

.tf-eu-label__desc {
    font-size: 11px;
    color: var(--sp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================================================
   Product Form (Quantity & Add to Cart)
   ============================================================================= */
.tf-product-form {
    margin-bottom: 25px;
}

.tf-product-form__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tf-product-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-text-secondary);
    margin-bottom: 8px;
}

/* Quantity Selector */
.tf-product-form__quantity {
    display: flex;
    flex-direction: column;
}

.tf-quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--sp-border-color);
    border-radius: var(--sp-border-radius-sm);
    overflow: hidden;
    background: #fff;
}

.tf-quantity__btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 300;
    color: var(--sp-text-secondary);
    transition: var(--sp-transition-fast);
    user-select: none;
}

.tf-quantity__btn span {
    line-height: 1;
}

.tf-quantity__btn:hover {
    background: var(--sp-primary);
    color: #fff;
}

.tf-quantity__input {
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--sp-border-color);
    border-right: 1px solid var(--sp-border-color);
    font-size: 18px;
    font-weight: 600;
    color: var(--sp-text-primary);
}

.tf-quantity__input:focus {
    outline: none;
}

.tf-product-form__hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--sp-text-muted);
    font-style: italic;
}

/* Add to Cart Button */
.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--sp-border-radius-sm);
    cursor: pointer;
    transition: var(--sp-transition);
    text-decoration: none;
}

.tf-btn--primary {
    background: var(--sp-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
}

.tf-btn--primary:hover {
    background: var(--sp-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

.tf-btn--large {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
}

.tf-btn--outline {
    background: transparent;
    border: 2px solid var(--sp-border-color);
    color: var(--sp-text-primary);
}

.tf-btn--outline:hover {
    border-color: var(--sp-primary);
    color: var(--sp-primary);
}

.tf-btn--add-to-cart {
    position: relative;
    overflow: hidden;
}

.tf-btn--add-to-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.tf-btn--add-to-cart:active::before {
    width: 300px;
    height: 300px;
}

/* Unavailable State */
.tf-product-form__unavailable {
    text-align: center;
    padding: 30px;
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius);
}

.tf-product-form__unavailable p {
    margin: 15px 0 20px;
    color: var(--sp-text-secondary);
}

/* =============================================================================
   Stock & Delivery Info
   ============================================================================= */
.tf-product-delivery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius);
    margin-bottom: 20px;
}

.tf-delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--sp-text-primary);
}

.tf-delivery-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.tf-delivery-item--stock i {
    color: var(--sp-success);
}

.tf-delivery-item--shipping i {
    color: var(--sp-info);
}

.tf-delivery-item--mounting i {
    color: var(--sp-secondary);
}

/* Stock Badge */
.tf-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tf-stock-badge--in {
    background: rgba(42, 157, 143, 0.1);
    color: var(--sp-success);
}

.tf-stock-badge--out {
    background: rgba(230, 57, 70, 0.1);
    color: var(--sp-danger);
}

/* =============================================================================
   Trust Badges
   ============================================================================= */
.tf-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.tf-trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff;
    border: 1px solid var(--sp-border-color);
    border-radius: var(--sp-border-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--sp-text-primary);
    transition: var(--sp-transition-fast);
}

.tf-trust-badge:hover {
    border-color: var(--sp-primary);
    background: var(--sp-primary-light);
}

.tf-trust-badge i {
    font-size: 20px;
    color: var(--sp-success);
}

/* =============================================================================
   Payment Icons
   ============================================================================= */
.tf-payment-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--sp-border-color);
    margin-bottom: 15px;
}

.tf-payment-icons__label {
    font-size: 12px;
    color: var(--sp-text-muted);
    white-space: nowrap;
}

.tf-payment-icons__list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tf-payment-icons__list img {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: var(--sp-transition-fast);
}

.tf-payment-icons__list img:hover {
    opacity: 1;
}

/* =============================================================================
   Product Meta (SKU, Categories)
   ============================================================================= */
.tf-product-meta {
    padding-top: 15px;
    border-top: 1px solid var(--sp-border-color);
}

.tf-product-meta__item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.tf-product-meta__label {
    color: var(--sp-text-muted);
}

.tf-product-meta__value {
    color: var(--sp-text-secondary);
}

.tf-product-meta__value a {
    color: var(--sp-text-secondary);
    text-decoration: none;
}

.tf-product-meta__value a:hover {
    color: var(--sp-primary);
}

/* =============================================================================
   SEO Content Sections
   ============================================================================= */
.tf-product-content {
    padding: 60px 0;
    background: var(--sp-bg-secondary);
}

.tf-content-block {
    background: #fff;
    border-radius: var(--sp-border-radius-lg);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--sp-shadow-sm);
}

.tf-content-block:last-child {
    margin-bottom: 0;
}

.tf-content-block__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--sp-text-primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--sp-primary);
    display: inline-block;
}

.tf-content-block__body {
    color: var(--sp-text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.tf-content-block__body p {
    margin-bottom: 15px;
}

.tf-content-block__body p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   Advantages Grid
   ============================================================================= */
.tf-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tf-advantage-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius);
    transition: var(--sp-transition);
}

.tf-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sp-shadow-lg);
}

.tf-advantage-card__icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-primary-light);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--sp-primary);
}

.tf-advantage-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-text-primary);
    margin-bottom: 10px;
}

.tf-advantage-card__desc {
    font-size: 14px;
    color: var(--sp-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================================
   Specifications Table
   ============================================================================= */
.tf-specs-table {
    overflow: hidden;
    border-radius: var(--sp-border-radius);
    border: 1px solid var(--sp-border-color);
}

.tf-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.tf-specs-table tr {
    border-bottom: 1px solid var(--sp-border-color);
}

.tf-specs-table tr:last-child {
    border-bottom: none;
}

.tf-specs-table tr:nth-child(even) {
    background: var(--sp-bg-secondary);
}

.tf-specs-table th,
.tf-specs-table td {
    padding: 15px 20px;
    text-align: left;
    font-size: 14px;
}

.tf-specs-table th {
    width: 40%;
    font-weight: 600;
    color: var(--sp-text-secondary);
    background: var(--sp-bg-tertiary);
}

.tf-specs-table td {
    color: var(--sp-text-primary);
    font-weight: 500;
}

/* Rating Badge in Table */
.tf-rating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
}

.tf-rating-badge--a { background: var(--eu-a); }
.tf-rating-badge--b { background: var(--eu-b); }
.tf-rating-badge--c { background: var(--eu-c); color: #333; }
.tf-rating-badge--d { background: var(--eu-d); color: #333; }
.tf-rating-badge--e { background: var(--eu-e); }

/* =============================================================================
   FAQ Accordion
   ============================================================================= */
.tf-faq__accordion {
    border: 1px solid var(--sp-border-color);
    border-radius: var(--sp-border-radius);
    overflow: hidden;
}

.tf-faq__item {
    border-bottom: 1px solid var(--sp-border-color);
}

.tf-faq__item:last-child {
    border-bottom: none;
}

.tf-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--sp-text-primary);
    cursor: pointer;
    transition: var(--sp-transition-fast);
}

.tf-faq__question:hover {
    background: var(--sp-bg-secondary);
}

.tf-faq__question.active,
.tf-faq__question[aria-expanded="true"] {
    background: var(--sp-primary-light);
    color: var(--sp-primary);
}

.tf-faq__question i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.tf-faq__question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.tf-faq__answer-inner {
    padding: 20px 25px;
    background: var(--sp-bg-secondary);
    color: var(--sp-text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.tf-faq__answer-inner p {
    margin: 0;
}

/* =============================================================================
   Related Products
   ============================================================================= */
.tf-related-products {
    padding: 60px 0;
}

.tf-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sp-text-primary);
    margin-bottom: 30px;
    text-align: center;
}

/* =============================================================================
   Sticky Buy Panel (Desktop)
   ============================================================================= */
.tf-sticky-buy {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: bottom 0.3s ease;
    display: none;
}

.tf-sticky-buy.visible {
    bottom: 0;
}

.tf-sticky-buy__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
}

.tf-sticky-buy__product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tf-sticky-buy__product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--sp-bg-secondary);
    border-radius: var(--sp-border-radius-sm);
}

.tf-sticky-buy__info {
    display: flex;
    flex-direction: column;
}

.tf-sticky-buy__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sp-text-primary);
}

.tf-sticky-buy__size {
    font-size: 13px;
    color: var(--sp-text-secondary);
}

.tf-sticky-buy__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--sp-primary);
}

.tf-sticky-buy__stock {
    display: flex;
    align-items: center;
}

.tf-sticky-buy__btn {
    padding: 14px 30px;
}

/* =============================================================================
   Mobile Sticky Bottom Bar
   ============================================================================= */
.tf-mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 15px;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.tf-mobile-sticky.visible {
    transform: translateY(0);
}

.tf-mobile-sticky__price {
    font-size: 22px;
    font-weight: 700;
    color: var(--sp-primary);
}

.tf-mobile-sticky__btn {
    flex: 1;
    padding: 14px 20px;
}

/* =============================================================================
   Responsive Styles
   ============================================================================= */
@media (min-width: 992px) {
    .tf-sticky-buy {
        display: block;
    }
}

@media (max-width: 1199px) {
    .tf-product-info__title {
        font-size: 24px;
    }

    .tf-price__current {
        font-size: 30px;
    }

    .tf-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .tf-product-section {
        padding: 30px 0 100px;
    }

    .tf-product-media[data-sticky="true"] {
        position: relative;
        top: 0;
    }

    .tf-product-info {
        padding-left: 0;
        margin-top: 30px;
    }

    .tf-mobile-sticky {
        display: flex;
    }

    .tf-content-block {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .tf-product-info__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tf-product-info__title {
        font-size: 20px;
    }

    .tf-price__current {
        font-size: 26px;
    }

    .tf-product-specs__grid {
        gap: 6px;
    }

    .tf-eu-label__grid {
        flex-wrap: wrap;
    }

    .tf-trust-badges {
        grid-template-columns: 1fr;
    }

    .tf-advantages__grid {
        grid-template-columns: 1fr;
    }

    .tf-content-block__title {
        font-size: 20px;
    }

    .tf-specs-table th,
    .tf-specs-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .tf-specs-table th {
        width: 45%;
    }

    .tf-faq__question {
        padding: 15px 20px;
        font-size: 14px;
    }

    .tf-faq__answer-inner {
        padding: 15px 20px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .tf-product-section {
        padding: 20px 0 90px;
    }

    .tf-product-media__zoom-hint {
        display: none;
    }

    .tf-product-specs__grid {
        gap: 5px;
    }

    .tf-spec-item {
        padding: 6px 10px;
    }

    .tf-spec-item__icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .tf-spec-item__label {
        font-size: 9px;
    }

    .tf-spec-item__value {
        font-size: 12px;
    }

    .tf-product-form__form {
        flex-direction: column;
    }

    .tf-btn--large {
        padding: 15px 20px;
        font-size: 15px;
    }
}

/* =============================================================================
   Animation & Effects
   ============================================================================= */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.tf-btn--add-to-cart.adding {
    animation: pulse 0.3s ease;
}

/* Skeleton Loading */
.tf-skeleton {
    background: linear-gradient(90deg, var(--sp-bg-secondary) 25%, var(--sp-bg-tertiary) 50%, var(--sp-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--sp-border-radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States for Accessibility */
.tf-btn:focus,
.tf-quantity__btn:focus,
.tf-faq__question:focus {
    outline: 2px solid var(--sp-primary);
    outline-offset: 2px;
}

.tf-quantity__input:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--sp-primary);
}

/* Print Styles */
@media print {
    .tf-sticky-buy,
    .tf-mobile-sticky,
    .tf-product-form,
    .tf-trust-badges,
    .tf-payment-icons {
        display: none !important;
    }

    .tf-product-section {
        padding: 20px 0;
    }

    .tf-content-block {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
