/* Define CSS Custom Properties for CBM Coats and Decor brand */
:root {
  --color-navy: #0A1628;
  --color-gold: #B8952A;
  --color-gold-hover: #9c7b1f;
  --color-cream: #F5F0E8;
  --color-white: #FFFFFF;
  --color-charcoal: #2A3644;
  --color-border: #E2DCD3;
  --color-light-gray: #F9F9F9;
  
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(10, 22, 40, 0.04);
  --shadow-medium: 0 10px 30px rgba(10, 22, 40, 0.07);
}

/* Base Reset & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Reusable Components */

/* Elegant Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Gold CTA Button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 22, 40, 0.15);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-navy);
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--color-navy);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* Paint Spectrum Ribbon Accent Bar */
.paint-spectrum-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, 
    #B8952A 0%, 
    #E65100 16%, 
    #D97706 32%, 
    #1E3A8A 50%, 
    #059669 68%, 
    #7C3AED 84%, 
    #B8952A 100%
  );
}

/* Premium Navigation Header */
header {
  background-color: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(184, 149, 42, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Logo Setup */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1.5px solid var(--color-gold);
  background: #FFFFFF;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-white);
  line-height: 1.1;
}

.logo-text span {
  color: var(--color-gold);
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.25vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link-badge {
  font-size: 0.58rem;
  background: linear-gradient(135deg, var(--color-gold), #D97706);
  color: #0A1628;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  margin-left: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Header Action Icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.user-avatar-btn {
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(184, 149, 42, 0.2);
  text-transform: uppercase;
}

.cart-btn {
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  position: relative;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.cart-btn:hover {
  color: var(--color-gold);
}

.cart-icon {
  width: 26px;
  height: 26px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 0.65rem;
  font-weight: bold;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.cart-btn:hover .cart-badge {
  background-color: var(--color-gold);
  color: var(--color-white);
}

/* Hamburger Menu button */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-white);
}

/* --- HOME PAGE SECTIONS --- */

/* Hero Section Split Layout */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  background-color: var(--color-navy);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e6ded3 0%, #b8af9f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-swatch {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.hero-visual:hover .hero-swatch {
  transform: scale(1.05);
}

.hero-content {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  color: var(--color-white);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold);
}

.hero-subtext {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 3.5rem;
  max-width: 520px;
  font-weight: 350;
  line-height: 1.7;
}

/* General Section Styling */
.section {
  padding: 8rem 0;
}

.section-cream {
  background-color: var(--color-cream);
}

.section-white {
  background-color: var(--color-white);
}

/* Our Brands Section */
.brands-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.brands-header h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.brands-header p {
  color: rgba(10, 22, 40, 0.7);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.brand-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.brand-card:hover {
  background: var(--color-white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: transparent;
}

.brand-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 2rem;
  background-color: #ddd;
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.brand-card:hover .brand-img {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.brand-desc {
  font-size: 0.95rem;
  color: rgba(10, 22, 40, 0.72);
  margin-bottom: 2.25rem;
  line-height: 1.6;
  flex-grow: 1;
}

.brand-card .btn-gold {
  width: 100%;
}

/* Completed Projects Section */
.projects-header {
  margin-bottom: 4rem;
}

.projects-header h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.projects-header p {
  color: rgba(10, 22, 40, 0.7);
  font-size: 1.1rem;
}

/* Asymmetric Photo Grid */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.grid-col-left {
  height: 100%;
}

.big-project-card {
  position: relative;
  height: 650px;
  overflow: hidden;
  border-radius: 4px;
}

.grid-col-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

.project-stacked-top {
  position: relative;
  height: 360px;
  overflow: hidden;
  border-radius: 4px;
}

.project-stacked-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.project-small-card {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 4px;
}

/* Project Hover Overlays and Animations */
.project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.big-project-card:hover .project-media,
.project-stacked-top:hover .project-media,
.project-small-card:hover .project-media {
  transform: scale(1.06);
}

/* Navy Caption Overlay for Selected Card */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  transition: var(--transition-smooth);
}

.caption-overlay h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.caption-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Subtle overlay on the others */
.subtle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.45) 0%, rgba(10, 22, 40, 0) 50%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.project-small-card:hover .subtle-overlay {
  opacity: 1;
}

.subtle-overlay-content h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.subtle-overlay-content p {
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Contact/Get in Touch Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 1.75rem;
  font-weight: 500;
  max-width: 500px;
}

.contact-info-desc {
  font-size: 1.1rem;
  color: rgba(10, 22, 40, 0.7);
  margin-bottom: 4rem;
  max-width: 480px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-label {
  font-weight: bold;
  font-size: 1rem;
  color: var(--color-navy);
}

.detail-value {
  font-size: 1.1rem;
  color: rgba(10, 22, 40, 0.8);
}

/* Contact Form Grid styling */
.contact-form-panel {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--color-navy);
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-cream);
  font-size: 0.95rem;
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.form-control::placeholder {
  color: rgba(10, 22, 40, 0.4);
}

.form-control:focus {
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(184, 149, 42, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Custom Styled Select Dropdown matching attachments */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.contact-form .btn-gold {
  align-self: flex-start;
  padding: 1rem 2.5rem;
  width: 100%;
}

/* Footer & Scrolling Marquee */
footer {
  background-color: var(--color-navy);
  overflow: hidden;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  color: var(--color-gold);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.footer-credits {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- PORTFOLIO PAGE STYLING --- */
.portfolio-intro {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.portfolio-intro h1 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
  margin-bottom: 8rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.portfolio-image-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  background-color: var(--color-cream);
  position: relative;
  border: 1px solid rgba(10, 22, 40, 0.06);
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-navy);
  flex-grow: 1;
}

.portfolio-number {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: rgba(10, 22, 40, 0.8);
  font-weight: 300;
}

.portfolio-desc {
  font-size: 0.925rem;
  color: rgba(10, 22, 40, 0.7);
  line-height: 1.6;
}

/* --- SHOP PAGE STYLING --- */

/* Shop Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs a:hover {
  color: var(--color-gold);
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Shop Hero Banner */
.shop-hero-wrapper {
  margin-bottom: 4rem;
}

.shop-hero-banner {
  background-color: #f0f0f0;
  border-radius: 4px;
  height: clamp(200px, 30vw, 360px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.shop-content-header {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.shop-content-header h1 {
  font-size: 3rem;
  font-weight: 500;
}

/* Two-column Storefront Layout (Sidebar + Grid) */
.mobile-filter-btn {
  display: none;
}

.shop-quick-brands-mobile {
  display: none;
}

.sidebar-header-mobile {
  display: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 8rem;
}

/* Filter Sidebar */
.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.sidebar-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-section:last-child {
  border-bottom: none;
}

/* Browse list */
.browse-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.browse-item-btn {
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  color: rgba(10, 22, 40, 0.8);
  cursor: pointer;
  padding: 0.25rem 0;
  width: 100%;
  transition: var(--transition-smooth);
}

.browse-item-btn:hover, .browse-item-btn.active {
  color: var(--color-gold);
  transform: translateX(4px);
  font-weight: 500;
}

/* Accordion Filter Expanders */
.filter-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem 0;
}

.filter-accordion-header svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.filter-accordion-header.active svg {
  transform: rotate(180deg);
}

.filter-accordion-content {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Styled Filter Checkbox Check mark */
.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(10, 22, 40, 0.85);
  cursor: pointer;
}

.checkbox-custom {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-navy);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-label input:checked + .checkbox-custom {
  background-color: var(--color-navy);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Grid Top Control Bar (sorting + results meta) */
.shop-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.product-count {
  font-size: 0.95rem;
  color: rgba(10, 22, 40, 0.6);
}

.sort-select-wrapper {
  position: relative;
}

.sort-select {
  appearance: none;
  background-color: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-bottom: 1px solid var(--color-navy);
}

.sort-select-wrapper::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* Products Grid */
.product-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
}

.shop-grid-section {
  min-width: 0;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 22, 40, 0.1);
  border-color: var(--color-gold);
}

.product-card-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #FDFDFD;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  padding: 1.5rem;
  cursor: pointer;
}

.product-badge-overlay {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 22, 40, 0.9);
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  z-index: 2;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(184, 149, 42, 0.25);
}

.product-card-badge-right {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(10, 22, 40, 0.08);
  color: var(--color-navy);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 2;
}

.product-card-img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 8px 16px rgba(10, 22, 40, 0.08));
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-quick-add {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 0.8rem 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
}

.product-card-img-wrapper:hover .product-quick-add {
  transform: translateY(0);
}

.product-quick-add:hover {
  background-color: var(--color-gold);
}

.product-info {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.4rem;
  flex-grow: 1;
  cursor: pointer;
}

.product-category-tag {
  font-size: 0.72rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.85rem;
}

.product-variants-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0.85rem;
}

.product-pack-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: #4A5568;
  background: #F1F3F5;
  border: 1px solid rgba(10, 22, 40, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.product-spec-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(10, 22, 40, 0.06);
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
}

.product-price small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: normal;
  color: #888;
}

.product-view-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.product-card:hover .product-view-link {
  color: var(--color-navy);
  transform: translateX(3px);
}

.product-stock-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1B5E20;
  background: #E8F5E9;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  margin-top: 0.65rem;
  width: fit-content;
}

