:root {
  --bg:#fefcf9;
  --card:#ffffff;
  --text:#1a1a1a;
  --muted:#5f5f6a;
  --border:#e1dfd9;
  --primary:#3754d5;
  --primary-soft:#eef2ff;
  --shadow:0 10px 25px rgba(27, 31, 38, 0.08);
}

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

body {
  font-family:'Inter', system-ui, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

img {
  max-width:100%;
  display:block;
}

.container {
  width:min(1200px, 100% - 2rem);
  margin:0 auto;
}

.site-header {
  background:rgba(254, 252, 249, 0.95);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(6px);
}

.header-inner {
  width:min(1200px, 100% - 2rem);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-height:80px;
  flex-wrap:nowrap;
}

.brand {
  font-family:'Space Grotesk', 'Inter', sans-serif;
  font-size:clamp(1.1rem, 2vw, 1.4rem);
  font-weight:700;
  letter-spacing:0.08em;
  text-decoration:none;
  color:var(--text);
  white-space:nowrap;
  justify-self:start;
  min-width:0;
  flex:0 0 auto;
}

.desktop-nav {
  display:flex;
  flex:1;
  justify-content:center;
  gap:1.25rem;
}

.desktop-nav a {
  font-weight:500;
  text-decoration:none;
  color:var(--text);
  transition:color 0.2s ease;
}

.desktop-nav a:hover {
  color:var(--primary);
}

.desktop-search {
  display:flex;
  flex:1;
  justify-content:center;
}

.header-search {
  display:flex;
  border:1px solid var(--border);
  border-radius:999px;
  padding:0.25rem 0.75rem;
  background:#fff;
}

.header-search input {
  border:none;
  outline:none;
  font-size:0.95rem;
  background:transparent;
}

.header-search button {
  border:none;
  background:transparent;
  color:var(--primary);
  font-weight:600;
  cursor:pointer;
}

.desktop-links {
  display:flex;
  align-items:center;
  gap:0.75rem;
}

.account-link {
  text-decoration:none;
  color:var(--muted);
  font-weight:500;
  transition:color 0.2s ease;
}

.account-link:hover {
  color:var(--text);
}

.header-actions {
  display:flex;
  gap:0.75rem;
  align-items:center;
  flex:0 0 auto;
  white-space:nowrap;
}

.header-controls {
  display:flex;
  align-items:center;
  gap:0.75rem;
  margin-left:auto;
  white-space:nowrap;
  flex:0 0 auto;
}

.cart-link {
  text-decoration:none;
  color:var(--text);
  font-weight:600;
}
.menu-toggle {
  display:none;
  background:var(--primary-soft);
  border:1px solid var(--border);
  border-radius:999px;
  padding:0.45rem 0.9rem;
  font-weight:600;
  cursor:pointer;
  letter-spacing:0.02em;
}

.mobile-panel {
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  gap:1rem;
  opacity:0;
  pointer-events:none;
  transform:translateY(-10px);
  transition:opacity 0.25s ease, transform 0.25s ease;
  box-shadow:0 20px 40px rgba(0, 0, 0, 0.08);
}

.mobile-panel.is-open {
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.panel-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.panel-close {
  border:none;
  background:transparent;
  font-weight:600;
  cursor:pointer;
  color:var(--text);
}

.panel-search input {
  width:100%;
  border:1px solid var(--border);
  border-radius:999px;
  padding:0.75rem 1rem;
  font-size:0.95rem;
  outline:none;
}

.mobile-nav {
  display:flex;
  flex-direction:column;
  gap:0.6rem;
  font-weight:600;
}

.mobile-nav a,
.mobile-account a {
  text-decoration:none;
  color:var(--text);
}

.mobile-account {
  margin-top:0.5rem;
  padding-top:0.75rem;
  border-top:1px solid var(--border);
}

main {
  padding-top:2rem;
}

.hero {
  background:
    linear-gradient(115deg, rgba(22,22,42,0.65), rgba(22,22,42,0.15)),
    url("assets/images/Home decor/Wall art.jpg") center/cover;
  min-height:70vh;
  border-radius:24px;
  margin-bottom:3rem;
  display:flex;
  align-items:flex-end;
}

.hero-content {
  padding:4rem;
  color:#fff;
  max-width:540px;
}

.hero-badge {
  font-size:0.85rem;
  letter-spacing:0.2em;
  text-transform:uppercase;
  margin-bottom:1rem;
}

.hero h1 {
  font-family:'Space Grotesk', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  margin-bottom:1rem;
}

.hero p {
  margin-bottom:1.5rem;
  color:#f0f3ff;
}

.hero .cta-group {
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-bottom:1.25rem;
}

.btn {
  border:none;
  border-radius:999px;
  padding:0.85rem 1.5rem;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  transition:transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background:var(--primary);
  color:#fff;
}

.btn-secondary {
  background:transparent;
  border:1px solid rgba(255,255,255,0.6);
  color:#fff;
}

.btn:hover {
  transform:translateY(-1px);
}

.trust-pills {
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  font-size:0.9rem;
}

.trust-pills span {
  padding:0.4rem 0.85rem;
  background:rgba(255,255,255,0.15);
  border-radius:999px;
}

.section-title {
  font-family:'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom:1rem;
}

.category-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:1rem;
  margin-bottom:3rem;
}

.category-card {
  position:relative;
  border-radius:18px;
  overflow:hidden;
  min-height:220px;
  background:#fff;
}

.category-card .card-media {
  height:100%;
}

.category-card .overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 40%, rgba(0,0,0,0.45));
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.category-card h3 {
  color:#fff;
  margin-bottom:0.3rem;
}

