/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: white;
}
.product-gridz {

display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 40px;
justify-items: center;
max-width: 1000px;
margin: auto;
}

.product-card {
    flex-shrink: 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: justify;
    gap: 24px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.product-info {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    color: #000000;
}
.product-link {
    text-decoration: none;
    color: inherit;
}

.product-card {
    flex-shrink: 0;
    width: 270px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    border-radius: 16px 16px 0 0;
}

.product-details {
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    color: #000;
    line-height: 1.4;
}

.product-meta {
    font-size: 15px;
    color: #777;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
    color: #1e1e1e;
}
/* Navigation */
/* nav {
top: 0;
width: 100%;
background-color: #a0dfc5;
z-index: 999;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
} */
.section{
display: none;
}
nav.categories-nav {
background-color: #a0dfc5;
padding: 10px 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
width: 98.7vw;
}

nav.categories-nav ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
padding: 0;
margin: 0;
gap: 10px; /* spacing between items */
}

nav.categories-nav li {
margin: 0;
}

nav.categories-nav a {
display: inline-block;
padding: 8px 16px;
background-color: transparent;
color: black;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
font-size: 14px;
transition: background-color 0.3s ease, color 0.3s ease;
}

nav.categories-nav a:hover,
nav.categories-nav a:focus {
background-color: #5cbaa7;
color: white;
}


/* Sections */
section {
margin-top: 50px;
padding: 40px 20px;
}

h2 {
margin-bottom: 20px;
}

/* Grid Layout */
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 70px;
justify-items: center;
max-width: 1000px;
margin: auto;
text-align: center;
}

/* Cards */
.card {
text-decoration: none;
color: inherit;
display: inline-block;
transition: transform 0.3s;
}

.card:hover {
transform: scale(1.05);
}

.card img {
width: 100%;
max-width: 225px;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info {
margin-top: 6px;
display: flex;
justify-content: space-between;
font-size: 14px;
width: 100%;
max-width: 180px;
}

.card{
    .cart-controls{
    bottom: auto;
}}

@media (max-width: 480px) {
.product-gridz {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  padding-top: 5px;
  scroll-behavior: smooth;
}
#Stuffings {
  display: none;
}
.section
{
  display: block;
}
.header{
  position:static;
}
.container {
  padding: 0 12px;
}
.cacategories-nav{
  position:static;
}
.product-card {
    width: 200px;
}

.categories-grid {
    grid-template-columns: 1fr;
}

.section {
    margin: 40px 0;
}
.grid{
  gap: 20px;
}

}

@media (max-width: 768px) {
.header-content {
    flex-direction: column;
    gap: 16px;
}
.nav-actions {
    width: 100%;
    justify-content: space-around;
}
.footer-contact {
flex-direction: column;
text-align: center;
}
.cacategories-nav{
position: sticky;
}
.product-card {
    width: 240px;
}

.categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-image {
    width: 120px;
    height: 120px;
}

.category-name {
    font-size: 16px;
}

.footer-contact {
    flex-direction: column;
    text-align: center;
}
.grid{
  gap: 20px;
}
}
