/* =============================================
   CHECKOUT PAGE - COMPLETE UPDATED CSS
   ============================================= */

* { box-sizing: border-box; }

.font-bengali {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Tiro Bangla', sans-serif;
}

/* =============================================
   PAGE BACKGROUND
   ============================================= */

.main-ceckout-container {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #fdf2f8 100%);
    min-height: 100vh;
    padding: 20px 0 50px;
}

/* =============================================
   NOTICE HEADER
   ============================================= */

.alert-header {
    background: linear-gradient(to right, #fff8e1, #fef3c7);
    border-left: 5px solid #f59e0b;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12);
}

.alert-header p {
    color: #92400e;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* =============================================
   LEFT COLUMN - FORM
   ============================================= */

.checkout-container { padding: 0; }

.left-column {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.09);
    overflow: hidden;
    border: none;
}

.form-heading {
    background: linear-gradient(to right, #7c3aed, #db2777) !important;
    padding: 18px 22px !important;
    margin-bottom: 0 !important;
}

.form-heading h5 {
    color: #fff !important;
    margin: 0;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.form-section {
    padding: 24px 22px;
}

.form-section .form-label,
.checkout-container .form-label {
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 7px;
    font-weight: 600;
    display: block;
}

/* ── Input / Select base ── */
.checkout-container .form-control,
.checkout-container .form-select,
.form-section .form-control,
.form-section .form-select {
    border: 1.5px solid #d1d5db !important;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 16px;
    color: #111827 !important;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    width: 100%;
    outline: none !important;
}

/* ── Focus state — border stays visible ── */
.checkout-container .form-control:focus,
.checkout-container .form-select:focus,
.form-section .form-control:focus,
.form-section .form-select:focus {
    border: 1.5px solid #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14) !important;
    background: #fff !important;
    outline: none !important;
}

/* ── Placeholder ── */
.checkout-container .form-control::placeholder,
.form-section .form-control::placeholder {
    color: #9ca3af !important;
    font-size: 16px;
    font-weight: 400;
    font-family: "Tiro Bangla", serif;
}

.checkout-container textarea[name="address"],
.form-section textarea {
    min-height: 80px;
    resize: none;
}

/* ── Validation ── */
.checkout-container .form-control.is-invalid,
.checkout-container .form-select.is-invalid {
    border: 1.5px solid #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.warning-box,
.checkout-container .warning-box {
    background: #fff5f5;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 13px 16px;
    margin-top: 6px;
    display: flex;
}

.warning-box p,
.checkout-container .warning-box p {
    color: #b91c1c;
    font-size: 15px;
    margin: 0;
    line-height: 1.65;
}

/* =============================================
   RIGHT COLUMN - CART
   ============================================= */

.cart-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.09);
    overflow: hidden;
    border: none;
}

.cart-heaidg {
    background: linear-gradient(to right, #2563eb, #4f46e5) !important;
    padding: 18px 22px !important;
}

.cart-heaidg h5 {
    color: #fff !important;
    margin: 0;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* ---- Cart Table ---- */
.cart-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cart-table {
    width: 97%;
    border-collapse: collapse;
    table-layout: auto;
}

.cart-table thead tr {
    border-bottom: 2px solid #e5e7eb;
    background: #f9fafb;
}

.cart-table thead th {
    padding: 11px 8px;
    font-weight: 700;
    color: #374151;
    font-size: 14px;
    border: none;
    white-space: nowrap;
}

.cart-table thead th:nth-child(1) { text-align: center; width: 36px; }
.cart-table thead th:nth-child(2) { text-align: left; }
.cart-table thead th:nth-child(3) { text-align: center; }
.cart-table thead th:nth-child(4) { text-align: right; width: 70px; padding-right: 10px; }

.cart-table tbody tr { border-bottom: 1px solid #f3f4f6; }
.cart-table tbody tr:hover { background: #fafbff; }

.cart-table tbody td {
    padding: 10px 8px;
    vertical-align: middle;
    border: none;
}

.cart-table tbody td:nth-child(1) { text-align: center; width: 36px; }
.cart-table tbody td:nth-child(2) { text-align: left; }
.cart-table tbody td:nth-child(3) { text-align: center; }
.cart-table tbody td:nth-child(4) { text-align: right; width: 70px; padding-right: 10px; }

.cart-table tbody tr:last-child td:nth-child(1) {
    text-align: left !important;
    padding-left: 8px !important;
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.cart-table tbody tr:last-child td:nth-child(2) {
    text-align: right !important;
    padding-right: 10px !important;
}

.cart-item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cart-item-name {
    font-size: 15px;
    color: #111827;
    margin: 0 0 2px;
    font-weight: 600;
    line-height: 1.45;
}

.cart-item-size {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

.item-price {
    color: #111827 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    white-space: nowrap;
}

span#net_total.item-price {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: #000 !important;
}

.btn-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    padding: 5px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}

.btn-remove:hover {
    background: #fee2e2;
    color: #b91c1c;
}

.item-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #000;
    overflow: hidden;
    width: fit-content;
}

.item-qty-control button {
    background: transparent;
    border: none;
    width: 20px;
    height: 26px;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.item-qty-control button:hover { background: #f5f5f5; }

.item-qty-control input {
    width: 28px;
    height: 26px;
    text-align: center;
    border: none;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}

.item-qty-control input::-webkit-outer-spin-button,
.item-qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =============================================
   PAYMENT SECTION
   ============================================= */

.main-payment-section {
    padding: 20px 16px 22px !important;
    background: #f8faff !important;
    border-top: 1px solid #e9ecef;
}

.discount-section { margin-bottom: 16px; }

.main-payment-section .discount-input-group {
    display: flex;
    gap: 10px;
}

.main-payment-section .discount-input-group input {
    flex: 1;
    padding: 10px 13px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    color: #0D0A0B;
    background: #fff;
    min-width: 0;
}

.main-payment-section .discount-input-group input::placeholder {
    font-size: 16px;
    color: #999;
    font-weight: 500;
    font-family: "Tiro Bangla", serif;
}

.main-payment-section .discount-input-group input:focus {
    outline: none;
    border-color: #4f46e5;
}

.main-payment-section .btn-apply-discount {
    padding: 10px 18px;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-family: 'Hind Siliguri', sans-serif;
    flex-shrink: 0;
}

.main-payment-section .btn-apply-discount:hover { opacity: 0.9; }

/* ---- Summary ---- */
.main-payment-section .summary-section { margin-top: 16px; margin-bottom: 20px; margin-right: 20px; }

.main-payment-section .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.main-payment-section .summary-row span:last-child {
    color: #111827;
    font-weight: 500;
}

.main-payment-section .summary-row.total {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    border-top: 2px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 6px;
}

.main-payment-section .summary-row.total span:last-child {
    color: #111827 !important;
    font-weight: 800 !important;
    font-size: 16px !important;
}

/* ---- Payment Methods ---- */
.main-payment-section .payment-methods {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.main-payment-section .payment-methods h6 {
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}

.main-payment-section .payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 0;
}

.main-payment-section .payment-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.main-payment-section .payment-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    flex-shrink: 0;
}

.main-payment-section .payment-option input[type="radio"]:checked {
    border-color: #7c3aed;
    background-color: #7c3aed;
}

.main-payment-section .payment-option input[type="radio"]::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.2s ease-in-out;
}

.main-payment-section .payment-option input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

.main-payment-section .payment-option label {
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
    margin: 0;
}

.main-payment-section .payment-option input[type="radio"]:checked + label {
    color: #7c3aed;
    font-weight: 600;
}

/* ---- Order Button ---- */
.btn-complete-order {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(to right, #7c3aed, #db2777);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Hind Siliguri', sans-serif;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    transition: opacity 0.2s, transform 0.15s;
}

.btn-complete-order:hover {
    opacity: 0.93;
    transform: translateY(-1px);
}

.btn-complete-order:active { transform: translateY(0); }

/* =============================================
   ADD EXTRA SECTION — MINIMALIST REDESIGN
   ============================================= */

.checkout-container .add-extra-section,
.add-extra-section.desktop-add-extra,
.add-extra-section {
    background: #fffbf7;
    border: 1.5px solid rgba(234, 88, 12, 0.2);
    border-radius: 20px;
    padding: 18px 16px 16px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(234, 88, 12, 0.07);
}

/* Animated gradient top stripe */
.checkout-container .add-extra-section::before,
.add-extra-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f97316, #ea580c, #f97316, #fbbf24);
    background-size: 200% 100%;
    animation: extraStripe 2.5s linear infinite;
}

@keyframes extraStripe {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ── Section heading ── */
.checkout-container .add-extra-section h6,
.add-extra-section.desktop-add-extra h6,
.add-extra-section h6 {
    font-size: 16px;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fed7aa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-extra-section h6 .extra-cart-icon {
    font-size: 20px;
    animation: cartBounce 2s ease-in-out infinite;
}

@keyframes cartBounce {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-4px); }
    60%       { transform: translateY(-2px); }
}

.add-extra-section h6 .extra-sparkle {
    font-size: 14px;
    color: #f97316;
    animation: sparkleSpin 2.5s linear infinite;
    margin-left: auto;
}

@keyframes sparkleSpin {
    0%   { transform: scale(1) rotate(0deg); }
    50%  { transform: scale(1.4) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* ── Product Card ── */
.checkout-container .extra-product,
.add-extra-section .extra-product {
    background: #ffffff;
    border: 1px solid #f3e8d8;
    border-left: 3px solid #f97316;
    border-radius: 14px;
    padding: 11px 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: cardEntrance 0.4s ease both;
}

.checkout-container .extra-product:nth-child(1),
.add-extra-section .extra-product:nth-child(1) { animation-delay: 0.05s; }
.checkout-container .extra-product:nth-child(2),
.add-extra-section .extra-product:nth-child(2) { animation-delay: 0.12s; }
.checkout-container .extra-product:nth-child(3),
.add-extra-section .extra-product:nth-child(3) { animation-delay: 0.19s; }
.checkout-container .extra-product:nth-child(4),
.add-extra-section .extra-product:nth-child(4) { animation-delay: 0.26s; }
.checkout-container .extra-product:nth-child(n+5),
.add-extra-section .extra-product:nth-child(n+5) { animation-delay: 0.33s; }

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.checkout-container .extra-product:hover,
.add-extra-section .extra-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.1);
}

.checkout-container .extra-product:last-child,
.add-extra-section .extra-product:last-child { margin-bottom: 0; }

/* ── Top row: image + info ── */
.checkout-container .extra-product-info,
.add-extra-section .extra-product-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 11px;
    flex: 1;
    width: 100%;
    flex-wrap: nowrap;
}

/* ── Image ── */
.checkout-container .extra-product-img,
.add-extra-section .extra-product-img {
    position: relative;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    flex-shrink: 0 !important;
}

.checkout-container .extra-product-img img,
.add-extra-section .extra-product-img img {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #fed7aa;
    display: block !important;
    transition: transform 0.3s ease;
}

.checkout-container .extra-product:hover .extra-product-img img,
.add-extra-section .extra-product:hover .extra-product-img img {
    transform: scale(1.06);
}

.checkout-container .extra-product-img .extra-img-badge,
.add-extra-section .extra-product-img .extra-img-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 6px rgba(249,115,22,0.4);
}

@keyframes badgePulse {
    0%,100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

/* ── Product Details ── */
.checkout-container .extra-product-details,
.add-extra-section .extra-product-details {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.checkout-container .extra-product-details h4,
.add-extra-section .extra-product-details h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1c1917;
    margin: 0 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.3;
}

.checkout-container .extra-product-details p,
.add-extra-section .extra-product-details p {
    font-size: 16px;
    font-weight: 700;
    color: #ea580c;
    margin: 0;
    padding: 0;
    opacity: 1;
    line-height: 1;
}

/* ── Controls row ── */
.checkout-container .extra-product-controls,
.add-extra-section .extra-product-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 9px;
    width: 100%;
    flex-wrap: nowrap;
}

/* ── Qty Control ── */
.checkout-container .qty-control,
.add-extra-section .qty-control {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 30px;
    padding: 2px 3px;
    gap: 1px;
    flex-shrink: 0;
    width: auto !important;
}

.checkout-container .qty-control button,
.add-extra-section .qty-control button {
    background: transparent;
    border: none;
    color: #ea580c;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, transform 0.1s;
    line-height: 1;
    flex-shrink: 0;
}

.checkout-container .qty-control button:hover,
.add-extra-section .qty-control button:hover {
    background: #ea580c;
    color: #fff;
}

.checkout-container .qty-control button:active,
.add-extra-section .qty-control button:active {
    transform: scale(0.88);
}

.checkout-container .qty-control input,
.add-extra-section .qty-control input {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 26px;
    text-align: center;
    border: none !important;
    background: transparent;
    color: #92400e;
    font-weight: 700;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
    box-shadow: none !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.checkout-container .qty-control input::-webkit-outer-spin-button,
.checkout-container .qty-control input::-webkit-inner-spin-button,
.add-extra-section .qty-control input::-webkit-outer-spin-button,
.add-extra-section .qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Add Button ── */
.checkout-container .btn-add-extra,
.add-extra-section .btn-add-extra {
    flex: 1;
    background: #ea580c;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
    display: block;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

/* Shine sweep on hover */
.checkout-container .btn-add-extra::after,
.add-extra-section .btn-add-extra::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.22);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
    pointer-events: none;
}

.checkout-container .btn-add-extra:hover::after,
.add-extra-section .btn-add-extra:hover::after {
    left: 130%;
}

.checkout-container .btn-add-extra:hover,
.add-extra-section .btn-add-extra:hover {
    background: #c2410c;
    box-shadow: 0 4px 14px rgba(234,88,12,0.3);
    transform: translateY(-1px);
}

.checkout-container .btn-add-extra:active,
.add-extra-section .btn-add-extra:active {
    transform: scale(0.96);
    box-shadow: none;
}

/* Loading state */
.checkout-container .btn-add-extra.loading,
.add-extra-section .btn-add-extra.loading {
    background: #d1d5db;
    cursor: not-allowed;
    pointer-events: none;
}

.checkout-container .btn-add-extra.loading::after,
.add-extra-section .btn-add-extra.loading::after { display: none; }

/* Success state */
.checkout-container .btn-add-extra.added,
.add-extra-section .btn-add-extra.added {
    background: #16a34a;
    pointer-events: none;
    animation: successPop 0.3s ease;
}

.checkout-container .btn-add-extra.added::after,
.add-extra-section .btn-add-extra.added::after { display: none; }

@keyframes successPop {
    0%   { transform: scale(0.93); }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ── Bottom bar ── */
.add-extra-section .extra-bottom-bar {
    height: 3px;
    background: linear-gradient(to right, #fbbf24, #f97316, #ea580c);
    border-radius: 0 0 12px 12px;
    margin: 12px -16px -16px;
    overflow: hidden;
}

/* =============================================
   ADD EXTRA — RESPONSIVE
   ============================================= */

@media (max-width: 767px) {

    .checkout-container .extra-product-info,
    .add-extra-section .extra-product-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px;
    }

    .checkout-container .extra-product-img,
    .add-extra-section .extra-product-img {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        flex-shrink: 0 !important;
    }

    .checkout-container .extra-product-img img,
    .add-extra-section .extra-product-img img {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        display: block !important;
    }

    .checkout-container .extra-product-controls,
    .add-extra-section .extra-product-controls {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        width: 100% !important;
    }

    .checkout-container .qty-control,
    .add-extra-section .qty-control {
        display: flex !important;
        flex-direction: row !important;
        flex-shrink: 0 !important;
        width: auto !important;
    }

    /* Bootstrap input width:100% override */
    .checkout-container .qty-control input,
    .add-extra-section .qty-control input {
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        flex-shrink: 0 !important;
    }

    .checkout-container .extra-product-details h4,
    .add-extra-section .extra-product-details h4 {
        font-size: 12px;
        max-width: 100% !important;
    }

    .checkout-container .extra-product-details p,
    .add-extra-section .extra-product-details p { font-size: 15px; }
}

@media (max-width: 480px) {

    .checkout-container .extra-product-img,
    .add-extra-section .extra-product-img {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }

    .checkout-container .extra-product-img img,
    .add-extra-section .extra-product-img img {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
    }

    .checkout-container .extra-product-details h4,
    .add-extra-section .extra-product-details h4 { font-size: 11px; }

    .checkout-container .extra-product-details p,
    .add-extra-section .extra-product-details p { font-size: 14px; }

    .checkout-container .btn-add-extra,
    .add-extra-section .btn-add-extra { font-size: 13px; padding: 7px 10px; }

    .checkout-container .qty-control button,
    .add-extra-section .qty-control button {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
        font-size: 15px;
    }

    .checkout-container .qty-control input,
    .add-extra-section .qty-control input {
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        font-size: 13px;
    }
    
}
