/* ================================================================
   ROSA-TECH ENGINEERING — Modern Design System
   Fonts: Inter (UI) + Playfair Display (headings)
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* Advanced Modern Styles for AaronSena2/e-commerce */

:root {
  --primary:        #f26924;
  --primary-dark:   #c4521c;
  --primary-light:  #fde8d8;
  --secondary:      #f26924;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --success:        #059669;
  --danger:         #dc2626;
  --background:     #f0f4f8;
  --foreground:     #ffffff;
  --surface:        #f8fafc;
  --text:           #0f172a;
  --text-muted:     #64748b;
  --border:         #e2e8f0;
  --radius:         12px;
  --radius-lg:      18px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:         0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:      0 20px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.07);
  --transition:     0.22s cubic-bezier(.4,0,.2,1);
  --font-ui:        'Inter', 'Segoe UI', Arial, sans-serif;
  --font-display:   'Playfair Display', Georgia, serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }

/* Keep Bootstrap utility classes font-family neutral */
.fw-bold, .fw-semibold { font-family: var(--font-display); }
.lead { font-size: 1.15rem; font-weight: 400; color: var(--text-muted); }

/* Header Styling - Mercury Style Redesign */
.header-top {
  background: #0f172a;
  border-bottom: none;
  padding: 9px 0;
  font-size: 0.82rem;
  font-family: var(--font-ui);
}

.header-info-item {
  display: inline-block;
  margin-right: 24px;
  color: #94a3b8;
  white-space: nowrap;
  font-weight: 500;
}

.header-info-item i {
  margin-right: 6px;
  color: var(--accent);
}

.header-info-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition);
}

.header-info-item a:hover {
  color: #ffffff;
}

.header-help {
  color: #94a3b8;
  white-space: nowrap;
  font-weight: 500;
}

.header-help strong {
  color: var(--accent);
}

/* Main Header */
.header-main {
  background: var(--foreground);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-family: var(--font-ui);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition);
}

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

.header-logo-image {
  display: block;
  height: 70px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

/* Search Form */
.search-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  border: 1px solid #d9dbe3;
  border-radius: 14px;
  overflow: hidden;
  min-height: 52px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.search-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(242,105,36,0.12), 0 12px 26px rgba(16, 24, 40, 0.11);
  transform: translateY(-1px);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 16px;
  font-size: 0.97rem;
  line-height: 1.2;
  color: var(--text);
  outline: none;
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
}

.search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: none;
  color: white;
  min-width: 58px;
  min-height: 52px;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background var(--transition), transform var(--transition), filter var(--transition);
  font-weight: 700;
  box-shadow: none;
}

.search-btn:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #b45309 100%);
  filter: saturate(1.1);
}

.search-btn:active {
  transform: scale(0.97);
}

/* Header Icons */
.header-icons {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #666;
  transition: color var(--transition);
  font-size: 1.2rem;
}

.header-icon-btn:hover {
  color: var(--primary);
}

.header-icon-btn i {
  font-size: 1.3rem;
}

.cart-btn {
  position: relative;
}

.cart-count-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  min-width: 19px;
  height: 19px;
  border-radius: 999px;
  background: #e04f16;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #fff;
  line-height: 1;
}

.cart-count-badge.is-empty {
  display: none;
}

.icon-label {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.header-account .dropdown-toggle::after {
  display: none;
}

/* Header Navigation Menu */
.header-nav {
  background: var(--foreground);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.nav-menu {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 50px;
}

.nav-menu-item {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  font-family: var(--font-ui);
}

.nav-menu-item:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-light);
}

.nav-menu-highlight {
  color: var(--accent-dark);
  font-weight: 700;
}

.nav-menu-highlight:hover {
  color: #92400e;
  border-bottom-color: var(--accent);
  background: rgba(245, 158, 11, 0.07);
}

/* Remove default Bootstrap body padding */
body {
  font-size: 1rem;
}

