/* ========== RESET & ROOT ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F7F8FA;
  --white:     #FFFFFF;
  --navy:      #1B3A5C;
  --navy-dark: #122840;
  --teal:      #14B8A6;
  --teal-dark: #0D9488;
  --text:      #1F2937;
  --text-muted:#6B7280;
  --border:    #E5E7EB;
  --radius:    10px;
  --radius-sm: 6px;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
  vertical-align: middle;
  margin-right: 2px;
}

.logo-footer {
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-right: 2px;
}

.navbar-brand span { color: var(--teal); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-btn {
  background: var(--navy) !important; 
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm);
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.15s !important;
}

.nav-btn:hover { background: var(--navy-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 8px;
}

.nav-user {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}


/* ========== HERO ========== */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  background-image: 
    linear-gradient(
      to right,
      rgba(18, 40, 64, 0.97) 0%,
      rgba(18, 40, 64, 0.85) 35%,
      rgba(18, 40, 64, 0.40) 60%,
      rgba(18, 40, 64, 0.05) 100%
    ),
    url('../pict/aquarium.png');
  background-size: cover;
  background-position: center;
  position: relative;
}


/* Teks di atas gambar */
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.90);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.hero-actions { display: flex; gap: 12px; align-items: center; }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  padding: 11px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-block;
}

.btn-teal:hover { background: var(--teal-dark); }

.btn-ghost {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}

.btn-ghost:hover { color: var(--white); }

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--navy-dark);
  display: flex;
}

.stat {
  flex: 1;
  padding: 20px 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat:last-child { border-right: none; }

.stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

/* ========== PAGE BODY ========== */
.page-body {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  gap: 40px;
  align-items: flex-start;
}

/* ========== SIDEBAR ========== */
.sidebar {
  flex: 0 0 180px;
  position: sticky;
  top: 80px;
}

.sidebar-title {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.sidebar-list { list-style: none; }
.sidebar-list li { margin-bottom: 2px; }

.sidebar-list a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
}

.sidebar-list a:hover { background: var(--bg); color: var(--navy); }

.sidebar-list a.active {
  background: #EEF9F7;
  color: var(--teal-dark);
  font-weight: 500;
  border-left: 3px solid var(--teal);
  padding-left: 9px;
}

/* ========== MAIN ========== */
.main { flex: 1; min-width: 0; }

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.section-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.15s;
}