/* Empty State Styling */
.empty-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--color-cream);
  border-radius: 4px;
  border: 1px dashed var(--color-border);
}

.empty-products-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.empty-products-btn {
  margin-top: 1.5rem;
}

/* Sliding Cart Drawer Panel Definition (Luxury feel) */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 22, 40, 0.6);
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 460px;
  height: 100%;
  background-color: var(--color-white);
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(10, 22, 40, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-drawer-header {
  padding: 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h2 {
  font-size: 1.75rem;
  font-weight: 500;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.cart-close-btn:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.cart-items-wrapper {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Empty cart state */
.cart-empty-message {
  text-align: center;
  margin: auto 0;
  color: rgba(10, 22, 40, 0.5);
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cart-empty-message svg {
  width: 50px;
  height: 50px;
  color: rgba(10, 22, 40, 0.25);
}

/* Individual Cart Item Line */
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1.25rem;
}

.cart-item-img-wrapper {
  width: 80px;
  height: 80px;
  background-color: var(--color-cream);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 22, 40, 0.05);
}

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

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-navy);
}

.cart-item-price {
  font-size: 0.95rem;
  color: var(--color-gold);
  font-weight: 600;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.qty-btn {
  background: none;
  border: 1px solid var(--color-border);
  width: 24px;
  height: 24px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: var(--color-white);
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(10, 22, 40, 0.4);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: #d9534f;
}

/* Cart Footer Panel & Subtotal */
.cart-drawer-footer {
  padding: 2rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-light-gray);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.subtotal-label {
  font-weight: 500;
  color: var(--color-navy);
}

.subtotal-value {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--color-gold);
}

.checkout-btn {
  width: 100%;
  padding: 1.1rem;
}

/* User Profile Options Modal Overlay */
.account-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 22, 40, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.account-modal {
  background: var(--color-white);
  border-radius: 4px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.account-modal-header {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.account-modal-header h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 500;
}

.account-modal-body {
  padding: 2.25rem 2rem;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.profile-pic {
  background-color: var(--color-gold);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
}

.profile-meta h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.profile-meta p {
  font-size: 0.85rem;
  color: rgba(10, 22, 40, 0.6);
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Floating Toast Notification alerts */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.15);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1), fadeOut 0.4s 3.5s forwards;
}

@keyframes slideInLeft {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* --- MOBILE RESPONSIVE ADAPTABILITY --- */
@media (max-width: 1150px) {
  .nav-menu {
    gap: 1.5rem;
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  
  .big-project-card {
    height: 480px;
  }
  
  .brand-card {
    padding: 1.5rem;
  }
}

@media (max-width: 950px) {
  /* Dynamic Hamburger menu transition in mobile */
  .hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.25s ease;
  }

  .hamburger-btn:hover,
  .hamburger-btn.active {
    color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--color-navy);
    flex-direction: column;
    padding: 1.75rem 1.5rem 6rem;
    gap: 1.15rem;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: stretch;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(184, 149, 42, 0.25);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
  }

  .nav-link:hover, .nav-link.active {
    color: var(--color-gold);
    border-bottom-color: rgba(184, 149, 42, 0.4);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-drawer-cta-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px dashed rgba(184, 149, 42, 0.3);
    list-style: none;
  }

  .mobile-drawer-quote-btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--color-gold);
    color: var(--color-navy);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 15px rgba(184, 149, 42, 0.35);
  }

  .mobile-drawer-quick-links {
    display: flex;
    gap: 0.65rem;
    width: 100%;
  }

  .mobile-drawer-link-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.5rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-drawer-link-whatsapp {
    background: #25D366;
    color: #FFFFFF;
  }

  .mobile-drawer-link-call {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .hero {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    height: 340px;
  }
  
  .hero-content {
    padding: 3rem 1.75rem;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .shop-sidebar {
    display: none;
  }
  
  .shop-sidebar.active-mobile {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--color-white);
    z-index: 9999;
    padding: 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  }

  .sidebar-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-gold);
  }

  .sidebar-header-mobile h3 {
    font-size: 1.25rem;
    color: var(--color-navy);
  }

  .sidebar-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-navy);
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.5rem;
  }

  .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-white);
    border: 1.5px solid var(--color-gold);
    color: var(--color-navy);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
  }

  .shop-quick-brands-mobile {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shop-quick-brands-mobile::-webkit-scrollbar {
    display: none;
  }

  .brand-chip-btn {
    white-space: nowrap;
    padding: 0.45rem 0.95rem;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .brand-chip-btn.active {
    background: var(--color-navy);
    color: var(--color-gold);
    border-color: var(--color-navy);
  }
  
  .product-grid,
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .nav-actions {
    gap: 0.65rem;
  }

  .nav-actions > #open-rfq-btn,
  .nav-actions > .btn-gold {
    display: none !important;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.02rem;
  }

  .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }
  
  .hero-visual {
    height: 250px;
  }

  .hero-content {
    padding: 2.25rem 1.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .project-stacked-bottom-row {
    grid-template-columns: 1fr;
  }
  
  .project-small-card {
    height: 200px;
  }
  
  .big-project-card {
    height: 320px;
  }
  
  .contact-form-panel {
    padding: 1.5rem 1.25rem;
  }

  .cart-drawer {
    width: 100%;
    max-width: 100%;
  }

  .cart-drawer-header,
  .cart-drawer-footer {
    padding: 1.25rem;
  }
}

/* --- PRODUCT DETAILS PAGE STYLES --- */
.product-details-container {
  display: flex;
  gap: 4rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
  align-items: flex-start;
}

.product-details-left {
  flex: 1.1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 3rem;
  overflow: hidden;
}

.product-details-img {
  max-width: 85%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(10, 22, 40, 0.12));
  transition: transform 0.4s ease;
}