/* Responsive Header */
@media (max-width: 768px) {
  .header-top {
    font-size: 0.75rem;
  }

  .header-info-item {
    margin-right: 12px;
  }

  .header-icons {
    gap: 12px;
  }

  .icon-label {
    font-size: 0.65rem;
  }

  .cart-count-badge {
    top: -4px;
    right: -8px;
  }

  .nav-menu-item {
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .header-logo-image {
    height: 56px;
    max-width: 260px;
  }
}

@media (max-width: 576px) {
  .header-info-item {
    display: none;
  }

  .header-help {
    font-size: 0.7rem;
  }

  .search-input::placeholder {
    font-size: 0.8rem;
  }

  .icon-label {
    display: none;
  }

  .header-nav .container-fluid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu {
    width: max-content;
    min-width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .nav-menu-item {
    white-space: nowrap;
  }

  .header-logo-image {
    height: 44px;
    max-width: 210px;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer {
  background: linear-gradient(135deg, #0f172a 0%, #7a3310 60%, #f26924 100%);
  color: #e2e8f0;
  padding: 48px 24px 28px;
  text-align: center;
  margin-top: 60px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
footer a {
  color: #fbc8a4;
}
footer a:hover {
  color: #fff;
}
footer p {
  margin: 6px 0;
}

.site-footer {
  background: linear-gradient(180deg, #f7f1e9 0%, #f1e8dc 100%);
  color: #44372f;
  padding: 0;
  text-align: left;
  border-top: 1px solid #e7d9cb;
}

.site-footer a {
  color: #6c4f3c;
}

.site-footer a:hover {
  color: #2e241e;
}

.site-footer-top {
  border-bottom: 1px solid #e7d9cb;
  background: #fffaf4;
}

.site-footer-top-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 24px 24px;
}

.footer-top-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-top-item i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: var(--primary);
  font-size: 1.2rem;
}

.footer-top-item strong,
.footer-block h3 {
  display: block;
  color: #1f2937;
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 1rem;
}

.footer-top-item span,
.footer-block p,
.footer-contact-list span,
.footer-links-list a {
  color: #6a5e55;
  line-height: 1.7;
}

.site-footer-main {
  padding: 36px 24px 20px;
}

.footer-brand-block,
.footer-block {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #eadfd2;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}

.footer-brand-logo {
  display: block;
  max-width: 240px;
  height: auto;
  margin-bottom: 18px;
}

.footer-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #5c4e44;
  font-weight: 700;
}

.footer-contact-list,
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li,
.footer-links-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-list i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-weight: 600;
}

.footer-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tag-cloud a,
.footer-mini-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #5f5249;
  font-weight: 600;
}

.site-footer-lower {
  margin-top: 24px;
}

.footer-subscribe {
  display: flex;
  gap: 10px;
  margin: 18px 0 16px;
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d9cfc3;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
}

.footer-subscribe button {
  border: none;
  border-radius: 16px;
  padding: 0 20px;
  min-height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #5c4e44;
  font-size: 1.1rem;
}

.footer-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-mini-points i {
  color: var(--primary);
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e7d9cb;
}

.site-footer-bottom p {
  margin: 0;
  color: #76695f;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto 24px auto;
}
nav a {
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  background: transparent;
}
nav a.active, nav a:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 28px;
  background: var(--foreground);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card {
  background: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  padding: 24px 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

button, input[type="submit"] {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--foreground);
  border: none;
  padding: 12px 24px;
  margin-top: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-ui);
  letter-spacing: 0.01em;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(242,105,36,0.25);
}
button:hover, input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #c4521c 100%);
  box-shadow: 0 6px 20px rgba(242,105,36,0.35);
  transform: translateY(-1px);
}
button:active, input[type="submit"]:active {
  transform: translateY(0);
}

input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  padding: 12px 12px;
  margin: 10px 0 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fafbfc;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 5px var(--primary);
  outline: none;
}

