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

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

body {
  padding-top: 50px;
  font-family: 'Crimson Pro', serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: #faf8f5;
}

body.scroll-hidden {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.scroll-hidden::-webkit-scrollbar {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero-section-wrapper {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 350px;
  overflow: hidden;
  background: #1a0a00;
}

.hero-section-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.hero-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-project-image.portrait-mode {
  object-fit: contain;
  background-color: #1a0a00;
}

.hero-text-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 40px;
}

.hero-text-overlay h1 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-text-overlay .hero-address {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(12px, 1.5vw, 16px);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  letter-spacing: 0.5px;
}

.shimmer-wrapper {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e8e0d8 25%, #f0ebe4 50%, #e8e0d8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===== SUCCESS / ERROR MESSAGES ===== */
.success-message {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  animation: slideIn 0.5s ease;
  max-width: 380px;
}

.success-content {
  background: #22c55e;
  color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(34,197,94,0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.success-content i.ri-checkbox-circle-line {
  font-size: 36px;
  align-self: center;
}

.success-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.success-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-align: center;
}

.close-success {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
}

.error-message-banner {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: white;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border-left: 5px solid #dc3545;
  animation: slideDown 0.3s ease;
}

.error-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.error-content i.ri-error-warning-line {
  font-size: 48px;
  color: #dc3545;
}

.error-content h3 {
  margin: 0;
  color: #dc3545;
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
}

.error-content p {
  margin: 0;
  color: #666;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.close-error {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #dc3545;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-error:hover {
  background: #c82333;
  transform: rotate(90deg);
}

@keyframes slideIn {
  from { transform: translateX(400px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideDown {
  from { transform: translate(-50%, -30px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ===== MAIN WRAPPER ===== */
.project-detail-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

/* ===== PROJECT INTRO ===== */
.project-intro {
  margin-bottom: 40px;
}

.category-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-badge {
  background-color: rgba(245,158,11,0.12);
  color: #d97706;
  border: 1px solid #d97706;
}

.commercial-badge {
  background-color: rgba(139,92,246,0.12);
  color: #7c3aed;
  border: 1px solid #7c3aed;
}

.residential-badge {
  background-color: rgba(16,185,129,0.12);
  color: #059669;
  border: 1px solid #059669;
}

.project-intro h1 {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: #1a0a00;
  line-height: 1.15;
  margin-bottom: 6px;
}

.project-intro h1 span {
  color: #c27a1e;
}

.title-rule {
  width: 70px;
  height: 3px;
  background: #c27a1e;
  margin: 14px 0 20px;
  border: none;
}

.project-intro .intro-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  color: #666;
  line-height: 1.7;
  max-width: 680px;
}

/* ===== PHOTO + CONTACT SIDE BY SIDE ROW ===== */
.photo-and-contact-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

/* ===== INTEREAL PHOTO GRID ===== */
.intereal-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.photo-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.photo-top-right {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.photo-bottom-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.photo-cell {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #1a0a00;
  cursor: pointer;
}

.photo-main {
  aspect-ratio: 3/4;
}

.photo-top-right,
.photo-bottom-right {
  aspect-ratio: 4/3;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.photo-cell img.portrait-mode {
  object-fit: contain;
  background-color: #1a0a00;
}

.photo-cell:hover img {
  transform: scale(1.03);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(47,18,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-overlay i {
  color: white;
  font-size: 40px;
}

.photo-cell:hover .photo-overlay {
  opacity: 1;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0ebe4;
  color: #bbb;
  gap: 8px;
}

.photo-placeholder i { font-size: 48px; }
.photo-placeholder p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
}

/* ===== STICKY CONTACT PANEL ===== */
.contact-panel {
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(47,18,0,0.07);
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}

.contact-panel::-webkit-scrollbar {
  display: none;
}

.contact-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a0a00;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-panel-title i {
  color: #c27a1e;
  font-size: 22px;
}

.contact-panel-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  color: #999;
  text-align: center;
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  width: 100%;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  padding: 11px 0;
  border: none;
  border-bottom: 1.5px solid #d4c4b0;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus {
  border-bottom-color: #c27a1e;
}

.contact-form input::placeholder {
  color: #aaa;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.contact-form input.error {
  border-bottom-color: #ef4444;
}

.error-message {
  display: block;
  color: #ef4444;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  margin-top: 4px;
  text-align: left;
}

.phone-hint-project {
  display: block;
  color: #aaa;
  font-size: 10.5px;
  margin-top: 3px;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  text-align: left;
}

.recaptcha-group-project {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0;
}

.recaptcha-group-project .g-recaptcha {
  transform: scale(0.88);
  transform-origin: center;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #2f1200;
  color: white;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #c27a1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194,122,30,0.3);
}

.submit-btn i { font-size: 16px; }

/* ===== PROJECT OVERVIEW (below, full width) ===== */
.project-overview-solo {
  margin-bottom: 80px;
  padding-top: 10px;
}

.project-overview-solo h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a0a00;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.overview-rule {
  width: 50px;
  height: 3px;
  background: #c27a1e;
  border: none;
  margin-bottom: 22px;
}

.overview-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  color: #555;
  line-height: 1.8;
  max-width: 900px;
}

/* ===== LOCATION GALLERY ===== */
.location-gallery {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #ede7df;
}

.location-gallery-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #1a0a00;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c27a1e;
  margin: 12px auto 0;
}

.section-heading p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: 18px;
}

.location-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.location-tab {
  background: #faf8f5;
  border: 1.5px solid #2f1200;
  padding: 11px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2f1200;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 7px;
}

.location-tab:hover {
  border-color: #c27a1e;
  color: #c27a1e;
}

.location-tab.active {
  background: #2f1200;
  color: white;
  box-shadow: 0 3px 10px rgba(47,18,0,0.25);
}

.location-tab i { font-size: 15px; }

.location-gallery-container-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.location-content { display: none; }
.location-content.active { display: block; }

.gallery-slideshow {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  background: #1a0a00;
}

.gallery-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease-in-out;
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-slide img.portrait-mode { object-fit: contain; }
.gallery-slide img:hover { transform: scale(1.015); }

.gallery-controls {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.95);
  padding: 12px 22px;
  border-radius: 50px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
  z-index: 10;
}

.gallery-nav-btn {
  background: #2f1200;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  color: white;
}

.gallery-nav-btn:hover { background: #c27a1e; transform: scale(1.1); }
.gallery-nav-btn i { font-size: 18px; }

.gallery-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2f1200;
  min-width: 52px;
  text-align: center;
}

.gallery-play-pause {
  background: #c27a1e;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  color: white;
}

.gallery-play-pause:hover { background: #2f1200; transform: scale(1.1); }
.gallery-play-pause i { font-size: 16px; }

.gallery-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: thin;
}

.gallery-thumbnails::-webkit-scrollbar { height: 5px; }
.gallery-thumbnails::-webkit-scrollbar-thumb { background: #c27a1e; border-radius: 3px; }

.thumbnail {
  min-width: 90px;
  height: 62px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.25s;
  flex-shrink: 0;
}

.thumbnail:hover { border-color: #c27a1e; }
.thumbnail.active { border-color: #2f1200; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.no-images-message {
  text-align: center;
  padding: 70px 20px;
  color: #bbb;
}

.no-images-message i { font-size: 56px; display: block; margin-bottom: 16px; }
.no-images-message p { font-family: 'Montserrat', sans-serif; font-size: 14px; }

/* ===== LIGHTBOX ===== */
.image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

.image-lightbox.active { display: flex; }

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.25s ease;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.3s;
  z-index: 10001;
}

.lightbox-close:hover { background: #e74c3c; color: white; transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 26px;
  color: #2f1200;
  transition: all 0.25s;
  z-index: 10001;
}

.lightbox-nav:hover { background: #c27a1e; color: white; transform: translateY(-50%) scale(1.1); }
.lightbox-nav.prev { left: 25px; }
.lightbox-nav.next { right: 25px; }
.lightbox-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.lightbox-nav:disabled:hover { background: rgba(255,255,255,0.9); color: #2f1200; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  padding: 8px 22px;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2f1200;
  z-index: 10001;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== RELATED PROJECTS ===== */
.related-projects {
  padding: 80px 40px;
  background: #faf8f5;
  border-top: 1px solid #ede7df;
}

.related-container {
  max-width: 1300px;
  margin: 0 auto;
}

.related-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #1a0a00;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.title-underline {
  display: block;
  width: 60px;
  height: 3px;
  background: #c27a1e;
  margin: 12px auto 0;
}

.related-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #888;
  text-align: center;
  margin: 20px 0 50px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.related-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  border: 1px solid #ede7df;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.related-image {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.related-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.related-image .hover-img { opacity: 0; }
.related-card:hover .related-image .default-img { opacity: 0; }
.related-card:hover .related-image .hover-img { opacity: 1; }

.related-overlay {
  position: absolute;
  inset: 0;
  background: rgba(47,18,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.related-overlay i { color: white; font-size: 34px; }
.related-card:hover .related-overlay { opacity: 1; }

.related-content { padding: 18px 20px; }

.related-content h3 {
  font-family: 'Crimson Pro', serif;
  font-size: 20px;
  color: #1a0a00;
  margin-bottom: 7px;
}

.related-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all-container { text-align: center; }

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 34px;
  background: #2f1200;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.view-all-btn:hover { background: #c27a1e; transform: translateY(-2px); }
.view-all-btn i { font-size: 17px; }

/* ===== TOP MODULARS ===== */
.top-modular-cabinets {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #ede7df;
}

.top-modular-cabinets .box {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #1a0a00;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c27a1e;
  margin: 12px auto 0;
}

.section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #888;
  margin-top: 18px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-arrow {
  background: #2f1200;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  flex-shrink: 0;
  transition: all 0.25s;
  z-index: 2;
}

.carousel-arrow:hover { background: #c27a1e; }
.carousel-arrow i { font-size: 22px; }

.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px 4px;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.products-carousel::-webkit-scrollbar { display: none; }

.product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #faf8f5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ede7df;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

.product-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #fff;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image { transform: scale(1.04); }

.product-category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #2f1200;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
}

.product-info { padding: 16px; }

.product-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: #c27a1e;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.product-name {
  font-family: 'Crimson Pro', serif;
  font-size: 18px;
  color: #1a0a00;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.detail-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-item i { font-size: 13px; color: #c27a1e; }

.view-details-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 0;
  background: #2f1200;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
}

.view-details-btn:hover { background: #c27a1e; }
.view-details-btn i { font-size: 14px; }

.view-all-wrapper { text-align: center; margin-top: 40px; }

.no-products-message {
  text-align: center;
  padding: 60px 20px;
  color: #bbb;
}

.no-products-message i { font-size: 56px; display: block; margin-bottom: 16px; }
.no-products-message p { font-family: 'Montserrat', sans-serif; font-size: 14px; margin-bottom: 20px; }

.browse-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #2f1200;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
}

.browse-btn:hover { background: #c27a1e; }

/* ===== DROPDOWN ===== */
.dropdown { position: relative; }
.dropdown > a { display: inline-block; cursor: pointer; }

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 280px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1100;
  border-radius: 6px;
  padding: 0.5rem 0;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #202020;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  white-space: normal;
  line-height: 1.4;
  transition: background-color 0.3s;
}

.dropdown-content a:hover { background-color: #f7f7f7; color: #e4a314; }
.dropdown:hover .dropdown-content { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .photo-and-contact-row {
    grid-template-columns: 1fr 340px;
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .photo-and-contact-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 768px) {
  .project-detail-wrapper { padding: 36px 20px 50px; }

  .intereal-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-main {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    aspect-ratio: 4/3;
  }

  .photo-top-right {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .photo-bottom-right {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .gallery-slideshow { height: 380px; }
  .location-gallery-container { padding: 0 20px; }
  .related-projects { padding: 60px 20px; }
  .top-modular-cabinets .box { padding: 0 20px; }

  .carousel-arrow { display: none; }

  .lightbox-nav { width: 46px; height: 46px; font-size: 22px; }
  .lightbox-nav.prev { left: 12px; }
  .lightbox-nav.next { right: 12px; }
}

@media (max-width: 480px) {
  .project-detail-wrapper { padding: 28px 16px 40px; }
  .gallery-slideshow { height: 280px; }
  .hero-section-wrapper { height: 42vh; min-height: 260px; }

  .recaptcha-group-project .g-recaptcha {
    transform: scale(0.78);
    transform-origin: center;
  }

  .contact-panel { padding: 26px 20px; }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-section-wrapper { height: 60vh; }
}