.category-card a {
  color:var(--primary);
  text-decoration:none;
  font-size:0.9rem;
}

.category-card a:hover {
  text-decoration:underline;
}

.deal-scroll {
  display:flex;
  gap:1rem;
  overflow-x:auto;
  padding-bottom:0.5rem;
  margin-bottom:3rem;
}

.deal-card {
  min-width:220px;
  background:#fff;
  border-radius:18px;
  padding:1rem;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  display:grid;
  gap:0.5rem;
  flex:0 0 auto;
}

.deal-card .card-media {
  height:180px;
}

.collections {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1rem;
  margin-bottom:3rem;
}

.collection-card {
  border-radius:22px;
  position:relative;
  min-height:220px;
  overflow:hidden;
}

.collection-card .overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(160deg, rgba(55,84,213,0.8), rgba(55,84,213,0.2));
  display:flex;
  justify-content:center;
  align-items:center;
  padding:1.5rem;
}

.collection-card h3,
.collection-card p {
  color:#fff;
}

.reviews {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:1rem;
  margin-bottom:3rem;
}

.review-card {
  background:#fff;
  border-radius:18px;
  padding:1.5rem;
  border:1px solid var(--border);
  min-height:150px;
}

.review-card p {
  font-size:0.95rem;
  color:var(--muted);
  margin-bottom:1rem;
}

.newsletter {
  background:#fff;
  border-radius:22px;
  padding:2rem;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  margin-bottom:3rem;
}

.newsletter form {
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-top:1rem;
}

.newsletter input {
  flex:1;
  min-width:220px;
  padding:0.85rem 1rem;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:0.95rem;
}

.newsletter button {
  border-radius:999px;
  border:none;
  padding:0.85rem 1.25rem;
  background:var(--primary);
  color:#fff;
  font-weight:600;
}

.site-footer {
  border-top:1px solid var(--border);
  background:var(--bg);
  padding:3rem 0 2rem;
}

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

.footer-grid h4 {
  font-size:1rem;
  margin-bottom:0.75rem;
}

.footer-grid a {
  display:block;
  text-decoration:none;
  color:var(--muted);
  margin-bottom:0.5rem;
  font-size:0.95rem;
}

.footer-bottom {
  margin-top:1.5rem;
  font-size:0.9rem;
  color:var(--muted);
}

.text-link {
  text-decoration:none;
  color:var(--primary);
  font-weight:600;
}

.text-link:hover {
  text-decoration:underline;
}

