/* ═══════════════════════════════════════════════════════════════
   GTEKAL ACP ORDER - VIVAACP.COM INSPIRED DESIGN
   Clean, minimal product catalog with professional card grid
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.aco-wrap {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: #f5f5f5;
    color: #333;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.aco-hero {
    position: relative;
    height: 300px;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
    background: #111;
}

.hero-image-section {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg.active { opacity: 1; }

.hero-image-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.15) 100%);
    z-index: 2;
}

.aco-hero-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.hero-text-section {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 180px;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-content-slide {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.hero-content-slide.active { opacity: 1; visibility: visible; }

.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,0.15);
    border: 1px solid rgba(52,211,153,0.4);
    padding: 7px 22px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #6ee7b7;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.hero-badge-top::before {
    content: '';
    width: 8px; height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(52,211,153,0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.badge-star { display: none; }

.aco-hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}

.aco-hero h1 .highlight {
    color: #34d399;
    background: none;
    -webkit-text-fill-color: #34d399;
    font-weight: 900;
    font-style: italic;
}

.aco-hero .subtitle {
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.hero-feature-row { display: none; }

.hero-price-btn, .hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}

.hero-price-btn::before, .hero-cta-btn::before { display: none; }

.hero-price-btn:hover, .hero-cta-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}

.hero-nav-arrows {
    position: absolute;
    top: 50%; left: 0; right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 20;
    pointer-events: none;
}

.hero-nav-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-nav-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

.hero-slide-indicators {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
}

.slide-indicator {
    width: 28px; height: 3px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active { background: #fff; width: 40px; }
.slide-indicator:hover { background: rgba(255,255,255,0.5); }

.hero-price-card { display: none; }
.hero-stats, .hero-trust, .hero-cta-group, .aco-banner,
.showcase-badge, .info-slide, .hero-showcase-card { display: none; }

@media (max-width: 1024px) {
    .aco-hero { height: 250px; }
    .aco-hero h1 { font-size: 32px; }
}

@media (max-width: 768px) {
    .aco-hero { height: 220px; }
    .aco-hero-content { padding: 0 20px; }
    .hero-text-section { min-height: 150px; }
    .aco-hero h1 { font-size: 24px; }
    .aco-hero .subtitle { font-size: 13px; margin-bottom: 12px; }
    .hero-badge-top { font-size: 10px; padding: 5px 14px; }
    .hero-cta-btn { padding: 10px 22px; font-size: 12px; }
    .hero-image-section::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide-bg, .hero-content-slide { transition: none; }
    .hero-badge-top::before { animation: none; }
}

.showcase-img-slide { position: absolute; top:0; left:0; width:100%; height:100%; opacity:0; transition: all 0.8s ease; }
.showcase-img-slide.active { opacity: 1; }
.badge-slide { opacity: 0; transition: all 0.5s ease; }
.badge-slide.active { opacity: 1; }
.showcase-image-wrapper { position: relative; border-radius: 12px; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   MAIN LAYOUT - vivaacp style sidebar + grid
   ═══════════════════════════════════════════════════════════════ */

.aco-main {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
    background: #fff;
}

.aco-sidebar {
    background: #fff;
    padding: 24px 20px;
    border-right: 1px solid #e5e5e5;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 500px;
}

.aco-sidebar::before {
    content: none;
}

.aco-sidebar.totem-bg::before { content: none; }

.aco-sidebar > * { position: relative; z-index: 2; }

.aco-sidebar h3 {
    margin: 0 0 16px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 2px solid #10b981;
    padding-bottom: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aco-sidebar select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fafafa;
    color: #333;
    cursor: pointer;
}

.aco-sidebar select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16,185,129,0.1);
}

/* Panel Info Card */
.panel-slogan {
    margin-top: 16px;
    padding: 0;
    border-radius: 8px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    background: #fff;
}

.panel-slogan.show { opacity: 1; transform: translateY(0); }

