/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

/* Remove default theme side gutters on wide screens */
.site,
.site-content,
.inside-article,
.inside-page-header,
.inside-header,
.inside-top-bar,
.grid-container,
.grid-parent,
.wp-site-blocks {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Ensure full-bleed sections match the reference site */
main,
.site-main,
.content-area,
.content-area .site-main,
.wp-block-group {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

header {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: auto;
  background: #fff;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
}

.mobile-menu-toggle .menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #2c3e50;
  margin: 2px 0;
}

/* Top ribbon */
.top-ribbon {
  background: #2c3e50;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.top-ribbon .container {
  padding: 8px 30px;
  text-align: center;
  transition: padding 0.2s ease;
}

.ribbon-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  color: inherit;
}

body.is-scrolled .top-ribbon {
  max-height: 0;
  opacity: 0;
}

body.is-scrolled .top-ribbon .container {
  padding-top: 0;
  padding-bottom: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding-top: 14px;
  margin: 0 auto;
  text-align: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d4a373;
}

.nav-links li {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  z-index: 2000;
}

.submenu li {
  list-style: none;
}

.submenu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.submenu a:hover {
  background: #f8f8f8;
  color: #d4a373;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  display: block;
}

.nav-buttons {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid #2c3e50;
  border-radius: 999px;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s;
}

.icon-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.icon-button .dashicons {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.desktop-only {
  display: inline-flex;
}

.mobile-only {
  display: none;
}

.nav-overlay {
  display: none;
}

.btn {
  padding: 10px 25px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline {
  background: transparent;
  border: 2px solid #2c3e50;
  color: #2c3e50;
}

.btn-primary {
  background: #d4a373;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.hero {
  height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), #c4b5a0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.stats {
  padding: 60px 0;
  background: #f8f8f8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: #d4a373;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  text-align: center;
  padding: 80px 0 40px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 300;
}

.section-title p {
  color: #666;
  font-size: 16px;
}

.products-section {
  padding: 40px 0 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: #f5f5f5;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 300px;
  background: #ddd;
  position: relative;
}

.product-image::after {
  content: "Product Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-section {
  padding: 80px 0;
  background: #fff;
}

.feature-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  height: 500px;
  background: #ddd;
  position: relative;
}

.feature-image::after {
  content: "Feature Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.feature-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 300;
}

.feature-text p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.feature-text ul {
  list-style: none;
  margin: 20px 0;
}

.feature-text ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.feature-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d4a373;
  font-weight: bold;
}

.wardrobe-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.wardrobe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.wardrobe-card {
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.wardrobe-image {
  height: 350px;
  background: #ddd;
  position: relative;
}

.wardrobe-image::after {
  content: "Wardrobe Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.wardrobe-info {
  padding: 25px;
}

.wardrobe-info h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.wardrobe-info .price {
  font-size: 24px;
  color: #d4a373;
  margin-bottom: 15px;
  font-weight: bold;
}

.crafted-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), #e0d5c7;
}

.crafted-section h2 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 2px;
}