.product-details-left:hover .product-details-img {
  transform: scale(1.04);
}

.product-details-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-details-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.15;
}

.product-details-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-gold);
}

.product-details-desc {
  font-size: 1rem;
  color: var(--color-charcoal);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.attribute-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.attribute-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.6);
}

.attribute-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.attribute-pill {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-navy);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 4px;
}

.attribute-pill:hover {
  border-color: var(--color-navy);
}

.attribute-pill.selected {
  border-color: var(--color-navy);
  background-color: var(--color-navy);
  color: var(--color-white);
}

.qty-selection {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.qty-counter {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  width: fit-content;
  align-items: center;
}

.qty-counter-btn {
  background: none;
  border: none;
  width: 45px;
  height: 45px;
  font-size: 1.25rem;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-counter-btn:hover {
  background-color: var(--color-light-gray);
}

.qty-counter-val {
  width: 45px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-buy-now {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.1rem;
  border: 1px solid var(--color-navy);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  width: 100%;
}

.btn-buy-now:hover {
  background-color: transparent;
  color: var(--color-navy);
}

.btn-add-to-bag {
  background-color: var(--color-gold);
  color: var(--color-white);
  padding: 1.1rem;
  border: 1px solid var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  width: 100%;
}

.btn-add-to-bag:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 22, 40, 0.15);
}

.social-share {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.social-share-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.4);
}

