/* Checkout Page Styling - 100% Match */
.page-banner {
    background-image: url(https://futurcrop.com/wp-content/uploads/2023/06/ingeniero-agronomo-1-1.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-banner-box {
    background-color: rgba(12, 12, 12, 0.418);
    padding: 60px 20px;
    width: 95%;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner-heading {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: #fff !important;
    line-height: 1.1;
    margin-bottom: 45px;
}

.page-banner-sub-heading {
    font-size: 2.5rem;
    font-family: "Georgia", serif;
    color: #fff !important;
    letter-spacing: 1px;
}

/* Secondary Nav Bar */
.secondary-nav {
    background-color: #000;
}

.secondary-nav .social-icons i {
    cursor: pointer;
    transition: color 0.2s;
}

.secondary-nav .social-icons i:hover {
    color: #d4af37;
}

.secondary-nav .nav-links-center a:hover {
    color: #d4af37 !important;
}

.secondary-nav .search-bar .btn-secondary {
    background-color: #636161;
    border: none;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.secondary-nav .search-bar .form-control {
    font-size: 0.8rem;
    height: 31px;
}

/* New Design Styles */
.cart-icon-bar {
    background-color: #d4af37;
    color: white;
    font-size: 1.85rem;
    padding: 18px 0;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.benefits-section ul li {
    font-size: 0.85rem;
    color: #666;
}

.billing-details-title {
    font-family: "Georgia", serif;
    color: #333;
    font-weight: 500;
}

.house-bg {
    background-color: #fafafa;
}

.checkout-card {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
}

.order-summary-table-v3 table {
    margin-bottom: 0;
    width: 100%;
}

.order-summary-table-v3 table th,
.order-summary-table-v3 table td {
    padding: 12px 18px !important;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    vertical-align: middle;
}

.order-summary-table-v3 table th:first-child,
.order-summary-table-v3 table td:first-child {
    border-right: 1px solid #eee;
    width: 60%;
    text-align: left;
}

.order-summary-table-v3 table th:last-child,
.order-summary-table-v3 table td:last-child {
    width: 40%;
    text-align: left;
}

.order-summary-table-v3 table th {
    text-transform: none;
    color: #444;
    font-weight: 700;
    background-color: #fff;
}

.order-summary-table-v3 .bg-light-header {
    background-color: #f7f7f7;
}

.order-summary-table-v3 table td {
    color: #555;
}

/* Payment Section Styling */
.payment-method-item {
    padding: 18px 25px !important;
    border-bottom: 1px solid #eee;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.payment-method-item:last-child {
    border-bottom: none;
}

.form-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding-left: 0 !important;
    position: relative !important;
    margin-bottom: 0px !important;
    min-height: 24px !important;
}

/* Full-width rows so sibling radios never overlap labels (billing customer type). */
.checkout-customer-type-options .form-check {
    width: 100%;
    flex-wrap: nowrap;
}

.checkout-customer-type-options .form-check-label {
    flex: 1 1 auto;
    min-width: 0;
}

.form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: none;
}

.form-check-input {
    position: relative !important;
    float: none !important;
    margin: 0 12px 0 0 !important;
    border: 1px solid #ccc;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    flex-shrink: 0 !important;
    top: 0 !important;
    left: 0 !important;
}

.form-check-label {
    cursor: pointer;
    line-height: normal !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    vertical-align: middle !important;
    color: #333;
    font-weight: 500;
}

.test-mode-alert {
    background-color: #f7f7f7;
    border: none !important;
    color: #666;
    padding: 15px 20px !important;
    margin: 15px 0;
    font-size: 0.85rem;
}

.card-details-box {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 20px;
    border-radius: 2px;
}

#card-element {
    padding: 12px 15px !important;
    min-height: 45px;
}

.card-payment-header {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    margin-bottom: 15px;
    color: #3b82f6;
    font-weight: 700;
}

.place-order-btn {
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    margin-top: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.place-order-btn:hover {
    background-color: #5b4cc4;
}

/* Global Input Styling Refinement for Checkout */
.checkout-page .form-control,
.checkout-page .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px 15px;
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
    height: 45px;
    line-height: 1.5;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
    border-color: #6c5ce7;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
}

.checkout-page .form-label {
    display: block;
    text-align: left;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.billing-details-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px !important;
    color: #333;
    text-align: left;
}

.payment-method-item {
    transition: 0.3s ease;
}

.payment-method-item:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-icons i {
    opacity: 0.85;
}