/* ==========================================================================
   GripX theme override for EasyOrders  ·  Option C "Offer-led"
   Black + #EC7A2B, rounded cards, pill buttons.

   Works on top of any EasyOrders skeleton theme:
   Default, Sphinx, Luxify, Nue or Fasty (selectors for all five are included;
   the ones your theme does not use are simply ignored).

   To change a colour or the roundness, edit ONLY the values in :root below.
   ========================================================================== */

:root {
  --gx-bg: #000000;          /* page background */
  --gx-text: #ffffff;        /* main text */
  --gx-accent: #ec7a2b;      /* buttons, prices, highlights */
  --gx-on-accent: #000000;   /* text on orange buttons */
  --gx-surface: #141414;     /* cards, inputs, footer */
  --gx-surface-2: #1f1f1f;   /* hover / nested surfaces */
  --gx-border: #333333;      /* thin lines */
  --gx-muted: #c9c9c9;       /* secondary text */
  --gx-radius-card: 24px;    /* cards and tiles */
  --gx-radius-img: 16px;     /* images inside cards */
  --gx-radius-input: 14px;   /* form fields */
  --gx-radius-pill: 999px;   /* buttons */
}

/* ---------- Base ---------- */

body {
  background-color: var(--gx-bg) !important;
  color: var(--gx-text) !important;
}

.container_class {
  color: var(--gx-text);
}

/* ---------- Announcement bar (white strip, black bold text) ---------- */

.default_header_top_text,
.sphinx_header_top_text,
.nue_header_top_text,
.fasty_header_top_text,
.luxify_top_header {
  background-color: var(--gx-text) !important;
  color: var(--gx-bg) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-align: center;
}

/* ---------- Header ---------- */

.default_header,
.sphinx_header,
.luxify_header,
.nue_header,
.fasty_header {
  background-color: var(--gx-bg) !important;
  color: var(--gx-text) !important;
  border-bottom: 1px solid var(--gx-border) !important;
  box-shadow: none !important;
}

.default_header_container,
.sphinx_header_container,
.luxify_header_container,
.nue_header_container,
.fasty_header_container {
  background-color: var(--gx-bg) !important;
  color: var(--gx-text) !important;
}

.default_header a,
.sphinx_header a,
.luxify_header a,
.nue_header a,
.fasty_header a,
.sphinx_header_links a {
  color: var(--gx-text) !important;
  font-weight: 700;
  text-decoration: none;
}

.default_header a:hover,
.sphinx_header a:hover,
.luxify_header a:hover,
.nue_header a:hover,
.fasty_header a:hover,
.sphinx_header_links a:hover {
  color: var(--gx-accent) !important;
}

.default_header svg,
.sphinx_header svg,
.luxify_header svg,
.nue_header svg,
.fasty_header svg {
  color: var(--gx-text);
}

.luxify_bottom_text {
  color: var(--gx-muted) !important;
}

/* ---------- Home slider (rounded hero block) ---------- */

.home_slider_container {
  padding: 12px !important;
  background-color: var(--gx-bg) !important;
}

.home_slider_slide,
.home_slider_card {
  border-radius: 32px !important;
  overflow: hidden !important;
}

.swiper-pagination-bullet {
  background-color: var(--gx-text) !important;
  opacity: 0.45 !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--gx-accent) !important;
  opacity: 1 !important;
}

.slider_button {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 1px solid var(--gx-border) !important;
  border-radius: var(--gx-radius-pill) !important;
}

.slider_button:hover {
  background-color: var(--gx-accent) !important;
  color: var(--gx-on-accent) !important;
  border-color: var(--gx-accent) !important;
}

/* ---------- Home section titles ---------- */

.home_section_top_container {
  color: var(--gx-text) !important;
}

.home_section_top_title,
.category_section_header_title {
  color: var(--gx-text) !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
}

.home_section_top_container a,
.category_section_header a {
  color: var(--gx-accent) !important;
  font-weight: 700;
}

.category_section_header {
  color: var(--gx-text) !important;
}

/* ---------- Category tiles ---------- */