.share-link {
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.share-link:hover {
  color: var(--color-gold);
}

@media (max-width: 950px) {
  .product-details-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .product-details-left {
    height: auto;
    min-height: 320px;
    max-height: 450px;
    width: 100%;
    padding: 2rem;
  }
}

/* ==========================================================================
   Commercial Contracting & Authorized Distribution Extensions (CBM Coats)
   ========================================================================== */

/* Top Information Header Bar */
.top-bar {
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(184, 149, 42, 0.25);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
}

.top-info-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

.top-info-item a {
  color: var(--color-white);
  transition: var(--transition-smooth);
}

.top-info-item a:hover {
  color: var(--color-gold);
}

.top-badge-pill {
  background: rgba(184, 149, 42, 0.2);
  color: #E6CA65;
  border: 1px solid rgba(184, 149, 42, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero Enhancements */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.9rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  border: 1px solid #25D366;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}

.highlight-icon {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Authorized Brand Partner Ribbon */
.brand-partner-strip {
  background-color: #FFFFFF;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
}

.brand-partner-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.brand-partner-header h3 {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 700;
}

.brand-partner-header p {
  font-size: 0.9rem;
  color: rgba(10, 22, 40, 0.65);
  margin-top: 0.25rem;
}

.brand-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.brand-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  background: var(--color-light-gray);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: var(--transition-smooth);
  text-align: center;
}

.brand-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-subtle);
  background: #FFFFFF;
}

.brand-logo-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
}