.search-wrapper .search-input {
  width: auto;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  margin-top: 0.7em;
  margin-bottom: 0.3em;
  font-weight: 700;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

ul, ol {
  padding-left: 1.3em;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

/* Product Cards Grid - Mercury Style */
.products-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 24px;
  background: var(--background);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: var(--font-ui);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.card-image {
  width: 100%;
  height: 128px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 0.86rem;
  font-weight: 700;
  font-family: var(--font-ui);
  color: var(--text);
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  letter-spacing: -0.01em;
}

.product-description {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0 0 8px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  margin-top: auto;
}

.price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.stock-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
}

.stock-badge.in-stock {
  background: #d1fae5;
  color: #065f46;
}

.stock-badge.out-stock {
  background: #fee2e2;
  color: #991b1b;
}

.product-action {
  margin: 0;
  display: flex;
}

.btn-add {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--foreground);
  border: none;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-ui);
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(242,105,36,0.2);
}

.btn-add:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #c4521c 100%);
  box-shadow: 0 4px 14px rgba(242,105,36,0.3);
  transform: translateY(-1px);
}

.btn-add:active:not(:disabled) {
  transform: translateY(0);
}

.btn-add:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Section Styles */
.contact-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #f8f9fa;
  margin-top: 16px;
}

.contact-cards-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-message-wrapper {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-message {
  background: var(--foreground);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.contact-card {
  background: var(--foreground);
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--foreground);
}

.contact-card h5 {
  color: var(--text);
  margin: 16px 0 12px 0;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 8px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  display: inline-block;
}

.contact-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contact-message {
  background: linear-gradient(135deg, rgba(242, 105, 36, 0.05) 0%, rgba(0, 191, 174, 0.05) 100%);
  border-left: 4px solid var(--primary);
  margin: 0;
}

.contact-message p {
  margin: 0;
  color: var(--text);
}

.contact-form-card {
  background: var(--foreground);
  border-radius: 8px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form-card .form-control {
  border-radius: 8px;
  border-color: var(--border);
  padding: 10px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242,105,36,0.12);
}

.contact-form-card textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* Responsive Contact Cards */
@media (max-width: 768px) {
  .contact-card {
    padding: 24px 16px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-card h5 {
    font-size: 1rem;
  }
}

/* Featured Products Grid - Homepage */
.featured-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: var(--bs-gutter-x, 1.5rem);
  padding-right: var(--bs-gutter-x, 1.5rem);
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Featured Products Grid */
@media (max-width: 1400px) {
  .featured-products-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1100px) {
  .featured-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .featured-products-grid {
    grid-template-columns: 1fr;
  }
}

.grid {
  display: grid;
  grid-gap: 2rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px) {
  .container, .card { padding: 10px; }
  nav { gap: 1rem; }
  h1 { font-size: 1.7rem; }
}

/* Fancy animated underline for links */
a.fancy-link {
  position: relative;
  color: var(--primary);
  text-decoration: none;
  padding-bottom: 2px;
}
a.fancy-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(.25,.1,.25,1);
}
a.fancy-link:hover::after,
a.fancy-link:focus::after {
  transform: scaleX(1);
}

/* Alerts and badges */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
}
.badge {
  display: inline-block;
  background: var(--primary);
  color: var(--foreground);
  border-radius: 20px;
  font-size: 0.82em;
  font-weight: 600;
  padding: 4px 14px;
  margin-left: 7px;
  font-family: var(--font-ui);
}

/* Global form control polish */
.form-control, .form-select {
  font-family: var(--font-ui) !important;
  font-size: 0.95rem;
  border-radius: 10px !important;
  border-color: var(--border) !important;
  padding: 10px 14px !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
  background-color: var(--surface) !important;
  color: var(--text) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(242,105,36,0.12) !important;
  background-color: #fff !important;
}
.form-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  letter-spacing: 0.01em;
}

/* Bootstrap btn overrides for font */
.btn {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  border-radius: 10px !important;
  transition: all var(--transition) !important;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(242,105,36,0.22) !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #c4521c 100%) !important;
  box-shadow: 0 6px 20px rgba(242,105,36,0.32) !important;
  transform: translateY(-1px);
}
.btn-success {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(5,150,105,0.22) !important;
}
.btn-success:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  box-shadow: 0 6px 20px rgba(5,150,105,0.32) !important;
  transform: translateY(-1px);
}
.btn-lg {
  padding: 13px 32px !important;
  font-size: 1.05rem !important;
}

/* Utility classes */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 24px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold { font-weight: bold; }