.crafted-section p {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.approach-section {
  padding: 80px 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.approach-card {
  text-align: center;
  padding: 30px;
}

.approach-icon {
  width: 80px;
  height: 80px;
  background: #d4a373;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.approach-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.approach-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.partners-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.partner-logo {
  height: 60px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.story-section {
  padding: 80px 0;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  height: 500px;
  background: #ddd;
  position: relative;
}

.story-image::after {
  content: "Story Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #d4a373, #c4936a);
  color: #fff;
}

.cta-section h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-section .btn {
  background: #fff;
  color: #d4a373;
  padding: 15px 40px;
  font-size: 16px;
}

.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 300px;
  background: #ddd;
  position: relative;
}

.gallery-item::after {
  content: "Gallery Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.faq-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  margin-bottom: 15px;
  padding: 25px;
  border-left: 4px solid #d4a373;
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-item p {
  color: #666;
  line-height: 1.8;
}

.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 250px;
  background: #ddd;
  position: relative;
}

.blog-image::after {
  content: "Blog Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #999;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-meta {
  font-size: 12px;
  color: #999;
}

.testimonials-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 5px;
}

.testimonial-rating {
  color: #d4a373;
  font-size: 20px;
  margin-bottom: 15px;
}

.testimonial-text {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: #ddd;
  border-radius: 50%;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 12px;
  color: #999;
}

footer {
  background: #2c3e50;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #d4a373;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #bbb;
  font-size: 14px;
}

/* Colour popup modal: scoped styling to avoid global Bootstrap/theme side effects */
.color-selector-modal {
  --csm-header-padding-y: 8px;
  --csm-row-gap-y: 0.5rem;
  --csm-label-font-size: 12px;
  --csm-input-font-size: 12px;
  --csm-input-height: 34px;
  --csm-info-font-size: 11px;
}

.color-selector-modal .color-selector-modal__header {
  padding-top: var(--csm-header-padding-y) !important;
  padding-bottom: var(--csm-header-padding-y) !important;
}

.color-selector-modal .color-selector-modal__header .row {
  --bs-gutter-y: var(--csm-row-gap-y) !important;
}

.color-selector-modal .color-selector-modal__header .row > .col-md-3 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.color-selector-modal .color-selector-modal__header .form-label {
  font-size: var(--csm-label-font-size) !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

.color-selector-modal .color-selector-modal__header .form-label.fw-bold {
  font-size: 12px !important;
}

.price-calc-download-btn {
  position: fixed;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid #198754;
  border-radius: 6px;
  background: #fff;
  color: #198754;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.price-calc-download-btn:hover {
  background: #198754;
  color: #fff;
}

.product_details .details_wrap .material-preview.needs-color-empty {
  position: relative;
  border: 2px solid #8b0000 !important;
  background: #fff !important;
}

.product_details .details_wrap .material-preview.needs-color-empty img {
  opacity: 0 !important;
}

.product_details .details_wrap .material-preview.needs-color-empty::before,
.product_details .details_wrap .material-preview.needs-color-empty::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 2px;
  background: #8b0000;
  transform-origin: center;
}

.product_details .details_wrap .material-preview.needs-color-empty::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.product_details .details_wrap .material-preview.needs-color-empty::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.color-selector-modal .color-selector-modal__header .form-select,
.color-selector-modal .color-selector-modal__header .form-control {
  min-height: var(--csm-input-height) !important;
  height: var(--csm-input-height) !important;
  font-size: var(--csm-input-font-size) !important;
  padding: 4px 8px !important;
  line-height: 1.2 !important;
}

.color-selector-modal .color-selector-modal__header .info_wrap p,
.color-selector-modal .color-selector-modal__header .info_wrap p b {
  font-size: var(--csm-info-font-size) !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 30px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    z-index: 3500;
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    background-image: url('assets/menu_3bars.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .mobile-menu-toggle .menu-bar {
    display: none;
  }

  .site-nav {
    position: relative;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 12px;
  }

  .desktop-only {
    display: inline-flex;
  }

  .mobile-only {
    display: none;
  }

  .logo img {
    height: 20px;
  }

  .logo {
    order: 2;
    margin-left: 32px;
  }

  .nav-buttons {
    order: 1;
    width: 100%;
    justify-content: center;
    margin: 0 0 10px 0;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .feature-content,
  .story-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 82%;
    max-width: 320px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 80px 24px 24px;
    margin: 0;
    text-align: left;
    transition: left 0.25s ease;
    z-index: 3000;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    display: block;
  }

  .submenu {
    position: static;
    display: block;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 6px 0 0 12px;
  }

  .submenu a {
    padding: 8px 0;
    font-size: 14px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2500;
  }

  body.nav-open .nav-links {
    left: 0;
  }

  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .section-title h2 {
    font-size: 32px;
  }
}

