/* Site fixes: repairs styles lost in the static export and improves small-screen layout */

html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* Desktop menu is hidden until the theme script measures it; keep it visible if that never runs */
#navigation #smoothmenu1 ul.pages { visibility: visible !important; position: relative !important; float: none !important; }

/* Logo image was not exported – show the artist name instead */
#header .logo-slogan.image,
#mobile_navigation .scrolling-logo { display: block; text-decoration: none; }
#header .logo-slogan.image::before,
#mobile_navigation .scrolling-logo::before {
  content: "Charles Perez Art";
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  color: #111;
  white-space: nowrap;
  padding: 18px 0;
}
#mobile_navigation .scrolling-logo::before { font-size: 18px; padding: 12px 0; }

/* Gallery tiles: images were not exported – show a neutral placeholder tile */
#product_gallery .photo-inner-container a {
  display: block;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #f3f1ee 0%, #e4e0da 100%);
  position: relative;
  overflow: hidden;
}
#product_gallery .tile-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .12em; line-height: 1.4;
  color: #f4f1ec;
}
#product_gallery .product-container:nth-child(4n+1) .photo-inner-container a { background: linear-gradient(160deg, #3a3a3c 0%, #121214 100%); }
#product_gallery .product-container:nth-child(4n+2) .photo-inner-container a { background: linear-gradient(160deg, #8c7a64 0%, #4a3e31 100%); }
#product_gallery .product-container:nth-child(4n+3) .photo-inner-container a { background: linear-gradient(160deg, #6f7b62 0%, #343d2e 100%); }
#product_gallery .product-container:nth-child(4n+4) .photo-inner-container a { background: linear-gradient(160deg, #4b5563 0%, #1d232b 100%); }
#product_gallery .photo-inner-container a:hover .tile-label { text-decoration: underline; text-underline-offset: 6px; }
#product_gallery .album-title { text-align: center; padding: 12px 4px 28px; }
#product_gallery .album-title a { color: #111; letter-spacing: .08em; font-size: 14px; }

#content_area .headline h1 { margin: 30px 0 20px; }

/* Billboard: the slider images were not exported – show a static hero instead of empty slides */
.home-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(360px, 62vh, 620px);
  padding: 60px 24px 150px;
  text-align: center; color: #fff;
  background: radial-gradient(ellipse at 30% 20%, #4a4540 0%, #1c1a18 55%, #0d0c0b 100%);
}
.home-hero__eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .35em; text-transform: uppercase; color: #cfc6b8; }
.home-hero__title { margin: 0; color: #fff; font-family: "Libre Baskerville", Georgia, serif; font-weight: 400; font-size: clamp(34px, 6vw, 68px); line-height: 1.1; }
.home-hero__series { margin: 18px 0 0; font-size: 15px; letter-spacing: .12em; color: #e6e0d6; }
#billboard_area .billboard-wrapper .callout-global { top: auto; bottom: 40px; transform: translateX(-50%); opacity: 1 !important; padding: 0; }


/* Footer */
#footer .footer-v2-columns-wrapper { display: flex; flex-wrap: wrap; gap: 24px 0; }
#footer .footer-v2-columns-wrapper > .column,
#footer #footer-lct-form-container { float: none; }

/* Tablet */
@media (max-width: 58.74em) {
  #content_area .headline h1 { font-size: 30px !important; text-align: center !important; }
  #product_gallery .product-container.four-columns { width: 50% !important; float: left; }
  #product_gallery .product-container.four-columns:nth-child(2n+1) { clear: left; }
  #footer .footer-v2-columns-wrapper > .column { width: 33.333% !important; }
  #footer #footer-lct-form-container,
  #footer #footer-lct-form-container > .column { width: 100% !important; }
  .trust-bar { flex-wrap: wrap; }
}

/* Phone */
@media (max-width: 40em) {
  .row.wrap, .row { max-width: 100%; }
  .columns { padding-left: 10px; padding-right: 10px; }
  #content_area .headline h1 { font-size: 26px !important; }
  #product_gallery .product-container.four-columns { padding: 0 6px !important; }
  #product_gallery .album-title a { font-size: 12px; }
  #footer .footer-v2-columns-wrapper > .column { width: 50% !important; }
  #footer .footer-area-inner p,
  #footer .footer-area-inner li,
  #footer .footer-area-inner a { font-size: 15px !important; }
  #footer .news-subscription-email { width: 100%; }
  .trust-bar__head, .trust-bar__list { width: 100%; text-align: center; }
  .trust-bar__item { width: 100%; }
  .home-hero { padding: 48px 18px 120px; }
  .home-hero__series { font-size: 13px; }
}
