.products-section{background:#f8f5ee}.products-heading{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:end;margin-bottom:42px}.products-heading h2{font:700 52px/1.25 'Noto Serif Bengali','Playfair Display',serif;color:var(--green);margin:0}.products-heading-side{justify-self:end;max-width:390px}.products-heading-side p{color:var(--muted);line-height:1.9;margin:0 0 18px}.admin-open{border:1px solid var(--green);background:transparent;color:var(--green);padding:10px 18px;border-radius:999px;font:700 12px 'Noto Sans Bengali','DM Sans',sans-serif;cursor:pointer;transition:all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1)}.admin-open:hover{background:linear-gradient(135deg, #0b4932 0%, #1a6d4e 100%);color:white;border-color:transparent;transform:translateY(-2px);box-shadow:0 4px 10px rgba(11, 73, 50, 0.15)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.shop-card{background:#fff;border:1px solid #e1e5dc;box-shadow:0 12px 28px rgba(18,63,44,.06);display:flex;flex-direction:column;min-width:0}.shop-image{height:220px;position:relative;overflow:hidden;background:#e5ecdf}.shop-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s}.shop-card:hover .shop-image img{transform:scale(1.05)}.shop-image span{position:absolute;left:12px;top:12px;background:white;color:var(--green);padding:4px 8px;font-size:9px;font-weight:700}.shop-card-body{padding:18px}.shop-card h3{font:700 20px/1.4 'Noto Serif Bengali','Playfair Display',serif;color:var(--green);margin:0 0 7px}.shop-card p{color:var(--muted);font-size:12px;line-height:1.8;min-height:44px;margin:0}.shop-price{display:flex;align-items:center;gap:9px;margin:13px 0}.shop-price strong{font:700 22px 'Noto Serif Bengali','Playfair Display',serif;color:var(--green)}.shop-price del{font-size:11px;color:#9aa39b}.shop-card .button{width:100%;padding:11px 13px;font-size:11px}.admin-modal{display:none;position:fixed;inset:0;z-index:100}.admin-modal.show{display:block}.admin-backdrop{position:absolute;inset:0;background:rgba(3,20,14,.65)}.admin-panel{position:relative;width:min(960px,calc(100% - 28px));max-height:calc(100vh - 30px);overflow:auto;margin:15px auto;background:#f8f5ee;padding:28px;box-shadow:0 25px 70px rgba(0,0,0,.25)}.modal-open{overflow:hidden}.admin-panel-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #d9ded6;padding-bottom:18px;margin-bottom:20px}.admin-panel-head h2{font:700 31px 'Noto Serif Bengali','Playfair Display',serif;color:var(--green);margin:0}.admin-close{border:0;background:transparent;font-size:32px;line-height:1;color:var(--green);cursor:pointer}.admin-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:28px}.product-form{background:white;padding:20px}.product-form label{margin:0 0 12px}.product-form input,.product-form select,.product-form textarea{background:#fff}.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-form-actions{display:flex;gap:10px;align-items:center;margin-top:18px}.admin-form-actions .button{font-size:11px;padding:11px 13px}.admin-cancel{border:1px solid #c8d0c5;background:transparent;color:var(--green)}.admin-list{background:white;padding:20px}.admin-list-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e6df;padding-bottom:12px;margin-bottom:8px}.admin-list-head h3{font:700 21px 'Noto Serif Bengali','Playfair Display',serif;color:var(--green);margin:0}.product-count{font-size:11px;color:var(--muted)}.admin-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:9px;border-bottom:1px solid #edf0eb;padding:10px 0}.admin-item img{width:44px;height:44px;object-fit:cover}.admin-item strong,.admin-item small{display:block}.admin-item strong{font-size:12px;color:var(--green)}.admin-item small{font-size:9px;color:var(--muted);margin-top:3px}.admin-item button{border:0;background:#e6eee0;color:var(--green);padding:6px 8px;font:600 10px 'Noto Sans Bengali','DM Sans',sans-serif;cursor:pointer}.admin-item button.delete{background:#fae5e0;color:#9b3c2d}.empty-products{grid-column:1/-1;text-align:center;padding:35px;color:var(--muted);background:white}@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:1fr}.admin-panel{padding:20px}}@media(max-width:600px){.products-heading{display:block}.products-heading h2{font-size:36px;margin-bottom:20px}.products-heading-side{max-width:none}.product-grid{grid-template-columns:1fr 1fr;gap:10px}.shop-image{height:170px}.shop-card-body{padding:13px}.shop-card h3{font-size:16px}.shop-card p{font-size:10px;min-height:55px}.shop-price strong{font-size:18px}.admin-panel{width:calc(100% - 16px);margin:8px auto;max-height:calc(100vh - 16px);padding:15px}.admin-item{grid-template-columns:38px minmax(0,1fr) auto}.admin-item img{width:38px;height:38px}.admin-item button{grid-column:auto}.admin-item button.delete{grid-column:3}.admin-form-actions{flex-wrap:wrap}.admin-form-actions .button{width:100%;justify-content:center}}
/* Product cards redesign */
.products-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#f5f8f1 0%,#fbfaf6 100%);border-top:1px solid #e7eee4;border-bottom:1px solid #e8eee7}
.products-section:before{content:"";position:absolute;inset:auto -12% -170px auto;width:430px;height:430px;border-radius:50%;background:rgba(218,177,62,.10);pointer-events:none}
.products-heading{position:relative;z-index:1;align-items:end;gap:28px;margin-bottom:30px}
.products-heading h2{margin:7px 0 0;color:#123d2b;font-size:clamp(34px,4vw,52px);letter-spacing:-.04em;line-height:1.08}
.products-heading h2 em{color:#bd8a22;font-style:normal}
.products-heading p{max-width:440px;margin:0;color:#657268;font-size:15px;line-height:1.8}
.product-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.shop-card{position:relative;min-width:0;overflow:hidden;border:1px solid #e2ebe1;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(20,57,39,.07);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.shop-card:hover{transform:translateY(-7px);border-color:#c9d9c7;box-shadow:0 20px 38px rgba(20,57,39,.14)}
.shop-image{position:relative;height:200px;overflow:hidden;background:#f2f5ed}
.shop-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(13,42,28,.18));pointer-events:none}
.shop-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s ease}
.shop-card:hover .shop-image img{transform:scale(1.05)}
.shop-image span{position:absolute;z-index:1;top:14px;left:14px;padding:6px 10px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.9);color:#185b3b;font-size:11px;font-weight:800;letter-spacing:.04em}
.shop-card-body{display:flex;flex-direction:column;min-height:175px;padding:20px}
.shop-card h3{margin:0 0 8px;color:#153f2d;font-size:21px;line-height:1.25}
.shop-card p{flex:1;margin:0;color:#69766d;font-size:13px;line-height:1.7}
.shop-price{display:flex;align-items:baseline;gap:9px;margin:18px 0 14px}
.shop-price strong{color:#bd8a22;font-size:23px;line-height:1;font-weight:900}
.shop-price del{color:#9ba59d;font-size:12px}
.shop-card .button {
  width: 100%;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
}
.shop-card .button:hover {
  background: linear-gradient(135deg, #0b4932 0%, #1a6d4e 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(11, 73, 50, 0.25);
}
.shop-card .button span {
  font-size: 18px;
  line-height: 0;
  transition: transform 0.2s ease;
  display: inline-block;
}
.shop-card .button:hover span {
  transform: translateX(4px);
}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.shop-card{height:400px}.shop-image{height:220px}}
@media(max-width:620px){.products-heading{display:block;margin-bottom:22px}.products-heading p{margin-top:13px;font-size:14px;line-height:1.65}.product-grid{grid-template-columns:1fr;gap:16px}.shop-card{height:380px}.shop-image{height:215px}.shop-card-body{min-height:0;padding:16px}.shop-card h3{font-size:20px}.shop-card p{font-size:13px}.shop-price{margin-top:16px}}
@media(max-width:380px){.shop-card{height:350px}.shop-image{height:195px}.shop-card-body{padding:14px}.shop-card h3{font-size:19px}}

/* Product section spacing and alignment polish */
.products-section.section{padding:92px 0}
.products-section .container{width:min(1180px,calc(100% - 56px));margin:0 auto}
.products-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,390px);align-items:end;column-gap:64px;margin:0 0 38px;padding:0 4px}
.products-heading>div:first-child{min-width:0}
.products-heading-side{justify-self:end;width:100%;max-width:390px;text-align:right}
.products-heading-side p{margin:0;text-align:right;line-height:1.9}
.product-grid{align-items:stretch;gap:24px}
.shop-card{height:100%}
.shop-card-body{text-align:right;padding:22px}
.shop-card h3{margin:0 0 10px}
.shop-card p{margin:0}
.shop-price{justify-content:flex-end;margin:20px 0 15px}
.shop-card .button{text-align:center}
@media(max-width:1000px){.products-heading{column-gap:34px}.product-grid{gap:20px}}
@media(max-width:620px){.products-section.section{padding:58px 0}.products-section .container{width:calc(100% - 32px)}.products-heading{display:block;margin-bottom:28px;padding:0}.products-heading h2{margin-bottom:14px}.products-heading-side{max-width:none;text-align:right}.products-heading-side p{text-align:right}.product-grid{gap:18px}.shop-card-body{padding:20px}.shop-price{margin-top:18px}}
@media(max-width:380px){.products-section .container{width:calc(100% - 24px)}.shop-card-body{padding:18px}}

/* Product Details Modal Styling */
.product-details-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  align-items: center;
  justify-content: center;
}

.product-details-modal.show {
  display: flex;
}

.details-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 14, 0.7);
  backdrop-filter: blur(8px);
}

.details-content {
  position: relative;
  z-index: 2;
  width: min(750px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  background: var(--cream);
  border: 1px solid #dce5dc;
  border-radius: 24px;
  overflow: auto;
  box-shadow: 0 30px 70px rgba(15, 62, 42, 0.25);
  animation: scaleUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.details-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  line-height: 1;
}

.details-close:hover {
  background: var(--green);
  color: white;
  transform: rotate(90deg);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}

.details-image-wrap {
  position: relative;
  height: 100%;
  min-height: 350px;
  background: #f2f5ed;
}

.details-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.details-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid rgba(11, 73, 50, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.details-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.details-title {
  font: 800 clamp(24px, 3.2vw, 36px)/1.2 'Noto Serif Bengali', serif;
  color: var(--green);
  margin: 0 0 16px;
}

.details-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.details-price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.details-price {
  color: var(--gold);
  font-size: 32px;
  font-weight: 900;
  font-family: 'Noto Serif Bengali', serif;
}

.details-old-price {
  color: #9ba59d;
  font-size: 16px;
  text-decoration: line-through;
}

.details-order-btn {
  align-self: flex-end;
  min-width: 180px;
  justify-content: center;
}

body.details-modal-open {
  overflow: hidden;
}

@keyframes scaleUpModal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 650px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .details-image-wrap {
    height: 260px;
    min-height: 0;
  }
  
  .details-info {
    padding: 24px;
  }
  
  .details-title {
    font-size: 26px;
  }
  
  .details-desc {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  .details-price-row {
    margin-bottom: 20px;
  }
  
  .details-order-btn {
    width: 100%;
    align-self: stretch;
  }
}
