/* =========================================================================
   Yusra Diamond — storefront additions on top of the Jewlfy theme.
   Only additive rules; colors come from theme variables.
   ========================================================================= */

/* ---- toast (theme has .cs_toast styles; add error variant + link) */
.cs_toast_error { border-left: 3px solid #C0392B; }
.cs_toast_error .cs_toast_icon { color: #C0392B; }
.cs_toast_link { color: var(--accent-color); font-weight: 600; margin-left: 6px; text-decoration: underline; }
.cs_toast_msg a { color: inherit; }

/* ---- flash messages */
.cs_flash { position: relative; max-width: 1320px; margin: 16px auto 0; padding: 14px 52px 14px 20px; border-radius: 8px; font-size: 15px; background: var(--gray5-color, #FAF4F4); color: var(--primary-color); border-left: 4px solid var(--accent-color); animation: cs_flash_in .3s ease; }
.cs_flash_success { border-left-color: #28A745; }
.cs_flash_error { border-left-color: #C0392B; }
.cs_flash_info { border-left-color: var(--accent-color); }
.cs_flash_inline { margin: 0 0 20px; }
.cs_flash_close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 20px; color: inherit; cursor: pointer; line-height: 1; }
@keyframes cs_flash_in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1360px) { .cs_flash { margin-left: 16px; margin-right: 16px; } }

/* ---- header: gold ticker & currency switcher */
.cs_gold_ticker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--accent-color); border-radius: 30px; color: var(--primary-color); font-size: 13px; font-weight: 500; white-space: nowrap; transition: all .3s; }
.cs_gold_ticker i { color: var(--accent-color); }
.cs_gold_ticker:hover { background: var(--accent-color); color: #fff; }
.cs_gold_ticker:hover i { color: #fff; }
.cs_currency_switcher_wrap { margin-right: 8px; }
.cs_language_dropdown button { background: none; border: 0; padding: 6px 12px; width: 100%; text-align: left; cursor: pointer; color: inherit; }
.cs_language_dropdown button:hover { color: var(--accent-color); }

/* ---- header search suggestions */
.cs_search_suggest { position: absolute; left: 0; right: 0; top: 100%; margin-top: 8px; background: var(--white-color, #fff); border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.12); max-height: 70vh; overflow: auto; z-index: 20; text-align: left; }
.cs_header_search_in { position: relative; }
.cs_search_suggest_group { padding: 8px 0; }
.cs_search_suggest_group + .cs_search_suggest_group { border-top: 1px solid rgba(0,0,0,.06); }
.cs_search_suggest_label { display: block; padding: 6px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary-color); }
.cs_search_suggest_item, .cs_search_suggest_cat, .cs_search_suggest_more { display: flex; align-items: center; gap: 12px; padding: 8px 18px; color: var(--primary-color); font-size: 15px; }
.cs_search_suggest_item:hover, .cs_search_suggest_cat:hover { background: var(--gray5-color, #FAF4F4); }
.cs_search_suggest_item img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--gray5-color, #FAF4F4); }
.cs_search_suggest_item span { display: flex; flex-direction: column; }
.cs_search_suggest_item em { font-style: normal; color: var(--accent-color); font-size: 14px; }
.cs_search_suggest_more { justify-content: center; font-weight: 500; color: var(--accent-color); border-top: 1px solid rgba(0,0,0,.06); }

/* ---- whatsapp float */
.cs_whatsapp_btn { position: fixed; left: 24px; bottom: 24px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; z-index: 990; box-shadow: 0 8px 24px rgba(37,211,102,.35); transition: transform .3s; }
.cs_whatsapp_btn:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 575px) { .cs_whatsapp_btn { left: 14px; bottom: 14px; width: 48px; height: 48px; font-size: 24px; } }

/* ---- prices hidden until login */
.cs_price_locked { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-color); font-weight: 500; }
.cs_price_locked i { font-size: 16px; }
.cs_price_locked:hover { text-decoration: underline; color: var(--accent-color); }
.cs_price_locked_btn { display: inline-flex; align-items: center; gap: 8px; }
.cs_product_price_old { color: var(--secondary-color); font-weight: 400; }
.cs_product_style_1 .cs_product_price s { font-size: 14px; color: var(--secondary-color); margin-left: 6px; }

/* ---- badges */
.cs_dealer_badge { display: inline-block; padding: 2px 10px; border-radius: 30px; background: var(--accent-color); color: #fff; font-size: 12px; font-weight: 500; vertical-align: middle; }
.cs_dealer_badge_pending { background: #E0A100; }
.cs_status_badge { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 13px; font-weight: 500; background: var(--gray5-color, #FAF4F4); color: var(--primary-color); }
.cs_status_success { background: rgba(40,167,69,.12); color: #1e7e34; }
.cs_status_info { background: rgba(212,175,55,.15); color: var(--primary-color); }
.cs_status_warning { background: rgba(224,161,0,.15); color: #9a6b00; }
.cs_status_danger { background: rgba(192,57,43,.12); color: #C0392B; }
.cs_method_badge { padding: 2px 8px; border-radius: 20px; margin-left: 6px; font-weight: 500; }
.cs_stock_out { color: #C0392B; }
.cs_text_danger { color: #C0392B !important; }
.cs_text_success { color: #1e7e34 !important; }

/* ---- product card extras */
.cs_product_style_1 .cs_product_action.cs_active i { color: var(--accent-color); }
.cs_product_style_1 .cs_product_badges { display: flex; flex-direction: column; gap: 6px; }
.cs_product_short_desc { color: var(--secondary-color); }
.cs_empty_state { padding: 60px 20px; }
.cs_empty_state i { display: block; margin-bottom: 12px; }
.cs_empty_note { padding: 40px 0; color: var(--secondary-color); }
.cs_loading { opacity: .6; pointer-events: none; }

/* ---- shop */
.cs_shop_layout .cs_product_grid > .cs_product_style_1:nth-child(n) { display: block; }
.cs_shop_layout[data-view=list] .cs_product_grid > .cs_product_style_1:nth-child(n) { display: flex; }
.cs_shop_layout[data-view="4"] .cs_product_grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1399px) { .cs_shop_layout[data-view="4"] .cs_product_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cs_filter_child { padding-left: 22px; }
.cs_filter_color { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); margin-right: 6px; vertical-align: middle; }
.cs_filter_reset { display: block; text-align: center; }
.cs_subcategory_chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cs_subcategory_chip { padding: 8px 16px; border: 1px solid rgba(0,0,0,.1); border-radius: 30px; color: var(--primary-color); font-size: 14px; transition: all .3s; }
.cs_subcategory_chip:hover { border-color: var(--accent-color); color: var(--accent-color); }
.cs_subcategory_chip span { color: var(--secondary-color); }
.cs_category_intro { max-width: 820px; margin-bottom: 40px; color: var(--secondary-color); }
.cs_seo_content { max-width: 960px; margin: 60px auto 0; }
.cs_pagination_dots { pointer-events: none; }
.cs_pagination a.cs_pagination_arrow { display: inline-flex; align-items: center; justify-content: center; }
.cs_pagination_arrow[disabled] { opacity: .4; cursor: default; }

/* ---- product page */
.cs_product_swatch.disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cs_swatch_color { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); vertical-align: -2px; }
.cs_product_custom_option { margin-bottom: 20px; }
.cs_product_custom_option .cs_select_field select, .cs_product_custom_option input[type="text"] { width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; background: #fff; }
.cs_input_error { border-color: #C0392B !important; }
.cs_btn_disabled { opacity: .5; cursor: not-allowed; }
.cs_stock_alert_form { margin: 16px 0; }
.cs_stock_alert_row { display: flex; gap: 10px; margin-top: 8px; }
.cs_stock_alert_row input { flex: 1; padding: 12px 16px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.cs_gold_breakdown { color: var(--secondary-color); }
.cs_product_share_row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.cs_product_share_row .cs_social_btns_style_1 { display: flex; gap: 8px; }
.cs_copy_link, .cs_compare_toggle { background: none; border: 1px solid rgba(0,0,0,.12); border-radius: 30px; padding: 6px 14px; font-size: 13px; cursor: pointer; color: var(--primary-color); transition: all .3s; }
.cs_copy_link { width: 38px; height: 38px; padding: 0; border-radius: 50%; }
.cs_copy_link:hover, .cs_compare_toggle:hover, .cs_compare_toggle.cs_active { border-color: var(--accent-color); color: var(--accent-color); }
.cs_whatsapp_ask { color: #25D366; font-weight: 500; font-size: 14px; }
.cs_thumb_video { position: relative; }
.cs_thumb_play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(0,0,0,.25); border-radius: inherit; pointer-events: none; }
.cs_review_avatar.cs_center { width: 60px; height: 60px; border-radius: 50%; flex: none; color: var(--accent-color); }
.cs_review_reply { margin-top: 10px; padding: 12px 16px; background: var(--gray5-color, #FAF4F4); border-left: 3px solid var(--accent-color); font-size: 14px; }
.cs_product_description img, .cs_page_content img { max-width: 100%; height: auto; }
.cs_review_field .cs_input_rating i { cursor: pointer; font-size: 22px; }

/* ---- quick view extras */
.cs_quickview_thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.cs_quickview_thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.cs_quickview_thumbs img.active { border-color: var(--accent-color); }
.cs_quickview_wishlist.cs_active i { color: var(--accent-color); }

/* ---- cart / checkout */
.cs_cart_item_meta { color: var(--secondary-color); }
.cs_cart_drawer_item_meta { display: block; color: var(--secondary-color); margin-bottom: 4px; }
.cs_cart_product > div { display: flex; flex-direction: column; }
.cs_coupon_applied { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--gray5-color, #FAF4F4); border-radius: 6px; font-weight: 500; }
.cs_step_no { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-color); color: #fff; font-size: 16px; margin-right: 10px; vertical-align: middle; font-family: var(--secondary-font); }
.cs_field_error { display: block; margin-top: 6px; color: #C0392B; }
.cs_radio_row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.cs_inline_input { padding: 10px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.cs_saved_addresses { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cs_address_option .cs_payment_method_label { font-size: 15px; }
.cs_corporate_fields { grid-column: 1 / -1; }
.cs_checkout_fields .cs_full { grid-column: 1 / -1; }
.cs_checkout_fields textarea, .cs_checkout_fields input[type="date"], .cs_checkout_fields input[type="file"], .cs_checkout_fields select, .cs_order_tracking_fields select, .cs_order_tracking_fields input[type="date"], .cs_order_tracking_fields input[type="file"], .cs_contact_form select, .cs_contact_form input[type="file"] { width: 100%; padding: 12px 16px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; background: #fff; font: inherit; }
.cs_payment_extra { margin-top: 16px; }
.cs_method_price { color: var(--accent-color); font-weight: 600; margin-left: 6px; }
.cs_bank_list { display: flex; flex-direction: column; gap: 10px; }
.cs_bank_item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; font-size: 14px; }
.cs_bank_item img { height: 24px; }
.cs_bank_item code { font-family: var(--secondary-font); letter-spacing: .04em; color: var(--primary-color); background: var(--gray5-color, #FAF4F4); padding: 2px 8px; border-radius: 4px; }
.cs_bank_info_box { padding: 24px; border-radius: 10px; margin: 30px 0; }
.cs_order_success_icon { font-size: 64px; margin-bottom: 10px; }
.cs_order_failed_icon { color: #C0392B; }
.cs_order_actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 30px; }
.cs_order_addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 30px; }
.cs_order_totals_box { margin-top: 20px; margin-left: auto; max-width: 420px; }
.cs_order_items_table .cs_cart_thumb img { width: 70px; height: 70px; object-fit: cover; }
.cs_payment_iframe_wrap iframe, .cs_payment_html_wrap { width: 100%; min-height: 520px; border: 0; }
.cs_pay_wrap { max-width: 900px; }
.cs_retry_payment { margin-top: 30px; }
.cs_retry_payment .cs_order_actions { justify-content: center; }

/* ---- order timeline (order-state.html) */
.cs_timeline_item.cs_timeline_cancelled .cs_timeline_icon { background: #C0392B; filter: grayscale(1); }
.cs_timeline_item.cs_timeline_cancelled .cs_timeline_title { color: #C0392B; }

/* ---- account */
.cs_account_page .cs_post_sidebar { max-width: none; }
.cs_account_user { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cs_account_avatar { width: 56px; height: 56px; font-size: 26px; color: var(--accent-color); flex: none; }
.cs_account_nav li.cs_active a, .cs_account_nav a:hover { color: var(--accent-color); }
.cs_account_nav a i, .cs_dealer_nav a i { margin-right: 8px; color: var(--accent-color); }
.cs_link_btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.cs_link_btn:hover { color: var(--accent-color); }
.cs_account_content { min-height: 400px; }
.cs_account_head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.cs_account_stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 24px 0; }
.cs_account_stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px; border-radius: 10px; text-align: center; color: var(--primary-color); transition: transform .3s; }
.cs_account_stat i { font-size: 28px; color: var(--accent-color); }
a.cs_account_stat:hover { transform: translateY(-3px); }
.cs_account_table th, .cs_account_table td { padding: 14px 12px; font-size: 15px; vertical-align: middle; }
.cs_account_table .cs_cart_thumb img { width: 60px; height: 60px; object-fit: cover; }
.cs_account_divider { margin: 36px 0; opacity: .1; }
.cs_btn_sm { padding: 9px 18px !important; font-size: 14px !important; }
.cs_btn_danger { border-color: #C0392B !important; color: #C0392B !important; }
.cs_btn_danger:hover { background: #C0392B !important; color: #fff !important; }
.cs_btn_danger_text { color: #C0392B; }
.cs_inline_form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cs_inline_field input { padding: 10px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.cs_inline_form .cs_select_field select { padding: 10px 40px 10px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; background: #fff; }
.cs_narrow_form { max-width: 520px; }
.cs_address_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cs_address_card { padding: 22px; border-radius: 10px; }
.cs_address_card_head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.cs_address_card_actions { display: flex; gap: 8px; }
.cs_qty_small { width: 80px; text-align: center; padding: 8px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.cs_qty_wide { width: 100%; padding: 8px 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.cs_dealer_nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cs_dealer_nav a { display: inline-block; padding: 8px 16px; border: 1px solid rgba(0,0,0,.1); border-radius: 30px; font-size: 14px; color: var(--primary-color); transition: all .3s; }
.cs_dealer_nav li.cs_active a, .cs_dealer_nav a:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; }
.cs_dealer_nav li.cs_active a i, .cs_dealer_nav a:hover i { color: #fff; }
.cs_price_table code { background: var(--gray5-color, #FAF4F4); padding: 2px 8px; border-radius: 4px; color: var(--primary-color); }
.cs_account_stats_3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .cs_account_stats_3 { grid-template-columns: 1fr; } }

/* ---- compare */
.cs_compare_bar { position: fixed; right: 24px; bottom: 90px; z-index: 990; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 30px; background: var(--primary-color); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: 14px; }
.cs_compare_bar:hover { background: var(--accent-color); color: #fff; }
.cs_compare_bar_count { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-color); color: #fff; font-size: 12px; }
.cs_compare_bar:hover .cs_compare_bar_count { background: #fff; color: var(--accent-color); }
.cs_compare_table th { vertical-align: top; text-align: center; }
.cs_compare_thumb img { display: block; margin: 0 auto 10px; border-radius: 8px; object-fit: cover; }
.cs_compare_table td:first-child { white-space: nowrap; }

/* ---- gold prices page */
.cs_gold_table .cs_gold_row_main td { background: rgba(212,175,55,.08); }
.cs_gold_chart_box { padding: 24px; border-radius: 10px; }
.cs_gold_chart { width: 100%; height: auto; display: block; }
.cs_gold_note { padding: 20px 24px; border-radius: 10px; background: var(--gray5-color, #FAF4F4); color: var(--secondary-color); }

/* ---- location landing */
.cs_location_intro p { font-size: 17px; line-height: 1.7; }
.cs_location_contact { padding: 24px; border-radius: 10px; }
.cs_grid_col_loc { margin-top: 30px; }

/* ---- quote page */
.cs_quote_steps { padding-left: 18px; }
.cs_quote_steps li { margin-bottom: 12px; }

/* ---- misc */
.cs_terms_wrap .cs_page_content h2 { margin-top: 30px; }
.cs_sr_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cs_dealer_page_content p:last-child { margin-bottom: 0; }
.cs_faq_cta .cs_btn_style_1 { margin: 4px; }
.cs_about_rich p:last-child { margin-bottom: 0; }

/* ---- invoice print (account/invoice is standalone; this covers printing any page) */
@media print {
  .cs_site_header, .cs_footer_style_2, .cs_whatsapp_btn, .cs_scrollup_btn, .cs_cart_drawer, .cs_compare_bar, .cs_toast_container, .cs_flash, .cs_account_sidebar, .cs_order_actions, .cs_page_header_style_1 { display: none !important; }
  body { background: #fff; }
  .cs_account_content { min-height: 0; }
}

/* ------------------------------------------------------------------
   Rich text (admin editor) inside blog / page bodies — mirrors theme
   blog-details styles (cs_blog_section h3, cs_blog_list, cs_blog_quote)
------------------------------------------------------------------- */
.cs_blog_details .cs_post_body h2,
.cs_blog_details .cs_post_body h3,
.cs_blog_details .cs_post_body h4 {
  font-family: var(--primary-font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4em;
  color: var(--primary-color);
  margin: 32px 0 12px;
}
.cs_blog_details .cs_post_body h4 { font-size: 18px; }
.cs_blog_details .cs_post_body > h2:first-child,
.cs_blog_details .cs_post_body > h3:first-child { margin-top: 0; }
.cs_blog_details .cs_post_body h2 + p,
.cs_blog_details .cs_post_body h3 + p { margin-bottom: 12px; }
.cs_blog_details .cs_post_body ul:not(.cs_mp_0),
.cs_blog_details .cs_post_body ol {
  padding-left: 24px;
  display: flex;
  gap: 7px;
  flex-direction: column;
  margin: 0 0 24px;
}
.cs_blog_details .cs_post_body ul:not(.cs_mp_0) { list-style: disc; }
.cs_blog_details .cs_post_body ol { list-style: decimal; }
.cs_blog_details .cs_post_body blockquote {
  padding: 24px;
  font-style: normal;
  margin: 0 0 32px;
  background-color: var(--gray5-color);
  font-size: 18px;
  line-height: 1.45em;
  color: var(--primary-color);
}
.cs_blog_details .cs_post_body blockquote p:last-child { margin-bottom: 0; }
.cs_blog_details .cs_post_body table {
  width: 100%;
  margin: 0 0 32px;
  border-collapse: collapse;
  font-size: 15px;
}
.cs_blog_details .cs_post_body table th {
  background-color: var(--gray-color);
  color: var(--primary-color);
  font-weight: 500;
  text-align: left;
}
.cs_blog_details .cs_post_body table th,
.cs_blog_details .cs_post_body table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray3-color);
  vertical-align: top;
}
.cs_blog_details .cs_post_body img { max-width: 100%; height: auto; margin: 8px 0 24px; }
.cs_blog_details .cs_post_body a:not([class]) { color: var(--accent-color); text-decoration: underline; }
@media (max-width: 575px) {
  .cs_blog_details .cs_post_body table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ------------------------------------------------------------------
   Hero slider — long Turkish titles / product names safe layout.
   Keeps the theme look; the block grows with content instead of
   overlapping the buttons, fraction controller and product cards.
------------------------------------------------------------------- */
.cs_hero_style_1 .cs_hero_content {
  height: auto;
  min-height: calc(100vh - 140px);
  max-height: none;
}
.cs_hero_style_1 .cs_hero_title {
  font-size: clamp(40px, min(4.4vw, 8.2vh), 90px);
  line-height: 1.12em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs_hero_style_1 .cs_hero_subtitle {
  max-width: 640px;
}
.cs_hero_style_1 .cs_hero_text {
  max-width: min(800px, calc(100% - 320px));
}
.cs_hero_style_1 .cs_hero_products_wrap {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  margin-top: -20px;
}
.cs_hero_style_1 .cs_product_style_1 {
  max-height: none;
}
.cs_hero_style_1 .cs_product_style_1 .cs_product_thumb img {
  max-height: 88px;
  width: auto;
  object-fit: contain;
}
.cs_hero_style_1 .cs_product_style_1 .cs_product_title {
  font-size: 17px;
  line-height: 1.35em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs_hero_style_1 .cs_product_style_1 .cs_product_price {
  font-size: 15px;
}
@media (max-width: 1399px) {
  .cs_hero_style_1 .cs_hero_content { min-height: 0; padding: 110px 0 150px; }
  .cs_hero_style_1 .cs_product_style_1 { width: 210px; }
}
@media (max-width: 1199px) {
  .cs_hero_style_1 .cs_hero_content { min-height: 0; }
  .cs_hero_style_1 .cs_hero_text { max-width: min(620px, calc(100% - 260px)); }
}
@media (max-width: 991px) {
  .cs_hero_style_1 .cs_hero_text { max-width: 100%; }
  .cs_hero_style_1 .cs_hero_title { font-size: clamp(34px, 7vw, 56px); -webkit-line-clamp: 4; }
}
@media (max-height: 820px) and (min-width: 1400px) {
  .cs_hero_style_1 .cs_hero_content { padding: 60px 0 170px; }
  .cs_hero_style_1 .cs_hero_subtitle { margin-bottom: 32px; }
}

/* Gold price ticker: header pill on wide screens, topbar link on smaller screens (never overlaps logo/menu) */
.cs_topbar_gold { display: none !important; }
.cs_topbar_gold i { color: var(--accent-color); }
@media (max-width: 1599px) {
  .cs_main_header_right .cs_gold_ticker { display: none !important; }
  .cs_topbar_gold { display: inline-flex !important; }
}
@media (max-width: 767px) {
  .cs_topbar_gold { display: none !important; }
}

/* Hero product cards on laptop widths */
@media (max-width: 1399px) {
  .cs_hero_style_1 .cs_hero_content { min-height: 600px; }
  .cs_hero_style_1 .cs_hero_products_wrap { gap: 16px; right: 30px; }
  .cs_hero_style_1 .cs_product_style_1 { width: 200px; padding: 8px 8px 16px; }
  .cs_hero_style_1 .cs_product_style_1 .cs_product_thumb { max-height: 104px; padding: 18px 40px 12px; margin-bottom: 8px; }
  .cs_hero_style_1 .cs_product_style_1 .cs_product_thumb img { max-height: 72px; }
  .cs_hero_style_1 .cs_product_style_1 .cs_product_title { font-size: 15px; }
  .cs_hero_style_1 .cs_product_style_1 .cs_product_price { font-size: 13px; }
}
.cs_hero_style_1 .cs_price_locked { display: inline-flex; align-items: center; justify-content: center; gap: 4px; line-height: 1.3; }

/* WhatsApp floating button: bottom-right, stacked above the theme scroll-up button */
.cs_whatsapp_btn { left: auto; right: 20px; bottom: 84px; }
@media (max-width: 575px) { .cs_whatsapp_btn { left: auto; right: 14px; bottom: 76px; } }

/* ------------------------------------------------------------------
   Checkboxes / agreements (register, dealer application, checkout)
   Theme only styles .cs_checkbox inside .cs_login_box & filter sidebar;
   the same look is applied everywhere + multi-line labels.
------------------------------------------------------------------- */
.cs_checkbox { display: inline-flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; user-select: none; position: relative; }
.cs_checkbox input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cs_checkbox .cs_checkbox_box { width: 16px; height: 16px; flex-shrink: 0; position: relative; margin-top: 4px; background-color: var(--gray-color); border: 1px solid var(--gray4-color); transition: all .3s ease-in-out; }
.cs_checkbox input[type="radio"] + .cs_checkbox_box { border-radius: 50%; }
.cs_checkbox .cs_checkbox_box::after { content: ""; position: absolute; top: 2px; left: 5px; width: 4px; height: 8px; opacity: 0; border: solid var(--white-color); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity .2s ease-in-out; }
.cs_checkbox .cs_checkbox_label { font-size: 15px; line-height: 24px; color: var(--secondary-color); }
.cs_checkbox input:checked + .cs_checkbox_box { background-color: var(--accent-color); border-color: var(--accent-color); }
.cs_checkbox input:checked + .cs_checkbox_box::after { opacity: 1; }
.cs_checkbox input:focus-visible + .cs_checkbox_box { outline: 2px solid var(--accent-color); outline-offset: 2px; }
.cs_login_box .cs_checkbox { align-items: flex-start; }
.cs_login_box .cs_checkbox .cs_checkbox_box { margin-top: 4px; }
.cs_checkbox .cs_checkbox_label a { color: var(--primary-color); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.cs_checkbox .cs_checkbox_label a:hover { color: var(--accent-color); }
.cs_login_box .cs_login_options.cs_login_options_column { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.cs_login_options_column .cs_checkbox { display: flex; width: 100%; }
.cs_login_options_column .cs_field_error { margin: -8px 0 0 26px; }
.cs_checkout_form label.cs_checkbox,
.cs_login_box label.cs_checkbox,
.cs_contact_form label.cs_checkbox,
.cs_order_tracking_wrap label.cs_checkbox,
.cs_form_field label.cs_checkbox { display: flex; margin-bottom: 0; color: inherit; }
.cs_radio_row { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cs_radio_row label.cs_checkbox { display: inline-flex; width: auto; }

/* ==================================================================
   ACCOUNT AREA (Hesabım) — theme style: square, soft cream, gold
================================================================== */
.cs_account_page .cs_account_content { min-height: 0; }
.cs_account_sidebar { background: var(--white-color); border: 1px solid var(--gray3-color); position: sticky; top: 110px; }
.cs_account_user { display: flex; align-items: center; gap: 16px; padding: 28px 24px; margin: 0; background: var(--gray5-color); border-bottom: 1px solid var(--gray3-color); }
.cs_account_avatar { width: 58px; height: 58px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--white-color); border: 1px solid var(--accent-color); color: var(--accent-color); font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.cs_account_user_info { min-width: 0; }
.cs_account_user_name { font-size: 20px; line-height: 1.3; color: var(--primary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs_account_user_mail { font-size: 14px; color: var(--secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs_account_user .cs_dealer_badge { margin-top: 6px; }
.cs_account_nav { padding: 10px 0; }
.cs_account_nav ul li { border: 0; padding: 0; margin: 0; }
.cs_account_nav ul li a,
.cs_account_logout button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 24px; font-size: 15px; line-height: 1.4; color: var(--primary-color); background: transparent; border: 0; border-left: 2px solid transparent; text-align: left; transition: all .25s ease; }
.cs_account_nav ul li a > i:first-child,
.cs_account_logout button i { font-size: 18px; color: var(--secondary-color); width: 20px; text-align: center; margin: 0; transition: color .25s ease; }
.cs_account_nav ul li a span { flex: 1; }
.cs_account_nav_arrow { font-size: 18px; color: var(--gray2-color); opacity: 0; transform: translateX(-4px); transition: all .25s ease; }
.cs_account_nav ul li a:hover,
.cs_account_nav ul li a.cs_active { background: var(--gray5-color); border-left-color: var(--accent-color); color: var(--primary-color); }
.cs_account_nav ul li a:hover > i:first-child,
.cs_account_nav ul li a.cs_active > i:first-child { color: var(--accent-color); }
.cs_account_nav ul li a:hover .cs_account_nav_arrow,
.cs_account_nav ul li a.cs_active .cs_account_nav_arrow { opacity: 1; transform: none; color: var(--accent-color); }
.cs_account_nav ul li a.cs_active { font-weight: 500; }
.cs_account_logout { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--gray3-color); }
.cs_account_logout button { cursor: pointer; color: var(--secondary-color); }
.cs_account_logout button:hover { color: var(--error-color); background: #fdf5f5; }
.cs_account_logout button:hover i { color: var(--error-color); }

.cs_account_welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 32px; margin-bottom: 24px; background: var(--gray5-color); border: 1px solid var(--border-color); }
.cs_account_welcome h2 { color: var(--primary-color); }
.cs_account_welcome p { color: var(--secondary-color); max-width: 520px; }
.cs_account_eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #b8962e; }
.cs_account_title { margin-bottom: 24px; }

.cs_account_stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 40px; }
.cs_account_stat { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 20px; background: var(--white-color) !important; border: 1px solid var(--gray3-color); border-radius: 0; text-align: left; color: var(--primary-color); transition: border-color .3s, box-shadow .3s, transform .3s; }
a.cs_account_stat:hover { transform: translateY(-3px); border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(44,44,44,.06); color: var(--primary-color); }
.cs_account_stat_icon { width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gray5-color); }
.cs_account_stat_icon i { font-size: 22px; color: var(--accent-color); }
.cs_account_stat_body { display: flex; flex-direction: column; min-width: 0; }
.cs_account_stat_body .cs_fs_28 { font-size: 26px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs_account_stat_body .cs_fs_14 { color: var(--secondary-color); line-height: 1.4; }

.cs_account_head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.cs_account_link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--primary-color); font-weight: 500; }
.cs_account_link:hover { color: var(--accent-color); }

.cs_account_empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 24px; border: 1px dashed var(--gray4-color); background: var(--white-color); }
.cs_account_empty_icon { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gray5-color); margin-bottom: 4px; }
.cs_account_empty_icon i { font-size: 30px; color: var(--accent-color); }
.cs_account_empty h3 { color: var(--primary-color); }
.cs_account_empty p { color: var(--secondary-color); max-width: 420px; }
.cs_account_empty .cs_btn_style_1 { margin-top: 8px; }

.cs_account_table { border: 1px solid var(--gray3-color); background: var(--white-color); }
.cs_account_table thead tr { background: var(--gray5-color); }
.cs_account_table th { font-family: var(--secondary-font); font-size: 14px !important; font-weight: 500; color: var(--primary-color); text-transform: none; }
.cs_account_table td { border-top: 1px solid var(--gray3-color); }

.cs_address_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cs_address_card { background: var(--white-color) !important; border: 1px solid var(--gray3-color); border-radius: 0; padding: 22px; display: flex; flex-direction: column; transition: border-color .3s; }
.cs_address_card:hover { border-color: var(--accent-color); }
.cs_address_card p { color: var(--secondary-color); line-height: 1.7; flex: 1; }
.cs_address_card p strong { color: var(--primary-color); font-weight: 500; }
.cs_address_card_actions { flex-wrap: wrap; }

.cs_account_page .cs_checkout_form .cs_checkout_fields input,
.cs_account_page .cs_checkout_form .cs_checkout_fields select,
.cs_account_page .cs_checkout_form .cs_checkout_fields textarea { width: 100%; height: auto; min-height: 52px; padding: 14px 16px; border: 1px solid transparent; border-radius: 0; background-color: var(--gray-color); color: var(--primary-color); font: inherit; outline: 0; box-shadow: none; transition: border-color .3s; }
.cs_account_page .cs_checkout_form .cs_checkout_fields input:focus,
.cs_account_page .cs_checkout_form .cs_checkout_fields select:focus,
.cs_account_page .cs_checkout_form .cs_checkout_fields textarea:focus { border-color: var(--accent-color); }
.cs_account_page .cs_checkout_form .cs_checkout_fields input[readonly] { color: var(--secondary-color); cursor: not-allowed; }
.cs_account_page .cs_select_field select { appearance: none; -webkit-appearance: none; padding-right: 40px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232C2C2C' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.cs_account_page .cs_narrow_form { max-width: 560px; }
.cs_account_page .cs_inline_form .cs_select_field select { min-height: 44px; padding: 10px 40px 10px 14px; border: 1px solid var(--gray3-color); border-radius: 0; background-color: var(--white-color); }

.cs_account_box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; padding: 24px; border: 1px solid var(--gray3-color); background: var(--white-color); }
.cs_account_box h3 { color: var(--primary-color); display: flex; align-items: center; gap: 8px; }
.cs_account_box h3 i { color: var(--accent-color); font-size: 20px; }
.cs_account_box p { color: var(--secondary-color); font-size: 15px; }
.cs_account_box_text { flex: 1 1 280px; }
.cs_account_box_danger { border-color: #f1d6d6; background: #fffafa; margin-top: 16px; }
.cs_account_box_danger h3 i { color: var(--error-color); }
.cs_account_delete_form { display: flex; flex-wrap: wrap; gap: 10px; }
.cs_account_delete_form input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--gray3-color); background: var(--white-color); font: inherit; outline: 0; }
.cs_account_delete_form input:focus { border-color: var(--error-color); }
.cs_btn_style_1.cs_btn_outline { background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
.cs_btn_style_1.cs_btn_outline:hover { background: var(--primary-color); color: var(--white-color); }
.cs_btn_style_1.cs_btn_danger { color: var(--error-color); border-color: var(--error-color); }
.cs_btn_style_1.cs_btn_danger:hover { background: var(--error-color); color: #fff; }

.cs_dealer_nav a { border-radius: 0; border-color: var(--gray3-color); background: var(--white-color); }

@media (max-width: 1199px) {
  .cs_account_stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cs_account_sidebar { position: static; }
  .cs_account_nav ul { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--gray3-color); }
  .cs_account_nav ul::-webkit-scrollbar { display: none; }
  .cs_account_nav ul li a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 12px 16px; }
  .cs_account_nav ul li a:hover, .cs_account_nav ul li a.cs_active { border-bottom-color: var(--accent-color); }
  .cs_account_nav_arrow { display: none; }
  .cs_account_logout { border-top: 0; margin: 0; padding: 0; }
  .cs_account_user { padding: 20px; }
}
@media (max-width: 575px) {
  .cs_account_welcome { padding: 24px 20px; }
  .cs_account_welcome h2 { font-size: 28px; }
  .cs_account_stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cs_account_stat { flex-direction: column; align-items: flex-start; padding: 16px; }
}
.cs_account_stat_body .cs_fs_28 { font-family: var(--secondary-font) !important; font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.cs_account_page .cs_checkout_form > .cs_btn_style_1 { margin-top: 24px; }
.cs_account_page .cs_checkout_fields { row-gap: 18px; }

/* ------------------------------------------------------------------
   Topbar language & currency switchers
------------------------------------------------------------------- */
.cs_switcher { position: relative; }
.cs_switcher_toggle { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; line-height: 1; transition: color .25s; }
.cs_switcher_toggle:hover, .cs_switcher.cs_open .cs_switcher_toggle { color: var(--accent-color); }
.cs_switcher_toggle > i { font-size: 16px; transition: transform .25s; }
.cs_switcher.cs_open .cs_switcher_toggle > i { transform: rotate(180deg); }
.cs_switcher_symbol { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent-color); color: #fff; font-size: 11px; font-weight: 600; }
.cs_switcher_flag { display: inline-flex; width: 20px; height: 14px; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.cs_switcher_flag svg { width: 100%; height: 100%; display: block; }
.cs_switcher_flag_lg { width: 28px; height: 20px; border-radius: 3px; }
.cs_switcher_code { display: flex; align-items: center; justify-content: center; width: 100%; font-size: 9px; font-weight: 700; background: var(--gray5-color); color: var(--primary-color); }
.cs_switcher_menu { position: absolute; top: calc(100% + 14px); right: -8px; z-index: 1001; min-width: 240px; padding: 10px; background: var(--white-color); border: 1px solid var(--gray3-color); box-shadow: 0 20px 50px rgba(44,44,44,.14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; text-align: left; }
.cs_switcher_menu::before { content: ""; position: absolute; top: -7px; right: 22px; width: 12px; height: 12px; background: var(--white-color); border-left: 1px solid var(--gray3-color); border-top: 1px solid var(--gray3-color); transform: rotate(45deg); }
.cs_switcher.cs_open .cs_switcher_menu { opacity: 1; visibility: visible; transform: none; }
.cs_switcher_title { margin: 2px 8px 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary-color); }
.cs_switcher_item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 1px solid transparent; background: transparent; color: var(--primary-color); font: inherit; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; text-decoration: none; }
.cs_switcher_item + .cs_switcher_item { margin-top: 2px; }
.cs_switcher_item:hover { background: var(--gray5-color); color: var(--primary-color); }
.cs_switcher_item.cs_active { background: var(--gray5-color); border-color: var(--border-color); }
.cs_switcher_badge { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--accent-color); color: var(--accent-color); font-size: 15px; font-weight: 600; background: var(--white-color); }
.cs_switcher_item.cs_active .cs_switcher_badge { background: var(--accent-color); color: #fff; }
.cs_switcher_text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.cs_switcher_text strong { font-size: 14px; font-weight: 500; }
.cs_switcher_text small { font-size: 12px; color: var(--secondary-color); letter-spacing: .04em; }
.cs_switcher_check { font-size: 18px; color: var(--accent-color); opacity: 0; }
.cs_switcher_item.cs_active .cs_switcher_check { opacity: 1; }
.cs_switcher_item.cs_loading { opacity: .6; pointer-events: none; }
.cs_switcher_note { margin: 8px 8px 2px; padding-top: 8px; border-top: 1px solid var(--gray3-color); font-size: 11.5px; line-height: 1.45; color: var(--secondary-color); }
.cs_topbar_links .cs_switcher + .cs_switcher { margin-left: 6px; }
@media (max-width: 575px) {
  .cs_site_header .cs_topbar_links .cs_switcher { display: block; }
  .cs_switcher_menu { min-width: 210px; right: -4px; }
  .cs_switcher_label { font-size: 13px; }
}
@media (max-width: 575px) {
  .cs_switcher_menu { right: 0; max-width: calc(100vw - 24px); }
  .cs_switcher_menu::before { right: 14px; }
}
