/* ========================================
   ELESSI-INSPIRED DESIGN - GLOBAL STYLES
======================================== */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  background-color: #ffffff;
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Remove homepage container padding */
.path-frontpage .region-content .container,
.path-frontpage .layout-container,
.path-frontpage .region-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Hide field labels globally */
.field__label {
  display: none;
}

/* Hide specific taxonomy links */
a[href="/taxonomy/term/1"],
a[href="/taxonomy/term/2"],
a[href="/taxonomy/term/3"] {
  display: none;
}

/* ========================================
   TOP ANNOUNCEMENT BAR
======================================== */
.announcement-bar {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ========================================
   NAVIGATION BAR (Elessi Style)
======================================== */
.navbar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  padding: 15px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Backdrop for mobile menu */
.navbar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.navbar-backdrop.show {
  display: block;
  opacity: 1;
}

/* Main content spacing to prevent navbar overlap */
main.main-content,
.region-content,
.path-product main,
.path-taxonomy main,
.path-store main {
  padding-top: 30px !important;
}


.navbar-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.3s ease;
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.navbar-brand:hover {
  color: #4ecdc4;
}

.navbar-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
  padding: 12px 12px;
  border-radius: 4px;
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link:hover {
  color: #4ecdc4;
  background: transparent;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #4ecdc4;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar .dropdown {
  position: relative;
}

.navbar .dropdown:hover .dropdown-menu {
  display: block;
  visibility: visible;
  opacity: 1;
}

.navbar-expand-lg .navbar-collapse {
  margin-top: 0;
}

.navbar .dropdown .dropdown-menu {
  display: none;
  opacity: 1;
  visibility: visible;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 4px;
  margin-top: 0 !important;
  padding: 15px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: none;
  min-width: 200px;
  position: absolute;
  top: 100%;
  left: 0;
}

.navbar .dropdown::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
  pointer-events: auto;
}

.navbar .dropdown-menu .dropdown-item,
.navbar .dropdown-menu .dropdown-item a {
  color: #ffffff;
  font-weight: 400;
  font-size: 13px;
  background-color: transparent;
  display: block;
  padding: 8px 25px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, background-color 0.3s ease, padding-left 0.3s ease;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item a:hover {
  background-color: rgba(78, 205, 196, 0.2);
  color: #4ecdc4;
  padding-left: 30px;
}

/* ========================================
   CART ICON & BADGE
======================================== */
.cart-block--summary__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  margin-top: -8px;
  padding: 1px 0;
  height: auto;
}

.cart-block--link__expand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
  transition: color 0.3s ease;
  margin: 0;
  padding: 2px;
  line-height: 1;
}

.cart-block--link__expand:hover {
  color: #4ecdc4;
}

.cart-block--link__expand,
.cart-block--link__expand *,
.cart-block--link__expand svg,
.cart-block--link__expand path,
.cart-block--link__expand use {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cart-block--contents__inner {
  width: 320px;
}

.cart-block--link__expand::before,
.cart-block--link__expand i,
.cart-block--link__expand .icon {
  color: #ffffff;
  opacity: 1;
}

.cart-block--summary__count {
  position: absolute;
  top: -8px;
  right: -15px;
  background: #ff0000 !important;
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  height: 18px;
  line-height: 14px;
  text-align: center;
  z-index: 10;
}

/* Fix Desktop Cart Dropdown Positioning */
@media (min-width: 992px) {

  #block-cartblock,
  .cart-block {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: none;
    border-radius: 8px;
    padding: 0;
  }

  /* Show on hover */
  .cart-block--link__expand:hover+#block-cartblock,
  .cart-block--link__expand:hover+.cart-block,
  #block-cartblock:hover,
  .cart-block:hover {
    display: block;
  }

  /* Ensure parent relative positioning */
  .cart-block--summary__icon {
    position: relative;
  }
}

/* ========================================
   MESSAGES
======================================== */
.messages__content {
  animation: fadeOut 4s ease-in-out forwards;
}

/* ========================================
   FIX #2: HOMEPAGE SLIDER - HORIZONTAL PAGINATION
======================================== */
.homepage-slider-view,
.view-homepage-slider,
#views-slideshow-cycle-main-homepage_slider-block_1,
.views-slideshow-cycle-main-frame {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-bottom: 20px !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  max-width: 100vw !important;
  padding: 0 !important;
}

.slider-item,
.views-slideshow-cycle-main-frame-row {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  height: auto !important;
}

.slider-item img,
.views-slideshow-cycle-main-frame-row img,
.homepage-slider-view img {
  width: 100vw !important;
  height: 60vh !important;
  max-height: 500px !important;
  min-height: 250px !important;
  object-fit: cover !important;
  display: block !important;
}

.slider-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent 50%);
  z-index: 1;
}