.brand-partner-tag {
  font-size: 0.7rem;
  color: var(--color-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* Metrics Counter Bar */
.metrics-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #162438 100%);
  color: var(--color-white);
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(184, 149, 42, 0.2);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-card {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.metric-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Core Contracting & Execution Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.capability-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-gold);
}

.capability-img-wrapper {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.capability-img-wrapper.product-view {
  background: #FDFDFD;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.capability-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.capability-img-wrapper.product-view .capability-img {
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(10, 22, 40, 0.08));
}

.capability-card:hover .capability-img {
  transform: scale(1.06);
}

.capability-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-gold);
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.capability-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.capability-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.capability-body p {
  color: rgba(10, 22, 40, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.capability-specs {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.capability-specs li {
  font-size: 0.85rem;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.capability-specs li svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* MGM Hospital Jamshedpur Spotlight Section */
.hospital-spotlight-section {
  background-color: #FFFFFF;
  padding: 6rem 0;
  border-top: 1px solid var(--color-border);
}

.hospital-spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hospital-visual-wrapper {
  position: relative;
  min-height: 480px;
}

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

.hospital-verified-stamp {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(10, 22, 40, 0.92);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  border-left: 3px solid var(--color-gold);
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hospital-verified-stamp strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-gold);
}

.hospital-details-panel {
  padding: 3.5rem 3.5rem 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hospital-tagline {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hospital-title {
  font-size: 2.35rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.hospital-narrative {
  font-size: 1rem;
  color: rgba(10, 22, 40, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.8rem;
  color: rgba(10, 22, 40, 0.65);
  margin-top: 0.2rem;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 6rem 0;
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border);
}

.faq-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.faq-header h2 {
  font-size: 2.6rem;
  margin-bottom: 0.85rem;
}

.faq-header p {
  color: rgba(10, 22, 40, 0.72);
  font-size: 1.05rem;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 2rem 1.75rem 2rem;
  color: rgba(10, 22, 40, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.85rem 1.35rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1EBE5D;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.whatsapp-icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Modal Overlay & RFQ System */
.rfq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.rfq-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rfq-modal {
  background: var(--color-white);
  border-radius: 8px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rfq-modal-overlay.active .rfq-modal {
  transform: translateY(0);
}

.rfq-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--color-navy);
  line-height: 1;
  transition: var(--transition-smooth);
}

.rfq-modal-close:hover {
  color: var(--color-gold);
}

/* Responsive adjustments for new extensions */
@media (max-width: 1024px) {
  .hospital-spotlight-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hospital-visual-wrapper {
    min-height: 340px;
  }
  
  .hospital-details-panel {
    padding: 2.5rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .brand-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .metric-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  body.mobile-nav-open {
    overflow: hidden !important;
  }

  /* Headings Scaling */
  h1, .hero-title, .article-title, .shop-content-header h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
    line-height: 1.25 !important;
  }
  
  h2, .brands-header h2, .projects-header h2, .faq-header h2 {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem) !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem) !important;
  }

  /* Prevent iOS input auto-zoom */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }

  /* Compact Top Bar */
  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .top-bar-left {
    justify-content: center;
    gap: 0.85rem;
    font-size: 0.75rem;
  }

  .top-info-item:nth-child(3) {
    display: none; /* Hide email on mobile to keep top bar 1 compact line */
  }

  .top-bar-right {
    display: none; /* Hide long badge pill in top bar to save space */
  }

  /* Tables: Guaranteed Responsive Containment */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #FFFFFF;
  }

  table.guide-table, table.specs-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .guide-table th, .guide-table td,
  .specs-table th, .specs-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.82rem;
    min-width: 110px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-logos-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .project-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr;
  }

  /* Calculator Mobile Enhancements */
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calc-summary-card {
    position: static;
    padding: 1.75rem 1.25rem;
  }

  .calc-form-card {
    padding: 1.75rem 1.25rem;
  }

  .tier-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .option-grid {
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 0.5rem;
  }

  .option-btn {
    padding: 0.65rem 0.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Modals */
  .rfq-modal {
    padding: 2rem 1.25rem;
    width: 95%;
    max-height: 90vh;
  }

  /* Floating WhatsApp Button */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
  }

  .whatsapp-float span {
    display: none;
  }

  .palette-box-swatches {
    grid-template-columns: 1fr;
  }

  .portfolio-filter-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.85rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .portfolio-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.5rem 1rem;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Interactive Paint Cost & Quantity Calculator Styles
   ========================================================================== */

.calc-section {
  padding: 3.5rem 0 5.5rem;
  background-color: var(--color-white);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-form-card {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: var(--shadow-subtle);
}

.calc-step {
  margin-bottom: 2.25rem;
}

.calc-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.calc-step-num {
  width: 28px;
  height: 28px;
  background: var(--color-navy);
  color: var(--color-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

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

.option-btn {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.option-btn strong {
  font-size: 0.95rem;
  color: var(--color-navy);
}

.option-btn span {
  font-size: 0.75rem;
  color: #777;
}

.option-btn:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.option-btn.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #FFFFFF;
}

.option-btn.active strong {
  color: var(--color-gold);
}

.option-btn.active span {
  color: rgba(255, 255, 255, 0.75);
}

/* Tier Selection Cards */
.tier-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tier-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tier-card:hover {
  border-color: var(--color-gold);
}

.tier-card.active {
  border-color: var(--color-gold);
  background: #FFFDF9;
  box-shadow: 0 4px 15px rgba(184, 149, 42, 0.12);
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tier-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-navy);
}

.tier-rate {
  font-size: 0.85rem;
  color: var(--color-gold);
  font-weight: 700;
}

.tier-desc {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.tier-brands {
  font-size: 0.72rem;
  color: #888;
  border-top: 1px dashed var(--color-border);
  padding-top: 0.4rem;
}

/* Calculator Output Sidebar Card */
.calc-summary-card {
  background: var(--color-navy);
  color: #FFFFFF;
  border-radius: 8px;
  padding: 2.75rem 2.25rem;
  position: sticky;
  top: 6rem;
  box-shadow: 0 15px 40px rgba(10, 22, 40, 0.25);
  border: 1px solid rgba(184, 149, 42, 0.3);
}

.calc-summary-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.calc-summary-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.calc-summary-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.total-cost-display {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(184, 149, 42, 0.4);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.total-cost-display span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.total-cost-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.15;
  margin: 0.35rem 0;
}

.total-cost-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.quantities-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.quantity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quantity-row span:first-child {
  color: rgba(255, 255, 255, 0.8);
}

.quantity-row strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* ==========================================================================
   Blog & Knowledge Hub Layouts
   ========================================================================== */

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

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: var(--color-gold);
}

.blog-img-box {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-img-box img {
  transform: scale(1.06);
}

.blog-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-gold);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0.4rem;
}

.blog-card-body h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.blog-card-body h3 a:hover {
  color: var(--color-gold);
}

.blog-card-body p {
  color: rgba(10, 22, 40, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-read-more:hover {
  color: var(--color-navy);
}

/* Individual Blog Article Layout */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-category {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.article-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #777;
  font-size: 0.88rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.article-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.article-content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #2D3748;
}

.article-content h2 {
  font-size: 1.95rem;
  margin: 2.75rem 0 1rem;
  color: var(--color-navy);
}

.article-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-navy);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.75rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.6rem;
}

.article-callout {
  background: var(--color-cream);
  border-left: 4px solid var(--color-gold);
  padding: 1.5rem 2rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}

.article-callout p {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--color-navy);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.guide-table th, .guide-table td {
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.guide-table th {
  background: var(--color-navy);
  color: #FFFFFF;
  font-weight: 600;
}

.guide-table tr:nth-child(even) {
  background: var(--color-light-gray);
}

@media (max-width: 992px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-summary-card {
    position: static;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   Colour Inspiration, Room Palettes & Visual Vibrancy System
   ========================================================================== */

/* Section header colorful badge */
.badge-rainbow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 149, 42, 0.12);
  border: 1px solid rgba(184, 149, 42, 0.3);
  color: var(--color-navy);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-rainbow-dots {
  display: inline-flex;
  gap: 3px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Room Category Filter Tabs */
.palette-filter-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin: 2.5rem 0 2rem;
  scrollbar-width: none;
}

.palette-filter-tabs::-webkit-scrollbar {
  display: none;
}

.palette-tab-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 6px rgba(10, 22, 40, 0.03);
}

.palette-tab-btn:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.palette-tab-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  box-shadow: 0 6px 16px rgba(10, 22, 40, 0.15);
}

.palette-tab-btn.active .tab-icon-dot {
  background: var(--color-gold);
}

.tab-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.3);
}

/* Palette Showcase Grid */
.palettes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.palette-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.palette-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(10, 22, 40, 0.12);
  border-color: var(--color-gold);
}

.palette-visual-header {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
}

.palette-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.palette-card:hover .palette-visual-img {
  transform: scale(1.05);
}

.palette-room-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(4px);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.palette-vastu-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: #854D0E;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 60-30-10 Proportion Strip */
.palette-ratio-bar {
  display: flex;
  height: 12px;
  width: 100%;
  overflow: hidden;
}

.ratio-dominant {
  width: 60%;
  height: 100%;
  position: relative;
}

.ratio-secondary {
  width: 30%;
  height: 100%;
  position: relative;
}

.ratio-accent {
  width: 10%;
  height: 100%;
  position: relative;
}

.palette-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.palette-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.palette-desc {
  font-size: 0.88rem;
  color: rgba(10, 22, 40, 0.72);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Swatches Group */
.swatches-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  background: #F8F9FA;
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(10, 22, 40, 0.06);
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.swatch-color-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  margin-bottom: 0.35rem;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.swatch-item:hover .swatch-color-circle {
  transform: scale(1.15);
}

.swatch-role {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gold);
}

.swatch-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
  margin-top: 2px;
}

