/* Afya Equipment Cart Styles */
/* Bw Glenn Sans DEMO Font Faces */
@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Hairline.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-HairlineItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-ExtraBoldItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Bw Glenn Sans DEMO';
    src: url('../fonts/BwGlennSansDEMO-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

/* CSS Variables */
:root {
    --afya-primary: #004377;
    --afya-secondary: #00C0E7;
    --afya-gradient-start: #00C0E7;
    --afya-gradient-end: #00DA98;
    --afya-text-dark: #004377;
    --afya-text-light: #004377;
    --afya-border-color: #E0E0E0;
    --afya-bg-light: #F5FAF5;
    --afya-white: #ffffff;
    --afya-success: #00DA98;
    --afya-error: #dc3545;
}

/* ==========================================
   EQUIPMENT CART PAGE STYLES - MOBILE FIRST
   ========================================== */

.afya-equipment-cart {
    font-family: 'Bw Glenn Sans DEMO', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--afya-white);
}

/* Cart Header - Full Width */
.afya-cart-header {
    background: linear-gradient(135deg, var(--afya-gradient-end) 0%, var(--afya-gradient-start) 100%);
    padding: 29px 0 32px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    height: 482px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.afya-cart-header-inner {
    /* max-width: 1200px; */
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    /* padding: 0 25px; */
}

.afya-cart-header-content {
    z-index: 2;
    padding-top: 20px;
}

.afya-cart-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--afya-primary);
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
}

.afya-cart-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: var(--afya-primary);
    margin: 5px 0 0 0;
    line-height: 1;
    letter-spacing: -2px;
}

.afya-cart-header-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 90%;
    margin-right: 0;
    padding-right: 0;
}

.afya-cart-header-image img {
    /* max-height: 241px; */
    height: 241px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-left: auto;
}

/* Cart Content */
.afya-cart-content {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 24px;
    background: var(--afya-white);
}

/* Empty Cart */
.afya-cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.afya-cart-empty p {
    font-size: 18px;
    color: var(--afya-text-light);
    margin-bottom: 20px;
}

/* Section Title (Mobile) */
.afya-section-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-text-dark);
    margin: 0 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--afya-border-color);
}

/* Table Header (Desktop Only) */
.afya-cart-table-header {
    display: none;
}

/* Cart Items Container */
.afya-cart-items {
    display: flex;
    flex-direction: column;
}

/* ==========================================
   MOBILE CART ITEM LAYOUT
   ========================================== */

.afya-cart-item {
    display: flex;
    flex-direction: column;
    padding: 25px 0;
    border-bottom: 1px solid var(--afya-border-color);
}

.afya-cart-item:last-child {
    border-bottom: none;
}

/* Item Main Row - Image and Details */
.afya-item-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 15px;
}

.afya-item-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border: 1px solid var(--afya-border-color);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--afya-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.afya-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.afya-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0;
}

.afya-item-name {
    font-family: Bw Glenn Sans DEMO;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-text-dark);
    margin: 0 0 4px 0;
}

.afya-item-subtitle {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-primary);
    margin: 0;
}

/* Item Bottom Row - Weight and Quantity (Mobile) */
.afya-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.afya-item-weight-mobile {
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-text-dark);
}

/* Quantity Controls */
.afya-item-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: hidden;
}

.afya-qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--afya-white);
    font-size: 20px;
    font-weight: 400;
    color: var(--afya-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    border: 1px solid var(--afya-border-color);
    border-radius: 50% !important;
}

.afya-qty-btn:hover {
    background: var(--afya-bg-light);
    color: var(--afya-primary);
}

.afya-qty-value {
    min-width: 35px;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-text-dark);
}

/* Cart Footer */
@media (max-width: 767px) {
    .afya-request-quote-btn {
        display: block;
        margin: 0 auto;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -2%;
    }
	
	/* Desktop Weight Column (Hidden on Mobile) */
    .afya-item-weight {
        display: none;
    }

    /* Desktop Quantity (Hidden on Mobile) */
    .afya-qty-desktop {
        display: none !important;
    }
}

.afya-cart-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    padding: 30px 0 10px;
    border-top: 1px solid var(--afya-border-color);
    margin-top: 10px;
}

