.cq_hidden { display: none !important; } .cq_modal { position: fixed; inset: 0; z-index: 1050; display: none; align-items: center; justify-content: center; padding: 16px; } .cq_modal.cq_open { display: flex; } .cq_modal_backdrop { position: fixed; inset: 0; background: rgba(19, 51, 40, 0.58); } .cq_modal_dialog { position: relative; z-index: 1; width: 100%; max-width: 640px; max-height: 90vh; display: flex; flex-direction: column; background: #FFFFFF; color: #272217; border: 1px solid #E4E0D8; border-radius: 10px; box-shadow: 0 18px 44px rgba(39, 34, 23, 0.22); overflow: hidden; } .cq_modal_header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #FFFFFF; border-bottom: 1px solid #E4E0D8; flex-shrink: 0; } .cq_modal_title { margin: 0; font-size: 1.15rem; font-weight: 700; color: #272217; } .cq_close_btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E4E0D8; border-radius: 6px; background: #FFFFFF; color: #272217; font-size: 1.35rem; line-height: 1; cursor: pointer; } .cq_close_btn:hover { background: #F5E7E5; color: #A9341E; border-color: #A9341E; } .cq_modal_body { padding: 20px; overflow-y: auto; flex: 1 1 auto; background: #FFFFFF; } .cq_modal_footer { position: sticky; bottom: 0; z-index: 2; padding: 16px 20px; background: #F4F1EB; border-top: 1px solid #E4E0D8; flex-shrink: 0; } .cq_empty_msg { margin: 24px 0; text-align: center; color: #6D6555; font-size: 0.95rem; } .cq_item_row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E4E0D8; } .cq_item_row:last-child { border-bottom: none; } .cq_item_head { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 auto; } .cq_item_img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid #E4E0D8; flex-shrink: 0; background: #F4F1EB; } .cq_item_info { min-width: 0; } .cq_item_name { font-weight: 600; color: #272217; font-size: 0.95rem; word-break: break-word; } .cq_item_unit { font-size: 0.85rem; color: #6D6555; margin-top: 2px; } .cq_item_controls { display: flex; align-items: center; gap: 12px; flex-shrink: 0; } .cq_qty_group { display: inline-flex; align-items: center; border: 1px solid #E4E0D8; border-radius: 6px; background: #FFFFFF; } .cq_qty_btn { width: 28px; height: 28px; border: none; background: transparent; color: #272217; font-weight: 700; cursor: pointer; } .cq_qty_btn:hover { background: #F5E7E5; color: #A9341E; } .cq_qty_val { min-width: 28px; text-align: center; font-size: 0.9rem; font-weight: 600; color: #272217; } .cq_item_line_total { min-width: 96px; text-align: right; font-weight: 600; color: #272217; font-size: 0.92rem; } .cq_remove_btn { width: 28px; height: 28px; border: 1px solid #E4E0D8; border-radius: 6px; background: #FFFFFF; color: #6D6555; font-size: 1.1rem; line-height: 1; cursor: pointer; } .cq_remove_btn:hover { background: #F5E7E5; color: #A9341E; border-color: #A9341E; } .cq_footer_total_row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 1.05rem; color: #272217; } .cq_footer_actions, .cq_form_actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; } .cq_btn_primary { padding: 10px 18px; border-radius: 6px; background: #A9341E; color: #FFFFFF; border: 1px solid #A9341E; font-weight: 600; cursor: pointer; } .cq_btn_primary:hover:not(:disabled) { background: #8B2B19; border-color: #8B2B19; } .cq_btn_primary:disabled { opacity: 0.5; cursor: not-allowed; } .cq_btn_secondary { padding: 10px 18px; border-radius: 6px; background: #FFFFFF; color: #272217; border: 1px solid #E4E0D8; font-weight: 600; cursor: pointer; } .cq_btn_secondary:hover { background: #F5E7E5; color: #A9341E; border-color: #A9341E; } .cq_checkout_summary { background: #F4F1EB; border: 1px solid #E4E0D8; border-radius: 8px; padding: 14px; margin-bottom: 16px; } .cq_section_heading { font-size: 1rem; font-weight: 700; color: #272217; margin: 0 0 10px 0; } .cq_summary_row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.9rem; color: #272217; margin-bottom: 6px; } .cq_summary_totals { border-top: 1px solid #E4E0D8; margin-top: 8px; padding-top: 8px; } .cq_summary_grand { font-size: 1rem; margin-bottom: 0; } .cq_label { font-size: 0.85rem; font-weight: 600; color: #272217; margin-bottom: 4px; } .cq_input { border-color: #E4E0D8; color: #272217; background: #FFFFFF; } .cq_input:focus { border-color: #A9341E; box-shadow: none; } .cq_shipping_group { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; } .cq_ship_option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #E4E0D8; border-radius: 6px; background: #FFFFFF; cursor: pointer; font-size: 0.9rem; color: #272217; } .cq_ship_option span { flex: 1 1 auto; } .cq_consent_wrap { margin: 14px 0; } .cq_consent_label { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: #272217; cursor: pointer; } .cq_consent_label input { margin-top: 3px; } .cq_policy_link { color: #A9341E; text-decoration: underline; } .cq_policy_link:hover { color: #8B2B19; background: #F5E7E5; } .cq_form_error { margin-bottom: 12px; padding: 10px 12px; border-radius: 6px; background: #F5E7E5; color: #A9341E; border: 1px solid #A9341E; font-size: 0.88rem; } .cq_success_box { text-align: center; padding: 24px 12px; } .cq_success_badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #356756; color: #FFFFFF; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; } .cq_success_msg { font-size: 1.05rem; font-weight: 600; color: #272217; margin-bottom: 18px; } .cq_toast { position: fixed; top: 72px; left: 50%; transform: translateX(-50%) translateY(-10px); z-index: 1060; display: none; align-items: center; gap: 10px; max-width: 92vw; padding: 10px 14px; background: #FFFFFF; color: #272217; border: 1px solid #E4E0D8; border-radius: 8px; box-shadow: 0 10px 28px rgba(39, 34, 23, 0.18); } .cq_toast.cq_toast_visible { display: flex; transform: translateX(-50%) translateY(0); } .cq_toast_img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid #E4E0D8; flex-shrink: 0; } .cq_toast_badge { display: inline-block; padding: 2px 6px; border-radius: 4px; background: #356756; color: #FFFFFF; font-size: 0.72rem; font-weight: 600; margin-bottom: 2px; } .cq_toast_text { font-size: 0.88rem; font-weight: 600; color: #272217; } @media (max-width: 575.98px) { .cq_item_row { flex-direction: column; align-items: flex-start; } .cq_item_controls { width: 100%; flex-direction: column; align-items: flex-start; gap: 8px; } .cq_item_line_total { text-align: left; min-width: auto; } .cq_footer_actions, .cq_form_actions { width: 100%; } .cq_footer_actions button, .cq_form_actions button { flex: 1 1 auto; } }