/* GLOBAL RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html,body{
height:100%;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#0f0f11;
color:white;
line-height:1.5;
min-height:100vh;
display:flex;
flex-direction:column;
}


/* CONTAINER */

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


/* HEADER */

header{
background:#121216;
position:sticky;
top:0;
z-index:1000;
border-bottom:1px solid rgba(255,255,255,0.05);
}

.header-inner{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 0;
}

.logo img{
height:45px;
border-radius:8px;
}


/* NAV */

/* Update this section in your stylea.css */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes logo left, home right */
  width: 100%;                   /* CRITICAL: Allows it to use the full header width */
  padding: 10px 0;               /* Adjust as needed */
}

/* Optional: Ensure nav-links stays right-aligned if you add more links */
.nav-links {
  display: flex;
  gap: 20px;
}


.logo img {
  height: 40px; /* Adjust based on your preference */
  display: block;
}

.nav-menu a {
  text-decoration: none;
  color: #ddd;
  font-size: 15px;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #d4af37;
}


/* HERO SECTION */

.category-hero{
text-align:center;
padding:40px 0 20px 0;
}

.category-hero h1{
font-size:34px;
margin-bottom:8px;
}

.category-hero p{
color:#aaa;
font-size:15px;
}


/* PRODUCTS SECTION */

.products-section{
padding:35px 0;
flex:1;
}

.section-title{
text-align:center;
margin-bottom:25px;
font-size:26px;
}


/* PRODUCTS GRID */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}


/* PRODUCT CARD */

.product-card{
background:#1a1a1f;
border-radius:14px;
overflow:hidden;
transition:0.3s;
box-shadow:0 4px 15px rgba(0,0,0,0.4);
display:flex;
flex-direction:column;
}

.product-card:hover{
transform:translateY(-6px);
}


/* IMAGE SLIDER */

.slider{
position:relative;
overflow:hidden;
}

.slide{
display:none;
width:100%;
height:260px;
object-fit:cover;
}

.slide.active{
display:block;
}

.slider img{
width:100%;
height:260px;
object-fit:cover;
}


/* SLIDER BUTTONS */

.prev,
.next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
color:white;
border:none;
padding:6px 10px;
cursor:pointer;
font-size:16px;
border-radius:4px;
}

.prev{
left:10px;
}

.next{
right:10px;
}


/* PRODUCT BODY */

.product-body{
padding:14px;
display:flex;
flex-direction:column;
flex:1;
}

.product-body h3{
font-size:16px;
margin-bottom:6px;
}

.product-body p{
color:#bbb;
font-size:14px;
margin-bottom:10px;
}


/* BUTTON GROUP */

.buttons{
display:flex;
justify-content:flex-end;
margin-top:auto;
}


/* AMAZON BUTTON */

.amazon{
background:#ff9900;
color:#000;
padding:7px 10px;
border-radius:6px;
text-decoration:none;
font-size:13px;
font-weight:600;
}


/* CATEGORY BUTTONS */

.categories{
display:flex;
flex-wrap:wrap;
gap:12px;
justify-content:center;
padding:30px 0;
}

.category{
background:#1a1a1f;
padding:10px 16px;
border-radius:8px;
cursor:pointer;
text-decoration:none;
color:white;
transition:0.3s;
}

.category:hover{
background:#d4af37;
color:black;
}


/* FOOTER */

footer{
background:black;
color:white;
text-align:center;
padding:15px 0;
margin-top:auto;
border-radius: 20px;
}

.footer-links{
margin-bottom:6px;
}

.footer-links a{
margin:0 10px;
color:#bbb;
text-decoration:none;
font-size:14px;
}

.footer-links a:hover{
color:#d4af37;
}


/* RESPONSIVE */

@media(max-width:768px){

.category-hero h1{
font-size:26px;
}

.products{
grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}

.slide{
height:220px;
}

}
/* SECTION SPACING */
.section {
  margin: 40px 0; /* 40px top and bottom, 0 left and right */
  padding: 20px 0; /* Optional: adds internal space if needed */
}

/* If you want more space specifically below the title */
.section h2 {
  margin-bottom: 30px;
  text-align: center; /* Keeps it consistent with your design */
}
