/* Complete Enhanced Modern Product Page Styles - Smart Dog Collar - Final Optimized Version */

/* ================================
   HIDE DEFAULT WOOCOMMERCE ELEMENTS
   ================================ */
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-product-gallery,
.woocommerce div.product .woocommerce-tabs,
.related.products,
.upsells.products {
    display: none !important;
}

/* ================================
   BASE STYLES & TYPOGRAPHY
   ================================ */
.modern-product-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    line-height: 1.65;
    color: #1a202c;
    background: #ffffff;
    margin: 0 auto;
    padding: 100px 0 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.modern-product-page * {
    box-sizing: border-box;
}

.modern-product-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ================================
   ENHANCED BREADCRUMB SECTION
   ================================ */
.product-breadcrumb {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 1.25rem 0;
    border-bottom: 2px solid rgba(99, 102, 241, 0.08);
    position: relative;
}

.product-breadcrumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(16, 185, 129, 0.2), rgba(99, 102, 241, 0.3), transparent);
}

.breadcrumb {
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-weight: 500;
}

.breadcrumb a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb a:hover {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.separator {
    color: #cbd5e0;
    font-weight: 300;
    font-size: 1rem;
}

/* ================================
   ENHANCED HERO SECTION
   ================================ */
.product-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.03) 0%, 
        rgba(168, 85, 247, 0.02) 30%, 
        rgba(255, 255, 255, 1) 70%, 
        rgba(248, 250, 252, 0.5) 100%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.015'%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3Ccircle cx='100' cy='40' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.6;
    pointer-events: none;
}

.product-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), rgba(16, 185, 129, 0.3), rgba(99, 102, 241, 0.4), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-left {
    position: sticky;
    top: 120px;
    width: 100%;
}

.hero-right {
    padding-left: 1rem;
    width: 100%;
}

/* ================================
   PREMIUM BUTTON SYSTEM - BEST POSSIBLE
   ================================ */
.professional-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    min-height: 56px;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    letter-spacing: 0.025em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.professional-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.professional-button:hover::before {
    left: 100%;
}

/* Primary Button - Add to Cart (Premium Green) */
.single_add_to_cart_button,
.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #047857 25%, #065f46 75%, #064e3b 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(5, 150, 105, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    min-width: 280px;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.single_add_to_cart_button:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 25%, #064e3b 75%, #052e16 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(5, 150, 105, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.single_add_to_cart_button:active,
.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 6px 20px rgba(5, 150, 105, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Secondary Button - Buy Now (Premium Orange) */
.buy-now-btn,
.btn-secondary {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 25%, #b91c1c 75%, #991b1b 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 25px rgba(234, 88, 12, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    min-width: 240px;
    padding: 1.25rem 2.25rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.buy-now-btn:hover,
.btn-secondary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 25%, #991b1b 75%, #7f1d1d 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(234, 88, 12, 0.5),
        0 6px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.buy-now-btn:active,
.btn-secondary:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 
        0 6px 20px rgba(234, 88, 12, 0.4),
        0 3px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Final CTA Button - Ultimate Premium (Purple/Gold) */
.cta-button-large {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 25%, #5b21b6 50%, #4c1d95 75%, #3730a3 100%) !important;
    color: #ffffff !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 
        0 16px 50px rgba(124, 58, 237, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1) !important;
    padding: 2.25rem 4rem !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    border-radius: 18px !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 360px;
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif !important;
}

.cta-button-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 215, 0, 0.1) 50%, 
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.cta-button-large:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 25%, #4c1d95 50%, #3730a3 75%, #312e81 100%) !important;
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 
        0 24px 70px rgba(124, 58, 237, 0.6),
        0 12px 35px rgba(0, 0, 0, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15) !important;
}

.cta-button-large:active {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
        0 16px 50px rgba(124, 58, 237, 0.5),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Sticky Cart Buttons - Optimized */
.sticky-add-to-cart {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 160px;
}

.sticky-add-to-cart:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.45);
}

.sticky-buy-now {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
    padding: 1rem 1.75rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 140px;
}

.sticky-buy-now:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.45);
}

/* Button States - Enhanced */
.professional-button.loading {
    pointer-events: none;
    opacity: 0.85;
    transform: none;
}

.professional-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.professional-button.success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.professional-button.success::after {
    content: '✓';
    position: absolute;
    font-size: 1.4rem;
    animation: checkmark 0.6s ease;
    font-weight: 900;
}

