.fallback-product-detail {
    font-family: 'Poppins', sans-serif;
}
.fallback-product-detail .cart-summary {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    text-align: right;
    font-weight: 600;
}
.fallback-product-detail .hero {
    background: linear-gradient(135deg, #7d2ae8, #db2777);
    color: white;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}
.fallback-product-detail .hero .container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .fallback-product-detail .hero .container {
        flex-direction: row;
    }
}
.fallback-product-detail .gallery {
    width: 100%;
}
@media (min-width: 1024px) {
    .fallback-product-detail .gallery {
        width: 50%;
    }
}
.fallback-product-detail .breadcrumb {
    font-size: 0.875rem;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.fallback-product-detail .breadcrumb a {
    color: white;
    text-decoration: none;
}
.fallback-product-detail .breadcrumb a:hover {
    text-decoration: underline;
}
.fallback-product-detail .main-image {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.fallback-product-detail .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fallback-product-detail .thumbnail-list {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.fallback-product-detail .thumbnail {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: default;
    border: 2px solid transparent;
}
.fallback-product-detail .thumbnail.active {
    border-color: #7d2ae8;
}
.fallback-product-detail .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fallback-product-detail .info {
    width: 100%;
}
@media (min-width: 1024px) {
    .fallback-product-detail .info {
        width: 50%;
    }
}
.fallback-product-detail .info h1 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .fallback-product-detail .info h1 {
        font-size: 2.25rem;
    }
}
.fallback-product-detail .category-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.fallback-product-detail .category-tag i {
    font-size: 1rem;
}
.fallback-product-detail .category-tag a {
    color: white;
    text-decoration: none;
}
.fallback-product-detail .category-tag a:hover {
    text-decoration: underline;
}
.fallback-product-detail .rating-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.fallback-product-detail .stars {
    display: flex;
    color: #fbbf24;
}
.fallback-product-detail .stars .star-white {
    color: rgba(255,255,255,0.5);
}
.fallback-product-detail .rating-value {
    font-weight: 600;
}
.fallback-product-detail .rating-count {
    opacity: 0.8;
}
.fallback-product-detail .price-block {
    margin-bottom: 1rem;
}
.fallback-product-detail .current-price {
    font-size: 1.875rem;
    font-weight: 700;
}
.fallback-product-detail .old-price {
    font-size: 1.25rem;
    opacity: 0.7;
    text-decoration: line-through;
    margin-left: 0.75rem;
}
.fallback-product-detail .discount-badge {
    background: #ef4444;
    color: white;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    margin-left: 0.75rem;
}
.fallback-product-detail .description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}
.fallback-product-detail .stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left-width: 4px;
}
.fallback-product-detail .stock-info.green {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}
.fallback-product-detail .stock-info.yellow {
    background: #fef3c7;
    color: #92400e;
    border-left-color: #f59e0b;
}
.fallback-product-detail .stock-info.red {
    background: #fee2e2;
    color: #b91c1c;
    border-left-color: #ef4444;
}
.fallback-product-detail .stock-info .icon {
    font-size: 1.25rem;
}
.fallback-product-detail .stock-info .text {
    font-weight: 600;
}
.fallback-product-detail .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.fallback-product-detail .quantity-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.1);
    padding: 0.75rem;
    border-radius: 0.5rem;
}
.fallback-product-detail .quantity-box .label {
    font-weight: 600;
}
.fallback-product-detail .quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
}
.fallback-product-detail .quantity-controls .qty-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d2ae8;
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: default;
}
.fallback-product-detail .quantity-controls .qty-value {
    width: 3rem;
    text-align: center;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    padding: 0.25rem 0;
    color: #1f2937;
}
.fallback-product-detail .btn-cart {
    flex: 1;
    background: white;
    color: #7d2ae8;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    text-align: center;
    transition: box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.fallback-product-detail .btn-cart:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.fallback-product-detail .btn-wishlist {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.fallback-product-detail .btn-wishlist.active {
    background: #ef4444;
    border-color: #ef4444;
}
.fallback-product-detail .btn-wishlist:hover {
    background: white;
    color: #7d2ae8;
}
.fallback-product-detail .btn-wishlist.active:hover {
    background: #ef4444;
    color: white;
}
.fallback-product-detail .tabs-section {
    padding: 4rem 0;
    background: #f9fafb;
}
.fallback-product-detail .tabs-section .container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}
.fallback-product-detail .tab-buttons {
    display: flex;
    gap: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}
.fallback-product-detail .tab-btn {
    padding-bottom: 0.5rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    font-weight: 600;
    text-transform: capitalize;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #6b7280;
}
.fallback-product-detail .tab-btn.active {
    color: #7d2ae8;
    border-bottom: 2px solid #7d2ae8;
}
.fallback-product-detail .tab-pane {
    display: none;
}
.fallback-product-detail .tab-pane.active {
    display: block;
}
.fallback-product-detail .specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .fallback-product-detail .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.fallback-product-detail .spec-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}
.fallback-product-detail .spec-label {
    font-weight: 600;
}
.fallback-product-detail .reviews-summary {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
@media (min-width: 768px) {
    .fallback-product-detail .reviews-summary {
        flex-direction: row;
    }
}
.fallback-product-detail .summary-left {
    text-align: center;
}
@media (min-width: 768px) {
    .fallback-product-detail .summary-left {
        width: 12rem;
    }
}
.fallback-product-detail .summary-left .big-rating {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7d2ae8;
}
.fallback-product-detail .summary-left .stars {
    justify-content: center;
    margin: 0.5rem 0;
}
.fallback-product-detail .summary-left .count {
    font-size: 0.875rem;
    color: #6b7280;
}
.fallback-product-detail .summary-right {
    flex: 1;
}
.fallback-product-detail .rating-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}
.fallback-product-detail .rating-bar .stars-label {
    width: 4rem;
}
.fallback-product-detail .progress-bar {
    flex: 1;
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}
.fallback-product-detail .progress-fill {
    height: 100%;
    background: #fbbf24;
}
.fallback-product-detail .percentage {
    width: 3rem;
    text-align: right;
}
.fallback-product-detail .review-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.fallback-product-detail .review-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 1.5rem;
}
.fallback-product-detail .review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.fallback-product-detail .review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #7d2ae8, #db2777);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}
.fallback-product-detail .review-author {
    font-weight: 600;
}
.fallback-product-detail .review-stars {
    display: flex;
    color: #fbbf24;
    font-size: 0.875rem;
}
.fallback-product-detail .review-stars .gray {
    color: #d1d5db;
}
.fallback-product-detail .review-comment {
    color: #374151;
}
.fallback-product-detail .review-date {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}
.fallback-product-detail .similar-products {
    padding: 4rem 0;
    background: white;
}
.fallback-product-detail .similar-products .container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}
.fallback-product-detail .similar-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #7d2ae8, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fallback-product-detail .similar-subtitle {
    text-align: center;
    color: #4b5563;
    margin-bottom: 2.5rem;
}
.fallback-product-detail .similar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .fallback-product-detail .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .fallback-product-detail .similar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.fallback-product-detail .similar-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.fallback-product-detail .similar-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
.fallback-product-detail .similar-card .image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}
.fallback-product-detail .similar-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.fallback-product-detail .similar-card:hover .image img {
    transform: scale(1.1);
}
.fallback-product-detail .similar-card .badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}
.fallback-product-detail .similar-card .content {
    padding: 1rem;
}
.fallback-product-detail .similar-card .name {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fallback-product-detail .similar-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #7d2ae8;
    margin-bottom: 0.5rem;
}
.fallback-product-detail .similar-card .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.fallback-product-detail .similar-card .stars {
    display: flex;
    color: #fbbf24;
}
.fallback-product-detail .similar-card .stars .gray {
    color: #d1d5db;
}
.fallback-product-detail .similar-card .rating-value {
    color: #4b5563;
}
.fallback-product-detail .similar-card .view-btn {
    display: block;
    background: linear-gradient(135deg, #7d2ae8, #db2777);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: box-shadow 0.2s;
}
.fallback-product-detail .similar-card .view-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