/* Modern scrollbar */
::-webkit-scrollbar { width: 11px; background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 8px; }

/* Chatbot widget */
.chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  font-family: var(--font-ui);
}

.chatbot-toggle {
  border: none;
  border-radius: 999px;
  min-height: 52px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.chatbot-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.28);
}

.chatbot-panel {
  width: min(380px, calc(100vw - 24px));
  max-height: min(78vh, 620px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: linear-gradient(150deg, #0f172a 0%, #f26924 100%);
  color: #fff;
}

.chatbot-header h3 {
  margin: 0;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 700;
}

.chatbot-header p {
  margin: 3px 0 0;
  font-size: 0.76rem;
  opacity: 0.9;
}

.chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
}

.chatbot-body {
  padding: 12px;
  overflow-y: auto;
  background: #f8fafc;
  flex: 1;
}

.chatbot-message {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.42;
  word-wrap: break-word;
}

.chatbot-bot {
  background: #fff3ec;
  color: #7a3310;
  border-bottom-left-radius: 4px;
}

.chatbot-user {
  margin-left: auto;
  background: #f26924;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-bot a {
  color: #f26924;
  font-weight: 600;
  text-decoration: none;
}

.chatbot-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.chatbot-quick-actions button {
  border: 1px solid #dbe6f3;
  background: #f8fbff;
  color: #123053;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.chatbot-quick-actions button:hover {
  border-color: #9cb9e7;
  background: #eaf2ff;
}

.chatbot-input-row {
  padding: 10px;
  background: #fff;
  display: flex;
  gap: 8px;
}

.chatbot-input-row input {
  border: 1px solid #cdd8ea;
  border-radius: 10px;
  font-size: 0.88rem;
  padding: 10px 12px;
  flex: 1;
  min-width: 0;
}

.chatbot-input-row input:focus {
  outline: none;
  border-color: #f26924;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12);
}

.chatbot-input-row button {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #f26924 0%, #2563eb 100%);
  cursor: pointer;
}

@media (max-width: 640px) {
  .chatbot-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
  }

  .chatbot-widget > * {
    pointer-events: auto;
  }

  .chatbot-panel {
    width: min(100%, 420px);
    max-height: 72vh;
  }

  .chatbot-toggle {
    min-height: 48px;
    padding: 10px 14px;
  }
}

/* Homepage landing page polish */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroFade 18s infinite;
  transform: scale(1.04);
}

.hero-slide-1 {
  background-image: url('/assets/images/hero-slide-1.jpg');
  animation-delay: 0s;
}

.hero-slide-2 {
  background-image: url('/assets/images/hero-slide-2.jpg');
  animation-delay: 6s;
}

.hero-slide-3 {
  background-image: url('/assets/images/hero-slide-3.jpg');
  animation-delay: 12s;
}

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.04); }
  8% { opacity: 1; }
  30% { opacity: 1; transform: scale(1.08); }
  38% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 23, 47, 0.9) 0%, rgba(8, 37, 66, 0.74) 44%, rgba(5, 150, 105, 0.34) 100%),
    radial-gradient(circle at top right, rgba(255, 189, 89, 0.28), transparent 36%);
  z-index: -2;
}

.hero-aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

.hero-aurora-one {
  width: 240px;
  height: 240px;
  top: 110px;
  right: 8%;
  background: radial-gradient(circle, rgba(242, 105, 36, 0.75) 0%, rgba(242, 105, 36, 0) 72%);
}

.hero-aurora-two {
  width: 320px;
  height: 320px;
  bottom: 40px;
  left: -60px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.55) 0%, rgba(13, 148, 136, 0) 74%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-shell {
  padding: 42px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.hero-heading {
  color: #ffffff !important;
  max-width: 11ch;
  line-height: 0.98;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.38);
}

.hero-lead,
.hero-support {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 600;
  line-height: 1.75;
}

.hero-support {
  font-size: 1rem;
  line-height: 1.85;
}

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

.hero-pill-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(14px);
}

.hero-pill-row i {
  color: #ffd18c;
}

.btn-fancy {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.35);
  border-radius: 999px !important;
  padding: 15px 40px !important;
}

