/* ==========================================================================
   SINGLE PRODUCT PAGE STYLES
   ========================================================================== */

/* Layout & Container */
.product-container {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    background-color: #ffffff;
    min-height: 100vh;
}

.product-container .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .product-container .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .product-container .container {
        padding: 0 2rem;
    }
}

@media (max-width: 640px) {
    .product-container .container {
        padding: 0 0.75rem;
    }
}

.woocommerce-variation{
    display: none!important;
}


/* ==========================================================================
   PRODUCT GALLERY & IMAGE ZOOM
   ========================================================================== */

.product-gallery {
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 0;
}

@media (max-width: 768px) {
    .product-gallery {
        position: relative !important;
        top: auto;
    }
}

.product-main-image,
.dynamic-gallery-container {
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.product-main-image:hover,
.dynamic-gallery-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-main-image img,
.dynamic-gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
    aspect-ratio: 1/1;
}

.product-main-image img:hover:not(.zoomed),
.dynamic-gallery-container img:hover:not(.zoomed) {
    transform: scale(1.03);
}

.product-main-image img.zoomed,
.dynamic-gallery-container img.zoomed {
    transform: scale(2.2);
    cursor: zoom-out;
    z-index: 1000;
    position: relative;
    transition: transform 0.1s ease-out;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    gap: 0.75rem;
    margin-top: 1rem;
}

.gallery-thumb {
    overflow: hidden;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-border);
    transform: translateY(-2px);
}

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

.video-thumb {
    position: relative;
}

.video-thumb::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: inherit;
}


/* ==========================================================================
   PRODUCT INFO & CONTENT
   ========================================================================== */

.product-info-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-title {
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.product-price {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.product-price h2 {
    color: var(--primary-text);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-price h2::before {                                                                                 content: '';
    width: 4px;
    height: 20px;
    background: var(--yellow-background);
}

.price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.price-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--primary-border)
}

.price-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray-background);
}

.price-meta-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-text);
    flex-shrink: 0;
}

.price-meta-content {
    flex: 1;
}

.price-meta-label {
    font-size: 0.75rem;
    color: var(--primary-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.25rem;
}

.price-meta-value {
    font-size: 0.875rem;
    color: var(--primary-text);
    font-weight: 600;
}

/* Stock Status Styling */
.stock.in-stock {
    color: #059669 !important;
    background: rgba(5, 150, 105, 0.1);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stock.in-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #059669;
    border-radius: 50%;
    display: inline-block;
}

.stock.out-of-stock {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.stock.out-of-stock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    display: inline-block;
}

/* WooCommerce Stock Messages - Hide default ones since we have custom design */
.woocommerce-product-details__short-description .stock,
.single_variation_wrap .stock,
.woocommerce .stock,
.woocommerce-variation-availability .stock {
    display: none !important;
}

/* Only show our custom stock design */
.price-meta-value .stock.in-stock,
.price-meta-value .stock.out-of-stock {
    display: inline-flex !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-price {
        padding: 1.5rem;
    }
    
    .price-meta-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .price-meta-item {
        padding: 0.75rem;
    }
    
    .price-meta-icon {
        width: 18px;
        height: 18px;
    }
    
    .price-meta-label {
        font-size: 0.7rem;
    }
    
    .price-meta-value {
        font-size: 0.8rem;
    }
    
    .stock.in-stock,
    .stock.out-of-stock {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 400;
}

.flash-sale-price,
.sale-price {
    color: #dc2626;
    font-size: 1.75rem;
    font-weight: 800;
}

.normal-price {
    color: var(--secondary-background);
    font-size: 1.5rem;
    font-weight: 700;
}

.sale-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
    }
}

/* ==========================================================================
   PRODUCT TABS & ACCORDION
   ========================================================================== */

.product-tabs {
    margin-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
}

.product-tabs nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0.5rem;
}

.tab-button {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    outline: none;
    margin: 0.25rem;
}

.tab-button:hover {
    color: #334155;
    background: rgba(246, 114, 128, 0.1);
    transform: translateY(-1px);
}

