.et-shop-section {
    /* 1. Pull the section up toward the breadcrumbs */
    margin-top: -5px !important; 
    
    /* 2. Remove the massive internal spacing */
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    
    /* 3. Ensure it stays behind the navbar but above products */
    position: relative;
    z-index: 10;
}

/* Fix the Search Form UI */
.et-search-form {
    background: white;
    border-radius: 4px;
    border: none !important; /* Removes the double border look */
}

.et-search-btn {
    background: #f1f1f1 !important; /* Light grey instead of red */
    height: 42px !important;
    border: none !important;
}

/* Ensure the product grid doesn't get tucked UNDER the orange */
.product-roster {
    margin-top: 20px !important;
}

/* Section with search bar */

  /* Unique Section Wrapper */
.et-shop-section {
  padding: 50px 0;
  background-color: #354F52;
}

.et-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}


/* UI Elements */
.et-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4444;
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 5px;
  z-index: 2;
}






/* Swatch styling */
.swatch-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #ddd;
    margin-right: 4px;
}


.form-select-sm {
    /* This tells the font: "Stay around 14px, but shrink if the screen gets tiny" */
    font-size: clamp(12px, 2vw, 14px) !important;
    padding-top: 4px;
    padding-bottom: 4px;
}



.page-link {
    background: rgba(3, 3, 25, 0.5);
    color: #fdb22f; /* info color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.page-item.disabled .page-link {
    background: rgba(3, 3, 25, 0.2);
    color: rgba(53, 53, 53, 0.5);
}





/* Container clustering the individual button groups */
.product-filter-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Subtle separator lines between your main filter categories */
.filter-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    padding: 0 5px; /* Pushes the groups apart cleanly */
    align-self: center;
    user-select: none;
}

/* Clean, Rounded Pill Button Style */
.product-filter-pill {
    display: inline-block;
    padding: 6px 16px;
    background-color: transparent;
    color: #CAD2C5; /* Light soft gray-green to match your theme elements */
    border: 1px solid rgba(202, 210, 197, 0.25);
    border-radius: 20px; /* Gives the perfect round look */
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

/* Hover States */
.product-filter-pill:hover {
    color: #ffffff !important;
    border-color: #52796F;
    background-color: rgba(82, 121, 111, 0.15);
    text-decoration: none;
}

/* Active Highlighted State (When the URL matches the filter item) */
.product-filter-pill.active {
    background-color: #52796F !important; /* Your signature brand green */
    color: #ffffff !important;
    border-color: #52796F !important;
    box-shadow: 0 2px 8px rgba(82, 121, 111, 0.35);
}

/* Hide scrollbars for Webkit browsers (Chrome, Safari) inside your filter track */
#filterScrollRow::-webkit-scrollbar {
    display: none;
}
/* Ensure the default select state stays readable */
.form-select {
    color: #2b2b2b !important;
}








.nav-btn {
    font-size: 20px;
    color: #17a2b8; /* Match your Statshub info color */
    transition: transform 0.2s;
}

.nav-btn:hover {
    transform: scale(1.2);
}




/* Delete Modal*/

.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dims the background */
    backdrop-filter: blur(5px); /* Adds that glass look */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #030319; /* Your elite theme color */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 400px;
    text-align: center;
    color: white;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}











/********************* Solotech Products  *************************/

/* Base styles: Exactly 3 columns x 2 rows when screen is shrunk */
.product-roster {
    max-width: 900px;
    margin: 0px auto;
    padding: 10px;
    background-color: #354F52; /* Darker roster background */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.product-roster-title {
    text-align: center;
    font-size:  1.5em;
    color: #CAD2C5; /* Light text color */
    margin-bottom: 20px;
}

.product-roster-grid {
    display: grid;
    /* Forces exactly 2 items side-by-side on smaller screen sizes */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
}