.panel-slogan .card-banner { padding: 12px 14px; display: flex; align-items: center; gap: 10px; position: relative; overflow: hidden; }
.panel-slogan .card-banner::before { content: ''; position: absolute; top:0; left:0; right:0; bottom:0; opacity: 0.08; z-index: 0; background-size: cover; background-position: center; }
.panel-slogan .card-banner > * { position: relative; z-index: 1; }
.panel-slogan .card-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; box-shadow: none; }
.panel-slogan .card-banner-text h4 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; }
.panel-slogan .card-banner-text .card-subtitle { font-size: 10px; font-weight: 500; opacity: 0.85; margin-top: 2px; }
.panel-slogan .card-body { padding: 12px 14px; }
.panel-slogan .feature-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.panel-slogan .feature-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 4px; font-size: 9px; font-weight: 600; }
.panel-slogan .specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 8px; }
.panel-slogan .spec-item { display: flex; align-items: center; gap: 5px; padding: 5px 6px; border-radius: 4px; background: #f8f8f8; border: 1px solid #eee; }
.panel-slogan .spec-item .spec-icon { font-size: 13px; flex-shrink: 0; }
.panel-slogan .spec-item .spec-text { font-size: 9px; color: #555; line-height: 1.3; }
.panel-slogan .spec-item .spec-text strong { display: block; color: #222; font-size: 10px; }
.panel-slogan .usage-note { padding: 7px 9px; border-radius: 4px; font-size: 10px; font-weight: 500; display: flex; align-items: center; gap: 5px; line-height: 1.4; }

/* Skin Themes */
.panel-slogan.skin-pvdf .card-banner { background: linear-gradient(135deg, #1e3a5f, #2563eb); color: #fff; }
.panel-slogan.skin-pvdf .card-banner::before { background-image: url('https://gtekal.com/wp-content/uploads/2025/01/FACADE-CLADING-ACP.png'); }
.panel-slogan.skin-pvdf .card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.panel-slogan.skin-pvdf .feature-tag { background: #dbeafe; color: #1e40af; }
.panel-slogan.skin-pvdf .spec-item { background: #f0f7ff; border-color: #d0e3ff; }
.panel-slogan.skin-pvdf .usage-note { background: #eff6ff; color: #1e40af; border: 1px solid #93c5fd; }

.panel-slogan.skin-hdpe4 .card-banner { background: linear-gradient(135deg, #065f46, #059669); color: #fff; }
.panel-slogan.skin-hdpe4 .card-banner::before { background-image: url('https://gtekal.com/wp-content/uploads/2025/01/FACADE-CLADING-ACP.png'); }
.panel-slogan.skin-hdpe4 .card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.panel-slogan.skin-hdpe4 .feature-tag { background: #d1fae5; color: #065f46; }
.panel-slogan.skin-hdpe4 .spec-item { background: #ecfdf5; border-color: #a7f3d0; }
.panel-slogan.skin-hdpe4 .usage-note { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }

.panel-slogan.skin-hdpe3 .card-banner { background: linear-gradient(135deg, #92400e, #d97706); color: #fff; }
.panel-slogan.skin-hdpe3 .card-banner::before { background-image: url('https://gtekal.com/wp-content/uploads/2025/09/TOTEM-ACP.png'); }
.panel-slogan.skin-hdpe3 .card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.panel-slogan.skin-hdpe3 .feature-tag { background: #fef3c7; color: #92400e; }
.panel-slogan.skin-hdpe3 .spec-item { background: #fffbeb; border-color: #fde68a; }
.panel-slogan.skin-hdpe3 .usage-note { background: #fffbeb; color: #92400e; border: 1px solid #fbbf24; }

.panel-slogan.skin-poly .card-banner { background: linear-gradient(135deg, #581c87, #9333ea); color: #fff; }
.panel-slogan.skin-poly .card-banner::before { background-image: url('https://gtekal.com/wp-content/uploads/2025/09/TOTEM-ACP.png'); }
.panel-slogan.skin-poly .card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.panel-slogan.skin-poly .feature-tag { background: #f3e8ff; color: #6b21a8; }
.panel-slogan.skin-poly .spec-item { background: #faf5ff; border-color: #e9d5ff; }
.panel-slogan.skin-poly .usage-note { background: #faf5ff; color: #6b21a8; border: 1px solid #c084fc; }

.panel-slogan.skin-all .card-banner { background: linear-gradient(135deg, #334155, #64748b); color: #fff; }
.panel-slogan.skin-all .card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.panel-slogan.skin-all .feature-tag { background: #f1f5f9; color: #334155; }
.panel-slogan.skin-all .usage-note { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }

.panel-slogan h4, .panel-slogan p, .panel-slogan p strong, .panel-slogan p em { margin: 0; color: inherit; font-size: inherit; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT GRID - vivaacp.com Style Cards
   ═══════════════════════════════════════════════════════════════ */

.swatches {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 2px;
    background: #eee;
}

.swatch {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.swatch::before { display: none; }
.swatch::after { display: none; }

.swatch:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 5;
    transform: none;
    border-color: transparent;
}

.swatch img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
    display: block;
    transition: transform 0.4s ease;
}

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

.swatch .thickness-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    z-index: 6;
    border: none;
    box-shadow: none;
}

.swatch .thickness-label {
    font-size: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
}

.swatch .name {
    font-weight: 600;
    font-size: 12px;
    color: #222;
    padding: 10px 12px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.3;
}

.swatch .specs {
    font-size: 10px;
    color: #888;
    background: none;
    padding: 0 12px 10px;
    border-radius: 0;
    display: block;
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING ORDER COUNTER
   ═══════════════════════════════════════════════════════════════ */

.order-count-badge {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: #10b981;
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.order-count-badge:hover { transform: scale(1.05); }
.order-count-badge.show { display: flex; }
.order-count-badge .count {
    background: white;
    color: #059669;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════
   ORDER SUMMARY TOTALS
   ═══════════════════════════════════════════════════════════════ */

.order-summary-totals {
    background: #f9fafb;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1024px) { .summary-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .summary-grid { grid-template-columns: repeat(2, 1fr); } }

.summary-item { display: flex; align-items: center; gap: 12px; background: white; padding: 16px; border-radius: 8px; border: 1px solid #e5e7eb; transition: all 0.2s; }
.summary-item:hover { border-color: #10b981; }
.summary-item.total { background: #10b981; color: white; border-color: #10b981; }
@media (max-width: 768px) { .summary-item.total { grid-column: span 2; } }

.summary-icon { font-size: 26px; line-height: 1; }
.summary-content { display: flex; flex-direction: column; gap: 3px; }
.summary-label { font-size: 11px; color: #888; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.summary-item.total .summary-label { color: rgba(255,255,255,0.85); }
.summary-value { font-size: 18px; font-weight: 700; color: #111; }
.summary-item.total .summary-value { color: white; font-size: 22px; }

/* ═══════════════════════════════════════════════════════════════
   PALLET & WEIGHT DETAILS
   ═══════════════════════════════════════════════════════════════ */

.pallet-details { background: #fafafa; border-radius: 8px; padding: 15px; }
.pallet-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.pallet-item { background: white; border-radius: 6px; padding: 14px; border: 1px solid #e5e7eb; display: flex; align-items: center; gap: 12px; transition: all 0.2s; }
.pallet-item:hover { border-color: #10b981; }
.pallet-icon { width: 42px; height: 42px; background: #f0fdf4; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.pallet-info { flex: 1; min-width: 0; }
.pallet-color { font-weight: 600; color: #111; font-size: 13px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pallet-specs { display: flex; flex-wrap: wrap; gap: 5px; font-size: 11px; }
.pallet-spec-badge { background: #f3f4f6; color: #555; padding: 2px 7px; border-radius: 4px; font-weight: 500; }
.pallet-spec-badge.size { background: #dbeafe; color: #1d4ed8; }
.pallet-spec-badge.count { background: #dcfce7; color: #166534; font-weight: 700; }
.pallet-spec-badge.weight { background: #fef3c7; color: #92400e; }

.pallet-summary-box { background: #f8fafc; border: 1px solid #3b82f6; border-radius: 8px; padding: 18px; margin-bottom: 12px; }
.pallet-summary-title { font-size: 15px; font-weight: 700; color: #1e40af; margin-bottom: 12px; text-align: center; }
.pallet-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
@media (max-width: 768px) { .pallet-summary-grid { grid-template-columns: repeat(2, 1fr); } }
.pallet-stat { background: white; border-radius: 8px; padding: 14px 10px; text-align: center; border: 1px solid #e5e7eb; }
.pallet-stat.highlight { background: #10b981; color: white; border-color: #10b981; }
.pallet-stat .stat-value { display: block; font-size: 22px; font-weight: 800; color: #111; line-height: 1.2; }
.pallet-stat.highlight .stat-value { color: white; }
.pallet-stat .stat-label { display: block; font-size: 10px; color: #888; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.pallet-stat.highlight .stat-label { color: rgba(255,255,255,0.9); }
.pallet-calc-note { background: white; border-radius: 6px; padding: 10px 14px; font-size: 12px; color: #555; border-left: 3px solid #3b82f6; }
.pallet-calc-note .warning { color: #dc2626; font-weight: 600; }
.pallet-items-title { font-size: 13px; font-weight: 600; color: #444; margin: 18px 0 10px; padding-top: 14px; border-top: 1px dashed #ddd; }
.pallet-item.item-detail { background: #fafafa; border: 1px dashed #ddd; }

.fire-badge { display: inline-block; padding: 2px 7px; border-radius: 3px; font-size: 10px; font-weight: 700; margin-left: 5px; }
.fire-badge.b2 { background: #dcfce7; color: #166534; }
.fire-badge.b1 { background: #fef3c7; color: #92400e; }
.fire-badge.a2 { background: #fee2e2; color: #991b1b; }

.weight-summary { background: #fffbeb; border: 1px solid #f59e0b; border-radius: 8px; padding: 14px; margin-top: 14px; }
.weight-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed #d97706; font-size: 13px; color: #78350f; }
.weight-row:last-child { border-bottom: none; }
.weight-row.total { margin-top: 8px; padding-top: 10px; border-top: 2px solid #f59e0b; border-bottom: none; font-size: 15px; font-weight: 700; color: #92400e; }
.weight-row.volume { background: #eff6ff; margin: 4px -14px; padding: 7px 14px; border-bottom: none; color: #1e40af; }
.weight-row.volume.total { background: #3b82f6; color: white; margin-top: 4px; padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.weight-row.volume.total strong { color: white; }
.weight-row strong { font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════
   ORDER FORM & INPUTS
   ═══════════════════════════════════════════════════════════════ */

.aco-order-section {
    background: #fff;
    padding: 30px;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    border-top: 1px solid #e5e5e5;
}

.aco-order-section h2 { color: #111; font-size: 22px; font-weight: 700; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.aco-order-section h3 { color: #333; font-size: 18px; font-weight: 600; margin: 28px 0 16px; display: flex; align-items: center; gap: 8px; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
th { background: #111; color: #fff; padding: 12px; text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; font-size: 13px; }
tbody tr:hover { background: #fafafa; }

input, select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    background: #fff;
    font-family: inherit;
}

input:focus, select:focus { outline: none; border-color: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,0.1); }
select:disabled { background: #f5f5f5; cursor: not-allowed; opacity: 0.7; }

.customer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1/-1; }
.form-group label { font-weight: 600; color: #333; margin-bottom: 6px; font-size: 13px; }
.form-group label::after { content: ' *'; color: #ef4444; font-weight: 400; }

.btn { padding: 12px 24px; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; font-size: 14px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.btn-primary { background: #10b981; color: #fff; box-shadow: 0 2px 8px rgba(16,185,129,0.3); }
.btn-primary:hover { background: #059669; transform: translateY(-1px); }
.btn-danger { background: #ef4444; color: #fff; padding: 8px 14px; font-size: 12px; }
.btn-danger:hover { background: #dc2626; }

/* ═══════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════ */

#modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    z-index: 1000;
    width: 580px;
    max-width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    animation: modalAppear 0.3s ease forwards;
}

@keyframes modalAppear { to { transform: translate(-50%, -50%) scale(1); } }

#modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

.modal-header { display: grid; grid-template-columns: 160px 1fr; gap: 16px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.modal-image-section { position: relative; }
.m-img { width: 100%; height: 150px; object-fit: cover; border-radius: 6px; display: block; border: 1px solid #eee; box-shadow: none; }
.modal-info-section h3 { margin: 0 0 6px; color: #111; font-size: 16px; font-weight: 700; }
.modal-info-section p { color: #10b981; margin: 0 0 10px; font-weight: 500; font-size: 13px; }
.modal-info-section .info-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.info-badge { background: #f5f5f5; padding: 3px 8px; border-radius: 3px; font-size: 10px; font-weight: 600; color: #555; border: 1px solid #e5e5e5; }

.thickness-warning { background: #fef3c7; border: 1px solid #f59e0b; border-radius: 4px; padding: 8px 12px; margin: 8px 0; font-size: 11px; color: #92400e; display: none; }
.thickness-warning.show { display: block; }

.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.m-grid .form-group { margin: 0; }
.m-grid .form-group label { font-size: 11px; margin-bottom: 4px; }
.m-grid .form-group input, .m-grid .form-group select { padding: 8px 10px; font-size: 12px; }
.m-grid .form-group.span-2 { grid-column: span 2; }
.m-grid .form-group.span-3 { grid-column: span 3; }

.fire-rating-info { background: #f0f9ff; border: 1px solid #0ea5e9; border-radius: 4px; padding: 7px; margin-top: 4px; font-size: 10px; color: #0c4a6e; display: none; }
.fire-rating-info.b1-premium { background: #fef3c7; border-color: #f59e0b; color: #92400e; }
.fire-rating-info.a2-premium { background: #f0fdf4; border-color: #10b981; color: #065f46; }

.modal-actions { display: flex; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eee; justify-content: flex-end; }
.modal-actions .btn { padding: 10px 20px; font-size: 13px; }

#delivery-info { background: #f0f9ff; border: 1px solid #0ea5e9; border-radius: 4px; padding: 7px; margin-top: 4px; font-size: 10px; color: #0c4a6e; }

/* ═══════════════════════════════════════════════════════════════
   TOAST, DEBUG, LOADING, RESULTS
   ═══════════════════════════════════════════════════════════════ */

.toast { position: fixed; top: 25px; right: 25px; background: #fff; padding: 16px 22px; border-radius: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); z-index: 2000; transform: translateX(400px); transition: all 0.4s ease; min-width: 240px; }
.toast.show { transform: translateX(0); }
.toast.success { border-left: 3px solid #10b981; background: #f0fdf4; }
.toast.error { border-left: 3px solid #ef4444; background: #fef2f2; }

.debug-info { background: #f0f9ff; border: 1px solid #3b82f6; border-radius: 6px; padding: 10px; margin: 10px 0; font-size: 12px; font-family: monospace; display: none; }
.debug-info.show { display: block; }

.table-loading-status { padding: 20px; text-align: center; background: #fff; border: 1px solid #e5e5e5; margin: 0; color: #555; }

.loading { opacity: 0.6; pointer-events: none; }
.btn.loading { position: relative; }
.btn.loading::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border: 2px solid transparent; border-top: 2px solid currentColor; border-radius: 50%; animation: spin 1s linear infinite; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.results-badge {
    background: #111;
    color: #fff;
    padding: 6px 14px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) { .swatches { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 1024px) {
    #modal { width: 75%; max-width: 500px; }
    .modal-header { grid-template-columns: 1fr; }
    .m-img { height: 140px; }
    .m-grid { grid-template-columns: repeat(2, 1fr); }
    .swatches { grid-template-columns: repeat(3, 1fr); }
    .swatch img { height: 150px; }
}

@media (max-width: 768px) {
    .aco-main { grid-template-columns: 1fr; }
    .aco-sidebar { border-right: none; border-bottom: 1px solid #e5e5e5; min-height: auto; padding: 16px; }
    .swatches { grid-template-columns: repeat(2, 1fr); gap: 2px; }
    .swatch img { height: 130px; }
    .aco-order-section { padding: 20px 16px; }
    .customer-grid { grid-template-columns: 1fr; }
    .m-grid { grid-template-columns: 1fr; }
    #modal { width: 92%; max-width: 400px; padding: 18px; }
    .modal-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .swatches { grid-template-columns: repeat(2, 1fr); }
    .swatch img { height: 110px; }
    .swatch .name { font-size: 11px; padding: 8px 8px 2px; }
    .swatch .specs { padding: 0 8px 8px; font-size: 9px; }
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SELECTOR
   ═══════════════════════════════════════════════════════════════ */

.gtekal-lang-selector { position: fixed; top: 15px; right: 15px; z-index: 9999; background: rgba(255,255,255,0.95); padding: 8px 12px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); backdrop-filter: blur(10px); }
.gtekal-lang-selector select { border: none; background: transparent; font-size: 13px; cursor: pointer; outline: none; }
@media (max-width: 768px) { .gtekal-lang-selector { top: 10px; right: 10px; padding: 5px 8px; } .gtekal-lang-selector select { font-size: 12px; } }

/* ═══════════════════════════════════════════════════════════════
   WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════════════ */

.gtekal-whatsapp-float { position: fixed; bottom: 25px; right: 25px; z-index: 9998; display: flex; align-items: center; gap: 10px; }
.gtekal-whatsapp-float .wa-label { background: #fff; color: #333; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); opacity: 0; transform: translateX(10px); transition: all 0.3s ease; white-space: nowrap; pointer-events: none; }
.gtekal-whatsapp-float:hover .wa-label { opacity: 1; transform: translateX(0); }
.gtekal-whatsapp-float .wa-btn { width: 52px; height: 52px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: all 0.3s ease; cursor: pointer; text-decoration: none; animation: wa-pulse 2.5s infinite; }
.gtekal-whatsapp-float .wa-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.55); }
.gtekal-whatsapp-float .wa-btn svg { width: 26px; height: 26px; fill: #fff; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 768px) { .gtekal-whatsapp-float { bottom: 18px; right: 18px; } .gtekal-whatsapp-float .wa-btn { width: 48px; height: 48px; } .gtekal-whatsapp-float .wa-btn svg { width: 22px; height: 22px; } .gtekal-whatsapp-float .wa-label { display: none; } }
