/**
 * Polynor CTA Buttons & Order System Styles
 * -----------------------------------------
 * Floating shortcut buttons, order modal wizard, 
 * installation service page styles
 * 
 * @version 1.0.0
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --polynor-primary: #ec2026;
    --polynor-primary-dark: #c91a1f;
    --polynor-secondary: #005baf;
    --polynor-secondary-dark: #004a91;
    --polynor-success: #28a745;
    --polynor-phone: #25D366;
    --polynor-phone-dark: #1da851;
    --polynor-orange: #ff6b35;
    --polynor-orange-dark: #e55a2b;
    --polynor-gradient: linear-gradient(135deg, #ec2026 0%, #c91a1f 100%);
    --polynor-gradient-blue: linear-gradient(135deg, #005baf 0%, #003d75 100%);
    --polynor-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --polynor-shadow-hover: 0 6px 25px rgba(0, 0, 0, 0.3);
    --polynor-transition: all 0.3s ease;
    --polynor-border-radius: 12px;
}

/* ==========================================================================
   Bottom CTA Bar - Fixed at Bottom
   ========================================================================== */

/* Add padding to body to prevent content being hidden */
body {
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px !important;
    }
}

.polynor-floating-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    flex-direction: row;
    gap: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Individual CTA Button */
.polynor-floating-cta__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    background: transparent;
    color: #fff;
    border: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--polynor-transition);
    white-space: nowrap;
    position: relative;
    outline: none;
    box-shadow: none;
}

.polynor-floating-cta__btn::after {
    display: none !important;
    content: none !important;
}

.polynor-floating-cta__btn:last-child::after {
    display: none !important;
}

.polynor-floating-cta__btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
}

/* Icon Container */
.polynor-floating-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--polynor-transition);
}

.polynor-floating-cta__btn:hover .polynor-floating-cta__icon {
    transform: scale(1.1);
}

/* Label */
.polynor-floating-cta__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Primary Order Button - Blue (Brand Color 1) */
#polynor-btn-order {
    flex: 1;
    background: linear-gradient(135deg, var(--polynor-secondary) 0%, #003d75 100%);
    position: relative;
    overflow: hidden;
}

#polynor-btn-order .polynor-floating-cta__icon {
    background: rgba(255, 255, 255, 0.25);
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
}

#polynor-btn-order:hover {
    background: linear-gradient(135deg, #003d75 0%, var(--polynor-secondary) 100%);
}

