/*
Theme Name:   xstore-child
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

/* ========================================
   REGISTER LINK (GLOBAL STYLE)
   ======================================== */
.custom-register-link {
  margin-top: 20px;
  padding: 12px 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  background-color: #f3f3f3;
}

/* Link styling */
.custom-register-link a {
  color: #DB2D2F;
  font-weight: 500;
  text-decoration: none;
}

.custom-register-link a:hover {
  text-decoration: underline;
}


/* ----------------------------------------
   OFF-CANVAS LOGIN (XSTORE FIX)
   ---------------------------------------- */

/* Remove padding from outer wrapper to allow full-width elements */
.etheme-elementor-off-canvas__main {
  padding: 0;
}
/* Restore spacing inside content */
.etheme-elementor-off-canvas_content {
  padding: 20px 30px;
}

/* Header spacing */
.etheme-elementor-off-canvas_content-head {
  padding: 20px;
}


/* ------------------------------------------
   FULL-WIDTH BACKGROUND FIX (OFF-CANVAS ONLY)
   ---------------------------------------- */

/* Extend background beyond padded container */
.etheme-elementor-off-canvas_content .custom-register-link {
  margin: 20px -30px 0; /* break container padding */
  width:auto;
}

/* END OF REGISTER LINK (GLOBAL STYLE)
   ======================================== */