.product-card:hover { border-color: #9ED8D3; }

.product-card-img {
  width: 100%;
  height: 145px;
  overflow: hidden;
  position: relative;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-img img { width: 100%; height: 100%; object-fit: cover; }

.product-card-img .no-img {
  font-size: 13px;
  color: var(--text-muted);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #E53E3E;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-body { padding: 12px 14px 14px; }

.product-category {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
}

.product-stok {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-add {
  width: 30px;
  height: 30px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-add:hover { background: var(--teal-dark); }

.admin-actions {
  display: flex;
  gap: 6px;
}

.btn-admin-edit,
.btn-admin-hapus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s;
}

.btn-admin-edit  { background: #EFF6FF; color: var(--navy); }
.btn-admin-edit:hover  { background: #DBEAFE; }
.btn-admin-hapus { background: #FEE2E2; color: #DC2626; }
.btn-admin-hapus:hover { background: #FECACA; }

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state p { font-size: 14px; margin-bottom: 16px; }

.empty-state a {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.empty-state a:hover { background: var(--teal-dark); }

/* ========== VIEW ALL ========== */
.view-all-wrap { text-align: center; margin-top: 32px; }

.view-all {
  display: inline-block;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 10px 32px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}

.view-all:hover { background: var(--navy); color: var(--white); }

/* ========== CARA PESAN ========== */
.how-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 48px;
}

.how-inner { max-width: 1100px; margin: 0 auto; }

.how-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 32px;
}

.how-grid { display: flex; gap: 0; }

.how-step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-right: 24px;
}

.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 17px;
  width: 24px;
  height: 1px;
  background: var(--border);
}

.how-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.how-text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.how-text p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ========== CTA ========== */
.cta-strip {
  background: var(--navy);
  padding: 60px 48px;
  text-align: center;
}

.cta-strip h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-strip p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 48px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-col { min-width: 0; }

.footer-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: block;
}

.footer-brand span { color: var(--teal); }

.footer-col > p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--navy); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-decoration: none;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.pagination a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.pagination .active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination .disabled {
  opacity: 0.4;
}

.pagination .ellipsis {
  border: none;
}

/* ========== PAGE HEADER (Tentang & Kontak) ========== */
.page-header {
  background: var(--navy);
  padding: 56px 48px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== ABOUT SECTION (Tentang) ========== */
.about-section {
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.tentang-banner {
  width: 100%;
  max-height: 250px;
  overflow: hidden;
}

.tentang-banner img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: justify;
}

/* ========== CONTACT SECTION (Kontak) ========== */
.contact-section { padding: 48px; }

.contact-grid {
  display: flex;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-info,
.contact-form-wrap {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-info h3,
.contact-form-wrap h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form-wrap .form-group { margin-bottom: 16px; }

.contact-form-wrap label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  box-sizing: border-box;
}

.contact-form-wrap textarea { min-height: 120px; resize: vertical; }

.form-error {
  font-size: 11px;
  color: #DC2626;
  margin-top: 4px;
  min-height: 14px;
}

/* ========== ALERT / FEEDBACK ========== */
.alert-success {
  padding: 12px;
  background-color: #d4edda;
  color: #155724;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
}

.alert-error {
  padding: 12px;
  background-color: #f8d7da;
  color: #721c24;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 13px;
}

/* ========== TENTANG SINGKAT (Beranda) ========== */
.intro-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 48px;
  text-align: center;
}

.intro-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.intro-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
}

.intro-link:hover { text-decoration: underline; }

/* ========== TESTIMONI (Beranda) ========== */
.testimoni-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
}

.section-title-center {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.testimoni-grid {
  display: flex;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.testimoni-card {
  flex: 1;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimoni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.testimoni-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.testimoni-author {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}

/* ========== PESANAN (Keranjang & Riwayat) ========== */
.pesanan-section {
  padding: 32px 48px 48px;
  max-width: 900px;
  margin: 0 auto;
}

.cart-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cart-table th,
.cart-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.cart-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
}

.cart-table tr:last-child td { border-bottom: none; }

.cart-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.remove-link {
  color: #DC2626;
  font-size: 12px;
  text-decoration: none;
}

.remove-link:hover { text-decoration: underline; }

.cart-total {
  text-align: right;
  font-size: 15px;
  margin-bottom: 16px;
}

/* Order card (riwayat pesanan) */
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.order-id {
  font-weight: 600;
  color: var(--navy);
  margin-right: 12px;
}

.order-date {
  font-size: 12px;
  color: var(--text-muted);
}

.status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
}

.status-select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  background-color: var(--white);
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.status-select:focus {
  outline: none;
  border-color: var(--teal);
}

.status-diproses { background: #FEF3C7; color: #92400E; }
.status-selesai  { background: #D1FAE5; color: #065F46; }

.order-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.order-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.order-subtotal {
  margin-left: auto;
  color: var(--text-muted);
}

.order-total {
  text-align: right;
  font-size: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ========== CART TOAST NOTIFIKASI ========== */
.cart-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.cart-toast.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.cart-toast.toast-sukses {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.cart-toast.toast-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .navbar { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 60px 20px; min-height: 400px; }
  .stats-bar { flex-wrap: wrap; }
  .stat { flex: 0 0 50%; padding: 16px 20px; }
  .page-body { flex-direction: column; padding: 28px 16px; gap: 24px; }
  .sidebar { position: static; flex: none; width: 100%; }
  .sidebar-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .sidebar-list li { margin-bottom: 0; }
  .how-section { padding: 36px 20px; }
  .how-grid { flex-direction: column; gap: 24px; }
  .how-step::after { display: none; }
  .cta-strip { padding: 40px 20px; }
  footer { padding: 36px 20px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .page-header { padding: 40px 20px; }
  .about-section { padding: 36px 20px; }
  .contact-section { padding: 36px 20px; }
  .contact-grid { flex-direction: column; align-items: stretch; }
  .intro-section { padding: 32px 20px; }
  .testimoni-section { padding: 36px 20px; }
  .testimoni-grid { flex-direction: column; }
  .pesanan-section { padding: 24px 16px 36px; }
  .order-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-table-wrap { overflow-x: auto; }
  @media (min-width: 768px) {
    .page-body { flex-direction: row; }
    .sidebar { flex: 0 0 160px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}