:root{
  --primary:#3c6bb0;
  --drk-bl: #2b4c7e;
  --drk: #15263f;
  --lght:#3c6bb0;
  --blk:#000;
  --wt:#fff;
  --yl:#ffc107;
  --gr:#ccccccb7;
  --grey:#ccc;
  --slate:#292828ec;


}

body{background-color: #f5f5f5;font-size: 1rem;line-height: 1.5;-webkit-font-smoothing: antialiased;  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;}
*, *::before, *::after {box-sizing: border-box;}
* {margin: 0;padding: 0;}
img, picture, video, canvas, svg {
  max-width: 100%;
  vertical-align: middle;
}
.bg-site{background-color:var(--drk);}
.bg-drk-bl{background-color:var(--drk-bl);}
.bg-light{background-color:var(--lght);} 
.bg-grey{background-color: #a1a1a1;}
.bg-wt{background-color:#fff}
.bg-yl{background-color:#ffc107;}
.bg-grn{background-color:#10b981;}
.bg-slate{background-color:var(--slate);}
.bg-blk{background-color:#000;} 
.bg-red{background-color:red;}
.bg-grey{background-color: #a1a1a1;}

.img-row{
flex: 0 0 auto; 
}
.img-round{clip-path: circle(50%);}
.img-box{
  height:400px;
  object-fit:cover;
  aspect-ratio: 1/1;
} 
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
 /* ==========================================
        Header
   ========================================== */
.menu {cursor: pointer;margin: 0.30rem;}	  
.bar1, .bar2, .bar3 {
  width: 1.9rem;
  height: 0.25rem;
  background-color: var(--yl);
  margin: 0.35rem 0;
  transition: 0.4s;
   z-index: 100; 
}
.change .bar1 {-webkit-transform: rotate(-45deg) translate(-0.4rem, 0.4rem);transform: rotate(-45deg) translate(-0.4rem, 0.4rem);}
.change .bar2 {opacity: 0;}
.change .bar3 {-webkit-transform: rotate(45deg) translate(-0.4rem, -0.4rem);transform: rotate(45deg) translate(-0.4rem, -0.4rem);}

/* ---  header grid  Assignments --- */
.hamburger-menu { grid-area: menu; }
.logo           { grid-area: logo; }
.search-bar     { grid-area: search; }
.login-icon     { grid-area: login; }
.shopping-cart  { grid-area: cart; }
.page-header {margin: 0 auto;position: sticky;top: 0;z-index: 100;}
/* --- Mobile First Layout (Small Screens) --- */
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "menu logo login cart"
    "search search search search";
  gap: 1rem;
  align-items: center;

}
#logo{
   width: 2.304rem;
   height: 1.8rem;
  /*width: 2.176rem;         
  height: 1.7rem; */         /* Keeps the height aligned with your SVG icons */
  aspect-ratio: 64 / 50;   /* Automatically preserves PNG proportions */
  object-fit: contain;     /* Prevents accidental image distortion */
}

/* Center the search form on mobile */
.search-bar { 
  justify-self: center; 
  display: flex;       
  justify-content: center; 
  width: 100%;
  max-width: 400px;  
}
/*---*/
.header-icon {
  stroke: var(--yl);
  width: 1.7rem;
  height: 1.7rem;
  transition: stroke 0.2s ease-in-out;
}
.s-icon {
  stroke: #000000;
  width: 1rem;
  height: 1rem;
  transition: stroke 0.2s ease-in-out;
}
/* Change color to red when hovering over the anchor link container */
a:hover .header-icon {
  stroke: #ff0000;
}
/* --- Search Bar Container (The Form) --- */
.search-bar {
  grid-area: search;
  position: relative; /* Anchor for the absolute button */
  width: 100%;        /* Forces form to fill the entire "search" grid area */
  display: flex;      /* Ensures input matches form dimensions */
}

/* --- The Button Overlay --- */
.search-btn {
  position: absolute;
  right: 0.5rem;
  top: 30%;
  transform: translateY(-50%);
  border: none;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yl);
  width:fit-content;
}
/* Optional: change icon color on hover/focus */
.search-btn:hover {
  color: #000;
  background-color: #7beb77;
}
/* Make the cart container the reference point for the badge */
.shopping-cart {
  position: relative;
  display: inline-flex;
}

/* Style and position the badge */
.cart-badge {
  position: absolute;
  top: -8px;          /* Moves badge slightly above the icon */
  right: -8px;        /* Moves badge slightly to the right */
  background-color: #ff4d4f; /* Eye-catching red color */
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%; /* Makes the badge a perfect circle */
  
  /* Centers the number inside the circle */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Sizing controls */
  min-width: 18px;
  height: 18px;
  padding: 2px;
}

.top-nav{width:100%;}
.nav_layout{width: 100%;min-height: 96vh;}
.page_layout{width: 100%;min-height: 90vh;}
.icon-r {width: 1.2rem;height: auto;}.icon-s { width: 1rem;height: auto;}
/* ==========================================================================
   Menu
   ========================================================================== */
.gmenu-wrapper {
  position: relative !important;
  margin-bottom: 1.5rem;
}
.gmenu-panel {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  background-color: rgb(25, 25, 25) !important; 
  background-color: rgba(25, 25, 25, 0.98) !important;
  color: #ffffff !important;
  z-index: 9999 !important; /* Forces it over other elements */
  opacity: 0 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
  padding: 1rem !important;
  display: flex !important;
  flex-direction: column !important;
  
  transition: opacity 0.2s ease-in-out;
}
.gmenu-panel.is-active {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.gmenu-header {
  display: grid !important;
  grid-template-columns: auto 1fr !important; 
  align-items: center !important;              
  justify-items: start !important;             
  text-align: left !important;                 
  
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-bottom: 0.5rem !important;
  margin-bottom: 0.75rem !important;
  flex-shrink: 0 !important;
}

.gmenu-title {
  display: block !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05rem !important;
  color: #aaaaaa !important;
  font-weight: bold !important;
  margin: 0 !important;
  text-align: left !important;
  grid-column: 2 !important;
  width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.gmenu-close {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: normal !important;
  cursor: pointer !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 0.75rem 0 0 !important; 
  grid-column: 1 !important;
  justify-self: start !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.gmenu-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  overflow-y: auto !important;
  flex-grow: 1 !important;
  -webkit-overflow-scrolling: touch;
}
.gmenu-link {
  display: block !important;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 0.7rem 0.5rem !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
}

@media (max-width: 767px) {
  .grid-4 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  .grid-4 > div:nth-child(3):empty {
    display: none !important;
  }
  
  .gmenu-panel {
    top: 2.6rem !important; 
    bottom: auto !important;
    height: auto !important;
    min-height: 320px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
  }
    .gmenu-toggle {
    cursor: pointer;
  }
}

@media (min-width: 768px) {
  .grid-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }

  .grid-4 > div:nth-child(3):empty {
    display: block !important;
  }

  .gmenu-panel {
    bottom: 0 !important;
    top: auto !important;
    height: calc(100% - 2.6rem) !important; 
  }
  
  .gmenu-link:hover {
    color: var(--lght, #00bcd4) !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
  }
   .bar-block.hide {
    display: block !important; 
  }

  .gmenu-toggle .arrow-icon {
    display: none !important;
  }

  .gmenu-toggle {
    cursor: default !important;
    pointer-events: none; 
  }
}
/* ==============================================
   Sleek Custom Scrollbar Design for .gmenu-list
   ============================================= */

.gmenu-list::-webkit-scrollbar {
  max-height: 600px;
  overflow-y: auto;
  width: 6px; /
}

.gmenu-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03); 
  border-radius: 10px;
}

.gmenu-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2); 
  border-radius: 10px;
  transition: background 0.2s ease;
}


.gmenu-list::-webkit-scrollbar-thumb:hover {
  background: var(--lght, #00bcd4); 
}

@supports (scrollbar-width: thin) {
  .gmenu-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.03);
  }
}

 /* ==========================================
        Fonts
   ========================================== */
h1 {
  color: var(--slate);
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); /* Product Name on Single Product Page */
  margin-top: 0.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.title::first-letter {
  text-transform: uppercase;
}

h2 {
  color: var(--slate);
  font-size: clamp(1.35rem, 2vw + 0.6rem, 1.85rem);
  margin-top: 0.8rem;
  margin-bottom: 0.7rem;
}

h3 {
  color: var(--slate);
  font-size: clamp(1.15rem, 1.2vw + 0.6rem, 1.4rem);
  margin-top: 0.8rem;
  margin-bottom: 0.6rem;
} 

h4 {
  color: var(--slate);
  font-size: clamp(0.9rem, 0.8vw + 0.6rem, 1.15rem);
  margin-top: 0.8rem;
  margin-bottom: 0.6rem;
} 

p {
  font-size: clamp(0.9rem, 0.1vw + 0.9rem, 1rem);
  color: var(--slate);
  margin-top: 0.2rem;
  line-height: 1.5;
}
.h-footer{
font-size: 1rem;
padding: 0.5rem;
  color:var(--yl);      
}
.p-footer{
font-size: 0.9rem;
padding: 0.5rem;
color:var(--yl);
}
.a-footer{
  font-size: 0.9rem;
  padding: 0.5rem;
  color:var(--yl);
  text-decoration: none;
}
.txt-c{text-align: center;}
.txt-r{text-align: right;}
.xl { font-size: 1.5rem; }
.lg { font-size: 1.2rem; }
.m { font-size: 1rem; }
.sm { font-size: 0.9rem; }
.xs { font-size: 0.7rem; }
.featured-text {
   font-size: clamp(1rem, 0.8vw + 0.6rem, 1.15rem);
  font-weight: 500;
}
.strikethrough {text-decoration: line-through;color: red;}
.t-blk{color: black;}
.t-wt{color: #fff;}
.t-grey{color: #ccc;}
.t-yl{color:#ffc107;}
.t-red{color:red;}
.t-green{color:rgb(19, 167, 63);}


 /* ==========================================
        Scroll
   ========================================== */
.thin-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.thin-scrollbar::-webkit-scrollbar {
  height: 4px;
}

.thin-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.thin-scrollbar::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px; 
}

.thin-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #999; 
}
 /* ==========================================
        Dropdown
   ========================================== */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  padding: 0.7rem 1.1rem;
  background-color: inherit; 
  border: none;
  cursor: pointer;
  font-size:1.2rem;font-weight: 600;text-decoration: none; color:var(--slate);
}
.dropbtn:hover {
  background-color: #ffff00;
}
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

}