.default_category_card,
.luxify_category_card,
.nue_category_card {
  background-color: var(--gx-surface) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.default_category_card:hover,
.luxify_category_card:hover,
.nue_category_card:hover {
  background-color: var(--gx-surface-2) !important;
  transform: translateY(-3px);
}

.default_category_card_img,
.luxify_category_card_img,
.nue_category_card_img {
  border-radius: var(--gx-radius-img) !important;
}

.default_category_card_name,
.luxify_category_card_name,
.nue_category_card_name {
  color: var(--gx-text) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}

/* ---------- Product cards (home, category, related) ---------- */

.default_product_featured_container,
.luxify_product_featured_container,
.nue_product_featured_container,
.fasty_product_featured_container,
.default_product_list_container,
.home_products_grid_container,
.products_grid_container,
.category_products_grid_container {
  background-color: transparent !important;
  color: var(--gx-text) !important;
}

.default_product_featured_card,
.luxify_product_featured_card,
.luxify_product_featured_category_card,
.nue_product_featured_card,
.default_product_list_card,
.home_products_grid_card,
.home_products_carousel_card,
.products_grid_card,
.category_products_grid_card,
.fasty_product_card {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.default_product_featured_card:hover,
.luxify_product_featured_card:hover,
.nue_product_featured_card:hover,
.default_product_list_card:hover,
.home_products_grid_card:hover,
.home_products_carousel_card:hover,
.products_grid_card:hover,
.category_products_grid_card:hover,
.fasty_product_card:hover {
  background-color: var(--gx-surface-2) !important;
  transform: translateY(-3px);
}

.default_product_featured_card_img,
.luxify_product_featured_card_img,
.nue_product_featured_card_img,
.fasty_product_card_img {
  border-radius: var(--gx-radius-img) !important;
}

.default_product_featured_card a,
.luxify_product_featured_card a,
.nue_product_featured_card a,
.default_product_list_card a,
.home_products_grid_card a,
.home_products_carousel_card a,
.products_grid_card a,
.category_products_grid_card a,
.fasty_product_card a,
.fasty_product_card_name {
  color: var(--gx-text) !important;
  font-weight: 700;
  text-decoration: none;
}

.fasty_product_card_price {
  color: var(--gx-accent) !important;
  font-weight: 700 !important;
}

.fasty_product_card_btn {
  background-color: var(--gx-accent) !important;
  color: var(--gx-on-accent) !important;
  border: 1px solid var(--gx-accent) !important;
  border-radius: var(--gx-radius-pill) !important;
  font-weight: 700 !important;
}

.fasty_product_card_wishlist_btn,
.product_gallery_wishlist_btn,
.product_gallery_share_btn {
  background-color: var(--gx-surface-2) !important;
  color: var(--gx-text) !important;
  border-radius: var(--gx-radius-pill) !important;
}

/* ---------- Home banner ---------- */

.home_banner {
  background-color: var(--gx-bg) !important;
  padding: 12px !important;
}

.home_banner_img {
  border-radius: 32px !important;
  overflow: hidden !important;
}

/* ---------- Product page ---------- */

.product_name {
  color: var(--gx-text) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.product_price_container {
  color: var(--gx-muted) !important;
}

.product_price {
  color: var(--gx-accent) !important;
  font-weight: 700 !important;
}

.product_description,
.product_tabs_container {
  color: var(--gx-text) !important;
  line-height: 1.6;
}

.product_description a {
  color: var(--gx-accent) !important;
}

.default_product_img,
.default_product_preview_img,
.sphinx_product_img,
.luxify_product_active_img,
.luxify_product_images_grid_img,
.nue_product_img,
.fasty_product_img {
  border-radius: var(--gx-radius-card) !important;
  overflow: hidden !important;
}

.product_form_checkout {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
}

.total_shipping_container,
.total_price_container {
  color: var(--gx-text) !important;
}

.total_shipping {
  color: var(--gx-text) !important;
}

.total_price {
  color: var(--gx-accent) !important;
  font-weight: 800 !important;
}

.fake_stock_container,
.fake_visitors_container {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border-radius: var(--gx-radius-input) !important;
}

.fake_stock_progress {
  background-color: var(--gx-accent) !important;
  border-radius: var(--gx-radius-pill) !important;
}

.fake_stock_count {
  color: var(--gx-accent) !important;
  font-weight: 700 !important;
}

/* ---------- Buttons ---------- */

.checkout_btn,
.form_checkout_btn,
.checkout_buy_now button,
button.checkout_buy_now {
  background-color: var(--gx-accent) !important;
  color: var(--gx-on-accent) !important;
  border: 1px solid var(--gx-accent) !important;
  border-radius: var(--gx-radius-pill) !important;
  font-weight: 700 !important;
  min-height: 52px;
  box-shadow: none !important;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.checkout_btn:hover,
.form_checkout_btn:hover,
.checkout_buy_now button:hover,
button.checkout_buy_now:hover,
.fasty_product_card_btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.add_to_cart_btn {
  background-color: transparent !important;
  color: var(--gx-accent) !important;
  border: 1px solid var(--gx-accent) !important;
  border-radius: var(--gx-radius-pill) !important;
  font-weight: 700 !important;
  min-height: 52px;
  box-shadow: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.add_to_cart_btn:hover {
  background-color: var(--gx-accent) !important;
  color: var(--gx-on-accent) !important;
}

.checkout_btn:focus-visible,
.form_checkout_btn:focus-visible,
.add_to_cart_btn:focus-visible,
.fasty_product_card_btn:focus-visible,
.quantity_btn:focus-visible {
  outline: 2px solid var(--gx-text) !important;
  outline-offset: 2px !important;
}

.quantity_container {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 1px solid var(--gx-border) !important;
  border-radius: var(--gx-radius-pill) !important;
  overflow: hidden !important;
}

.quantity_btn {
  background-color: transparent !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  min-width: 44px;
  min-height: 44px;
}

.quantity_btn:hover {
  color: var(--gx-accent) !important;
}

/* ---------- Form fields ---------- */

.global_input,
.global_textarea,
.gov_select {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 1px solid var(--gx-border) !important;
  border-radius: var(--gx-radius-input) !important;
  min-height: 48px;
}

.global_input::placeholder,
.global_textarea::placeholder {
  color: var(--gx-muted) !important;
  opacity: 1;
}

.global_input:focus,
.global_textarea:focus,
.gov_select:focus {
  border-color: var(--gx-accent) !important;
  outline: 2px solid var(--gx-accent) !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
}

.gov_select option {
  background-color: var(--gx-surface);
  color: var(--gx-text);
}

/* ---------- Reviews ---------- */

.reviews_container,
.reviews_carousel,
.user_reviews_container {
  color: var(--gx-text) !important;
}

.reviews_summary {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
}

.user_review,
.user_review_content {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
}

.user_review_name {
  color: var(--gx-text) !important;
  font-weight: 700 !important;
}

.user_review_comment {
  color: var(--gx-muted) !important;
}

.user_review_stars {
  color: var(--gx-accent) !important;
}

.user_review_img {
  border-radius: var(--gx-radius-img) !important;
}

/* ---------- Payment options ---------- */

.payments_container {
  color: var(--gx-text) !important;
}

.payment_card {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 1px solid var(--gx-border) !important;
  border-radius: var(--gx-radius-input) !important;
}

.payment_card:hover {
  border-color: var(--gx-accent) !important;
}

.radio_circle {
  border-color: var(--gx-accent) !important;
}

.payment_card_name {
  color: var(--gx-text) !important;
  font-weight: 700 !important;
}

.payment_card_description {
  color: var(--gx-muted) !important;
}

/* ---------- Checkout page ---------- */

.checkout_bg_left,
.checkout_bg_right,
.checkout_container {
  background-color: var(--gx-bg) !important;
  color: var(--gx-text) !important;
}

.checkout_order_summary,
.checkout_form {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
}

.checkout_cart_items_container {
  color: var(--gx-text) !important;
  border-color: var(--gx-border) !important;
}

/* ---------- Thank-you page ---------- */

.thanks_container {
  background-color: var(--gx-bg) !important;
  color: var(--gx-text) !important;
}

.thanks_content,
.order_invoice_container {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border: 0 !important;
  border-radius: var(--gx-radius-card) !important;
}

/* ---------- Footer ---------- */

.default_footer,
.luxify_footer,
.nue_footer {
  background-color: var(--gx-surface) !important;
  color: var(--gx-text) !important;
  border-top: 0 !important;
}

.default_footer_link,
.luxify_footer_link,
.nue_footer_link {
  color: var(--gx-text) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.default_footer_link:hover,
.luxify_footer_link:hover,
.nue_footer_link:hover {
  color: var(--gx-accent) !important;
}

.default_footer_social_link,
.luxify_footer_social_link,
.nue_footer_social_link {
  background-color: var(--gx-surface-2) !important;
  color: var(--gx-text) !important;
  border-radius: var(--gx-radius-pill) !important;
}

.default_footer_social_link:hover,
.luxify_footer_social_link:hover,
.nue_footer_social_link:hover {
  background-color: var(--gx-accent) !important;
  color: var(--gx-on-accent) !important;
}

.footer_store_info {
  color: var(--gx-muted) !important;
}

/* ---------- Phones ---------- */

@media (max-width: 640px) {
  :root {
    --gx-radius-card: 18px;
    --gx-radius-img: 12px;
  }

  .home_slider_slide,
  .home_slider_card,
  .home_banner_img {
    border-radius: 24px !important;
  }

  .home_section_top_title,
  .category_section_header_title {
    font-size: 22px !important;
  }
}

/* ---------- Respect "reduce motion" ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