.afya-cart-total {
    font-family: Bw Glenn Sans DEMO;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-primary);
    padding-bottom: 50px;
}

.afya-total-label {
    font-weight: 500;
}

.afya-total-count {
    font-weight: 700;
}

/* Buttons */
.afya-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.afya-btn-primary {
    background: var(--afya-primary);
    color: var(--afya-white);
    border-color: var(--afya-primary);
}

.afya-btn-primary:hover {
    background: transparent;
    color: var(--afya-primary);
}

.afya-btn-secondary {
    background: transparent;
    color: var(--afya-primary);
    border-color: var(--afya-primary);
}

.afya-btn-secondary:hover {
    background: var(--afya-primary);
    color: var(--afya-white);
}

/* ==========================================
   TABLET/DESKTOP STYLES (768px+)
   ========================================== */

@media (min-width: 768px) {
    .afya-cart-header {
        padding: 57px 42px 0 42px;
        height: 260px;
    }

    /* .afya-cart-header-inner {
        padding: 0 50px;
    } */

    .afya-cart-title {
        font-size: 28px;
    }

    .afya-cart-subtitle {
        font-size: 28px;
    }

    .afya-cart-header-image {
        right: 0;
        bottom: 0;
        max-width: 70%;
    }

    .afya-cart-header-image img {
        max-height: 228px;
    }

    .afya-cart-content {
        padding: 24px 26px 140px 21px;
    }

    /* Hide mobile section title */
    .afya-section-title {
        display: none;
    }

    /* Show Table Header on Desktop */
    .afya-cart-table-header {
        display: grid;
        grid-template-columns: 1fr 120px 160px;
        gap: 30px;
        padding: 15px 0;
        border-bottom: 1px solid var(--afya-border-color);
        color: var(--afya-text-dark);
        margin-bottom: 10px;
        font-family: Bw Glenn Sans DEMO;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -2%;
    }

    .afya-col-weight,
    .afya-col-quantity {
        text-align: left;
        /* padding-top: 15px; */
    }

    /* Desktop Cart Item - Grid Layout */
    .afya-cart-item {
        display: grid;
        grid-template-columns: 1fr 120px 160px;
        gap: 30px;
        align-items: flex-start;
        padding: 20px 0;
        flex-direction: row;
    }

    .afya-item-main {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 0;
    }

    .afya-item-image {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .afya-item-details {
        padding-top: 0;
    }

    .afya-item-name {
        font-size: 18px;
    }

    .afya-item-subtitle {
        font-size: 16px;
    }

    /* Hide mobile bottom row */
    .afya-item-bottom {
        display: none;
    }

    /* Show desktop weight */
    .afya-item-weight {
        display: block;
        color: var(--afya-text-dark);
        padding-top: 15px;
        font-weight: 700;
        font-size: 18px;
    }

    .afya-item-quantity {
        margin-top: 15px;
    }

    /* Show desktop quantity, hide mobile quantity */
    .afya-qty-mobile {
        display: none;
    }

    .afya-qty-desktop {
        display: flex;
        justify-self: start;
    }

    .afya-qty-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 50% !important;
    }

    .afya-qty-value {
        min-width: 30px;
        font-size: 18px;
    }

    .afya-request-quote-btn {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -2%;
    }

    /* Footer - Row Layout */
    .afya-cart-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 30px 0 0;
    }
}

/* ==========================================
   LARGE DESKTOP STYLES (1024px+)
   ========================================== */

