/* 
 * Titanium Single Product Polish
 * Mobile-First, Full-Bleed Aesthetics
 */

.swift-product-layout {
    display: flex;
    flex-direction: column;
    margin-top: -20px; /* Offset main container padding for full-bleed feel */
}

/* Gallery Override */
.swift-product-gallery-wrapper {
    width: 100%;
    background: #f8fafc;
}

.swift-product-gallery-wrapper .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Panel */
.swift-product-info-wrapper {
    margin: -30px 15px 40px; /* Overlap with gallery */
    position: relative;
    z-index: 10;
    padding: 24px;
}

.swift-product-meta-top {
    margin-bottom: 12px;
}

.swift-breadcrumbs {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.swift-breadcrumbs a { color: inherit; text-decoration: none; }

/* Data Chips */
.swift-data-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swift-chip {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.swift-chip.hsn {
    background: #ecfeff;
    color: #0891b2;
}

/* Summary */
.product_title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin: 5px 0 10px !important;
    color: var(--titanium-text-main);
}

.swift-price-wrap .price {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--titanium-accent) !important;
    display: block;
    margin-bottom: 15px;
}

.swift-price-wrap del {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-right: 5px;
}

.swift-short-description {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

/* WhatsApp Button */
.swift-whatsapp-action {
    margin: 20px 0;
}

.swift-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white !important;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.swift-btn-wa:active {
    transform: scale(0.95);
}

/* Sticky CTA Bar */
.swift-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none; /* Hidden by default, shown by JS scroll or mobile only */
}

@media (max-width: 768px) {
    .swift-sticky-cta {
        display: flex;
    }
    
    /* Hide the default summary add to cart on mobile if sticky is present? 
       Actually better to keep both for accessibility, only show sticky on scroll. 
    */
}

.swift-sticky-cta .price {
    font-weight: 800;
    color: var(--titanium-text-main);
}

.swift-sticky-cta .cta-action .single_add_to_cart_button {
    background: var(--titanium-accent) !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
}

.swift-sticky-cta .cta-action .quantity {
    display: none !important; /* Mini sticky bar usually skips quantity */
}

/* Tabs Polish */
.wp-block-woocommerce-product-details-tabs {
    margin-top: 40px;
}

.woocommerce-tabs ul.tabs {
    display: flex !important;
    overflow-x: auto;
    border: none !important;
    padding: 0 !important;
}

.woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    flex: 0 0 auto;
}

.woocommerce-tabs ul.tabs li a {
    font-weight: 700 !important;
    padding: 10px 15px !important;
    color: #64748b !important;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--titanium-accent) !important;
    border-bottom: 2px solid var(--titanium-accent);
}