/* Phone Button - Red (Brand Color 2) */
.polynor-floating-cta__btn--phone {
    background: linear-gradient(135deg, var(--polynor-primary) 0%, #c91a1f 100%);
    position: relative;
    overflow: hidden;
}

.polynor-floating-cta__btn--phone .polynor-floating-cta__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.polynor-floating-cta__btn--phone:hover {
    background: linear-gradient(135deg, #c91a1f 0%, var(--polynor-primary) 100%);
}

/* Install Button - Blue (Brand Color 3) */
.polynor-floating-cta__btn--install {
    background: linear-gradient(135deg, var(--polynor-secondary) 0%, #003d75 100%);
    position: relative;
    overflow: hidden;
}

.polynor-floating-cta__btn--install .polynor-floating-cta__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.polynor-floating-cta__btn--install:hover {
    background: linear-gradient(135deg, #003d75 0%, var(--polynor-secondary) 100%);
}

/* Metallic Diagonal Shine Effect on Hover */
.polynor-floating-cta__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}

.polynor-floating-cta__btn:hover::before,
.polynor-floating-cta__btn:active::before {
    left: 100%;
}

/* Icon Animation on Hover */
.polynor-floating-cta__btn:hover .polynor-floating-cta__icon,
.polynor-floating-cta__btn:active .polynor-floating-cta__icon {
    transform: scale(1.15);
    animation: polynor-icon-bounce 0.3s ease;
}

@keyframes polynor-icon-bounce {
    0%, 100% { transform: scale(1.15); }
    50% { transform: scale(1.25); }
}

/* Pulse Animation */
@keyframes polynor-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 32, 38, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(236, 32, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 32, 38, 0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .polynor-floating-cta {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .polynor-floating-cta__btn {
        padding: 10px 8px;
        gap: 4px;
    }
    
    .polynor-floating-cta__label {
        font-size: 0.55rem;
    }
    
    .polynor-floating-cta__icon {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
    
    #polynor-btn-order .polynor-floating-cta__icon {
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   Order Modal Styles
   ========================================================================== */
.polynor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.polynor-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.polynor-modal {
    background: #fff;
    border-radius: var(--polynor-border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: polynor-modal-slide-up 0.3s ease;
}

@keyframes polynor-modal-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.polynor-modal__header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--polynor-gradient);
    color: #fff;
    border-radius: var(--polynor-border-radius) var(--polynor-border-radius) 0 0;
}

.polynor-modal__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.polynor-modal__close {
    background: rgba(255,255,255,0.25);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--polynor-transition);
    /* Better tap target */
    min-width: 44px;
    min-height: 44px;
}

.polynor-modal__close:hover,
.polynor-modal__close:active {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.polynor-modal__body {
    padding: 25px;
}

/* ==========================================================================
   Wizard Steps
   ========================================================================== */
.polynor-wizard__steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.polynor-wizard__step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #999;
    transition: var(--polynor-transition);
}

.polynor-wizard__step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--polynor-transition);
}

.polynor-wizard__step.active .polynor-wizard__step-number {
    background: var(--polynor-primary);
    color: #fff;
}

.polynor-wizard__step.active {
    color: var(--polynor-primary);
    font-weight: 600;
}

.polynor-wizard__step.completed .polynor-wizard__step-number {
    background: var(--polynor-success);
    color: #fff;
}

.polynor-wizard__step.completed .polynor-wizard__step-number::before {
    content: '✓';
}

/* Wizard Panels */
.polynor-wizard__panel {
    display: none;
    animation: polynor-fade-in 0.3s ease;
}

.polynor-wizard__panel.active {
    display: block;
}

@keyframes polynor-fade-in {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Products List in Order Form
   ========================================================================== */
.polynor-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.polynor-product-item {
    background: #f8f9ff;
    border: 1px solid #e0e5f0;
    border-radius: 10px;
    padding: 12px;
    position: relative;
    transition: var(--polynor-transition);
}

.polynor-product-item:hover {
    border-color: var(--polynor-secondary);
}

.polynor-product-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.polynor-product-item__number {
    font-weight: 600;
    color: var(--polynor-secondary);
    font-size: 12px;
}

.polynor-product-item__remove {
    background: #f56565;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--polynor-transition);
}

.polynor-remove-text {
    font-size: 11px;
    font-weight: 500;
}

.polynor-product-item__remove:hover {
    background: #c53030;
    transform: scale(1.05);
}

/* Product Select with Image */
.polynor-select-with-image {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 4px;
    transition: var(--polynor-transition);
}

.polynor-select-with-image:focus-within {
    border-color: var(--polynor-secondary);
    box-shadow: 0 0 0 3px rgba(0, 91, 175, 0.1);
}

.polynor-product-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #f5f5f5;
    flex-shrink: 0;
}

.polynor-select-with-image .polynor-form-control {
    border: none;
    padding: 8px 35px 8px 8px;
    flex: 1;
}

.polynor-select-with-image .polynor-form-control:focus {
    box-shadow: none;
}

.polynor-product-item__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.polynor-product-item__row {
    display: grid;
    grid-template-columns: 1fr 80px 70px;
    gap: 8px;
    align-items: end;
}

.polynor-product-item__total {
    font-weight: 700;
    color: var(--polynor-secondary);
    text-align: right;
    font-size: 14px;
    padding: 8px 0;
}

/* Discount Display Styles */
.polynor-price-display {
    position: relative;
}

.polynor-original-price {
    display: inline-block;
    font-size: 11px;
    color: #ec2026;
    text-decoration: line-through;
    margin-bottom: 2px;
    margin-right: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.polynor-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    min-height: 18px;
}

.polynor-product-price.discounted {
    border-color: #48bb78;
    background-color: #f0fff4;
}

.polynor-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.discount-hint {
    display: block;
    font-weight: 400;
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */
.polynor-form-group {
    margin-bottom: 12px;
}

.polynor-form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 13px;
}

.polynor-form-group label .required {
    color: var(--polynor-primary);
}

.polynor-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: var(--polynor-transition);
    font-family: inherit;
}

.polynor-form-control:focus {
    outline: none;
    border-color: var(--polynor-secondary);
    box-shadow: 0 0 0 3px rgba(0, 91, 175, 0.1);
}

.polynor-form-control::placeholder {
    color: #aaa;
}

select.polynor-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23005baf' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Add Product Button */
.polynor-add-product,
.polynor-btn-add-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    color: var(--polynor-primary);
    border: 2px dashed var(--polynor-primary);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polynor-transition);
    margin-top: 15px;
    margin-bottom: 20px;
}

.polynor-add-product:hover,
.polynor-btn-add-product:hover {
    background: rgba(236, 32, 38, 0.08);
    border-style: solid;
    transform: translateY(-2px);
}

.polynor-add-product i,
.polynor-btn-add-product i {
    font-size: 14px;
}

/* ==========================================================================
   Order Summary
   ========================================================================== */