.dropdown-content a {
  padding: 0.2rem;
  text-decoration: none;
  display: block;
}
.dropdown-content p {
  padding: 0.7rem;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {background-color: #ffc107;}

.dropdown:hover .dropdown-content {
  display: block;
  z-index: 899;
}

.dropdown:hover .dropbtn {
  background-color: #ffc107;
}
 /* ==========================================
        Elements
   ========================================== */
.a-clean{text-decoration: none;}
a:hover{transform: translateY(-4px);}
hr {border: 0;height: 1px;background: #29292e;margin: 40px 0;}
.tooltiplink {position: relative;}
.tooltiplink:hover::after {
  content: attr(data-title);
  background-color:var(--slate);
  color: #fff;
  padding: 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 0.9rem;
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 10;
}

.bar{width:100%;overflow:hidden}.center .bar{display:inline-block;width:auto}
.bar .bar-item{padding:0.7rem 1rem;float:left;width:auto;border:none;display:block;outline:0;font-size:1.2rem;font-weight: 600;text-decoration: none; }
.bar-item:hover{background-color:var(--lght);color:var(--wt);} 
.bar-block .bar-item{width:100%;display:block;padding:1rem 1.2rem;text-align:left;font-weight: 600;text-decoration: none; border:none;white-space:normal;float:none;outline:0;}
form { width: 100%; }
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"],
select,
textarea {
  padding: 0.4em 0.4em;
  font-size: 1em;
  font-family: Arial;
  width: 100%;
  border: 1px solid var(--grey);
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
select:focus {
  border: 1px solid var(--primary);
  outline: 0;
}

input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"],
button,
textarea,
select,
.button {
  border-radius: 6px;
}

textarea {
  padding: 0.6em 0.6em;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--slate);
  line-height: 1.6em;
}

label {
  margin: 1.4em 0 0.4em 0;
  clear: both;
  display: block;
  text-align: left;
}

label span { color: green; }
.badge {padding: 0.15rem 0.4rem;background-color:#ffc107;border:1px solid #ccc;border-radius: 50%;}
.button {
  text-align: center;
  width: auto;
  display: inline-block;
}

button,
.button{
  background-color: var(--primary);
  border: 1px solid var(--primary-dark);
  margin: 0.5em 0.1em 0 0;
  padding: 0.6em 1.2em;
  color:#fff;
  font-size: 0.9em;
  cursor: pointer;
  text-decoration: none;
  font-family: Arial;
  line-height: normal;
}

button:hover,
.button:hover {
  background-color: var(--grey);
  border: 1px solid var(--primary-darker);
  color:#211a1a;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn{border:none;border-radius: 6px;display:inline-block;padding:0.5em 0.7rem;margin: 0; text-decoration:none;font-weight:bold;font-size:0.9rem;;text-align:center;cursor:pointer;}
.btn-round{border:none;border-radius: 50%;display:inline-block;padding:0.5em 0.7em;vertical-align:middle;text-decoration:none;font-weight:bold;font-size:0.9rem;;text-align:center;cursor:pointer;white-space:nowrap}
.btn:hover,button:hover{background-color: rgb(163, 163, 163);} 
.btn:disabled{background-color: rgb(163, 163, 163); color: #f5f5f5;cursor: not-allowed;} 
.btn-yl {color:#0b0b0b;background-color:#ffc107}
.btn-bl{color:#fff;background-color:var(--drk-bl)}
.btn-grn {color:#fff;background-color:#10b981} 
.btn-red {color:#fff;background-color:#e61010}
.btn-clear {color:var(--slate);background-color:#ccc} 
.btn-small {
  padding: 0.3125rem 0.625rem;
  margin-left: 0.3125rem;
  border: #b3b0b0 1px solid;
  color: #211a1a;
  /*float: right;*/
  text-decoration: none;
  border-radius: 0.187rem;
  cursor: pointer;
}
btn-min {
  width: max-content;
  max-width: 50px;
  white-space: normal; 
}

/* Layout container */


/* Base button reset for both link and button tags */
.icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.1s ease;
}

.icon-btn:hover {
    background: none;
  transform: scale(1.1);
}

/* Edit specific color (Blue) */
.edit-btn {
  color: #0066cc;
}
.edit-btn:hover {
  color: #004499;
}

/* Delete specific color (Red) */
.delete-btn {
  color: #ff4d4d;
}
.delete-btn:hover {
  color: #cc0000;
}

/* table */
table {
  border-collapse: collapse;
  width: 100%;
}
table, td, th {  
 /* border-bottom: 1px solid #ddd;*/
  text-align: left;
}
th, td {
  padding: 0.7rem;
}
tr:nth-child(even) {background-color: #eeeaea;}
/*  img*/


.ico{
  margin-right: 16px;
} 
/* Keeps slides hidden by default, sizing them consistently */
.slides {
  display: none;
  width: 100%;    
}
 /* pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

/* Target both links (a) and unclickable states (span) */
.pagination a,
.pagination span {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ccc;
  margin: 0 4px;
  border-radius: 4px;
  display: inline-block; /* Ensures padding renders properly on spans */
}

/* Highlight the active page span */
.pagination span.active {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

/* Style the disabled button spans */
.pagination span.disabled {
  color: #aaa;
  border-color: #ddd;
  background-color: #f9f9f9;
}

/* Hover effect only applies to actual clickable links */
.pagination a:hover:not(.active) {
  background-color: #f1f1f1;
}

  
/*  pos*/
 .display-container{position:relative}
.top,.bottom{position:fixed;width:100%;z-index:1}.top{top:0}.bottom{bottom:0}*
.overlay{position:fixed;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0.5);z-index:2}
.display-topleft{position:absolute;left:0;top:0}.display-topright{position:absolute;right:0;top:0}
.display-bottomleft{position:absolute;left:0;bottom:0}.display-bottomright{position:absolute;right:0;bottom:0}
.display-middle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%)}
.display-left{position:absolute;top:50%;left:0%;transform:translate(0%,-50%);-ms-transform:translate(-0%,-50%)}
.display-right{position:absolute;top:50%;right:0%;transform:translate(0%,-50%);-ms-transform:translate(0%,-50%)}
.display-topmiddle{position:absolute;left:50%;top:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
.display-bottommiddle{position:absolute;left:50%;bottom:0;transform:translate(-50%,0%);-ms-transform:translate(-50%,0%)}
.display-container:hover .display-hover{display:block}.display-container:hover span.display-hover{display:inline-block}.display-hover{display:none} */
/* modals */
.show{display:block}
.hide{display:none}
.modal{z-index:100;display:none;padding-top:40px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.9)}
.modal-content{margin:auto;background-color:#fff;position:relative;padding:1rem;outline:0;width:470px;}
.modal-map{margin:auto;background-color:var(--clr-5);position:relative;padding:0;outline:0;max-width:1100px;height: 54rem;}

 /* ==========================================
        Borders + m + pad
   ========================================== */
.bd{border: 1px solid #ccc;}	
.bd-left{border-left: 1px dashed #ccc;}
.bd-btm{border-bottom: 1px solid #ccc;}


.m-0{margin:0;}
.m-t-0{margin-top:0;}
.m-t{margin-top:1rem; }
.m-l{margin-left:1rem;}
.m-r{margin-right:1rem;}
.m-lr{margin-left:1rem;margin-right:1rem;}
.m-sides{margin-left:0.7rem;margin-right:0.7rem;}
.center {display: block;margin-left: auto;margin-right: auto;}
.m-t-xxl{margin-top:7rem; }
.m-b{margin-bottom:1rem;}
.m-t-b{margin-top:1rem;margin-bottom:1rem; }
.pd-l{padding-left: 0.5rem;} 
.pd-s{padding: 0.5rem;}  
.pd-r{padding: 0.7rem;} 
.pd-m{padding: 1rem;} 
.pd-x{padding-right: 1.2rem;}
.pd-xl{padding: 3.5rem;}

 /* ==========================================
        layouts
   ========================================== */
.page-600{max-width: 600px;margin: 0 auto;}
.page-760{max-width: 760px;margin: 0 auto;} 
.page-993{max-width: 80rem;margin: 0 auto;} 
.page-1400{max-width: 105rem;margin: 0 auto;}
.page-1920{max-width: 120rem;margin: 0 auto;}
.third{width: 33.3332%;float: left;}
.half{width: 49.9999%;float: left;}
.quarter{width: 24.998%;float: left;}
.float-clear{clear: left;}
.right{float:right;  position: relative;}
.clear {clear: both;}
.flex-row, .flex-column { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }

.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-center { justify-content: center; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

.flex-grow { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
 /* ==========================================
        Containers
   ========================================== */
.caixa{padding: 0.5rem;}
.prdt-box{
 display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
   box-shadow: 
    0 1px 2px rgba(0, 0, 0, 0.02),
    0 4px 12px rgba(0, 0, 0, 0.03),
    0 12px 24px rgba(0, 0, 0, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 8px 24px rgba(0, 0, 0, 0.05),
    0 20px 40px rgba(0, 0, 0, 0.06);
}
.spacer{min-height:3rem;}

.info-box {
    background: #f0f9ff;      
    border: 1px solid #bae6fd;  
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 0.9rem;
    color: #0369a1;          
    margin-bottom: 20px;
    line-height: 1.4;
}

.reg-box {
    background: #f8fafc;      
    border: 1px solid #e2e8f0; 
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 0.9rem;
    color: #334155;       
    margin-bottom: 20px;
    line-height: 1.4;
}

.ok-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 0.9rem;
    color: #166534;
    margin-bottom: 20px;
    line-height: 1.4;
}
.error-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 8px;
    padding: 0.9rem;
    font-size: 0.9rem;
    color: #991b1b;
    margin-bottom: 20px;
    line-height: 1.4;
}
 /* ==========================================
   1. Base Styles: Small Mobile (up to 479px)
   ========================================== */
@media (max-width:30rem) {
  .pagination {
    width: 100%;
    justify-content: space-between; 
    padding: 10px 0;
  }

  .pagination a {
    padding: 12px 16px; 
    flex-grow: 1;
    text-align: center;
  }

  
  .pagination .page-num {
    display: none;
  }
  
  .pagination .page-num.active {
    display: inline-block;
    flex-grow: 0;
    pointer-events: none;
    border: none;
    background: transparent;
    color: #333;
  }

  .pagination span.disabled,
  .pagination span.active {
    pointer-events: none;
  }

.pagination span.disabled {
  color: #aaa;
  border-color: #ddd;
  background-color: #f9f9f9;
  padding: 10px 14px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.pagination span.active {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
  padding: 10px 14px;
  margin: 0 4px;
  border-radius: 4px;
  font-size: 14px;
}
 #brand-scroller {
    scroll-behavior: auto !important; 
    -webkit-overflow-scrolling: touch;
}
  button,
  button.button,
  a.button,
  .button {
   width: 99%;
    display: block;
    box-sizing: border-box;
    margin: 0.5em 0;
  }
.grid-menu{
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 1rem;
  padding: 0.5rem;
  }
.grid-catg {
margin-top: 0.6rem;
gap:0.5rem;
display: grid;
grid-template-columns: repeat(2, 1fr);
padding: 0.5rem;
}


.grid-product {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0.3rem;
  grid-gap: 0.2rem;
  } 
  .grid-6 {
    margin-top: 0.6rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.5rem;
  } 
  .grid-5 {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }  
  .grid-4 {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }
  
.grid-3 {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: auto;

}
.grid-two {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: auto;
  align-items: center;

}

.modal-content{margin:auto;background-color:#fff;position:relative;padding:1rem;outline:0;width:98%;height: 550px;}
}

/* ==========================================
   2. TABLET STYLES (48rem / 768px and up)
   ========================================== */
@media (min-width: 48rem) {
  .grid-menu{
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: auto;
  grid-gap: 1rem;
  padding: 0.5rem;
 }
.grid-catg {
margin-top: 0.6rem;
display: grid;
grid-template-columns: repeat(4, 1fr);
padding: 0.5rem;
} 
 .grid-product {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.5rem;
  grid-gap: 0.4rem;
  }  
 .grid-6 {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.5rem;
} 
.grid-5 {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
} 
.grid-4 {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
}
.grid-3 {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
}
.grid-2 {
  margin: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.5rem;
  padding: 0.5rem;
  align-items: center;
  border:1px solid var(--clr-1);
  border-radius: 0.5rem;
}

}

/* ==========================================
   3. DESKTOP STYLES (64rem / 1024px and up)
   ========================================== */
@media (min-width: 64rem) {
    .header-grid {
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-rows: auto;
    grid-template-areas: "menu logo search login cart";
    gap: 1.2rem;
  }

  /* Pushes menu and logo to the absolute left */
  .hamburger-menu { justify-self: start; }
  .logo           { justify-self: start; }

   .search-bar {
    justify-self: center;
    max-width: 500px;
  }

  /* Pushes login and cart to the absolute right, preventing row jumps */
  .login-icon    { justify-self: end; }
  .shopping-cart { justify-self: end; }

.grid-catg{
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-gap: 1rem;
  padding: 0.8rem;
}

.grid-product{
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 0.5rem;
  padding: 0.3rem;
}
.grid-6 {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
}
/* Grid-5 */
.grid-5 {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
}

/* Grid-4 */
.grid-4 {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem;
}
.grid-3-2 {
margin: 0.7rem 0.5rem;
display: grid;
grid-template-columns: 75% 25%;
grid-gap: 1rem;
padding: 0.5rem;
}
/* Grid-3 */
.grid-3 {
margin: 0.7rem 0.5rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem;
padding: 0.5rem;
}

/* Grid-2 */   
.grid-2 {
margin: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem;
padding: 0.5rem;
align-items: center;
}


}





   