.btn-fancy:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(245, 158, 11, 0.42) !important;
}

.hero-secondary-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(10px);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #ffffff !important;
}

.hero-showcase {
  display: grid;
  gap: 18px;
}

.hero-showcase-panel,
.hero-showcase-card {
  border-radius: 28px;
  padding: 26px;
  color: #eff6ff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(9, 20, 38, 0.82) 0%, rgba(9, 20, 38, 0.56) 100%);
  box-shadow: 0 28px 64px rgba(2, 8, 23, 0.3);
  backdrop-filter: blur(16px);
}

.hero-showcase-kicker,
.capability-label,
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(242, 105, 36, 0.12);
  color: #b24c15;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-showcase-kicker {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.hero-showcase-panel h2,
.capability-card h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  color: #fff;
  margin-bottom: 0;
}

.hero-showcase-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.hero-showcase-steps div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-showcase-steps i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffd18c;
  font-size: 1.15rem;
}

.hero-showcase-steps strong,
.hero-showcase-steps span {
  grid-column: 2;
}

.hero-showcase-steps strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--font-ui);
  font-size: 0.98rem;
}

.hero-showcase-steps span,
.hero-showcase-card p {
  color: rgba(241, 245, 249, 0.84);
  line-height: 1.7;
}

.hero-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #ffd18c;
  font-weight: 700;
}

.hero-inline-link:hover {
  color: #fff0d2;
}

.capability-band {
  position: relative;
  margin-top: -82px;
  z-index: 3;
}

.capability-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.capability-card h2 {
  color: #102033;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.capability-card p {
  margin-bottom: 0;
  color: #5b6472;
  line-height: 1.75;
}

