.fixed-bg-section {
    background-image: url('/images/netcabinet.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    margin:1%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
    
.shop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: rgb(168, 38, 255);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgb(140, 32, 212);
  transition: all 0.3s ease;
}

.shop-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.shop-btn:hover {
  background-color: rgb(140, 32, 212);
  box-shadow: 3px 3px 0 rgb(110, 20, 180);
}

.shop-btn:hover i {
  transform: translateX(4px);
}

.shop-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgb(110, 20, 180);
}   
    
/* ----- CONTAINER ----- */
.nashkhi-box {
  display: flex;
  gap: 10px;
  padding: 6px;           /* spacing from edges */
  flex-wrap: wrap;
  box-sizing: border-box;
}

/* ----- LEFT & RIGHT SECTIONS ----- */
.section-left {
  flex: 0 0 calc(70% - 10px);
  padding: 15px;
  border-radius: 8px;
}

.section-right {
  flex: 0 0 calc(30% - 10px);
  padding: 15px;
  border-radius: 8px;
}

/* ----- PRODUCT GRID ----- */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default: 2 items per row */
  gap: 15px;
}

/* ≥1024px → 4 items per row */
@media (min-width: 1024px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- STACKED SECTIONS BELOW 1020px ----- */
@media (max-width: 1020px) {
  .section-left,
  .section-right {
    flex: 1 1 100%;
  }
}

/* ----- PRODUCT CARD ----- */
.product-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  padding: 1px;
  padding-bottom: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  border-radius: 4px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 8px;
}

.product-name {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.product-price {
  font-size: 13px;
  color: #222;
  font-weight: bold;
}

/* ----- CART ICON ----- */
.cart-icon {
  width: 36px;
  height: 36px;
  background-color: black;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  cursor: pointer;
}

/* ----- CATEGORY LIST ----- */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.category-name {
  font-weight: 500;
  color: #333;
}

.category-count {
  font-weight: 600;
  color: teal;
}

/* ----- MODAL OVERLAY ----- */
.product-modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;       /* full viewport width */
  height: 100vh;      /* full viewport height */
  z-index: 9999;      /* above everything */
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  align-items: center;
  justify-content: center;
  overflow: hidden;   /* prevent background scroll */
}

/* Prevent background scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* ----- MODAL CONTENT ----- */
.product-modal-content {
  width: 100%;          /* full width */
  height: 100%;         /* full height */
  background: #fff;
  border-radius: 0;     /* full-page style */
  padding: 25px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;     /* scroll inside modal if needed */
}

/* ----- IMAGE-DESCRIPTION LAYOUT ----- */
.image-description {
  display: flex;
  gap: 25px;             /* space between columns */
  width: 100%;
  flex-wrap: wrap;       /* stack on smaller screens */
  box-sizing: border-box;
}

.image-description .image,
.image-description .description {
  width: calc(50% - 12.5px); /* 50% minus half the gap */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.image-description .image {
  align-items: center;
  justify-content: center;
}

.image-description .image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.image-description .description {
  gap: 12px;
}

/* Stack columns on smaller screens */
@media (max-width: 768px) {
  .image-description .image,
  .image-description .description {
    width: 100%; /* full width when stacked */
  }
}

.image-description .description p {
  margin: 0;
  line-height: 1.3;
  color: #555;
}

/* ----- QUANTITY SELECTOR ----- */
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  background: #f5f5f5;
  border: none;
  padding: 8px 14px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #e0e0e0;
}

.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 1em;
}

/* ----- ADD TO CART BUTTON ----- */
.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background-color: teal;
  color: white;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.add-to-cart-btn:hover {
  background-color: #006666;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
  .image-description {
    flex-direction: column;
  }
  .image-description .image,
  .image-description .description {
    width: 100%;
  }
}

    
.brands-section {
  padding: 50px 20px;
  text-align: center;
}


.brands-section .section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: white;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.brand-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-logo:hover {
  transform: scale(1.05);
}



.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 14px;
    font-size: 1.2em;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1em;
}