@keyframes checkmark {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    50% { transform: scale(1.3) rotate(180deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.professional-button:disabled {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%) !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
    border: 2px solid #e5e7eb !important;
}

/* Button Icons & Text */
.btn-icon {
    font-size: 1.2rem;
    margin-right: 0.25rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.btn-text {
    font-weight: 800;
    line-height: 1.2;
}

.cta-button-large .btn-icon {
    font-size: 1.4rem !important;
    margin-right: 0.5rem !important;
}

.cta-button-large .btn-text {
    display: block !important;
    margin-bottom: 0.25rem !important;
    font-weight: 900 !important;
}

.cta-button-large .btn-subtext {
    font-size: 0.95rem !important;
    opacity: 0.9 !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: none !important;
    letter-spacing: 0.025em !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

/* ================================
   IMAGE GALLERY
   ================================ */
.hero-images {
    position: relative;
    margin-bottom: 2rem;
}

.sale-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.main-image {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
}

.main-image .swiper-slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.main-image .swiper-button-prev,
.main-image .swiper-button-next {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-top: -24px;
}

.main-image .swiper-button-prev:hover,
.main-image .swiper-button-next:hover {
    background: white;
    transform: scale(1.1);
}

.main-image .swiper-button-prev:after,
.main-image .swiper-button-next:after {
    font-size: 18px;
    font-weight: 600;
}

.main-image .swiper-pagination {
    bottom: 20px;
}

.main-image .swiper-pagination-bullet {
    background: #1f2937;
    opacity: 0.4;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.main-image .swiper-pagination-bullet-active {
    background: #6366f1;
    opacity: 1;
    transform: scale(1.2);
}

/* ================================
   TRUST INDICATORS & SOCIAL PROOF
   ================================ */
.trust-indicators {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(229, 231, 235, 0.6);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.trust-item:not(:last-child) {
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.trust-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.trust-content strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-content span {
    color: #6b7280;
    font-size: 0.85rem;
}

.social-proof {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.04) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.social-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.social-avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-avatars img:first-child {
    margin-left: 0;
}

.more-count {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-left: -8px;
    border: 3px solid white;
}

.social-text strong {
    display: block;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.social-text span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* ================================
   PRODUCT INFO
   ================================ */
.product-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.product-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    font-weight: 400;
}

.rating-row {
    margin-bottom: 2.5rem;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.rating-text {
    font-weight: 700;
    color: #111827;
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

.review-count a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
}

.review-count a:hover {
    color: #6366f1;
}

.review-highlights {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* ================================
   PRODUCT PURCHASE SECTION
   ================================ */
.product-purchase-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 1) 100%);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.variation-label {
    display: block;
    margin-bottom: 1rem;
}

.label-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    display: block;
    margin-bottom: 0.25rem;
}

.label-helper {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

/* Size Options */
.size-options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.size-radio {
    display: none;
}

.size-option {
    display: block;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.size-option.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.size-option:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.size-radio:checked + .size-option {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.size-header strong {
    font-size: 1.1rem;
    color: #111827;
}

.size-price {
    font-weight: 700;
    color: #6366f1;
    font-size: 1.1rem;
}

.size-details {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.size-breeds {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.color-radio {
    display: none;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    flex: 1;
}

.color-option:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.02);
}

.color-radio:checked + .color-option {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-swatch.orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.color-swatch.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.color-swatch.black {
    background: linear-gradient(135deg, #374151, #1f2937);
}

.color-option span {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

/* Pricing Display */
.pricing-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.1);
    flex-wrap: wrap;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ef4444;
}

.original-price {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.savings-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.quantity-controls:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.qty-btn {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: none;
    width: 48px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.qty {
    border: none;
    width: 80px;
    height: 52px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: none;
    color: #1a202c;
}

/* Button Layout */
.quantity-cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

.cart-buttons-wrapper {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.quantity-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Key Benefits */
.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(243, 244, 246, 0.8);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(243, 244, 246, 1);
    transform: translateX(4px);
}

.benefit-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.benefit-content strong {
    display: block;
    color: #111827;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.benefit-content span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Countdown Timer */
.countdown-timer {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.timer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.timer-icon {
    font-size: 2rem;
}

.timer-content strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.timer-content span {
    opacity: 0.9;
    font-size: 0.95rem;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.time-unit {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.25rem 1rem;
    border-radius: 16px;
    text-align: center;
    min-width: 80px;
}

.time-unit .number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.time-unit .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
}

/* Security Badges */
.security-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(243, 244, 246, 0.6);
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 1rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-weight: 600;
}

.security-icon {
    font-size: 1.25rem;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-icon {
    height: 20px !important;
    max-width: 32px !important;
    width: auto !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
    object-fit: contain !important;
}

.payment-icon:hover {
    opacity: 1 !important;
}

/* ================================
   SECTIONS
   ================================ */
.features-section {
    padding: 7rem 0;
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(255, 255, 255, 0.95) 30%, 
        rgba(248, 250, 252, 0.6) 100%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.3), transparent);
}

.how-it-works {
    padding: 7rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.9) 50%, 
        rgba(255, 255, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.testimonials {
    padding: 7rem 0;
    background: linear-gradient(135deg, 
        rgba(249, 250, 251, 0.9) 0%, 
        rgba(248, 250, 252, 0.7) 50%, 
        rgba(255, 255, 255, 0.8) 100%
    );
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(229, 231, 235, 0.6);
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-visual {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-stats {
    color: #10b981;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 60px;
    top: 100px;
    bottom: 100px;
    width: 4px;
    background: linear-gradient(180deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    margin-bottom: 1rem;
}

.step-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.6);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #f3f4f6;
}

/* Final CTA */
.final-cta {
    padding: 8rem 0 !important;
    background: linear-gradient(135deg, 
        #1a202c 0%, 
        #2d3748 20%, 
        #1a202c 50%, 
        #2d3748 80%, 
        #1a202c 100%
    ) !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
}

.final-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 8px !important;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(16, 185, 129, 0.6), 
        rgba(245, 158, 11, 0.4), 
        rgba(139, 92, 246, 0.5), 
        rgba(245, 158, 11, 0.4), 
        rgba(16, 185, 129, 0.6), 
        transparent
    ) !important;
    z-index: 2 !important;
}

.cta-wrapper {
    text-align: center !important;
    position: relative !important;
    z-index: 1 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.cta-content h2 {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.1 !important;
    background: linear-gradient(135deg, #fff, #e5e7eb) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.cta-benefits {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 3rem !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.cta-benefit {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    color: #e5e7eb !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* ================================
   CUSTOM PRODUCT TABS
   ================================ */
.custom-product-tabs {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.8) 100%
    );
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
}

.tabs-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(229, 231, 235, 0.6);
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    padding: 0.5rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    justify-content: space-between;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 16px;
    margin: 0;
    min-height: 50px;
}

.tab-button:hover {
    color: #374151;
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-1px);
}

.tab-button.active {
    color: #6366f1;
    background: linear-gradient(135deg, #fff 0%, rgba(248, 250, 252, 1) 100%);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.tab-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.tab-content {
    min-height: 400px;
    background: white;
}

.tab-panel {
    display: none;
    padding: 2.5rem;
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Sticky Cart */
.sticky-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem;
    border-top: 4px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.sticky-cart.show {
    transform: translateY(0);
    opacity: 1;
}

.sticky-cart-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sticky-add-to-cart,
.sticky-buy-now {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.sticky-add-to-cart {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.sticky-buy-now {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-grid {
        gap: 3rem;
    }
    .product-title {
        font-size: 2.25rem;
    }
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .modern-product-page {
        padding-top: 90px;
    }
    .hero-grid {
        gap: 2.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        max-width: 900px;
    }
    .testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .modern-product-page {
        padding-top: 80px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-left {
        position: static;
    }
    .hero-right {
        padding-left: 0;
    }
    .main-image .swiper-slide img {
        height: 400px;
    }
    .product-title {
        font-size: 2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .cta-content h2 {
        font-size: 2.5rem !important;
    }
    .cart-buttons-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    .single_add_to_cart_button,
    .buy-now-btn {
        width: 100%;
        min-width: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    .cta-button-large {
        width: 100%;
        max-width: 400px;
        padding: 1.75rem 2rem !important;
        font-size: 1.1rem !important;
    }
    .timeline-line {
        left: 40px;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    .step {
        gap: 1.5rem;
    }
    .pricing-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .current-price {
        font-size: 2rem;
    }
    .timer {
        gap: 1rem;
    }
    .time-unit {
        min-width: 60px;
        padding: 1rem 0.75rem;
    }
    .time-unit .number {
        font-size: 1.5rem;
    }
    .color-options {
        justify-content: flex-start;
    }
    .security-badges {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .tab-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tab-button {
        justify-content: flex-start;
        padding: 1.25rem 1.5rem;
        text-align: left;
        margin: 0;
    }
    .sticky-cart-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .sticky-add-to-cart,
    .sticky-buy-now {
        flex: 1;
        min-width: 120px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .product-hero {
        padding: 2rem 0;
    }
    .main-image .swiper-slide img {
        height: 300px;
    }
    .product-title {
        font-size: 1.75rem;
    }
    .section-header h2 {
        font-size: 1.75rem;
    }
    .features-section,
    .how-it-works,
    .testimonials,
    .final-cta {
        padding: 4rem 0;
    }
    .current-price {
        font-size: 1.75rem;
    }
    .cta-content h2 {
        font-size: 2rem !important;
    }
    .size-options {
        gap: 0.75rem;
    }
    .size-option {
        padding: 1rem;
    }
    .color-options {
        gap: 0.75rem;
    }
    .color-option {
        padding: 0.75rem;
    }
    .product-purchase-section {
        padding: 1.5rem;
    }
    .countdown-timer {
        padding: 1.5rem;
    }
    .timer-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .time-unit {
        min-width: 50px;
        padding: 0.75rem 0.5rem;
    }
    .time-unit .number {
        font-size: 1.25rem;
    }
    .tab-panel {
        padding: 1.5rem;
    }
    .cta-button-large {
        padding: 1.5rem 2rem !important;
        font-size: 1rem !important;
    }
    .professional-button {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    .quantity-controls {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .qty {
        flex: 1;
    }
}