@media (min-width: 1024px) {
    .afya-cart-header {
        padding: 96px 32px 0 32px;
        height: 426px;
    }

    .afya-cart-header-inner {
        /* padding: 0 60px; */
    }

    .afya-cart-title {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 900;
        font-size: 62px;
        line-height: 100%;
        letter-spacing: -2%;
    }

    .afya-cart-subtitle {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 600;
        font-size: 62px;
        line-height: 100%;
        letter-spacing: -2%;
    }

    .afya-cart-header-image {
        right: 0;
        bottom: 0;
    }

    .afya-cart-header-image img {
        max-height: 341px;
    }

    .afya-cart-content {
        padding: 25px 45px 250px 32px;
    }

    .afya-cart-table-header {
        grid-template-columns: 1fr 140px 180px;
        font-family: Bw Glenn Sans DEMO;
        font-weight: 700;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -2%;
    }


    .afya-cart-item {
        grid-template-columns: 1fr 140px 180px;
    }

    .afya-item-image {
        width: 156px;
        height: 156px;
        min-width: 156px;
    }

    .afya-item-name {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 700;
        font-style: Bold;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -2%;
        padding-bottom: 8px;
        padding-top: 15px;
    }

    .afya-item-subtitle {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 600;
        font-style: Medium;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -2%;

    }

    .afya-item-weight,
    .afya-item-quantity button,
    .afya-item-quantity .afya-qty-value {
        font-family: Bw Glenn Sans DEMO;
        font-weight: 700;
        font-style: Bold;
        font-size: 24px;
        line-height: 100%;
        letter-spacing: -2%;
    }

    .afya-qty-btn {
        width: 60px;
        height: 60px;
        /* border-radius: 200px; */
    }

}

/* ==========================================
   XL DESKTOP STYLES (1440px+)
   ========================================== */

@media (min-width: 1440px) {
    .afya-cart-header {
        height: 625px;
    }

    .afya-cart-header-image img {
        max-height: 500px;
    }
}

/* ==========================================
   QUOTE REQUEST MODAL STYLES
   ========================================== */

.afya-quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.afya-quote-modal {
    background: var(--afya-white);
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: afyaModalSlideIn 0.3s ease;
}

@keyframes afyaModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Header */
.afya-modal-header {
    /* background: linear-gradient(135deg, var(--afya-gradient-start) 0%, var(--afya-gradient-end) 100%); */
    background: linear-gradient(105.72deg, #00DA98 0%, #00C0E7 50%, #004377 100%);
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 70px;
}

.afya-modal-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 25px;
    margin-top: -25px;
    z-index: 100;
}

.afya-modal-icon svg {
    width: 24px;
    height: 24px;
    z-index: 100;
}

.afya-modal-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.afya-modal-close:hover {
    transform: scale(1.1);
}

.afya-modal-close svg {
    width: 32px;
    height: 32px;
}

/* Modal Content */
.afya-modal-content {
    padding: 33px 25px;
}

.afya-modal-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-primary);
    text-align: center;
    margin: 0 0 10px 0;
}

.afya-modal-subtitle {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
    text-align: center;
    color: var(--afya-text-light);
    text-align: center;
    margin: 0 0 25px 0;
}

/* Quote Items Summary */
.afya-quote-items {
    background: #9FFDE1;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 25px;
}

.afya-items-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-primary);
    margin: 0 0 12px 0;
}

.afya-items-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.afya-quote-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 13px;
}

.afya-quote-item-name {
    color: var(--afya-text-dark);
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
    padding-bottom: 8px;
}

.afya-quote-item-qty {
    color: var(--afya-secondary);
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
}

/* Quote Form */
.afya-quote-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.afya-form-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.afya-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.afya-form-group label {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
    color: var(--afya-primary);
}

.afya-form-group input,
.afya-form-group select,
.afya-form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--afya-primary) !important;
    border-radius: 80px !important;
    font-size: 14px;
    color: var(--afya-text-dark);
    background: var(--afya-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.afya-form-group textarea {
    border-radius: 10px !important;
    resize: vertical;
    min-height: 100px;
}

.afya-form-group input:focus,
.afya-form-group select:focus,
.afya-form-group textarea:focus {
    outline: none;
    border-color: var(--afya-secondary);
    box-shadow: 0 0 0 3px rgba(0, 165, 168, 0.1);
}

.afya-form-group input::placeholder,
.afya-form-group textarea::placeholder {
    color: #AAAAAA;
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: -2%;
}

.afya-form-group select {
    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='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Form Actions */
.afya-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.afya-form-actions .afya-btn {
    flex: 1;
    padding: 14px 20px;
}

#afya-cancel-quote {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
}

#afya-submit-quote {
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -2%;
}

