/* Logo (Site Title) */
.site-title, .wp-block-site-title {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* Force single-line title for the Portfolio page only */
.no-wrap-title {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  line-height: 1.1 !important;
}

/* Keep it fitting on small screens */
@media (max-width: 768px) {
  .no-wrap-title {
    font-size: clamp(22px, 6vw, 34px) !important;
    letter-spacing: 0 !important;
    margin-right: 0 !important;
  }
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
}

/* Body text */
body, p, li, span {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.6;
}

/* Nav (we already fixed this but to unify) */
.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__label {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
}


/* === Layout Container === */
#outfit-generator-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* === Left: Form Section === */
#outfit-generator-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#outfit-generator-form textarea {
    width: 100%;
    max-width: 220px;
    height: 70px;
    padding: 12px;
    border: 2px solid black;
    font-size: 14px;
    border-radius: 0;
    background: white;
    resize: none;
}

#outfit-generator-form button {
    background: black;
    color: white;
    font-size: 16px;
    padding: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
    max-width: 220px;
}

#outfit-generator-form button:hover {
    background: #333;
}

/* === Center: Outfit Display Section === */
#outfit-display {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border: 2px solid black;
    padding: 20px;
    min-height: 500px; /* increased height */
    max-height: none;  /* remove constraint */
}

/* Main outfit frame */
#outfit-results {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-flow: dense;
    gap: 20px;
    justify-content: center;
    align-items: start;
    padding: 10px;
    background: white;
    overflow: hidden; /* removes internal scroll */
}

/* Outfit items – clean and spaced */
.outfit-item {
    text-align: center;
    max-width: 140px;
    margin: 0 auto;
}

.outfit-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    border: none;
}

/* === Right: Weather & Details Section === */
#extra-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#weather-widget, #outfit-details {
    background: white;
    padding: 10px;
    border: 2px solid black;
    text-align: center;
}

#outfit-details ul {
    list-style-type: none;
    padding-left: 0;
    display: none;
}

#outfit-list li {
    font-size: 16px;
    margin-bottom: 5px;
}

.extra-buttons-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.extra-button {
    width: 48%;
    background: black;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.extra-button:hover {
    background: #333;
}

/* Modal Overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* Modal Box */
.modal-box {
  background: white;
  border: 2px solid black;
  padding: 20px;
  width: 360px; /* slightly wider */
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
}

/* Input Field */
.modal-box input[type="text"] {
  width: 95%;
  padding: 10px;
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

/* Button Row (flex right) */
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* OK and Cancel Buttons */
.btn-ok {
  background: black;
  color: white;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: bold;
}

.btn-cancel {
  background: #444;
  color: white;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
}

.placeholder-text,
.placeholder-details {
  font-style: italic;
  color: #666;
  text-align: center;
  font-size: 14px;
  padding: 20px;
}
.nav-button {
  display: inline-block;
  padding: 10px 16px;
  margin: 10px 0;
  background-color: black;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  min-width: 160px;
  border: none;
  border-radius: 0 !important; /* force square corners */
}

.saved-outfit {
  border-radius: 0 !important; /* square corners for outfit boxes */
}


.nav-button:hover {
  background-color: #333;
}

/* Generator page: position View Saved Outfits under the buttons */
#generate-btn + .nav-button {
  margin-top: 12px;
}

/* Saved outfits page: align Create New Outfit to the right */
.create-outfit-container {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* --- Museboard Homepage Grid Only --- */
.museboard-homegrid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1%;
  margin: 0 auto;
  max-width: 1200px;
}

.museboard-homegrid .wp-block-column {
  margin: 0 !important;
  padding: 0 !important;
}

.museboard-homegrid img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
	margin-top: 2%;
	margin-bottom: 2%;
	border: 1px solid rgba(0,0,0,0.05);
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
 
/*---Pop Up Newsletter---*/
/* Popup overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-sizing: border-box;
}

/* Popup box */
.popup-box {
  position: relative;
  background: #fff;
  border: 1px solid #000;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

/* Headline */
.popup-box h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

/* Subtext */
.popup-box p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  margin-bottom: 1rem;
}

/* Form */
.popup-box form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Email input */
.popup-box input[type="email"] {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #000;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: 0;
  box-sizing: border-box; /* fixes sizing */
}

/* Subscribe button */
.popup-box button {
  width: 100%;
  padding: 0.7rem;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.popup-box button:hover {
  background: #333;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .popup-box {
    max-width: 90%;  /* force smaller box */
    padding: 1.5rem 1rem; /* reduce padding */
  }
}

/* Intake Form Placeholder Italic*/
.custom-placeholder::placeholder {
  font-style: italic;
}

/* Hide title on Booking Page only */
.page-id-56 .wp-block-post-title {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  h1.page-title, .entry-title, .portfolio-title {
    font-size: clamp(24px, 6vw, 36px);
    white-space: nowrap;
    line-height: 1.1;
    word-break: keep-all;
  }
}

/* Make all outline buttons use a black border */
.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: #000000 !important;
    color: #000000 !important;
}

/* Ensure the background stays white for outline buttons */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: #ffffff !important;
}

/* Button hover state — optional */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    border-color: #000000 !important;
    background-color: #f7f7f7 !important; /* soft grey hover */
}

/* Constrain page content inside block themes */
.page .wp-site-blocks > * {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
/* Constrain blog post content inside wp-site-blocks */
.single .wp-site-blocks > * {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