.polynor-order-summary {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.polynor-order-summary__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--polynor-secondary);
}

.polynor-order-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.polynor-order-summary__row:last-child {
    border-bottom: none;
}

.polynor-order-summary__product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.polynor-order-summary__thumb {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    padding: 3px;
    border: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.polynor-order-summary__details {
    line-height: 1.4;
}

.polynor-order-summary__total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0;
    margin-top: 10px;
    border-top: 2px solid var(--polynor-secondary);
    font-size: 18px;
    font-weight: 700;
    color: var(--polynor-secondary);
}

/* ==========================================================================
   Action Buttons
   ========================================================================== */
.polynor-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.polynor-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polynor-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.polynor-btn--primary {
    background: var(--polynor-gradient);
    color: #fff;
}

.polynor-btn--primary:hover {
    background: linear-gradient(135deg, #c91a1f 0%, #a01519 100%);
    transform: translateY(-2px);
    box-shadow: var(--polynor-shadow);
}

.polynor-btn--secondary {
    background: #f0f0f0;
    color: #333;
}

.polynor-btn--secondary:hover {
    background: #e0e0e0;
}

.polynor-btn--success {
    background: var(--polynor-success);
    color: #fff;
}

.polynor-btn--success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.polynor-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   Delivery Options
   ========================================================================== */
.polynor-delivery-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.polynor-delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--polynor-transition);
}

.polynor-delivery-option:hover {
    border-color: var(--polynor-secondary);
    background: #f8f9ff;
}

.polynor-delivery-option.selected {
    border-color: var(--polynor-secondary);
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 100%);
}

.polynor-delivery-option input[type="radio"] {
    display: none;
}

.polynor-delivery-option__radio {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--polynor-transition);
}

.polynor-delivery-option.selected .polynor-delivery-option__radio {
    border-color: var(--polynor-secondary);
}

.polynor-delivery-option.selected .polynor-delivery-option__radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--polynor-secondary);
    border-radius: 50%;
}

.polynor-delivery-option__icon {
    font-size: 24px;
    color: var(--polynor-secondary);
}

.polynor-delivery-option__text {
    flex: 1;
}

.polynor-delivery-option__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.polynor-delivery-option__desc {
    font-size: 13px;
    color: #666;
}

/* ==========================================================================
   Installation Service Page Styles
   ========================================================================== */
.polynor-install-page {
    padding: 40px 0 60px;
}

.polynor-install-page__header {
    text-align: center;
    margin-bottom: 50px;
}

.polynor-install-page__title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f191a;
}

.polynor-install-page__subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Installation Options Cards */
.polynor-install-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.polynor-install-card {
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    cursor: pointer;
    transition: var(--polynor-transition);
    position: relative;
    overflow: hidden;
}

.polynor-install-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--polynor-gradient-blue);
    opacity: 0;
    transition: var(--polynor-transition);
}

.polynor-install-card:hover {
    border-color: var(--polynor-secondary);
    transform: translateY(-5px);
    box-shadow: var(--polynor-shadow-hover);
}

.polynor-install-card:hover::before,
.polynor-install-card.selected::before {
    opacity: 1;
}

.polynor-install-card.selected {
    border-color: var(--polynor-secondary);
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 30%);
}

.polynor-install-card__badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--polynor-primary);
    color: #fff;
    padding: 5px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
}

.polynor-install-card__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8f0ff 0%, #d0e4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--polynor-secondary);
}

.polynor-install-card__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f191a;
}

.polynor-install-card__thickness {
    display: inline-block;
    background: var(--polynor-secondary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.polynor-install-card__price {
    font-size: 42px;
    font-weight: 700;
    color: var(--polynor-primary);
    margin-bottom: 5px;
}

.polynor-install-card__price-unit {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.polynor-install-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.polynor-install-card__features li {
    padding: 8px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.polynor-install-card__features li:last-child {
    border-bottom: none;
}

.polynor-install-card__features li i {
    color: var(--polynor-success);
    font-size: 16px;
}

.polynor-install-card__select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--polynor-gradient-blue);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polynor-transition);
}

.polynor-install-card__select:hover {
    transform: scale(1.05);
    box-shadow: var(--polynor-shadow);
}

.polynor-install-card.selected .polynor-install-card__select {
    background: var(--polynor-success);
}

/* Comparison Table */
.polynor-comparison {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
}

.polynor-comparison__title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
}