.product-roster-item {
    background-color: #52796F; /* Darker card background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}



/* --- STAR RATING HORIZONTAL FIX --- */
.et-rating {
  display: flex;                /* This forces them into a row */
  justify-content: center;      /* Centers the stars in the card */
  list-style: none;             /* Removes the bullet points */
  padding: 0;                   /* Removes default list padding */
  margin: 0 0 10px 0;           /* Adds space below the stars */
}

.et-rating li {
  display: inline-block;        /* Backup for older browsers */
  margin: 0 2px;                /* Adds a tiny gap between each star */
}

.et-rating li span {
  font-size: 18px;              /* Adjust size  */
  color: #ffc107;               /* Classic gold/yellow color */
}

/*-------------------------------------------------------------------------*/

/* ==========================================================================
   DESKTOP VIEW: Expands the container layout and displays 7 columns across
   ========================================================================== */
/* Base Mobile View: 2 cards per row */

/* Tablet: 3 cards per row */
@media (min-width: 768px) {
    .product-roster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Laptop/Desktop: 5 cards per row */
@media (min-width: 1200px) {
    .product-roster-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .product-roster {
        max-width: 95%;
        width: 100%;
        margin: 0 auto; /* Keeps the grid centered */
    }
}

/* Image Uniformity */
.product-roster-image {
    width: 100%;
    height: 200px;        /* Fixed height for all */
    object-fit: cover;    /* Crops to fit 200px height perfectly */
    object-position: center; 
    border-radius: 8px;
    display: block;
}



/* Inner Utility and Typography Elements */
.product-roster-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-roster-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* All cards in the row will match the tallest card */
    background: #354F52; /* Or your base card color */
    border-radius: 8px;
    overflow: hidden;
}

.product-roster-link {
    flex: 1; /* This pushes the footer to the bottom */
    display: flex;
    flex-direction: column;
}

.product-roster-info {
    margin-top: auto; /* Pushes price/name down if there is extra space */
    padding: 10px;
    text-align: center;
}

.product-roster-footer {
    margin-top: auto; /* Ensures buttons are always at the bottom */
    padding: 5px;
    background: #2A3F42; /* Slightly darker to separate from the card body */
}

.product-roster-name {
    font-size: 14px !important; 
    line-height: 1.2 !important; 
    height: 35px !important; 
    overflow: hidden; 
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .product-roster-name { font-size: 1.1em; }
}

@media (min-width: 1200px) {
    .product-roster-name { font-size: 1.3em; }
}



.product-roster-position {
    font-size: 0.8em;
    color: #B2BEB5; /* Soft complementary text color */
}



.product-btn-action-group {
    display: flex;
    justify-content: center;
}

.product-btn-action-group a {
    margin-right: 5px;
    margin-left: 5px;
    color: white;
}




/**************************************************************************/
/* Base styles: Exactly  original structure for smaller/shrunk screens */
.team-roster {
    max-width: 900px;
    margin: 0px auto;
    padding: 10px;
    background-color: #354F52; /* Darker roster background */
    border-radius: 0px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* DESKTOP ONLY: Break out to full screen and force exactly 7 cards */
@media (min-width: 1200px) {
    .team-roster {
        max-width: 95%; /* Expands the teal div to share the full screen */
        width: 100%;
    }
    .roster-grid {
        /* Overrides the auto-fill to force exactly 7 cards across */
        grid-template-columns: repeat(6, minmax(0, 1fr)); 
    }
}

.roster-title {
    text-align: center;
    font-size: 2.2em;
    color: #CAD2C5; /* Light text color */
    margin-bottom: 20px;
}

  /* 1. Slider Wrapper handles horizontal axis containment */
.roster-slider-wrapper {
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    padding-bottom: 10px; /* Space for the cards to elevate safely on hover */
}

/* Hide native browser scrollbar tracks to match premium store look */
.roster-slider-wrapper::-webkit-scrollbar {
    display: none;
}
.roster-slider-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    scroll-snap-type: x mandatory;
}

/* 2. Re-configuring the CSS Grid to feed horizontally */
.roster-grid {
    display: grid;
    grid-auto-flow: column; /* Prevents cards from dropping to lines below */
    grid-auto-columns: minmax(160px, 1fr); /* Maintains robust card structures */
    gap: 5px;
    width: max-content; /* Forces grid row extension past the boundary wrapper */
}

@media (min-width: 768px) {
    .roster-grid {
        grid-auto-columns: 80%;
        gap: 5px;
    }

     .roster-item {
        width:auto;
    }
}


/* 3. Freeze widths on roster items so columns never stretch or distort */
.roster-item {
    width: 180px; 
    background-color: #52796F;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.roster-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.roster-link:hover {
    text-decoration: none;
}

.roster-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1; /* Ensure it takes all available space */
}

.roster-content {
    text-align: center;
    padding: 2px;
}

.roster-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure images cover the area without distortion */
}

.roster-info {
    padding-top: 8px;
}

.roster-name {
    font-size: 1.3em;
    margin: 8px 0 5px;
    color: #CAD2C5; /* Light text color */
}

@media (max-width: 1024px) {
     .roster-name {
        font-size: 1.3em;
        margin: 8px 0 5px;
        color: #CAD2C5; /* Light text color */
    }
}
/* Desktop Adjustments */
@media (min-width: 992px) {
    .roster-name {
        font-size: 1.3em;
        margin: 8px 0 5px;
        color: #CAD2C5; /* Light text color */
    }
}    
@media (min-width: 448px) {
    .roster-name {
        font-size: 0.6em;
        margin: 8px 0 5px;
        color: #CAD2C5; /* Light text color */
    }

     .roster-title {
        font-size: 1em;
        margin: 8px 0 5px;
        color: #CAD2C5; /* Light text color */
    }
}
.roster-position {
    font-size: 0.8em;
    color: #B2BEB5; /* Soft complementary text color */
}

.card-footer {
    padding: 5px;
    background: #354F52;
}