.section-card {
  background:#fff;
  border-radius:22px;
  padding:1.5rem;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.card-media {
  border-radius:18px;
  overflow:hidden;
  height:220px;
}

.card-media img {
  width:100%;
  height:100%;
  object-fit:cover;
}

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

button,
input,
select {
  font-family:'Inter', system-ui, sans-serif;
}

@media (max-width:1024px) {
  .hero {
    min-height:55vh;
  }
  .desktop-nav,
  .desktop-search,
  .desktop-links {
    display:none;
  }
  .header-inner {
    flex-wrap:nowrap;
  }
  .menu-toggle {
    display:block;
  }
  .header-actions {
    justify-content:flex-end;
  }
}

@media (max-width:768px) {
  .section-card,
  .category-card {
    border-radius:16px;
  }
  .hero-content {
    padding:2.5rem;
  }
  .header-inner {
    gap:0.75rem;
  }
  .header-actions {
    gap:0.5rem;
  }
  .brand {
    font-size:clamp(1rem, 5vw, 1.2rem);
  }
  .menu-toggle {
    padding:0.4rem 0.8rem;
  }
}

@media (max-width:480px) {
  .header-inner {
    height:70px;
  }
}

.shop-layout {
  display:grid;
  grid-template-columns:260px 1fr;
  gap:2rem;
}

.filters-panel {
  background:#fff;
  border-radius:20px;
  border:1px solid var(--border);
  padding:1.5rem;
  position:sticky;
  top:1.5rem;
  align-self:start;
}

.filters-panel h3 {
  margin-bottom:0.75rem;
  font-size:1rem;
}

.filters-panel label {
  display:flex;
  gap:0.5rem;
  align-items:center;
  margin-bottom:0.4rem;
  font-size:0.95rem;
}

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

.products-top {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  align-items:center;
  justify-content:space-between;
  margin-bottom:1rem;
}

.products-top input,
.products-top select {
  border:1px solid var(--border);
  border-radius:999px;
  padding:0.65rem 1rem;
  outline:none;
}

.product-card {
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  padding:1rem;
  display:grid;
  gap:0.65rem;
  box-shadow:var(--shadow);
}

.product-card.hidden {
  display:none;
}

.product-card h4 {
  font-size:1.05rem;
}

.product-card p {
  color:var(--muted);
  font-size:0.9rem;
}

.product-card .price {
  font-weight:700;
  font-size:1.1rem;
}

.product-card button {
  border-radius:14px;
  border:none;
  background:var(--primary);
  color:#fff;
  padding:0.7rem;
  font-weight:600;
}

.filter-toggle-button {
  display:none;
  border:none;
  background:var(--primary);
  color:#fff;
  padding:0.7rem 1rem;
  border-radius:999px;
  font-weight:600;
}

@media (max-width:900px) {
  .shop-layout {
    grid-template-columns:1fr;
  }
  .filters-panel {
    position:static;
    top:auto;
  }
  .filters-panel.open {
    display:block;
  }
  .filter-toggle-button {
    display:block;
  }
}

.deal-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1rem;
}

.deal-card .price-row {
  display:flex;
  justify-content:space-between;
  font-weight:600;
}

.deal-card .old-price {
  text-decoration:line-through;
  color:var(--muted);
  font-weight:400;
  font-size:0.9rem;
}

.label-pill {
  display:inline-block;
  border-radius:999px;
  padding:0.3rem 0.75rem;
  font-size:0.8rem;
  background:var(--primary-soft);
  color:var(--primary);
}

.category-banner {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1rem;
}

.category-banner .category-card {
  height:200px;
}

.product-hero {
  background:var(--bg);
  border-radius:24px;
  padding:2rem;
  margin-bottom:2rem;
}

.product-detail {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
}

.product-gallery {
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--border);
}

.product-gallery img {
  width:100%;
  height:420px;
  object-fit:cover;
}

.product-thumbs {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0.5rem;
  margin-top:1rem;
}

.product-thumbs img {
  height:100px;
  object-fit:cover;
  border-radius:12px;
}

.product-info {
  display:flex;
  flex-direction:column;
  gap:1rem;
  background:#fff;
  padding:2rem;
  border-radius:24px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.product-info h1 {
  font-family:'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
}

.quantity-control {
  display:flex;
  align-items:center;
  gap:0.5rem;
}

.quantity-control input {
  width:80px;
  border:1px solid var(--border);
  border-radius:12px;
  padding:0.5rem;
}

.related-products {
  margin-top:2rem;
}

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

.accordion-item {
  border-top:1px solid var(--border);
}

.accordion-header {
  padding:1rem 0;
  cursor:pointer;
  font-weight:600;
}

.accordion-content {
  max-height:0;
  overflow:hidden;
  transition:max-height 0.25s ease;
  font-size:0.95rem;
  color:var(--muted);
}

.accordion-content.open {
  padding-bottom:1rem;
  max-height:200px;
}

@media (max-width:768px) {
  .product-detail {
    grid-template-columns:1fr;
  }
  .product-gallery img {
    height:320px;
  }
}