.swatch-hex {
  font-family: monospace;
  font-size: 0.65rem;
  color: #718096;
  margin-top: 1px;
}

/* Paint Recommendation Footer */
.palette-paint-rec {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.paint-brand-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.paint-brand-name {
  font-weight: 700;
  color: var(--color-navy);
}

.paint-finish-type {
  font-size: 0.72rem;
  color: #4A5568;
  background: #EDF2F7;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.palette-action-btn {
  display: block;
  text-align: center;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.palette-action-btn:hover {
  background: var(--color-gold);
  transform: translateY(-2px);
}

/* Vastu Color Wheel Showcase */
.vastu-wheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.vastu-dir-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem;
  border-top: 4px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
  transition: transform 0.25s ease;
}

.vastu-dir-card:hover {
  transform: translateY(-4px);
}

.vastu-dir-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.vastu-dir-room {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.vastu-color-chips {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.vastu-chip {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.vastu-dir-desc {
  font-size: 0.82rem;
  color: rgba(10, 22, 40, 0.7);
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .palettes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vastu-wheel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .palettes-grid {
    grid-template-columns: 1fr;
  }
  .vastu-wheel-grid {
    grid-template-columns: 1fr;
  }
}

/* Force all 2-column inline layouts and complex grids into single column on mobile */
@media (max-width: 768px) {
  div[style*="grid-template-columns: 1.2fr 1fr"],
  .cta-banner-feature,
  .festive-callout-banner {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.25rem !important;
    gap: 1.5rem !important;
  }

  div[style*="grid-template-columns: 1fr 1fr"],
  .form-row-2col,
  .case-meta-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

/* Ultra-Compact Mobile (<380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 0.85rem;
  }

  .logo-tagline {
    display: none;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .swatches-row {
    gap: 0.35rem;
    padding: 0.65rem 0.35rem;
  }

  .swatch-color-circle {
    width: 32px;
    height: 32px;
  }

  .swatch-name {
    font-size: 0.66rem;
  }

  .swatch-role {
    font-size: 0.56rem;
  }

  .swatch-hex {
    font-size: 0.6rem;
  }
}



