.store_page { width: min(1240px, calc(100% - 80px)); margin: 0 auto; padding: 68px 0 100px; }
.store_page_heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.store_page_heading h1 { margin: 12px 0; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; }
.store_page_heading p { max-width: 660px; color: #9baab2; line-height: 1.7; }
.store_panel { background: #0d1215; border: 1px solid #29353b; border-radius: 16px; box-shadow: 0 12px 48px #0002, inset 0 1px #ffffff04; }
.store_panel h2 { font-size: 21px; font-weight: 620; letter-spacing: -.025em; }
.store_form { padding: 30px; display: flex; flex-direction: column; gap: 24px; }
.store_field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.store_field > span { color: #bec8cc; font-size: 12px; font-weight: 600; }
.store_field input, .store_field select, .store_field textarea, .chat_composer textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #34434b; border-radius: 9px; background: #0a1013; color: #f1f5f6; font: inherit; font-size: 14px; box-shadow: inset 0 2px 4px #0002; }
.store_field input:focus, .store_field select:focus, .chat_composer textarea:focus { border-color: #00c2df; box-shadow: 0 0 0 3px #00c2df12; outline: 0; }
.store_field input:disabled { opacity: .35; }
.store_fields_two, .store_fields_three { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.store_fields_three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.store_notice { margin: 10px 0; padding: 12px 15px; border: 1px solid #4b5960; border-radius: 9px; background: #141b1f; color: #e3eaed; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.notice_info { border-color: #24515c; background: #00c2df08; color: #b0d7de; }
.store_muted { color: #91a2ab; font-size: 13px; line-height: 1.7; }
.store_loading, .store_empty { padding: 64px 24px; color: #9baab2; text-align: center; }
.store_loading { min-height: 200px; display: grid; place-items: center; }
.store_empty h2, .store_empty h3 { color: #f3f6f7; font-size: 22px; margin-bottom: 10px; }
.text_button { color: #00c2df; font-size: 13px; padding: 8px 0; background: none; border: 0; }
.text_button:hover { color: #a7f4ff; }
.icon_button { width: 38px; height: 38px; color: #cdd8dd; background: #161f24; border: 1px solid #34434b; font-size: 24px; }
.store_button_row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.store_checkbox { display: inline-flex; gap: 10px; align-items: center; color: #aab9c1; font-size: 13px; line-height: 1.6; }
.store_checkbox input, .payment_options input { accent-color: #00c2df; flex-shrink: 0; width: 16px; height: 16px; }
.store_section_title { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.store_auth_form { display: flex; flex-direction: column; gap: 19px; }
.login_page .auth_form .store_auth_form > :not([hidden]) ~ :not([hidden]) { margin-top: 0; }
.store_auth_form .primary_button { width: 100%; }
.store_auth_note { text-align: center; color: #81959f; font-size: 11px; margin-top: -3px; }
.auth_forgot { margin-top: -10px; text-align: right; font-size: 12px; color: #00c2df; }
.email_code { text-align: center; font-family: var(--font-mono) !important; font-size: 25px !important; letter-spacing: .35em; }
.store_product_title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.store_product_title > strong { color: #d5e3e8; font-size: 16px; }
.store_stock { display: flex; gap: 7px; align-items: center; font-size: 11px; color: #96aab4; margin: 16px 0; }
.status_dot { display: inline-block; width: 6px; height: 6px; background: #00c2df; border-radius: 50%; flex-shrink: 0; }
.store_product .secondary_button { width: 100%; min-height: 42px; font-size: 13px; }
.store_product button:disabled { cursor: not-allowed; background: #12191d; color: #71818a; opacity: .6; }
.store_stat_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.store_stat { border: 1px solid #29353b; background: #0d1215; border-radius: 12px; padding: 23px 26px; }
.store_stat > span { display: block; color: #8fa4ae; font-size: 12px; margin-bottom: 12px; }
.store_stat > strong { font-size: clamp(26px, 3vw, 35px); color: #edf5f8; font-weight: 550; letter-spacing: -.03em; }
.store_table_wrap { overflow-x: auto; }
.store_table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.store_table th { padding: 20px; color: #8197a3; font-size: 11px; font-weight: 500; letter-spacing: .06em; border-bottom: 1px solid #34434b; }
.store_table td { padding: 22px 20px; font-size: 13px; border-bottom: 1px solid #1e2a30; }
.store_table tr:last-child td { border-bottom: 0; }
.store_table tbody tr:hover { background: #ffffff02; }
.store_table td small { display: block; color: #8297a2; font-size: 11px; margin-top: 6px; }
.cyan_text { color: #00c2df; }
.discount_form { margin-bottom: 28px; }
.discount_form + .store_stat_grid { margin-top: 0; }
.discount_form .primary_button { margin-left: auto; }
.inventory_table { padding: 0 26px; }
.inventory_row { display: grid; grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(90px, .75fr)) 70px 135px; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid #253138; }
.inventory_row:last-child { border: 0; }
.inventory_row > .store_notice { grid-column: 1 / -1; }
.inventory_product { display: flex; align-items: center; gap: 14px; }
.inventory_product img { width: 66px; height: 76px; object-fit: contain; }
.inventory_product strong { display: block; font-size: 15px; }
.inventory_product small { display: block; font-family: var(--font-mono); font-size: 10px; color: #7e98a7; margin: 5px 0; }
.stock_label { color: #00c2df; font-size: 10px; }
.inventory_row .secondary_button { padding: 12px 15px; min-height: 43px; font-size: 12px; }
.store_tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; padding-bottom: 20px; border-bottom: 1px solid #253138; }
.store_tabs button { border: 1px solid transparent; background: transparent; padding: 10px 15px; color: #92a6b1; font-size: 12px; }
.store_tabs button.active { background: #0c252d; color: #43d5ed; border-color: #1c5664; }
.order_list { display: flex; flex-direction: column; gap: 20px; }
.order_card { padding: 28px; }
.order_card > header, .order_card > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.order_amount { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.order_amount strong { font-size: 25px; font-weight: 600; }
.status_badge { display: inline-flex; padding: 6px 10px; background: #14232a; color: #adc2cd; border: 1px solid #2b414c; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.status_paid, .status_shipped { background: #00c2df0d; color: #36d9ef; border-color: #23606b; }
.status_canceled { color: #8e9ca3; background: #171b1d; border-color: #343c40; }
.order_items { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0; color: #b3c1c8; font-size: 13px; }
.order_progress { display: grid; grid-template-columns: repeat(3, 1fr); padding: 23px 0; margin-bottom: 20px; border-block: 1px solid #253138; gap: 14px; }
.order_progress span { font-size: 11px; color: #637a87; display: flex; align-items: center; gap: 9px; }
.order_progress i { width: 14px; height: 14px; border: 1px solid #34434b; border-radius: 3px; }
.order_progress .complete { color: #c5dce5; }
.order_progress .complete i { border-color: #00c2df; background: #00c2df; box-shadow: inset 0 0 0 3px #11323a; }
.order_staff_actions { border-top: 1px solid #253138; margin-top: 23px; padding-top: 20px; }
.order_staff_actions > p { font-size: 13px; color: #98adb8; margin-bottom: 20px; }
.action_confirmation { margin-top: 18px; padding: 20px; border: 1px solid #2c5f6a; border-radius: 10px; background: #0a1b21; }
.action_confirmation > p { margin-bottom: 15px; color: #bfd0d8; font-size: 13px; }
.checkout_layout, .ticket_layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.checkout_summary, .ticket_summary { padding: 28px; position: sticky; top: 116px; }
.checkout_summary h2 { margin: 10px 0 28px; }
.checkout_summary > .store_field { margin: 24px 0 12px; }
.checkout_summary > button { width: 100%; }
.checkout_summary > p { margin-top: 20px; }
.summary_line, .store_total { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; font-size: 13px; color: #9cb0bb; }
.store_total { border-top: 1px solid #2b3b44; margin-top: 12px; padding-top: 20px; font-size: 17px; color: #e1edf2; }
.quote_totals { margin-top: 20px; }
.payment_options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.payment_options label { position: relative; cursor: pointer; }
.payment_options input { position: absolute; top: 13px; left: 10px; width: 13px; height: 13px; }
.payment_options span { display: block; padding: 11px 8px 11px 30px; border: 1px solid #34434b; border-radius: 8px; color: #8da7b5; font-size: 12px; }
.payment_options input:checked + span { border-color: #00a5bf; background: #00c2df0c; color: #deeff6; }
.store_cart_overlay { position: fixed; inset: 0; z-index: 80; }
.store_cart_scrim { position: absolute; inset: 0; border-radius: 0; background: #0009; backdrop-filter: blur(3px); width: 100%; }
.store_cart { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); border-left: 1px solid #34434b; background: #0a1013; display: flex; flex-direction: column; padding: 26px; animation: cart_enter 180ms ease-out; }
.store_cart > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #253138; padding-bottom: 22px; }
.store_cart h2 { font-size: 24px; font-weight: 600; margin-top: 8px; }
.store_cart_items { flex: 1; overflow-y: auto; }
.store_cart_item { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid #253138; }
.store_cart_item > div { flex: 1; }
.store_cart_item strong { font-size: 14px; }
.store_cart_item p { font-size: 12px; color: #91a8b5; margin: 4px 0 10px; }
.store_cart_item img { object-fit: contain; }
.quantity_control { display: inline-flex; align-items: center; border: 1px solid #34434b; border-radius: 6px; }
.quantity_control button { width: 30px; height: 28px; color: #00c2df; }
.quantity_control span { min-width: 28px; text-align: center; font-size: 12px; }
.store_cart > footer { margin-top: auto; }
.store_cart > footer .primary_button { width: 100%; margin: 20px 0 12px; }
.store_cart > footer p { font-size: 11px; text-align: center; color: #8197a3; }
.chat_panel { overflow: hidden; }
.chat_heading { display: flex; align-items: center; gap: 10px; padding: 22px; border-bottom: 1px solid #2b3b44; }
.chat_heading strong { font-size: 14px; }
.chat_heading > span:last-child { margin-left: auto; color: #718e9e; font-size: 10px; font-family: var(--font-mono); }
.chat_messages { display: flex; flex-direction: column; gap: 20px; height: 480px; padding: 24px; overflow-y: auto; }
.chat_privacy { color: #6d8796; font-size: 11px; text-align: center; line-height: 1.7; }
.chat_message { max-width: 90%; align-self: flex-start; padding: 13px 16px; border: 1px solid #2a3c46; background: #151e23; border-radius: 4px 13px 13px; overflow-wrap: anywhere; }
.chat_message > span { color: #7fa3b7; font-size: 10px; }
.chat_message p { font-size: 13px; color: #dce8ef; line-height: 1.7; margin: 6px 0; white-space: pre-wrap; }
.chat_message time { display: block; font-size: 9px; color: #698493; }
.message_mine { align-self: flex-end; border-radius: 13px 4px 13px 13px; border-color: #226071; background: #0c2730; }
.message_system { background: none; border: 0; align-self: center; text-align: center; max-width: 100%; padding: 8px 12px; }
.message_system p { color: #89a5b5; font-size: 11px; }
.chat_composer { padding: 20px; border-top: 1px solid #2b3b44; }
.chat_composer textarea { min-height: 85px; resize: vertical; }
.chat_composer > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.chat_composer > div > span { color: #66818f; font-size: 10px; }
.chat_composer .primary_button { min-height: 40px; padding: 9px 17px; font-size: 12px; }
.ticket_summary h2 { font-family: var(--font-mono); font-size: 18px; margin: 16px 0; }
.ticket_summary dl, .account_details dl { margin: 24px 0; }
.ticket_summary dt, .account_details dt { color: #6f8b9b; font-size: 11px; margin: 16px 0 5px; }
.ticket_summary dd, .account_details dd { font-size: 13px; color: #c2d6e1; overflow-wrap: anywhere; }
.ticket_actions { border-top: 1px solid #253138; margin-top: 22px; padding-top: 20px; }
.ticket_contact { margin: 18px 0; overflow-wrap: anywhere; }
.chat_closed { border-top: 1px solid #2b3b44; padding: 24px; color: #98adb8; font-size: 13px; line-height: 1.7; }
.status_closed, .status_archived { color: #a1b0b8; border-color: #34434b; background: #151c20; }
.status_open { color: #36d9ef; border-color: #23606b; background: #00c2df0d; }
.account_details { max-width: 650px; }
@keyframes cart_enter { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 1100px) {
  .inventory_row { grid-template-columns: minmax(190px, 2fr) repeat(3, minmax(75px, 1fr)); }
  .inventory_row > .store_checkbox { grid-column: 2; }
  .inventory_row > button { grid-column: 3 / 5; }
  .payment_options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .store_page { width: calc(100% - 36px); padding: 38px 0 64px; }
  .store_page_heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .store_page_heading h1 { font-size: 36px; }
  .store_stat_grid { gap: 8px; }
  .store_stat { padding: 16px 12px; }
  .store_stat > strong { font-size: 24px; }
  .store_stat > span { font-size: 10px; }
  .store_form, .checkout_summary, .ticket_summary { padding: 22px; }
  .store_fields_three { grid-template-columns: 1fr 1fr; }
  .checkout_layout, .ticket_layout { grid-template-columns: 1fr; }
  .checkout_summary, .ticket_summary { position: static; }
  .checkout_summary { grid-row: 1; }
  .inventory_table { padding: 0 18px; }
  .inventory_row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .inventory_product { grid-column: 1 / -1; }
  .inventory_row > .store_checkbox { grid-column: 1; }
  .inventory_row > button { grid-column: 2 / 4; }
  .order_card { padding: 22px 18px; }
  .order_card > header { align-items: flex-start; }
  .order_card > footer { flex-wrap: wrap; }
  .order_progress { gap: 8px; }
  .order_progress span { align-items: flex-start; font-size: 10px; }
  .order_progress i { flex-shrink: 0; }
  .chat_messages { height: 390px; padding: 16px; }
  .chat_composer > div { align-items: flex-end; }
}
@media (max-width: 440px) {
  .store_fields_two, .store_fields_three { grid-template-columns: 1fr; }
  .store_stat > strong { font-size: 21px; }
  .store_section_title { align-items: flex-start; flex-direction: column; gap: 10px; }
  .discount_form .primary_button { margin-left: 0; width: 100%; }
  .store_auth_form { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .store_cart { animation: none; } }