.tab-button.active {
    color: #ffffff;
    background: linear-gradient(135deg, #F67280 0%, #C06C84 100%);
    box-shadow: 0 4px 15px rgba(246, 114, 128, 0.4);
}

.tab-content {
    padding: 2rem;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    border: 1px solid #f1f5f9;
    border-top: none;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accordion Styles */
.product-details-accordion {
    overflow: hidden;
}

.product-accordion-item {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.product-accordion-item:last-child {
    border-bottom: none;
}

.product-accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.product-accordion-header:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.product-accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.product-accordion-content {
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

@media (max-width: 640px) {
    .product-tabs nav {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .product-accordion-header {
        padding: 1rem;
    }
    
    .product-accordion-content {
        padding: 0 1rem 1rem;
    }
}

/* ==========================================================================
   PRODUCT FEATURES - Modern Design
   ========================================================================== */

.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0;
    background: transparent;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid #F1BB17;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary-border);
    transform: translateY(-2px);
}

.feature-icon-container {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray-background);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-container {
    background: var(--primary-background);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: #64748b;
    stroke-width: 2;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon {
    color: white;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .product-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon-container {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .feature-icon {
        width: 20px;
        height: 20px;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   RELATED PRODUCTS
   ========================================================================== */

.related-products-section .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.related-products-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    display: block !important;
}

.related-products-section ul.products::before,
.related-products-section ul.products::after {
    display: none !important;
}



/* Ensure product info section styling */
.related-products-section .product-card .p-4 {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Favoriler Butonu Single Product Sayfası İçin */
.single-product-wishlist-container {
    position: relative;
}

.single-product-wishlist-container .wishlist-button {
    width: 100%;
    height:  100%;
    background: var(--background-white);
    border: 2px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.single-product-wishlist-container .wishlist-button:hover {
    border-color: var(--secondary-background);
    background: var(--secondary-background);
    color: var(--white-text);
}

.single-product-wishlist-container .wishlist-button.added-to-wishlist {
    background: var(--secondary-background);
    color: var(--secondary-background);
    border: 2px solid var(--secondary-border);

}

.single-product-wishlist-container .wishlist-button.added-to-wishlist:hover {
    background: var(--primary-background-hover);
}

.single-product-wishlist-container .wishlist-button svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.single-product-wishlist-container .wishlist-button:not(.added-to-wishlist) svg {
    color: var(--primary-text);
    stroke: currentColor;
}

.single-product-wishlist-container .wishlist-button.added-to-wishlist svg {
    color: white;
}

.single-product-wishlist-container .wishlist-button:hover:not(.added-to-wishlist) svg {
    color: var(--white-text);
}

.single-product-wishlist-container .wishlist-button.added-to-wishlist:hover svg {
    transform: scale(1.1);
}

/* Loading state */
.single-product-wishlist-container .wishlist-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.single-product-wishlist-container .wishlist-button.loading svg {
    animation: wishlist-loading 1s infinite;
}

@keyframes wishlist-loading {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Tooltip için */
.single-product-wishlist-container .wishlist-button::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    z-index: 1000;
}

.single-product-wishlist-container .wishlist-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  
    
    .single-product-wishlist-container .wishlist-button svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive design for related products */
@media (max-width: 768px) {
    .product-container {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .flash-sale-single-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .flash-sale-single-container .countdown-timer {
        font-size: 1rem;
    }
    
    .flash-sale-single-container .countdown-timer span {
        padding: 6px 8px;
        min-width: 28px;
        font-size: 0.9rem;
    }
    
    body.single-product {
        padding-bottom: 90px;
    }
    
    .related-products-section .products,
    .related-products-section .swiper-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .related-products-section .product-card {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .related-products-section .products,
    .related-products-section .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .related-products-section .product-card h3 {
        font-size: 0.85rem;
        min-height: 2.4rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.hover-zoom:hover img {
    transform: scale(1.05);
}

.drop-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.swiper-button-next.product-next-button,
.swiper-button-prev.product-prev-button {
    color: #ef4444;
    --swiper-navigation-size: 25px;
}

.category-tab.active {
    background-color: #ef4444;
    color: white;
}

.badge {
    font-size: 10px;
}

.swiper-slide {
    height: auto !important;
}

.product-swiper .swiper-slide {
    height: auto !important;
    width: 20% !important;
}

.related-products-section .swiper-slide {
    height: auto !important;
}

.related-products-section .swiper-slide .product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1280px) {
    .product-swiper .swiper-slide {
        width: 25% !important;
    }
}

@media (max-width: 1024px) {
    .product-swiper .swiper-slide {
        width: 33.333% !important;
    }
}

@media (max-width: 768px) {
    .product-swiper .swiper-slide {
        width: 50% !important;
    }
}

@media (max-width: 640px) {
    .product-swiper .swiper-slide {
        width: 75% !important;
    }
}

/* ==========================================================================
   PRODUCT VARIATIONS & FORMS
   ========================================================================== */

.variations {
    width: 100%;
    margin-bottom: 2rem;
    border-spacing: 0;
}

.variation-row {
    margin-bottom: 1.5rem;
}

.variation-group {
    margin-bottom: 1.5rem;
}

.variation-label {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.variation-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-variation-button {
    padding: 12px 16px;
    border: 2px solid var(--primary-border);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--primary-text);
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.single-variation-button:hover {
    border-color: var(--bg-blue-squarepancake);
    color: var(--primary-text);
    background: #f8f9ff;
}

.single-variation-button.selected {
    border-color: var(--bg-blue-squarepancake);
    background: var(--bg-blue-squarepancake);
    color: var(--white-text);
}

.single-variation-button:disabled,
.single-variation-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
}

.single-variation-button:disabled:hover,
.single-variation-button.disabled:hover {
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    transform: none;
}

.variation-button-text {
    display: block;
}

.variation-button-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red-text);
    margin-top: 2px;
}

.single-variation-button.selected .variation-button-price {
    color: #fecaca;
}

/* Color variation specific styles */
.single-variation-button.color-variation {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.single-variation-button.color-variation:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.single-variation-button.color-variation.selected {
    box-shadow: 0 0 0 3px white, 0 0 0 5px var(--bg-blue-squarepancake);
}

.single-variation-button.color-variation.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Size variation specific styles */
.single-variation-button.size-variation {
    min-width: 4rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Hide the default select dropdown */
.variation-select-hidden {
    display: none !important;
}

.variation-select select {
    width: 100%;
    min-width: 200px;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--primary-border);
    color: var(--primary-text);
    font-size: 0.95rem;
    font-weight: 500;
    appearance: none;
    transition: all 0.3s ease;
}

.variation-select select:focus {
    outline: none;
    border-color: var(--bg-blue-squarepancake);
}

.variation-select select:hover {
    border-color: var(--primary-background-hover);
}

.reset_variations {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--primary-text);
    text-decoration: none;
    padding: 1rem 1rem;
    border: 1px solid var(--primary-border);
    background: transparent;
    transition: all 0.3s ease;
}

.reset_variations:hover {
    color: #F67280;
    border-color: #F67280;
    background: rgba(246, 114, 128, 0.05);
    text-decoration: none;
}

.woocommerce-variation {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--primary-border);
}

.woocommerce-variation-price {
    display: none !important;
}

.woocommerce-variation-price .price {
    display: none !important;
}

.woocommerce-variation-availability {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.woocommerce-variation-availability p.stock.in-stock {
    color: #059669;
    font-weight: 600;
    background: rgba(5, 150, 105, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.woocommerce-variation-availability p.stock.out-of-stock {
    color: #dc2626;
    font-weight: 600;
    background: rgba(220, 38, 38, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
}

.woocommerce-variation-description {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================================================
   FLASH SALE STYLES
   ========================================================================== */

.flash-sale-single-container {
    background: var(--red-background);
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.flash-sale-single-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: flash-sale-shine 2s infinite;
}

@keyframes flash-sale-glow {
    0% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
    }
    100% {
        box-shadow: 0 12px 40px rgba(220, 38, 38, 0.6);
    }
}

@keyframes flash-sale-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.flash-sale-single-container .countdown-timer {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.flash-sale-single-container .countdown-timer span {
    padding: 8px 12px;
    margin: 0 3px;
    display: inline-block;
    min-width: 35px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.flash-sale-single-container .countdown-timer.urgent {
    animation: countdown-pulse 1.5s infinite;
}

.flash-sale-single-container .countdown-timer.very-urgent {
    animation: countdown-pulse 0.8s infinite;
    color: #fef08a;
}

@keyframes countdown-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.flash-sale-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    animation: flash-badge-pulse 2s infinite;
}

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

/* ==========================================================================
   BREADCRUMB & NAVIGATION
   ========================================================================== */

.breadcrumb-container {
    font-size: 0.875rem;
    color: #6B7280;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
}

.breadcrumb-container .woocommerce-breadcrumb {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-container .woocommerce-breadcrumb a {
    color: #4b5563;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.breadcrumb-container .woocommerce-breadcrumb a:hover {
    color: #F67280;
    background: rgba(246, 114, 128, 0.1);
}

/* ==========================================================================
   CART ANIMATIONS & INTERACTIONS
   ========================================================================== */

@keyframes cartShake {
    0% { transform: translateX(0); }
    15% { transform: translateX(-5px) rotate(-5deg); }
    30% { transform: translateX(5px) rotate(5deg); }
    45% { transform: translateX(-5px) rotate(-3deg); }
    60% { transform: translateX(5px) rotate(3deg); }
    75% { transform: translateX(-2px) rotate(-1deg); }
    100% { transform: translateX(0); }
}

.cart-shake {
    animation: cartShake 0.8s cubic-bezier(.36,.07,.19,.97) both;
    transform-origin: center center;
}

#add-to-cart-notification {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   RATING & REVIEWS
   ========================================================================== */

#rating-trigger {
    position: relative;
    padding: 8px 16px;
    margin: -8px -16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#rating-trigger:hover {
    background-color: rgba(246, 114, 128, 0.1);
    transform: translateY(-1px);
}

#rating-trigger::after {
    content: '→';
    display: inline-block;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-5px);
}

#rating-trigger:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.star-rating {
    position: relative;
    height: 1.2em;
    line-height: 1;
    font-size: 1rem;
    width: 5.4em;
    font-family: star;
    overflow: hidden;
    display: inline-block;
}

.star-rating::before {
    content: "\53\53\53\53\53";
    color: #e5e7eb;
    position: absolute;
    top: 0;
    left: 0;
}

.star-rating span {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    position: absolute;
    top: 0;
    left: 0;
    color: #fbbf24;
}

.woocommerce-product-rating .star-rating {
    margin-top: 3px;
}

/* Cart shake animation */
@keyframes cartShake {
    0% { transform: translateX(0); }
    15% { transform: translateX(-5px) rotate(-5deg); }
    30% { transform: translateX(5px) rotate(5deg); }
    45% { transform: translateX(-5px) rotate(-3deg); }
    60% { transform: translateX(5px) rotate(3deg); }
    75% { transform: translateX(-2px) rotate(-1deg); }
    100% { transform: translateX(0); }
}

.cart-shake {
    animation: cartShake 0.8s cubic-bezier(.36,.07,.19,.97) both;
    transform-origin: center center;
}

/* Notification styling */
#add-to-cart-notification {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Related Products Styles */
.related-products-section .products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 640px) {
    .related-products-section .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-products-section .products {
        grid-template-columns: repeat(4, 1fr);
    }
}

.related-products-section .product-card {
    width: 100%;
    margin: 0;
}

.related-products-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    display: block !important;
}

.related-products-section ul.products::before,
.related-products-section ul.products::after {
    display: none !important;
}




.video-thumb {
    position: relative;
}

.video-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}