/* UI Utilities for 6 Utra */
.display-none {
    display: none !important;
}

.display-flex {
    display: flex !important;
}

.display-block {
    display: block !important;
}

.flex-1 {
    flex: 1 !important;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.space-between {
    justify-content: space-between !important;
}

.align-center {
    align-items: center !important;
}

.gap-6 {
    gap: 6px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-14 {
    gap: 14px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

/* Text & Fonts */
.font-size-9 {
    font-size: 9px !important;
}

.font-size-11 {
    font-size: 11px !important;
}

.font-size-12 {
    font-size: 12px !important;
}

.font-size-13 {
    font-size: 13px !important;
}

.font-size-14 {
    font-size: 14px !important;
}

.font-size-15 {
    font-size: 15px !important;
}

.font-size-16 {
    font-size: 16px !important;
}

.font-size-18 {
    font-size: 18px !important;
}

.font-size-19 {
    font-size: 19px !important;
}

.font-size-20 {
    font-size: 20px !important;
}

.font-size-24 {
    font-size: 24px !important;
}

.font-size-28 {
    font-size: 28px !important;
}

.font-size-32 {
    font-size: 32px !important;
}

.font-16-600 {
    font-size: 16px;
    font-weight: 600;
}

.font-18-700 {
    font-size: 18px;
    font-weight: 700;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800 !important;
}

.font-900 {
    font-weight: 900 !important;
}

.letter-spacing-neg {
    letter-spacing: -0.5px;
}

.text-align-left {
    text-align: left !important;
}

.text-align-center {
    text-align: center !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.opacity-07 {
    opacity: 0.7 !important;
}

.opacity-08 {
    opacity: 0.8 !important;
}

/* Margins & Paddings */
.margin-0 {
    margin: 0 !important;
}

.margin-top-2 {
    margin-top: 2px !important;
}

.margin-top-4 {
    margin-top: 4px !important;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-24 {
    margin-top: 24px !important;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-bottom-6 {
    margin-bottom: 6px !important;
}

.margin-bottom-8 {
    margin-bottom: 8px !important;
}

.margin-bottom-12 {
    margin-bottom: 12px !important;
}

.margin-bottom-16 {
    margin-bottom: 16px !important;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-bottom-24 {
    margin-bottom: 24px !important;
}

.padding-0 {
    padding: 0 !important;
}

.padding-12-24 {
    padding: 12px 24px !important;
}

.padding-14 {
    padding: 14px !important;
}

.padding-16 {
    padding: 16px !important;
}

.padding-20 {
    padding: 20px !important;
}

.padding-24 {
    padding: 24px !important;
}

.padding-bottom-20 {
    padding-bottom: 20px !important;
}

.padding-top-60 {
    padding-top: 60px !important;
}

/* Grids */
.grid-2col-8 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.grid-2col-14 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.grid-3col-10 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.grid-3col-12 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Size & Color */
.full-width {
    width: 100% !important;
}

.full-height {
    height: 100% !important;
}

.min-width-50 {
    min-width: 50px !important;
}

.color-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.color-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.color-white-60 {
    color: rgba(255, 255, 255, 0.6);
}

.color-white-40 {
    color: rgba(255, 255, 255, 0.4);
}

.color-white-20 {
    color: rgba(255, 255, 255, 0.2);
}

.color-primary {
    color: var(--color-primary) !important;
}

/* Custom Elements */
.input-custom-base {
    width: 100%;
    padding: 12px;
    background: rgba(48, 43, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-profile-base {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
}

.bg-secondary-card {
    background: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.select-custom-base {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.btn-checkout-custom {
    width: 100%;
    padding: 16px;
    background: rgba(48, 43, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-method-base {
    flex: 1;
    padding: 16px;
    background: rgba(48, 43, 40, 0.6);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-method-base.active {
    border: 2px solid rgba(212, 175, 55, 0.8) !important;
    background: rgba(169, 124, 55, 0.15);
    color: white !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.border-gold {
    border: 2px solid rgba(212, 175, 55, 0.5) !important;
}

.border-basic {
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.product-redesign-image-custom {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

.quantity-btn-custom {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.total-block-custom {
    background: var(--color-bg-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.total-final-row {
    border-top: 1px solid var(--color-border);
    margin: 12px 0;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.receipt-card-custom {
    background: white;
    border-radius: 20px;
    padding: 24px;
    color: #333;
    max-width: 400px;
    width: calc(100% - 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.receipt-header-custom {
    text-align: center;
    border-bottom: 2px dashed #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.receipt-footer-custom {
    border-top: 2px dashed #eee;
    padding-top: 20px;
    text-align: center;
}

.receipt-stamp {
    font-size: 11px;
    color: #a97c37;
    font-weight: 900;
    border: 2px solid #a97c37;
    border-radius: 4px;
    display: inline-block;
    padding: 2px 8px;
    margin-top: 10px;
    transform: rotate(-8deg);
    text-transform: uppercase;
}

.profile-card-custom {
    padding: 20px;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 12px;
    backdrop-filter: blur(10px);
}

.align-end {
    align-items: flex-end !important;
}

.color-dark {
    color: #333 !important;
}

.close-btn-custom {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-custom {
    width: 52px;
    height: 52px;
    font-size: 28px;
    background: linear-gradient(135deg, var(--color-primary), #6b4d29);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-save-custom {
    width: 100%;
    margin-top: 24px;
    border-radius: 12px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), #6b4d29);
    color: #000;
    border: none;
    padding: 14px;
    box-shadow: 0 4px 15px rgba(169, 124, 55, 0.3);
    cursor: pointer;
}

.modal-header-custom {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-content-payment {
    background: white;
    border-radius: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 85vh;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}