.btn-action-group {
    display: flex;
    justify-content: center;
}

.btn-action-group a {
    margin-right: 5px;
    margin-left: 5px;
    color: white;
}



/**************************************************************************/
/* Base styles for Leather Works */
.leather-works {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    background-color: #354F52;
    border-radius: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}


.leather-heading-component {
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-start;  /* title aligned left */
    margin-bottom: 20px;
}

.leather-title {
    margin-bottom: 10px;      /* spacing between title and arrows */
    text-align: left;
    font-size: 1.8em;
    color: #CAD2C5;
}

.leather-description {
    margin-top: 8px;
    font-size: 14px;
    color: #555;          /* softer text color */
    line-height: 1.5;
}



/* Slider wrapper */
.leather-slider-wrapper {
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}
.leather-slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Grid setup */
.leather-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 5px;
    width: max-content;
}

.leather-item {
    width: 180px;
    background-color: #52796F;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.leather-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.leather-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.leather-link:hover {
    text-decoration: none;
}

.leather-content {
    text-align: center;
    padding: 2px;
}
.leather-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.leather-info {
    padding-top: 8px;
}
.leather-name {
    font-size: 1.3em;
    margin: 8px 0 5px;
    color: #CAD2C5;
}
.leather-price {
    font-size: 0.8em;
    color: #B2BEB5;
}

.leather-footer {
    padding: 5px;
    background: #354F52;
}
.leather-btn-group {
    display: flex;
    justify-content: center;
}
.leather-btn-group a {
    margin: 0 5px;
    color: white;
}

/* Mobile: two stacked rows with wide cards */
@media (max-width: 768px) {
  .leather-title {
    margin-bottom: 10px;      /* spacing between title and arrows */
    text-align: left;
    font-size: 1.6em;
    color: #CAD2C5;
  }
    
  .leather-grid {
      display: grid;
      grid-template-rows: repeat(2, auto);   /* two rows */
      grid-auto-flow: column;                /* horizontal scroll per row */
      grid-auto-columns: 75%;                /* wide cards */
      gap: 10px;
      width: 100%;
      overflow-x: auto;
      scroll-snap-type:x mandatory;
  }

  .leather-item {
      width: auto;
      scroll-snap-align: start;
  }
}




/**************************************************************************/
/* Base styles for Bale Material */
.bale-material {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    background-color: #354F52;
    border-radius: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}



.bale-heading-component {
    display: flex;
    flex-direction: column;   /* stack children vertically */
    align-items: flex-start;  /* title aligned left */
    margin-bottom: 20px;
}

.bale-title {
    margin-bottom: 10px;      /* spacing between title and arrows */
    text-align: left;
    font-size: 1.8em;
    color: #CAD2C5;
}

.bale-nav-controls {
    display: flex;
    justify-content: flex-end; /* arrows aligned right */
    gap: 10px;
    width: 100%;               /* stretch controls row full width */
    padding-bottom: 10px;
}

/* Slider wrapper */
.bale-slider-wrapper {
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
}
.bale-slider-wrapper::-webkit-scrollbar {
    display: none;
}



/* Grid setup */
.bale-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 5px;
    width: max-content;
}

.bale-item {
    width: 180px;
    background-color: #52796F;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.bale-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.bale-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.bale-link:hover {
    text-decoration: none;
}

.product-bale-content {
    text-align: center;
    padding: 2px;
}
.product-bale-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-bale-info {
    padding-top: 8px;
}
.product-bale-name {
    font-size: 1.3em;
    margin: 8px 0 5px;
    color: #CAD2C5;
}
.product-bale-position {
    font-size: 0.8em;
    color: #B2BEB5;
}

.product-bale-footer {
    padding: 5px;
    background: #354F52;
}
.product-bale-btn-group {
    display: flex;
    justify-content: center;
}
.product-bale-btn-group a {
    margin: 0 5px;
    color: white;
}

/* Mobile: two stacked rows of horizontal scroll */
@media (max-width: 768px) {

  .bale-title {
    margin-bottom: 10px;      /* spacing between title and arrows */
    text-align: left;
    font-size: 1.8em;
    color: #CAD2C5;
  }  

  .bale-grid {
      display: grid;
      grid-template-rows: repeat(2, auto);   /* two rows */
      grid-auto-flow: column;                /* horizontal scroll per row */
      grid-auto-columns: 75%;                /* wide cards */
      gap: 10px;
      width: 100%;
      overflow-x: auto;
      scroll-snap-type:x mandatory;
  }

  .bale-item {
      width: auto;
      scroll-snap-align: start;
  }
}





/**************************************************************************/
/* Advert Section */
.advert-section {
    width: 100%;              /* full width */
    margin: 20px 0;           /* spacing before product categories */
}

.advert-banner {
    background: #f5f5f5;       /* light background for contrast */
    height: 120px;             /* small height, wide width */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;    /* subtle border */
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