/* Modal tablet Styles */
@media (min-width: 768px) {
    .afya-quote-modal {
        max-width: 750px;
    }

    .afya-modal-header {
        padding: 25px 30px;
        height: 80px;
    }

    .afya-modal-content {
        padding: 30px 40px 40px;
    }

    .afya-modal-title {
        font-size: 24px;
    }

    .afya-quote-items {
        padding: 20px 25px;
    }

    .afya-form-row {
        flex-direction: row;
        gap: 20px;
    }

    .afya-form-row .afya-form-group {
        flex: 1;
    }

    .afya-form-row-single .afya-form-group {
        flex: 0 0 calc(50% - 10px);
    }

    .afya-form-group-full {
        flex: 1 1 100% !important;
    }


    #afya-cancel-quote,
    #afya-submit-quote {
        font-size: 16px;
    }

}

/* Modal Desktop Styles */
@media (min-width: 1024px) {
    .afya-modal-header {
        height: 95px;
    }

    .afya-modal-icon {
        width: 60px;
        height: 60px;
        margin-left: 25px;
        margin-top: -30px;
        z-index: 100;
    }

    .afya-modal-icon svg {
        width: 45px !important;
        height: 45px !important;
        z-index: 100;
    }

    .afya-quote-modal {
        max-width: 1070px;
    }

    .afya-modal-header {
        padding: 25px 30px;
    }

    .afya-modal-content {
        padding: 115px 63px;
    }

    .afya-modal-title {
        font-size: 32px;
    }

    .afya-modal-subtitle {
        font-size: 18px;
    }

    .afya-quote-items {
        padding: 20px 25px;
        flex-direction: row;
    }

    .afya-items-title {
        font-size: 18px;
    }

    .afya-items-list {
        flex-direction: column;
    }

    .afya-quote-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        font-size: 16px;
    }

    .afya-quote-item-name,
    .afya-quote-item-qty,
    .afya-form-group label {
        font-size: 16px;
    }

    .afya-form-row {
        gap: 20px;
    }

    .afya-form-row .afya-form-group {
        flex: 1;
    }

    .afya-form-row-single .afya-form-group {
        flex: 0 0 calc(50% - 10px);
    }

    .afya-form-group-full {
        flex: 1 1 100% !important;
    }

    .afya-form-group input,
    .afya-form-group select,
    .afya-form-group textarea {
        font-size: 16px;
    }


    #afya-cancel-quote,
    #afya-submit-quote {
        font-size: 18px;
    }

    #afya-cancel-quote {
        max-width: 165px;
        width: 165px;
    }

    #afya-submit-quote {
        max-width: 370px;
        width: 370px;
    }

    /* Form Actions */
    .afya-form-actions {
        margin: 10px auto;
    }

    .afya-form-group input::placeholder,
    .afya-form-group textarea::placeholder {
        font-size: 16px;
    }
}

/* ==========================================
   UTILITY CLASSES & STATES
   ========================================== */

/* Loading State */
.afya-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.afya-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--afya-secondary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: afyaSpin 0.8s linear infinite;
}

@keyframes afyaSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.afya-success-message {
    background: var(--afya-bg-light);
    border: 1px solid var(--afya-success);
    color: var(--afya-success);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Error Message */
.afya-error-message {
    background: #fff5f5;
    border: 1px solid var(--afya-error);
    color: var(--afya-error);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Item Remove Animation */
.afya-cart-item.removing {
    animation: afyaSlideOut 0.3s ease forwards;
}

@keyframes afyaSlideOut {
    to {
        transform: translateX(-100%);
        opacity: 0;
        height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Quantity Update Animation */
.afya-qty-value.updating {
    animation: afyaPulse 0.3s ease;
}

@keyframes afyaPulse {
    50% {
        transform: scale(1.2);
        color: var(--afya-secondary);
    }
}

/* Hide Modal Body Scroll */
body.afya-modal-open {
    overflow: hidden;
}

/* Accessibility Focus Styles */
.afya-btn:focus,
.afya-qty-btn:focus,
.afya-modal-close:focus {
    outline: 2px solid var(--afya-secondary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .afya-quote-modal-overlay {
        display: none !important;
    }

    .afya-cart-footer .afya-btn {
        display: none;
    }
}