/* ===== PRINT SPACE - SHARED STYLES ===== */

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

:root {
  --red: #CC0000;
  --red-hover: #aa0000;
  --brand: #6c2bd9;
  --brand-dark: #5620b0;
  --brand-light: #ede9ff;
  --dark: #1a1a1a;
  --gray-bg: #f5f5f5;
  --gray-border: #e0e0e0;
  --gray-text: #666;
  --white: #ffffff;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--font);
  background: var(--gray-bg);
  color: var(--dark);
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-bar {
  background: #000;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 12px;
}
.announcement-bar span { flex: 1; text-align: center; }

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.hamburger {
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--dark);
  display: none; /* hidden on desktop */
}
@media (max-width: 768px) { .hamburger { display: block; } }
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--dark);
}
.logo span { color: var(--red); }

/* New logo with image */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--brand); }

/* Main nav */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--brand); }
@media (max-width: 768px) { .main-nav { display: none; } }

/* Mobile slide-down nav */
.mobile-nav {
  display: none; /* hidden on desktop */
}
@media (max-width: 768px) {
  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 12px 24px 16px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .mobile-nav.open {
    display: flex;
  }
  .mobile-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { color: var(--brand); }
}

.header-right { display: flex; align-items: center; gap: 16px; }
.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  position: relative;
}
.cart-btn .cart-icon { font-size: 20px; }
.cart-count {
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.login-btn {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.login-btn:hover { background: #333; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 8px;
}
.breadcrumb a { color: var(--gray-text); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--dark); }

/* ===== PAGE WRAPPER ===== */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.page-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark);
}

/* ===== FILTER TABS ===== */
.filter-section { margin-bottom: 28px; text-align: center; }
.filter-section h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; color: var(--dark); }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.filter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 30px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.2s;
}
.filter-tab:hover { border-color: var(--red); color: var(--red); }
.filter-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.filter-tab .tab-icon { font-size: 15px; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .announcement-bar { flex-direction: column; gap: 4px; text-align: center; }
  .announcement-bar span:not(:first-child) { display: none; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.product-img-wrap {
  background: #ececec;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-placeholder {
  width: 70%;
  height: 80%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #999;
  font-weight: 500;
}
.product-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 12px 12px;
  line-height: 1.3;
}
.customise-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.customise-btn:hover { background: var(--red-hover); }

/* ===== CUSTOMIZER PAGE ===== */
.customizer-page { max-width: 960px; margin: 0 auto; padding: 20px 16px; }
.customizer-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }

