/* Graphic Ghor responsive design page */
:root {
  --blue: #087cf0;
  --blue-dark: #0a3978;
  --blue-soft: #e8f5ff;
  --text: #103b73;
  --muted: #7e96b5;
  --page: #f4faff;
  --border: #d9ebfb;
  --shadow: 0 5px 18px rgba(20, 91, 153, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e3eff9;
  box-shadow: 0 2px 12px rgba(15,69,122,.04);
}
.header-inner {
  width: min(1440px, calc(100% - 48px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 54px; height: 48px; position: relative; display: grid; place-items: center;
  color: var(--blue); font-size: 39px;
}
.brand-mark b { position: absolute; font-size: 21px; color: var(--blue-dark); top: 15px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: Arial, sans-serif; font-size: 27px; letter-spacing: -.8px; color: var(--blue-dark); }
.brand-copy em { color: var(--blue); font-style: normal; }
.brand-copy small { margin-top: 6px; font-size: 13px; color: var(--muted); }
.main-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 18px; }
.main-nav a {
  padding: 12px 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a i { margin-right: 5px; font-size: 14px; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-color: var(--blue); }

.search-band {
  padding: 18px 24px;
  background: radial-gradient(circle at 5% 50%, #c8e8ff 0 8%, transparent 8.2%),
              radial-gradient(circle at 96% 40%, #d9efff 0 7%, transparent 7.2%),
              linear-gradient(110deg, #e5f5ff, #f7fcff 55%, #dff2ff);
}
.search-form {
  width: min(1180px, 100%); min-height: 44px; margin: auto; display: flex; align-items: center;
  background: white; border: 1px solid #cce6ff; border-radius: 13px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,113,220,.08);
}
.search-icon { margin-left: 17px; color: #7b9bbd; }
.search-form input { min-width: 0; flex: 1; padding: 12px 14px; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-form input::placeholder { color: #8da3bf; }
.search-form button {
  align-self: stretch; border: 0; padding: 0 24px; color: white; background: var(--blue);
  font-weight: 600; cursor: pointer; transition: background .2s;
}
.search-form button:hover, .details-btn:hover { background: #0565c7; }

.category-strip { background: #fff; padding: 13px 24px 15px; border-bottom: 1px solid #e7f2fc; }
.category-list {
  width: min(1440px, 100%); margin: auto; display: flex; align-items: center; gap: 9px;
  overflow-x: auto; padding: 2px 0 5px; scrollbar-width: thin;
}
.category-list a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px;
  border-radius: 24px; background: var(--blue-soft); color: #174d86; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.category-list a:hover { color: white; background: var(--blue); }
.category-list i { font-size: 14px; }

.page-content { width: min(1440px, calc(100% - 48px)); margin: 26px auto 44px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.heading-copy { display: flex; align-items: center; gap: 15px; }
.heading-accent { width: 8px; height: 54px; border-radius: 9px; background: var(--blue); flex-shrink: 0; }
h1 { margin: 0; font-size: clamp(24px, 2vw, 32px); line-height: 1.25; color: var(--blue-dark); }
.heading-copy p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.toolbar { display: flex; gap: 12px; }
.select-wrap {
  display: flex; align-items: center; gap: 9px; padding: 0 12px; min-height: 44px;
  background: white; border: 1px solid #cfe5fb; border-radius: 10px; box-shadow: 0 3px 10px rgba(20,91,153,.05);
  color: #4b78a7;
}
.select-wrap select { max-width: 180px; border: 0; outline: 0; color: #426b98; background: transparent; cursor: pointer; }

.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.design-card {
  min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e0effd; border-radius: 10px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.design-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,91,153,.14); }
.design-image {
  display: grid; place-items: center; position: relative; aspect-ratio: 16 / 12.1; overflow: hidden;
  margin: 12px 12px 0; border-radius: 6px; background: #073b3c; color: white; text-align: center;
}
.design-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.image-fallback {
  position: relative; z-index: 0; width: 100%; height: 100%; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; padding: 12px; color: white;
}
.image-fallback i { font-size: clamp(26px, 3vw, 46px); opacity: .9; }
.image-fallback b { font-size: clamp(19px, 2vw, 28px); }
.image-fallback small { font-family: Arial, sans-serif; font-size: 12px; }
.image-green { background: radial-gradient(circle at 50% 40%, #1a9a6b, #034438 68%, #032c2a); }
.image-madrasa { background: linear-gradient(135deg, #126849, #f0c943 50%, #07513d); }
.image-wedding { color: #9d174e; background: linear-gradient(130deg, #ffe5ee, #fff 48%, #f6b7d0); }
.image-wedding .image-fallback { color: #b21f5b; }
.image-blue { background: linear-gradient(135deg, #061e55, #0875b5 55%, #05234b); }
.image-birthday { background: linear-gradient(135deg, #ffcb53, #ed4ca5 45%, #16a78a); }
.image-fruit { background: linear-gradient(135deg, #7cbf21, #fff3a0 45%, #f28c24); color: #a71916; }
.image-fruit .image-fallback { color: #a71916; }
.card-body { padding: 11px 15px 13px; }
.card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title-row h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.45; }
.price { color: var(--blue); font-family: Arial, sans-serif; font-size: 21px; white-space: nowrap; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 20px; background: #e3f4ff; color: #1975bd; font-size: 13px; white-space: nowrap; }
.details-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 15px;
  border-radius: 8px; color: white; background: var(--blue); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .2s;
}
.site-footer { padding: 22px 16px; background: #fff; border-top: 1px solid #e0effd; color: #7894b3; text-align: center; font-size: 13px; }

@media (max-width: 1180px) {
  .header-inner { width: min(100% - 32px, 1440px); align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 0 0; }
  .main-nav { justify-content: flex-start; width: 100%; gap: 0 18px; }
  .main-nav a { padding: 10px 0; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .header-inner, .page-content { width: calc(100% - 28px); }
  .brand-copy strong { font-size: 24px; }
  .main-nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; }
  .main-nav a { font-size: 12px; }
  .search-band { padding: 14px; }
  .search-form { min-height: 42px; }
  .search-form button { padding: 0 14px; }
  .category-strip { padding: 10px 14px; }
  .page-content { margin-top: 21px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .heading-accent { height: 48px; }
  .heading-copy p { font-size: 13px; }
  .toolbar { width: 100%; }
  .select-wrap { flex: 1; min-width: 0; }
  .select-wrap select { width: 100%; min-width: 0; font-size: 13px; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .design-image { margin: 8px 8px 0; aspect-ratio: 1.2 / 1; }
  .card-body { padding: 9px; }
  .card-title-row { flex-direction: column; gap: 2px; }
  .card-title-row h2 { font-size: 14px; }
  .price { font-size: 18px; }
  .card-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .details-btn { width: 100%; padding: 8px 7px; font-size: 13px; }
}
@media (max-width: 440px) {
  .design-grid { grid-template-columns: 1fr; }
  .design-image { aspect-ratio: 16 / 8; }
  .card-title-row { flex-direction: row; align-items: flex-start; }
  .card-footer { flex-direction: row; align-items: center; }
  .details-btn { width: auto; }
  .toolbar { gap: 7px; }
  .select-wrap { padding: 0 8px; gap: 5px; }
  .select-wrap select { font-size: 12px; }
}
