:root {
  --bg: linear-gradient(135deg,#F5F8FF,#8EC5E8,#FFD4B5);
  --bg-elevated: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0D6FBF;
  --accent-soft: #E0F2FF;
  --accent-strong: #3A8DD6;
  --border: #e2e8f0;
  --danger: #dc2626;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 30px rgba(15,23,42,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Centered content wrapper */
.layout-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

/* Header inner centered within full-width bar */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* Layout wrapper */
J00px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  box-shadow: 0 8px 25px rgba(15,23,42,0.04);
}

J00px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg,#0D6FBF,#FFC38A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffffff;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 6px;
  border-radius: 999px;
}

.main-nav a:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.cart-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #ffffff;
  background: var(--accent-strong);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Generic buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-strong);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #1e40af;
}

.btn-secondary {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.btn-secondary:hover {
  background: #bfdbfe;
}

/* Hero */
.hero-wrapper {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
  gap: 24px;
  align-items: center;
}

.hero-card {
  background: linear-gradient(135deg,#ffffff,#F5F8FF,#FFE5CF);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 1.6rem;
  margin: 4px 0 6px;
}

.hero-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-side-card {
  background: linear-gradient(135deg,#0D6FBF,#8EC5E8,#FFC38A);
  border-radius: var(--radius-lg);
  padding: 18px;
  color: #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.hero-side-card h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.hero-side-card p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: #cbd5f5;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pill {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,23,42,0.65);
  border: 1px solid rgba(148,163,184,0.4);
}

/* Slider */
.banner-slider {
  margin: 24px 0 26px;
}

.section-title {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.banner-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 10px;
}

.banner-slider-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg,#0A4A80,#3A8DD6,#FFC38A);
  box-shadow: var(--shadow-soft);
}

.banner-track {
  width: 100%;
}

.banner-slide {
  display: none;
}

.banner-slide.active {
  display: block;
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 55%);
  color: #e5e7eb;
}

.banner-overlay h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.banner-overlay p {
  margin: 0 0 10px;
  font-size: 0.86rem;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148,163,184,0.7);
  cursor: pointer;
  padding: 0;
}

.banner-dot.active {
  width: 16px;
  background: #f97316;
}

/* Products grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 10px;
}


.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 111, 191, 0.26);
  border: 1px solid rgba(13, 111, 191, 0.25);
}

.product-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 10px 18px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.product-card h3 {
  margin: 4px 0 0;
  font-size: 0.98rem;
}

.product-price {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card p {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
}
/* Layout: image left, details right */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Image column */
.product-images {
    flex: 0 0 45%;
    max-width: 45%;
}

/* Details column */
.product-details {
    flex: 1 1 45%;
    max-width: 45%;
}

/* Main product image sizing */
.product-main-image img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Thumbnails row */
.product-thumbnails {
    margin-top: 10px;
}

.product-thumbnails img.thumb-image {
    max-width: 80px;
    height: auto;
    display: inline-block;
    margin-right: 8px;
    cursor: pointer;
}



/* Page sections (About, Contact, Disclaimer, etc.) */
.page-section {
  background: linear-gradient(135deg,#ffffff,#F5F8FF,#FFE5CF);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

/* Footer */
footer {
  background: #4A5570;
  color: #9ca3af;
  padding: 14px 0 18px;
  margin-top: 22px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  font-size: 0.86rem;
}

.footer-tagline {
  margin-top: 4px;
  color: #e5e7eb;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none; /* simple: hide nav on very small screens for now */
  }
  .header-inner {
    justify-content: space-between;
  }
  .cart-link {
    padding: 6px 10px;
  }
  .product-card img {
    height: 180px;
  }
}

/* Split section row for New Arrivals / Home Essentials */
.section-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
  margin-top: 22px;
}

.section-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 16px 14px 18px;
  box-shadow: var(--shadow-soft);
}