.editor-toolbar {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar-btn {
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 5px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.toolbar-btn:hover { border-color: var(--red); color: var(--red); }
.toolbar-btn.upload-btn {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.toolbar-btn.upload-btn:hover { background: var(--red-hover); }
.color-swatch {
  width: 28px; height: 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: border-color 0.2s;
}
.color-swatch:hover, .color-swatch.selected { border-color: var(--dark); }
.toolbar-separator { width: 1px; height: 24px; background: var(--gray-border); }

/* Photo canvas area */
.canvas-container {
  background: #fff;
  border: 1.5px dashed #ccc;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin: 0 auto 24px;
  cursor: crosshair;
}
.canvas-container.landscape { aspect-ratio: 4/3; max-width: 700px; }
.canvas-container.portrait { aspect-ratio: 3/4; max-width: 480px; }
.canvas-container.square { aspect-ratio: 1/1; max-width: 500px; }

.select-photo-area {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.select-photo-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 24px 40px;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.select-photo-btn:hover { background: var(--red-hover); transform: scale(1.03); }

/* Draggable photo inside canvas */
.photo-frame {
  position: absolute;
  cursor: move;
  user-select: none;
  display: none;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.photo-frame .selection-border {
  position: absolute; inset: 0;
  border: 2px solid #4a90e2;
  pointer-events: none;
}
.resize-handle {
  position: absolute;
  width: 10px; height: 10px;
  background: #fff;
  border: 2px solid #4a90e2;
  border-radius: 2px;
}
.handle-tl { top: -5px; left: -5px; cursor: nw-resize; }
.handle-tr { top: -5px; right: -5px; cursor: ne-resize; }
.handle-bl { bottom: -5px; left: -5px; cursor: sw-resize; }
.handle-br { bottom: -5px; right: -5px; cursor: se-resize; }
.rotate-handle {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  background: #4a90e2;
  border-radius: 50%;
  cursor: grab;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
}

/* Text overlay */
.text-overlay {
  position: absolute;
  cursor: move;
  user-select: none;
  display: none;
  padding: 4px;
  border: 1px dashed #4a90e2;
}
.text-overlay span {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  outline: none;
}

.save-size-btn {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.save-size-btn:hover { background: var(--red-hover); }

/* ===== SIZE SELECTOR (Step 2 in customize.html) ===== */
.size-selector { display: none; }
.size-selector.active { display: block; }

.size-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .size-layout { grid-template-columns: 1fr; }
}

.wall-preview {
  background: #e8e4df;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 400px;
}
.wall-scene { width: 100%; height: 100%; position: relative; }
.wall-decor {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(180deg, #f0ebe5 0%, #e0d8ce 100%);
}
.wall-person {
  position: absolute;
  bottom: 0;
  right: 15%;
  width: 22%;
  height: 70%;
  background: #c4a882;
  border-radius: 50px 50px 0 0;
  z-index: 2;
}
.wall-lamp {
  position: absolute;
  left: 12%;
  top: 8%;
  width: 8%;
  height: 30%;
  background: #555;
  border-radius: 2px;
}
.wall-plant {
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 12%;
  height: 28%;
  background: #5a7a4a;
  border-radius: 50% 50% 0 0;
}
.wall-shelf {
  position: absolute;
  bottom: 38%;
  left: 5%;
  right: 28%;
  height: 3%;
  background: #8b6914;
  z-index: 1;
}
.preview-photo-frame {
  position: absolute;
  top: 12%;
  left: 20%;
  right: 40%;
  z-index: 3;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.4s ease;
}
.preview-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.preview-photo-placeholder {
  width: 100%; height: 100%;
  background: #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #999;
}
.dimension-label {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  color: var(--dark);
  background: rgba(255,255,255,0.9);
  padding: 2px 6px;
  border-radius: 3px;
}
.dim-width { top: 8%; left: 20%; right: 40%; text-align: center; }
.dim-height { top: 12%; left: 8%; transform: rotate(-90deg); transform-origin: center; white-space: nowrap; }
.thickness-label {
  position: absolute;
  bottom: 32%;
  left: 20%;
  font-size: 10px;
  color: var(--gray-text);
  background: rgba(255,255,255,0.9);
  padding: 2px 6px;
  border-radius: 3px;
}
.mount-label {
  position: absolute;
  bottom: 5%;
  left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--gray-text);
}
.edit-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--dark);
  color: #fff;
  padding: 5px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  z-index: 10;
}
.edit-badge:hover { background: #333; }

/* Right panel */
.size-options-panel { }
.price-display { margin-bottom: 12px; }
.price-mrp {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}
.price-sale {
  font-size: 32px;
  font-weight: 800;
  color: var(--red);
}
.stock-badge {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.option-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.pill {
  padding: 8px 14px;
  border: 2px solid var(--gray-border);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: var(--dark);
}
.pill:hover { border-color: #999; }
.pill.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.add-to-cart-btn {
  background: var(--red);
  color: #fff;
  border: none;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
  margin-bottom: 20px;
}
.add-to-cart-btn:hover { background: var(--red-hover); }

.pincode-check { margin-bottom: 20px; }
.pincode-check p {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}
.pincode-row { display: flex; gap: 8px; }
.pincode-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: 5px;
  font-size: 13px;
  outline: none;
}
.pincode-row input:focus { border-color: var(--dark); }
.check-btn {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.pincode-result { font-size: 12px; color: #28a745; margin-top: 4px; display: none; }

/* Product Info Tabs */
.info-tabs { margin-top: 32px; }
.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--gray-border);
  margin-bottom: 16px;
}
.tab-header {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--gray-text);
  transition: all 0.2s;
}
.tab-header.active { border-bottom-color: var(--red); color: var(--red); }
.tab-panel { display: none; font-size: 14px; line-height: 1.7; color: #444; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 17px; margin-bottom: 12px; color: var(--dark); }
.tab-panel ul { padding-left: 18px; }
.tab-panel ul li { margin-bottom: 6px; }
.tab-panel strong { color: var(--dark); }

/* ===== CART PAGE ===== */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #bbb;
}
.step.active { color: var(--dark); }
.step.done { color: var(--gray-text); }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.step.active .step-num { background: var(--red); color: #fff; }
.step.done .step-num { background: var(--dark); color: #fff; }
.step-arrow { color: #ccc; margin: 0 8px; font-size: 16px; }

.cart-offers-bar {
  background: #fff7e6;
  border: 1px solid #ffd580;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-table-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cart-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-border);
}
.cart-item:last-child { border-bottom: none; }
.cart-product-info { display: flex; align-items: center; gap: 12px; }
.cart-product-info .remove-btn {
  background: none; border: none; cursor: pointer;
  color: var(--red); font-size: 18px; font-weight: 700;
  line-height: 1;
}
.cart-thumb {
  width: 60px; height: 60px;
  background: #ddd;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-thumb-placeholder {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
  border-radius: 5px;
  flex-shrink: 0;
}
.cart-product-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cart-product-meta { font-size: 12px; color: var(--gray-text); line-height: 1.5; }
.qty-control {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--gray-border);
  border-radius: 5px;
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  background: #f5f5f5;
  border: none;
  width: 30px; height: 30px;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover { background: #ddd; }
.qty-num {
  width: 36px;
  text-align: center;
  border: none;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  padding: 4px;
}
.price-cell { font-size: 14px; font-weight: 600; }
.subtotal-cell { font-size: 14px; font-weight: 700; color: var(--dark); }

.coupon-section {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.coupon-section input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 5px;
  font-size: 14px;
  outline: none;
}
.coupon-section input:focus { border-color: var(--dark); }
.coupon-section input::placeholder { color: #bbb; }
.apply-coupon-btn {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* Cart Totals */
.cart-totals {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cart-totals h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-border);
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}
.total-row.grand {
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid var(--gray-border);
  padding-top: 10px;
  margin-top: 5px;
}
.free-ship { color: #28a745; font-weight: 600; }
.gst-note { font-size: 11px; color: var(--gray-text); }
.proceed-btn {
  background: var(--red);
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
  text-align: center;
  display: block;
}
.proceed-btn:hover { background: var(--red-hover); }

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 32px 16px;
  flex-wrap: wrap;
}
.trust-badge {
  text-align: center;
  font-size: 12px;
  color: var(--gray-text);
  max-width: 90px;
}
.trust-badge .badge-icon { font-size: 32px; margin-bottom: 6px; }
.trust-badge p { font-weight: 600; line-height: 1.3; }

/* ===== CHECKOUT PAGE ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.checkout-section {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.checkout-section h2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  color: var(--dark);
}
.return-links { margin-bottom: 16px; font-size: 13px; color: var(--gray-text); }
.return-links a { color: var(--red); font-weight: 600; }

.form-group { margin-bottom: 14px; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  cursor: pointer;
}

/* Order Summary */
.order-summary {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
}
.order-summary h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-border);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-item { margin-bottom: 14px; font-size: 14px; }
.order-item-name { font-weight: 600; margin-bottom: 3px; }
.order-item-meta { font-size: 12px; color: var(--gray-text); }
.order-item-price { font-weight: 700; float: right; }

.payment-methods { margin-top: 28px; }
.payment-methods h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-border);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 14px;
}
.payment-option:hover { border-color: #999; }
.payment-option.selected { border-color: var(--dark); }
.payment-option input[type="radio"] { accent-color: var(--dark); width: 16px; height: 16px; }
.payment-logo {
  font-size: 13px;
  font-weight: 700;
  color: #3a7bd5;
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
}
.paytm-logo { color: #002970; }

.complete-btn {
  background: var(--red);
  color: #fff;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.2s;
}
.complete-btn:hover { background: var(--red-hover); }
.back-cart { text-align: center; margin-top: 12px; font-size: 13px; color: var(--gray-text); }
.back-cart a { color: var(--dark); font-weight: 600; text-decoration: underline; }

/* ===== PROMISE SECTION ===== */
.promise-section {
  background: var(--dark);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
  margin: 32px 0 0;
  position: relative;
}
.promise-badge {
  position: absolute;
  top: -20px;
  right: 80px;
  background: #e8c84a;
  color: var(--dark);
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}
.promise-section p { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: #aaa; }
.promise-section h2 { font-size: 22px; line-height: 1.4; max-width: 700px; margin: 0 auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 48px 24px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 28px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .promise-badge { right: 20px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}
footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: #aaa; font-size: 13px; transition: color 0.2s; }
footer ul li a:hover { color: #fff; }
.footer-contact { font-size: 13px; line-height: 1.9; }
.footer-contact .whatsapp-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: #25d366;
  color: #fff;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-address { font-size: 12px; line-height: 1.6; color: #999; }
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== SOCIAL PROOF POPUP ===== */
.social-proof {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  font-size: 12px;
  z-index: 999;
  transform: translateX(-320px);
  transition: transform 0.5s ease;
}
.social-proof.show { transform: translateX(0); }
.sp-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.sp-text strong { display: block; font-size: 12px; color: var(--dark); margin-bottom: 1px; }
.sp-text span { color: var(--gray-text); }
.sp-time { font-size: 10px; color: #999; display: block; margin-top: 2px; }

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.red { color: var(--red); }
.bold { font-weight: 700; }

/* ===== COMPREHENSIVE MOBILE / TABLET FIXES ===== */

/* Tablet (768px–1024px) */
@media (max-width: 1024px) {
  .header-inner { padding: 12px 16px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  /* Announcement bar */
  .announcement-bar {
    padding: 6px 12px; font-size: 11px;
    justify-content: center;
  }
  .announcement-bar span:nth-child(2),
  .announcement-bar span:nth-child(3) { display: none; }

  /* Header */
  .header-inner { padding: 10px 14px; }
  .logo-wrap span { font-size: 18px !important; }
  .cart-btn span:not(.cart-icon):not(.cart-count) { display: none; }
  .cart-btn .cart-icon { font-size: 22px; }
  .login-btn { padding: 7px 12px; font-size: 12px; }

  /* Page wrap */
  .page-wrap { padding: 16px 12px; }

  /* Product grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-img-wrap { height: 180px; }
  .product-card h3 { font-size: 13px; margin: 10px 8px; }
  .customise-btn { padding: 8px 18px; font-size: 13px; }

  /* Cart table — stack on mobile */
  .cart-table-head { display: none; }
  .cart-item {
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px 0; border-bottom: 1px solid var(--gray-border);
  }
  .price-cell::before { content: 'Price: '; font-weight: 600; color: #888; font-size: 12px; }
  .subtotal-cell::before { content: 'Subtotal: '; font-weight: 600; color: #888; font-size: 12px; }
  .cart-product-info { flex: 1; }
  .checkout-steps { gap: 4px; font-size: 12px; }
  .step-arrow { margin: 0 4px; font-size: 12px; }
  .step span:not(.step-num) { display: none; }
  .step.active span:not(.step-num) { display: block; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .promise-section { padding: 32px 16px; }
  .promise-badge { display: none; }
  .promise-section h2 { font-size: 18px; }

  /* Trust badges */
  .trust-badges { gap: 16px; padding: 20px 12px; }
  .trust-badge .badge-icon { font-size: 24px; }

  /* Static pages */
  .static-page { padding: 20px 14px !important; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-img-wrap { height: 150px; }
  .product-card h3 { font-size: 12px; margin: 8px 6px; }

  /* Coupon row */
  .coupon-section { flex-direction: column; }
  .apply-coupon-btn { width: 100%; }

  /* Contact page grid */
  .static-page > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Checkout steps compact */
  .checkout-steps { flex-wrap: wrap; justify-content: center; }
}

/* Very small (≤360px) */
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr; }
  .logo-wrap img { height: 34px !important; width: 34px !important; }
  .logo-wrap span { font-size: 16px !important; }
}
