.product-detail-section {
    padding: 40px 0 60px;
    background: var(--ivory);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.gallery-main {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.thumb {
    width: 80px;
    height: 80px;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: var(--transition);
}

.thumb.active,
.thumb:hover {
    border-color: var(--navy-deep);
}

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

.product-header {
    margin-bottom: 24px;
}

.product-brand {
    display: block;
    font-size: 13px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.product-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 32px;
    font-weight: normal;
    color: var(--navy-deep);
    line-height: 1.3;
    margin-bottom: 16px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stars {
    color: var(--accent);
    font-size: 14px;
}

.rating-count {
    font-size: 13px;
    color: var(--slate);
}

.stock-status {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-status.in-stock {
    color: #2e7d32;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cream-dark);
}

.price-main {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 36px;
    color: var(--navy-deep);
}

.price-old {
    font-size: 20px;
    color: var(--silver);
    text-decoration: line-through;
}

.price-sale {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 36px;
    color: #c62828;
}

.price-save {
    padding: 4px 12px;
    background: #c62828;
    color: var(--white);
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.product-sku {
    font-size: 13px;
    color: var(--slate);
    margin-bottom: 20px;
}

.product-short-desc {
    margin-bottom: 24px;
}

.product-short-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
}

.key-specs {
    background: var(--cream);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.key-specs h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-dark);
    color: var(--slate);
}

.specs-list li:last-child {
    border-bottom: none;
}

.specs-list strong {
    color: var(--charcoal);
}

.product-actions {
    display: flex !important;
    gap: 12px;
    margin-bottom: 24px;
    overflow: visible;
}

.quantity-selector {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--cream);
}

.quantity-selector label {
    padding: 0 12px;
    font-size: 13px;
    color: var(--slate);
    background: var(--cream);
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--cream);
    color: var(--charcoal);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--navy-deep);
    color: var(--cream);
}

.quantity-selector input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--cream-dark);
    border-right: 1px solid var(--cream-dark);
    text-align: center;
    font-size: 14px;
    background: var(--white);
    -moz-appearance: textfield;
}

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

.btn-add-cart {
    flex: 1;
}

.btn-wishlist {
    padding: 14px 20px !important;
    background: transparent !important;
    border: 1px solid var(--navy-deep) !important;
    color: var(--navy-deep) !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: static !important;
    width: auto !important;
    height: auto !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: none !important;
    z-index: auto !important;
}

.btn-wishlist i {
    color: var(--navy-deep) !important;
}

.btn-wishlist.wishlist-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--cream);
}

.btn-wishlist.wishlist-btn.active i {
    color: var(--cream);
}

.product-trust {
    display: flex;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--slate);
}

.trust-item i {
    color: var(--accent);
}

.product-tabs-section {
    background: var(--white);
    padding: 60px 0;
}

.product-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--cream-dark);
    margin-bottom: 40px;
}

.tab-btn {
    padding: 16px 32px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    color: var(--slate);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--navy-deep);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--navy-deep);
}

.tab-btn.active {
    color: var(--navy-deep);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.description-content h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 24px;
    color: var(--navy-deep);
    margin-bottom: 20px;
}

.description-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 16px;
}

.description-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.description-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 8px;
}

.description-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 18px;
    color: var(--navy-deep);
    margin: 24px 0 12px;
}

.specifications-table-wrapper h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 20px;
    color: var(--navy-deep);
    margin-bottom: 20px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--cream-dark);
}

.specs-table th,
.specs-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

.specs-table th {
    width: 40%;
    background: var(--cream);
    color: var(--charcoal);
    font-weight: normal;
}

.specs-table td {
    color: var(--slate);
}

.shipping-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 18px;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.shipping-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--slate);
    margin-bottom: 16px;
}

.related-products-section {
    padding: 60px 0;
    background: var(--ivory);
}

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

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-link {
    display: block;
}

.product-image-link {
    display: block;
}

.product-name-link {
    text-decoration: none;
    color: inherit;
}

.product-name-link:hover .product-name {
    color: var(--green-hover, #2d8a4e);
}

.product-image-wrapper {
    position: relative;
    height: 240px;
    background: var(--cream);
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 1;
}

.product-badge.new {
    background: var(--green-accent);
    color: var(--cream);
}

.product-badge.featured {
    background: var(--accent);
    color: var(--cream);
}

.product-info {
    padding: 18px;
}

.product-category {
    display: block;
    font-size: 11px;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.price-current {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy-deep);
}

.price-original {
    font-size: 14px;
    color: var(--silver);
    text-decoration: line-through;
}

.product-specs-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.spec-tag {
    display: inline-block;
    padding: 3px 8px;
    background: var(--cream);
    border: 1px solid var(--gold-light);
    border-radius: 12px;
    color: var(--slate);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.spec-tag:hover {
    background: var(--gold-light);
    color: var(--navy-deep);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1;
}

.wishlist-btn:hover {
    background: var(--accent);
    color: var(--cream);
}

.wishlist-btn .far {
    font-size: 16px;
    color: var(--charcoal);
}

.wishlist-btn:hover .far {
    color: var(--cream);
}

.wishlist-btn.active {
    background: var(--accent);
    color: var(--cream);
}

.wishlist-btn.active .far {
    color: var(--cream);
}

.related-articles-section {
    padding: 60px 0;
    background: var(--white);
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card a {
    display: block;
}

.article-image {
    height: 180px;
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 0 4px;
}

.article-date {
    font-size: 12px;
    color: var(--silver);
}

.article-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: var(--charcoal);
    margin: 8px 0;
    line-height: 1.4;
}

.article-content p {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.6;
}

.internal-links-section {
    padding: 40px 0;
    background: var(--cream);
}

.internal-links-section h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 18px;
    color: var(--navy-deep);
    margin-bottom: 20px;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.links-grid a {
    padding: 8px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--navy-deep);
    transition: var(--transition);
}

.links-grid a:hover {
    background: var(--navy-deep);
    color: var(--cream);
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

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

@media (max-width: 768px) {
    .product-detail-section {
        padding: 24px 0 40px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-actions {
        flex-direction: column;
    }

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

    .product-tabs {
        overflow-x: auto;
    }

    .tab-btn {
        padding: 12px 20px;
        white-space: nowrap;
    }

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

    .related-products-section,
    .related-articles-section {
        padding: 40px 0;
    }

    .internal-links-section {
        padding: 30px 0;
    }

    .product-tabs-section {
        padding: 40px 0;
    }
}