.section-card p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.product-grid.compact-grid {
  grid-template-columns: repeat(auto-fill,minmax(180px,1fr));
}

/* Slightly softer overlay for sunrise look */
.banner-overlay {
  position: absolute;
  inset: 0;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  background: linear-gradient(to top, rgba(10,74,128,0.88), rgba(10,74,128,0.25), transparent 60%);
  color: #f9fafb;
}


.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.account-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 999px;
}

.account-links a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.account-welcome {
  color: var(--muted);
}

/* Generic form helpers */
.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 3px;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid #cbd5f1;
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
}

.checkout-summary-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-soft);
  margin-top: 10px;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.coupon-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.coupon-row input {
  flex: 1;
}

/* ====== HEADER (RGM) ====== */

.rgm-header {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0.4rem 0;
}

.rgm-header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */

.rgm-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

.rgm-logo-pill {
    background: linear-gradient(135deg, #6b46c1, #ed64a6);
    color: white;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.rgm-logo-text {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Desktop nav */

.rgm-nav {
    display: flex;
    gap: 1.5rem;
}

.rgm-nav a {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    transition: 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.rgm-nav a:hover {
    color: #6b46c1;
    border-color: #ed64a6;
}

/* Header actions */

.rgm-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rgm-account a {
    margin-right: 0.75rem;
    color: #444;
    text-decoration: none;
}

.rgm-cart {
    position: relative;
    font-size: 1.2rem;
    text-decoration: none;
    color: #333;
}

.rgm-cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    padding: 0 5px;
    font-size: 0.7rem;
}

/* Mobile menu */

.rgm-menu-toggle {
    display: none;
    font-size: 1.6rem;
    background: transparent;
    border: none;
}

.rgm-mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #eee;
}

.rgm-mobile-nav a {
    padding: 0.6rem 0;
    text-decoration: none;
    font-size: 1rem;
    color: #444;
}

.rgm-mobile-nav.open {
    display: flex;
}

/* Responsive header */

@media (max-width: 768px) {
    .rgm-nav {
        display: none;
    }
    .rgm-menu-toggle {
        display: block;
    }
}

/* ====== FOOTER (RGM) ====== */

.rgm-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.rgm-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.rgm-footer-col a {
    display: block;
    color: #cbd5f5;
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.2s ease;
}

.rgm-footer-col a:hover {
    color: #fbb6ce;
}

.rgm-footer-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f9fafb;
}

.rgm-footer-text {
    color: #9ca3af;
    line-height: 1.5;
}

/* footer logo reuse */

.rgm-footer-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.6rem;
}

/* Newsletter */

.rgm-footer-newsletter {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.rgm-footer-newsletter input[type="email"] {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    border: 1px solid #1f2937;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.85rem;
}

.rgm-footer-newsletter button {
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #6b46c1, #ed64a6);
    color: #fff;
}

/* Bottom bar */

.rgm-footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    border-top: 1px solid #1f2937;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    color: #6b7280;
}

.rgm-footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
}

.rgm-footer-bottom a:hover {
    color: #fbb6ce;
}

.rgm-footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rgm-footer-sep {
    opacity: 0.6;
}

/* Responsive footer */

@media (max-width: 900px) {
    .rgm-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .rgm-footer-inner {
        grid-template-columns: 1fr;
    }

    .rgm-footer-newsletter {
        flex-direction: column;
    }

    .rgm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.rgm-footer-reviews {
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    padding: 10px 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #e5e7eb;
}
.rgm-footer-reviews-left {
    display: flex;
    gap: 8px;
    align-items: baseline;
    flex-wrap: wrap;
}
.rgm-footer-reviews-score {
    font-weight: 600;
}
.rgm-footer-reviews-count {
    color: #9ca3af;
}
.rgm-footer-reviews-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.rgm-footer-reviews-links a {
    color: #e5e7eb;
    text-decoration: underline;
}
@media (max-width: 600px) {
    .rgm-footer-reviews {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