.capability-card-accent {
  background: linear-gradient(145deg, #082f49 0%, #0f766e 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.capability-card-accent h2,
.capability-card-accent p,
.capability-card-accent .capability-label {
  color: #fff;
}

.capability-card-accent .capability-label {
  background: rgba(255, 255, 255, 0.14);
}

.service-overview,
.audience-section,
.featured-section,
.contact-section {
  position: relative;
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.service-overview {
  padding-top: 120px !important;
  background:
    radial-gradient(circle at top left, rgba(242, 105, 36, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}

.audience-section,
.featured-section,
.contact-section {
  background:
    radial-gradient(circle at top right, rgba(13, 148, 136, 0.08), transparent 25%),
    linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.section-heading {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.featured-section h2,
.service-overview h2,
.audience-section h2,
.contact-section h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.service-card,
.info-panel,
.contact-card,
.contact-message,
.contact-form-card {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.service-card,
.info-panel {
  background: rgba(255, 255, 255, 0.88);
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.info-panel:hover,
.contact-card:hover,
.contact-message:hover,
.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);
  border-color: rgba(242, 105, 36, 0.18);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(242, 105, 36, 0.16) 0%, rgba(15, 118, 110, 0.16) 100%);
  color: #bf5a21;
  font-size: 1.35rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p,
.info-panel p {
  color: #5b6472;
  margin-bottom: 0;
  line-height: 1.75;
}

.highlight-card {
  background: linear-gradient(145deg, #082f49, #0f4c75);
  color: #fff;
}

.highlight-card .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe2b3;
}

.highlight-card h3,
.highlight-card p,
.rentals-panel h2,
.rentals-panel p,
.rentals-panel .event-list,
.rentals-panel .section-kicker,
.rentals-panel .text-muted,
.rentals-panel .text-dark,
.rentals-panel .fw-semibold {
  color: rgba(255, 255, 255, 0.94);
}

.rentals-panel {
  background: linear-gradient(145deg, #0b3b2e, #136f63);
  color: #fff;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-grid span {
  background: #eef4ff;
  color: #18478b;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(24, 71, 139, 0.08);
}

.event-list {
  margin: 0 0 20px;
  padding-left: 20px;
  line-height: 1.9;
}

.product-card {
  cursor: pointer;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14), 0 8px 18px rgba(0, 0, 0, 0.08) !important;
}

.featured-products-grid {
  gap: 22px;
}

.contact-section {
  margin-top: 50px;
}

.contact-message {
  padding: 32px;
  background: linear-gradient(135deg, rgba(242, 105, 36, 0.08) 0%, rgba(15, 118, 110, 0.08) 100%);
  border-left: none;
  text-align: left;
}

.contact-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(242, 105, 36, 0.18);
}

.contact-form-card {
  padding: 38px;
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 991px) {
  .hero {
    min-height: 680px;
  }

  .hero-heading {
    max-width: none;
  }

  .capability-band {
    margin-top: -44px;
  }

  .service-overview {
    padding-top: 90px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 620px;
  }

  .hero-shell {
    padding: 26px 0 12px;
  }

  .hero-pill-row span {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .capability-band {
    margin-top: -28px;
  }

  .service-overview {
    padding-top: 70px !important;
  }

  .service-card,
  .info-panel,
  .contact-message,
  .contact-card,
  .contact-form-card,
  .capability-card,
  .hero-showcase-panel,
  .hero-showcase-card {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 560px;
  }

  .hero-eyebrow,
  .section-kicker,
  .capability-label,
  .hero-showcase-kicker {
    letter-spacing: 0.08em;
  }

  .hero-showcase-steps div {
    grid-template-columns: 1fr;
  }

  .hero-showcase-steps i,
  .hero-showcase-steps strong,
  .hero-showcase-steps span {
    grid-column: auto;
  }

  .featured-products-grid {
    gap: 16px;
  }
}

body.home-reference-page {
  background: #f6f2ec;
}

.home-reference-page .header-main,
.home-reference-page .header-nav {
  background: #fffdfb;
}

.home-reference-page .header-main {
  padding: 18px 0 14px;
  border-bottom: 1px solid #eadfd2;
  box-shadow: none;
}

.home-header-topbar {
  display: grid;
  grid-template-columns: 52px 1fr 88px;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.home-menu-trigger,
.home-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #eadfd2;
  background: #fff;
  color: #1f2937;
  font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.home-header-logo {
  justify-self: center;
}

.home-header-logo:hover {
  transform: none;
}

.home-header-logo .header-logo-image {
  height: 62px;
  max-width: 280px;
}

.home-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.home-icon-btn {
  flex-direction: row;
  gap: 0;
}

.home-icon-btn .icon-label {
  display: none;
}

.home-search-row {
  padding-bottom: 8px;
}

.home-search-form {
  max-width: none;
}

.home-search-wrapper {
  min-height: 68px;
  border-radius: 24px;
  border-color: #e8ddd0;
  background: #fff;
  box-shadow: none;
}

.home-search-btn {
  background: transparent !important;
  min-width: 68px;
  color: #84756a;
  font-size: 1.35rem;
}

.home-search-btn:hover {
  color: #5b4d43;
}

.home-search-input {
  font-size: 1.08rem;
  color: #43352e;
}

.home-utility-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  padding-top: 8px;
  color: #7a6b61;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-utility-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-utility-strip i {
  color: var(--primary);
}

.home-reference-page .header-nav {
  border-top: 1px solid #f0e7dd;
  border-bottom: 1px solid #eadfd2;
  box-shadow: none;
}

.home-reference-page .nav-menu {
  justify-content: center;
  gap: 8px;
  height: auto;
  padding: 10px 0;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.home-reference-page .nav-menu-item {
  height: auto;
  padding: 10px 16px;
  border: 1px solid #eadfd2;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}

.home-reference-page .nav-menu-item:hover,
.home-reference-page .nav-menu-highlight {
  background: #fff3e8;
  border-bottom-color: transparent;
}

.storefront-hero {
  background: #f6f2ec;
}

.storefront-hero-panel {
  padding: 12px 0 4px;
}

.storefront-copy {
  background: linear-gradient(180deg, #fffdfb 0%, #fff7ef 100%);
  border: 1px solid #eadfd2;
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.storefront-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.03;
  margin-bottom: 16px;
  color: #18212b;
}

.storefront-copy-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5b6472;
  margin-bottom: 26px;
}

.storefront-secondary-btn {
  border-radius: 999px !important;
  border-color: #d9c8b7 !important;
}

.storefront-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.storefront-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #66584f;
  font-weight: 600;
}

.storefront-meta i {
  color: var(--primary);
}

.storefront-media-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.storefront-media {
  position: relative;
  min-height: 220px;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadfd2;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.storefront-media-large {
  grid-row: 1 / span 2;
}

.storefront-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-overview,
.service-overview,
.featured-section,
.contact-section,
.audience-section {
  background: #f6f2ec !important;
}

.section-heading-shelf {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.shelf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eadfd2;
  color: #51443b;
  font-weight: 700;
}

.shelf-link:hover {
  background: #fff3e8;
  text-decoration: none;
}

.category-card,
.service-card,
.info-panel,
.contact-card,
.contact-message,
.contact-form-card,
.product-card {
  background: #fffdfb;
  border: 1px solid #eadfd2;
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.category-card {
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08) !important;
}

.category-card h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.category-card p {
  color: #6b7280;
  margin-bottom: 0;
  line-height: 1.6;
}

.category-card-accent {
  background: linear-gradient(145deg, #fff1e4 0%, #ffe5d0 100%);
}

.category-card-accent .service-icon {
  background: rgba(242, 105, 36, 0.16);
}

.service-overview {
  padding-top: 20px !important;
}

.featured-products-grid {
  gap: 18px;
  justify-content: center;
}

.featured-products-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 220px));
  justify-content: center;
}

.product-card {
  overflow: hidden;
}

.deal-shelf-section,
.quick-lanes-section {
  background: #f6f2ec !important;
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.deal-shelf-section-muted {
  background: linear-gradient(180deg, #f4ede3 0%, #f7f1e9 100%) !important;
}

.quick-lane-card {
  background: #fffdfb;
  border: 1px solid #eadfd2;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.quick-lane-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.08);
  border-color: #ddc7b3;
}

.quick-lane-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.quick-lane-card p {
  color: #6a5e55;
  line-height: 1.72;
  margin-bottom: 18px;
}

.quick-lane-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff2e6;
  color: #af5a24;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-lane-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #5d483a;
}

.quick-lane-link::after {
  content: ">";
  font-size: 0.9rem;
}

.quick-lane-card-accent {
  background: linear-gradient(145deg, #fff4ea 0%, #ffe7d6 100%);
}

.product-card-project-pick {
  background: #fff9f3;
}

.contact-message,
.contact-form-card,
.contact-card,
.info-panel,
.service-card {
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
}

.audience-section .rentals-panel {
  background: linear-gradient(145deg, #0b3b2e, #136f63) !important;
  border-color: rgba(11, 59, 46, 0.28);
  color: #fff;
}

.audience-section .rentals-panel h2,
.audience-section .rentals-panel p,
.audience-section .rentals-panel .event-list,
.audience-section .rentals-panel .section-kicker,
.audience-section .rentals-panel .text-muted,
.audience-section .rentals-panel .text-dark,
.audience-section .rentals-panel .fw-semibold {
  color: rgba(255, 255, 255, 0.94) !important;
}

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

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

  .section-heading-shelf {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-footer-main,
  .site-footer-top-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-subscribe {
    flex-direction: column;
  }

  .footer-subscribe button {
    width: 100%;
  }

  .home-header-topbar {
    grid-template-columns: 48px 1fr 48px;
  }

  .home-header-actions .header-account {
    display: none;
  }

  .home-header-logo .header-logo-image {
    height: 52px;
    max-width: 220px;
  }

  .home-search-wrapper {
    min-height: 62px;
    border-radius: 20px;
  }

  .storefront-copy {
    padding: 28px 24px;
  }

  .storefront-media-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 220px);
  }

  .storefront-media-large {
    grid-row: auto;
  }
}

@media (max-width: 576px) {
  .home-reference-page .header-main {
    padding-top: 14px;
  }

  .home-search-input {
    font-size: 0.98rem;
  }

  .home-utility-strip {
    justify-content: flex-start;
    font-size: 0.82rem;
  }

  .storefront-actions .btn {
    width: 100%;
  }

  .storefront-meta span {
    width: 100%;
    justify-content: center;
  }
}