.polynor-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.polynor-comparison-table th {
    background: var(--polynor-secondary);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.polynor-comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.polynor-comparison-table tr:last-child td {
    border-bottom: none;
}

.polynor-comparison-table tr:nth-child(even) {
    background: #f8f9ff;
}

.polynor-comparison-table .highlight {
    background: #fff3e0 !important;
    font-weight: 600;
}

/* ==========================================================================
   Success Message
   ========================================================================== */
.polynor-success-message {
    text-align: center;
    padding: 40px 20px;
}

.polynor-success-message__icon {
    width: 80px;
    height: 80px;
    background: var(--polynor-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: #fff;
    animation: polynor-success-bounce 0.5s ease;
}

@keyframes polynor-success-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.polynor-success-message__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--polynor-success);
}

.polynor-success-message__text {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* ==========================================================================
   Loading Spinner
   ========================================================================== */
.polynor-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.polynor-loading__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: polynor-spin 0.8s linear infinite;
}

@keyframes polynor-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Tablets */
@media (max-width: 991px) {
    .polynor-install-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .polynor-install-card {
        padding: 25px;
    }
    
    .polynor-comparison {
        padding: 25px 15px;
    }
    
    .polynor-comparison-table {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    /* Floating Buttons - Mobile Optimization */
    .polynor-floating-cta {
        left: 0;
        right: 0;
        bottom: 0;
        gap: 0;
    }
    
    .polynor-float-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .polynor-float-btn__label {
        display: none;
    }
    
    .polynor-float-btn i,
    .polynor-float-btn svg {
        font-size: 22px;
    }
    
    /* Modal Mobile */
    .polynor-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    .polynor-modal {
        max-height: 92vh;
        border-radius: 16px 16px 0 0;
    }
    
    .polynor-modal__header {
        padding: 12px 16px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .polynor-modal__title {
        font-size: 16px;
    }
    
    .polynor-modal__close {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 18px;
    }
    
    .polynor-modal__body {
        padding: 12px 16px 20px;
    }
    
    /* Wizard Steps Mobile - More Compact */
    .polynor-wizard__steps {
        gap: 8px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .polynor-wizard__step {
        font-size: 11px;
    }
    
    .polynor-wizard__step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .polynor-wizard__step-label {
        display: none;
    }
    
    .polynor-wizard__panel-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    /* Product Items Mobile - Very Compact */
    .polynor-products-list {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .polynor-product-item {
        padding: 10px;
    }
    
    .polynor-product-item__header {
        margin-bottom: 6px;
    }
    
    .polynor-product-item__fields {
        gap: 6px;
    }
    
    .polynor-product-item__row {
        grid-template-columns: 1fr 70px 60px;
        gap: 6px;
    }
    
    .polynor-product-item__total {
        font-size: 13px;
        padding: 6px 0;
    }
    
    .polynor-form-group {
        margin-bottom: 8px;
    }
    
    .polynor-form-group label {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .polynor-form-control {
        padding: 10px 12px;
        font-size: 16px; /* Prevent iOS zoom */
        border-radius: 6px;
    }
    
    /* Add Product Button Mobile */
    .polynor-add-product {
        padding: 10px 16px;
        font-size: 13px;
        margin-top: 10px;
        margin-bottom: 12px;
    }
    
    /* Order Total Mobile */
    .polynor-order-total {
        padding: 10px;
        margin-top: 10px;
        font-size: 15px;
    }
    
    .polynor-wizard__step {
        font-size: 12px;
    }
    
    .polynor-wizard__step-text {
        display: none;
    }
    
    /* Product Items Mobile */
    .polynor-product-item__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .polynor-product-item__total {
        text-align: left;
        padding: 10px;
        background: #e8f0ff;
        border-radius: 8px;
    }
    
    /* Buttons Mobile */
    .polynor-btn-group {
        flex-direction: column;
    }
    
    .polynor-btn {
        padding: 16px;
    }
    
    /* Delivery Options Mobile */
    .polynor-delivery-option {
        padding: 12px;
    }
    
    .polynor-delivery-option__icon {
        font-size: 20px;
    }
    
    /* Install Page Mobile */
    .polynor-install-page__title {
        font-size: 26px;
    }
    
    .polynor-install-page__subtitle {
        font-size: 15px;
    }
    
    .polynor-install-card__price {
        font-size: 32px;
    }
    
    .polynor-install-card__title {
        font-size: 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .polynor-modal__body {
        padding: 10px 12px 16px;
    }
    
    .polynor-product-item {
        padding: 8px;
    }
    
    .polynor-product-item__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .polynor-product-item__total {
        text-align: left;
        padding: 8px;
        background: #e8f0ff;
        border-radius: 6px;
        margin-top: 4px;
    }
    
    .polynor-form-control {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .polynor-add-product {
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Desktop - Show labels on floating buttons */
@media (min-width: 992px) {
    .polynor-float-btn {
        padding: 14px 28px;
    }
}

/* Print Styles */
@media print {
    .polynor-floating-cta,
    .polynor-modal-overlay {
        display: none !important;
    }
}
