html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease-in-out;
}

    .whatsapp-btn:hover {
        background: #15803d;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
    }

    .whatsapp-btn:focus {
        color: #ffffff !important;
    }

body {
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 35%), radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 30%), #f5f7fb;
    color: #111827;
}

.shipping-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 60px;
}

.calculator-hero {
    background: linear-gradient(135deg, #111827, #1f2937 55%, #0f766e);
    border-radius: 28px;
    padding: 34px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    position: relative;
}

    .calculator-hero::after {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        right: -70px;
        top: -80px;
    }

.hero-content {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.12);
    color: #d1fae5;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.calculator-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.calculator-hero p {
    max-width: 650px;
    color: #d1d5db;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.hero-card {
    min-width: 210px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
}

.hero-card-label {
    color: #d1d5db;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.hero-card-price {
    font-size: 2rem;
    font-weight: 900;
}

.hero-card-small {
    color: #bbf7d0;
    font-size: 0.85rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.section-title {
    margin-bottom: 18px;
}

    .section-title h3 {
        font-size: 1.15rem;
        font-weight: 850;
        margin-bottom: 3px;
    }

    .section-title p {
        margin-bottom: 0;
        color: #6b7280;
        font-size: 0.92rem;
    }

.form-label {
    font-weight: 700;
    color: #374151;
    font-size: 0.9rem;
}

.modern-input {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    min-height: 44px;
    box-shadow: none !important;
}

    .modern-input:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
    }

.shipping-note {
    min-height: 44px;
    display: flex;
    align-items: center;
    background: #ecfeff;
    border: 1px solid #a5f3fc;
    color: #155e75;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
}

.modern-btn {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    transition: 0.2s ease;
}

    .modern-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.35);
    }

.modern-table-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.modern-table {
    margin-bottom: 0;
}

    .modern-table thead th {
        background: #f8fafc;
        color: #111827;
        font-weight: 850;
        border-bottom: 1px solid #e5e7eb;
        padding: 14px;
        white-space: nowrap;
    }

    .modern-table tbody td {
        padding: 10px;
        vertical-align: middle;
        border-color: #eef2f7;
    }

.row-box-units {
    font-weight: 800;
    color: #0f766e;
}

.remove-item-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 900;
    transition: 0.2s ease;
}

    .remove-item-btn:hover {
        background: #ef4444;
        color: #ffffff;
    }

.soft-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.summary-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    min-height: 100px;
}

    .summary-box span,
    .total-card span {
        display: block;
        color: #6b7280;
        font-size: 0.92rem;
        margin-bottom: 6px;
    }

    .summary-box strong {
        display: block;
        font-size: 1.55rem;
        color: #111827;
    }

.total-card {
    margin-top: 16px;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

    .total-card span {
        color: #cbd5e1;
    }

    .total-card strong {
        display: block;
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 950;
        letter-spacing: -1px;
    }

.estimate-disclaimer {
    margin-top: 16px;
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 14px;
    padding: 13px 15px;
    font-weight: 650;
}

/* Header cleanup */
.navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -0.3px;
}

.navbar .nav-link {
    font-weight: 700;
    color: #374151;
    border-radius: 999px;
    padding: 8px 14px !important;
}

    .navbar .nav-link:hover {
        background: #eef2ff;
        color: #1d4ed8;
    }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16a34a;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
    transition: 0.2s ease;
}

    .whatsapp-btn:hover {
        background: #15803d;
        color: #ffffff !important;
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card {
        width: 100%;
        text-align: left;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 18px;
    }
}