/* Force slider to be truly full width - remove all parent padding */
.path-frontpage main,
.path-frontpage .region-content,
.path-frontpage .layout-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Additional full-width enforcement for slider */
body.path-frontpage .views-slideshow-cycle-main-frame,
body.path-frontpage #views-slideshow-cycle-main-homepage_slider-block_1 {
  margin-left: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.slider-item .views-field-body {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 500px;
}

.slider-item .views-field-body p {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.slider-item .views-field-body a {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 14px 40px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.slider-item .views-field-body a:hover {
  background-color: #fff;
  color: #000;
}

/* Slider pagination - HORIZONTAL layout */
.widget_pager_bottom.views-slideshow-pager-bullets {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex !important;
  /* Force horizontal */
  flex-direction: row !important;
  /* Ensure horizontal */
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget_pager_bottom.views-slideshow-pager-bullets li {
  background-color: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  text-indent: -9999px;
  transition: all 0.3s ease;
  display: inline-block !important;
  /* Ensure horizontal display */
  float: none !important;
}

.widget_pager_bottom.views-slideshow-pager-bullets li.active {
  background-color: #ffffff;
  transform: scale(1.3);
}

/* ========================================
   SECTION HEADINGS
======================================== */
h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  margin: 5px 0 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #000;
  margin: 15px auto 0;
}

/* ========================================
   FIX #4: HERO BANNER - REDUCED SPACING & CENTERED CONTENT
======================================== */
.view.hero-banner-view {
  position: relative !important;
  width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  max-width: 100vw !important;
  padding: 0 !important;
}

.view.hero-banner-view .views-row {
  position: relative;
}

.view.hero-banner-view img {
  width: 100vw !important;
  height: 50vh !important;
  min-height: 350px !important;
  max-height: 450px !important;
  object-fit: cover !important;
  display: block !important;
}

.view.hero-banner-view .views-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Centered text and button container */
.view.hero-banner-view .views-field-field-field-discount-text {
  position: absolute !important;
  top: 60% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  z-index: 2 !important;
  width: 90% !important;
  max-width: 700px !important;
}

.view.hero-banner-view .views-field-field-field-discount-text h4 {
  font-size: 52px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7) !important;
  margin-bottom: 30px !important;
  letter-spacing: -1px !important;
  line-height: 1.2 !important;
}

/* Button positioned in center, below text */
.view.hero-banner-view .views-field-field-field-shop-link {
  position: relative !important;
  /* Changed from absolute */
  text-align: center !important;
  margin: var(--spacing-md) 0 var(--spacing-sm) 0 !important;
  z-index: 2 !important;
}

.view.hero-banner-view .views-field-field-field-shop-link a {
  display: inline-block !important;
  padding: 16px 45px !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.view.hero-banner-view .views-field-field-field-shop-link a:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 1024px) {

  /* Slider responsive */
  .slider-item img,
  .views-slideshow-cycle-main-frame-row img,
  .homepage-slider-view img {
    height: 50vh !important;
    max-height: 450px !important;
    min-height: 300px !important;
  }

  .slider-item .views-field-body p {
    font-size: 36px;
  }

  .view.hero-banner-view img {
    height: 50vh !important;
    min-height: 400px !important;
  }

  .view.hero-banner-view .views-field-field-field-discount-text h4 {
    font-size: 38px !important;
  }
}

@media (max-width: 768px) {

  /* Slider responsive for tablets */
  .slider-item img,
  .views-slideshow-cycle-main-frame-row img,
  .homepage-slider-view img {
    height: 45vh !important;
    max-height: 400px !important;
    min-height: 250px !important;
  }

  .slider-item .views-field-body {
    left: 5%;
    max-width: 400px;
  }

  .slider-item .views-field-body p {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .slider-item .views-field-body a {
    padding: 12px 30px;
    font-size: 11px;
  }

  .view.hero-banner-view {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  .view.hero-banner-view img {
    height: 45vh !important;
    min-height: 350px !important;
  }

  .view.hero-banner-view .views-field-field-field-discount-text h4 {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }

  .view.hero-banner-view .views-field-field-field-shop-link a {
    padding: 12px 30px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 576px) {

  /* Slider responsive for mobile */
  .slider-item img,
  .views-slideshow-cycle-main-frame-row img,
  .homepage-slider-view img {
    height: auto !important;
    max-height: 350px !important;
    min-height: 200px !important;
    object-fit: contain !important;
  }

  .slider-item .views-field-body {
    left: 5%;
    right: 5%;
    max-width: 90%;
  }

  .slider-item .views-field-body p {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .slider-item .views-field-body a {
    padding: 10px 25px;
    font-size: 10px;
  }

  .view.hero-banner-view {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }

  .view.hero-banner-view img {
    height: 40vh !important;
    min-height: 300px !important;
  }

  .view.hero-banner-view .views-field-field-field-discount-text h4 {
    font-size: 22px !important;
  }

  .view.hero-banner-view .views-field-field-field-shop-link a {
    padding: 10px 25px !important;
    font-size: 10px !important;
  }
}

/* footer Section */

/* Social media icons */
#block-bootstrap-barrio-subtheme-socialmedia .content {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  justify-content: center;
  align-items: center;
}

.field--name-field-facebook-url .field__item a {
  background-image: url('../images/facebook.png');
}

.field--name-field-instagram-url .field__item a {
  background-image: url('../images/instagram.png');
}

.field--name-field-twitter-url .field__item a {
  background-image: url('../images/twitterlogo.png');
}

.field--name-field-youtube-url .field__item a {
  background-image: url('../images/youtube.png');
}

.field--type-link .field__item a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #000;
  border-radius: 50%;
  text-indent: -9999px;
  background-size: 18px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.field--type-link .field__item a:hover {
  background-color: #333;
  transform: translateY(-3px);
}

/* ========================================
   STORE PAGE - HIDE DESCRIPTION
======================================== */
/* Hide product description on store page */
.path-store .block-field-blockcommerce-productfeak-shirtfield-descriprion-body {
  display: none !important;
}

/* ========================================
   STORE PAGE & CATEGORY PAGE - PRODUCT GRID SPACING
======================================== */
/* Add spacing between product grid items */
.path-store .views-view-grid .views-col,
.path-taxonomy .views-view-grid .views-col

/* .view--category-menu .views-view-grid .views-col */
  {
  padding: 15px !important;
}

/* Add spacing to product cards */
.path-store article,
.path-taxonomy article

/* .view--category-menu article */
  {
  margin-bottom: 20px !important;
  padding: 15px !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 8px !important;
  background: #fff !important;
  height: auto !important;
  /* Allow expansion */
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Add spacing between product image and content */
/* Add spacing between product image and content */
.path-store .layout--twocol-section,
.path-taxonomy .layout--twocol-section,
.path-store .layout--twocol-section--50-50,
.path-taxonomy .layout--twocol-section--50-50 {
  gap: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

.path-store .layout__region,
.path-taxonomy .layout__region,
.path-store .layout__region--first,
.path-store .layout__region--second,
.path-taxonomy .layout__region--first,
.path-taxonomy .layout__region--second {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  float: none !important;
  /* Override any floats */
}

/* ========================================
   ADD TO CART BUTTON - PREVENT TEXT WRAPPING
======================================== */
/* Ensure "Add to Cart" text stays on one line */
.button--add-to-cart,
.btn-add-to-cart,
.form-submit[value*="Add to cart"],
.form-submit[value*="ADD TO CART"],
.commerce-order-item-add-to-cart-form input[type="submit"],
.commerce-order-item-add-to-cart-form button[type="submit"] {
  white-space: nowrap !important;
  min-width: 140px !important;
  width: auto !important;
  padding: 12px 20px !important;
}

/* ========================================
   PRICE - MAKE BOLD EVERYWHERE
======================================== */
/* Make price bold on all pages */
.field--name-field-price,
.field--name-field-price .field__item,
.commerce-price-formatted-components,
.price,
.product-price {
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #000 !important;
}

/* ========================================
   CART & CHECKOUT
======================================== */
.cart-form {
  background: #fff;
  border-radius: 0;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.cart-form table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-form th {
  background: #fafafa;
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  padding: 15px;
  letter-spacing: 1px;
  border-bottom: 2px solid #e0e0e0;
}

.cart-form td {
  padding: 20px 15px;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
}


/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {

  .product-swiper,
  .categories-carousal .swiper {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 12px 2rem;
  }

  .navbar-nav {
    gap: 15px;
  }

  .navbar-nav .nav-link {
    font-size: 12px;
    padding: 12px 10px;
  }

  .slider-item img {
    height: 80vh;
    max-height: 600px;
  }

  .slider-item .views-field-body p {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 1.5rem;
  }

  .navbar-brand {
    font-size: 18px;
    padding: 15px 0;
  }

  .navbar-nav {
    gap: 10px;
  }

  .navbar-nav .nav-link {
    font-size: 11px;
    padding: 12px 8px;
  }

  .slider-item img {
    height: 60vh;
    max-height: 500px;
  }

  .slider-item .views-field-body {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 80%;
  }

  .slider-item .views-field-body p {
    font-size: 28px;
  }

  .product-swiper .field--name-field-iamge img,
  .categories-carousal .views-field-field-image .field-content {
    height: 300px;
  }

  /* .site-footer .block {
    flex: 1 1 calc(50% - 30px);
  } */
}

/* ========================================
   FIX #5: PRODUCT GRID SPACING
======================================== */
/* Ensure grid items have spacing and don't collapse */
.path-store .views-view-grid .views-col,
.path-taxonomy .views-view-grid .views-col {
  padding: 15px !important;
  /* Space between columns */
  margin-bottom: 30px !important;
  /* Space between rows */
  box-sizing: border-box !important;
}

.path-store .views-view-grid .views-row,
.path-taxonomy .views-view-grid .views-row {
  margin-left: -15px !important;
  margin-right: -15px !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Ensure images/cards are separated */
.path-store article.contextual-region,
.path-taxonomy article.contextual-region {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  /* Optional: Add card styling if desired, but user just asked for separation */
}

/* ========================================
   FIX #6: SIDEBAR STYLING
======================================== */
/* Target the sidebar container */
.row-offcanvas-left>div>aside {
  height: 100%;
  min-height: calc(100vh - 200px);
  /* Approximate full height minus header/footer */
  background-color: #f8f9fa;
  /* Light gray background to show "full length" */
  padding: 20px;
  text-align: center;
  /* Center text content */
  border-right: 1px solid #eee;
}

/* Center content in sidebar blocks */
.row-offcanvas-left>div>aside .block {
  margin-bottom: 30px;
  text-align: center;
}

.row-offcanvas-left>div>aside .block h2 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 15px;
}

/* Ensure sidebar column stretches */
.row-offcanvas-left {
  display: flex;
  flex-wrap: wrap;
}

/* Adjust main content to play nice with sidebar */
.row-offcanvas-left>main {
  flex: 1;
  padding-left: 30px;
  /* Space between sidebar and content */
}

/* COMMENTED OUT - DUPLICATE OF LINES 664-710
@media (max-width: 576px) {
  .navbar {
    padding: 8px 1rem;
  }

  .navbar-brand {
    font-size: 16px;
  }

  .navbar-nav .nav-link {
    font-size: 11px;
    padding: 10px 15px;
  }

  .slider-item img {
    height: 50vh;
    max-height: 400px;
  }

  .slider-item .views-field-body p {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .slider-item .views-field-body a {
    padding: 12px 30px;
    font-size: 11px;
  }

  .product-swiper,
  .categories-carousal .swiper {
    padding: 0 30px;
  }

  .product-swiper .field--name-field-iamge img,
  .product-swiper .views-field-field-iamge img {
    height: 220px;
  }
}
*/

/* ========================================
   GLOBAL PRICE STYLING
======================================== */

/* Make all prices bold and centered throughout the site */
.field--name-field-price,
.field--name-field-price .field__item,
.field--name-field-price .field-content,
.views-field-field-price,
.views-field-field-price .field-content,
.views-field-price__number,
.views-field-price__number .field-content,
.commerce-price-formatted,
.order-total-line-value,
.cart-block__item-price,
.product-price,
.price {
  font-weight: 700 !important;
  text-align: center !important;
  display: block !important;
}

/* Ensure price containers are also centered */
.views-field-field-price,
.views-field-price__number,
.field--name-field-price {
  text-align: center !important;
}

/* ========================================
   STORE PAGE RESPONSIVE GRID
======================================== */

/* Mobile - 1 column */
@media (max-width: 576px) {

  /* Override inline width styles for store page */
  .path-store .views-view-grid .views-col[style] {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    display: block !important;
    margin-bottom: 1.5rem !important;
  }

  /* Force grid to display as block */
  .path-store .views-view-grid {
    display: block !important;
  }

  /* Force rows to display as block */
  .path-store .views-row {
    display: block !important;
    width: 100% !important;
    clear: both !important;
  }

  /* Product images full width */
  .path-store .field--name-field-iamge img {
    width: 100% !important;
    height: auto !important;
    max-height: 350px !important;
  }

  /* Buttons full width */
  .path-store button[value="Add to cart"] {
    width: 100% !important;
  }

  /* Show sidebar above products */
  .path-store .sidebar_first {
    order: -1 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 2rem !important;
  }

  .path-store .main-content {
    order: 1 !important;
  }
}

/* Tablet - 2 columns */
@media (min-width: 577px) and (max-width: 992px) {
  .path-store .views-view-grid .views-col[style] {
    width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    float: left !important;
  }
}

/* Desktop - 4 columns */
@media (min-width: 993px) {

  /* Wider cards with less gap */
  .path-store .views-view-grid .views-col[style] {
    width: calc(25% - 10px) !important;
    max-width: calc(25% - 10px) !important;
    float: left !important;
    margin-right: 10px !important;
  }

  /* Remove margin from last column */
  .path-store .views-view-grid .views-col:nth-child(4n) {
    margin-right: 0 !important;
  }

  /* Ensure cards contain all content properly */
  .path-store article {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 10px !important;
  }

  /* Remove the forced column layout on desktop */
  .path-store .layout--twocol-section,
  .path-store .layout--twocol-section--50-50 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  /* Ensure all regions are visible and stacked */
  .path-store .layout__region,
  .path-store .layout__region--first,
  .path-store .layout__region--second {
    width: 100% !important;
    flex: 0 0 auto !important;
    max-width: 100% !important;
  }

  /* Image sizing */
  .path-store .field--name-field-iamge {
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }

  .path-store .field--name-field-iamge img {
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: contain !important;
  }

  /* Buttons full width on desktop too */
  .path-store button[value="Add to cart"] {
    width: 100% !important;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.875rem !important;
  }
}

/* ========================================
   CUSTOM NOTIFICATION POPUP
======================================== */

.custom-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  min-width: 300px;
  max-width: 400px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateX(450px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.custom-notification.show {
  transform: translateX(0);
}

.custom-notification__content {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 0.75rem;
}

.custom-notification__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.custom-notification--success {
  border-left: 4px solid #10b981;
}

.custom-notification--success .custom-notification__icon {
  background: #d1fae5;
  color: #10b981;
}

.custom-notification--error {
  border-left: 4px solid #ef4444;
}

.custom-notification--error .custom-notification__icon {
  background: #fee2e2;
  color: #ef4444;
}

.custom-notification__message {
  font-size: 0.9375rem;
  color: #374151;
  font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 576px) {
  .custom-notification {
    top: 60px;
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
}

/* ========================================
   COMPREHENSIVE RESPONSIVE IMPROVEMENTS
======================================== */

/* Extra Small Devices (Phones, 320px to 374px) */
@media (max-width: 374px) {
  .navbar {
    padding: 10px 1rem;
  }

  .navbar-brand {
    font-size: 14px;
  }

  .slider-item .views-field-body p {
    font-size: 20px;
  }

  .h2 {
    font-size: 20px;
  }
}

/* Small Devices (Phones, 375px to 576px) */
@media (min-width: 375px) and (max-width: 576px) {

  /* Ensure no horizontal overflow */
  body,
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Navigation adjustments */
  .navbar {
    padding: 10px 1rem;
  }

  /* Hero/Slider responsive text */
  .slider-item .views-field-body p,
  .view.hero-banner-view .views-field-field-field-discount-text h4 {
    font-size: clamp(20px, 5vw, 28px);
  }

  /* Product cards full width */
  .product-swiper .swiper-slide,
  .view-hproducts .views-col {
    width: 100%;
  }

  /* Footer stacking */
  .site-footer .block {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* Medium Devices (Tablets, 577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
  .navbar-nav {
    gap: 12px;
  }

  .navbar-nav .nav-link {
    font-size: 12px;
    padding: 10px 10px;
  }

  /* Product grid 2 columns */
  .view-hproducts .view-content,
  .view-category-page .view-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Devices (Desktops, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .navbar {
    padding: 12px 1.5rem !important;
  }

  /* Product grid 3 columns */
  .view-hproducts .view-content,
  .view-category-page .view-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Adjust container widths */
  .commerce-cart-form,
  .cart-form {
    max-width: 900px !important;
  }
}

/* Extra Large Devices (Large Desktops, 1025px to 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .navbar {
    padding: 15px 2rem !important;
  }

  .main-navigation,
  .navbar {
    max-width: 1200px !important;
  }
}

/* Ultra Large Devices (1920px and above) */
@media (min-width: 1920px) {

  .main-navigation,
  .navbar {
    max-width: 1400px !important;
  }

  .commerce-cart-form,
  .cart-form {
    max-width: 1400px !important;
  }

  .node--type-product {
    max-width: 1600px !important;
  }
}

/* Mobile Menu Dropdown Arrows - CSS ONLY */
@media (max-width: 899px) {

  /* Mobile Sidebar Container - Reverted to Default/Light */
  .navbar-collapse {
    /* Removed fixed positioning and dark background */
    /* Keep z-index high just in case */
    z-index: 100000 !important;
  }

  /* === MOBILE NAVBAR ALIGNMENT FIX === */
  .navbar {
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 70px !important;
    /* Ensure consistent height */
    padding: 10px 15px !important;
    z-index: 10000 !important;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
  }

  /* Cart Block Container */
  .mobile-cart-moved,
  .block-commerce-cart {
    order: 2;
    margin-left: 40px;
    margin-right: 15px;
    display: flex !important;
    /* align-items: center !important; */
    justify-content: center !important;
    z-index: 10000;
    align-self: center !important;
    height: 40px !important;
    /* Fixed height for alignment */
    margin-top: -5px !important;
    margin-bottom: 0 !important;
  }

  /* Cart Inner Wrappers */
  .cart-block--summary,
  .cart-block--link__expand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
  }

  /* Cart Icon Reset */
  .mobile-cart-moved .cart-block--summary__icon,
  .block-commerce-cart .cart-block--summary__icon {
    margin-top: 0px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Burger Button */
  .navbar-toggler {
    order: 3;
    margin: 0;
    margin-top: -30px;
    padding: 0px !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    width: 60px !important;
  }

  /* Navbar Title/Logo */
  .navbar-brand {
    order: 1;
    margin: 0;
    margin-top: -30px;
    padding: 0 !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
    line-height: 1 !important;
  }

  .navbar-collapse.show {
    transform: translateX(0) !important;
    /* Slide in */
  }

  /* Prevent Bootstrap's collapsing class from messing up height */
  .navbar-collapse.collapsing {
    display: block !important;
    height: 100vh !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out !important;
  }

  /* Navigation Links Layout */
  .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 60px !important;
    /* Space for top area */
    gap: 5px !important;
  }

  .nav-item {
    width: 100% !important;
    margin-bottom: 5px !important;
  }

  .nav-link {
    color: #ffffff !important;
    text-align: left !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    border-radius: 8px !important;
    transition: background-color 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
  }

  /* Add arrow using CSS pseudo-element - Force override of Bootstrap */
  .navbar-collapse .dropdown-toggle::after {
    content: '▼' !important;
    font-size: 12px !important;
    color: #ffffff !important;
    margin-left: auto !important;
    /* Push to right */
    display: inline-block !important;
    border: none !important;
    /* Remove Bootstrap caret borders */
    vertical-align: middle !important;
    transition: transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
  }

  /* Rotate arrow when submenu is open */
  .navbar-collapse .show>.dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Submenu styling for mobile */
  .navbar-collapse .dropdown-menu {
    position: static !important;
    display: none;
    background: rgba(0, 0, 0, 0.2) !important;
    /* Slightly darker for contrast */
    border: none;
    margin: 0;
    padding: 5px 0 5px 15px !important;
    /* Indent submenu */
    box-shadow: none;
    width: 100% !important;
  }

  .navbar-collapse .dropdown-menu.show {
    display: block !important;
  }

  .navbar-collapse .dropdown-menu .dropdown-item {
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: left !important;
    border-radius: 6px;
  }

  .navbar-collapse .dropdown-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    padding-left: 20px;
    /* Slight movement on hover */
  }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {

  /* Increase touch targets for mobile */
  .navbar-nav .nav-link,
  button,
  .btn,
  input[type="submit"],
  a.button {
    min-height: 44px !important;
    min-width: 44px !important;
  }

  /* Remove hover effects on touch devices */
  .navbar-nav .nav-link:hover::after {
    width: 0 !important;
  }

  /* Ensure dropdowns work on tap */
  .navbar .dropdown:hover .dropdown-menu {
    display: none !important;
  }
}

/* Print Styles */
@media print {

  .navbar,
  .site-footer,
  .cart-block,
  button {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}


.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
  color: white !important;
}

/* .form-control {
  display: none !important;
} */