/*
Theme Name: Euro & Dollar Prop Studio
Theme URI: https://banknotesssdchemicalsolution.com/
Author: Custom Storefront Build
Author URI: https://banknotesssdchemicalsolution.com/
Description: A fully editable WordPress block theme for a compliant euro and US-dollar prop studio, with one-page navigation, an editable horizontal image/video gallery, WooCommerce support, editable header and footer, and mobile-first layouts.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: euro-prop-studio
Tags: block-patterns, full-site-editing, e-commerce, one-column, custom-colors, custom-logo, editor-style, wide-blocks
*/

:root {
  --eps-ink: #121212;
  --eps-charcoal: #1b1b1d;
  --eps-cream: #f4efe3;
  --eps-paper: #fffdf8;
  --eps-gold: #c99a38;
  --eps-gold-dark: #8e671d;
  --eps-muted: #6c675d;
  --eps-line: rgba(18,18,18,.12);
  --eps-radius: 22px;
  --eps-shadow: 0 24px 70px rgba(18,18,18,.12);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.wp-site-blocks { min-height: 100vh; }

.eps-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.admin-bar .eps-site-header { top: 32px; }

.eps-site-header .wp-block-navigation a {
  text-decoration: none;
  transition: color .2s ease;
}

.eps-site-header .wp-block-navigation a:hover { color: var(--eps-gold); }

.eps-button .wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  padding: .9rem 1.35rem !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.eps-button .wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(201,154,56,.23);
}

.epps-section {
  scroll-margin-top: 96px;
  position: relative;
}

.epps-section-inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.epps-section.epps-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(201,154,56,.24), transparent 34%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.08), transparent 28%),
    var(--eps-charcoal);
  color: white;
  overflow: hidden;
}

.epps-hero .epps-section-inner { width: 100%; }

.eps-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--eps-gold);
}

.eps-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eps-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--eps-paper);
  border: 1px solid var(--eps-line);
  border-radius: var(--eps-radius);
  box-shadow: 0 14px 45px rgba(18,18,18,.08);
  overflow: hidden;
}

.eps-card { padding: clamp(22px, 4vw, 42px); }

.eps-soft-section { background: var(--eps-cream); }
.eps-dark-section { background: var(--eps-charcoal); color: white; }

.eps-section-heading { max-width: 760px; }
.eps-section-heading h2 { text-wrap: balance; }

.eps-feature-grid .wp-block-column {
  border: 1px solid var(--eps-line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  padding: 24px;
}

.eps-icon-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--eps-gold);
  color: var(--eps-ink);
  font-weight: 900;
}

.eps-policy-callout {
  border-left: 4px solid var(--eps-gold);
  background: rgba(201,154,56,.10);
  padding: 18px 20px;
  border-radius: 0 14px 14px 0;
}

.epps-global-notice {
  background: #f7e6ac;
  color: #2f260f;
  text-align: center;
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 18px;
}

.epps-currency-group + .epps-currency-group { margin-top: 64px; }
.epps-currency-heading { margin-bottom: 24px; max-width: 760px; }
.epps-currency-heading h3 { margin: 0 0 6px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.epps-currency-heading p { margin: 0; color: var(--eps-muted); }

.epps-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.epps-product-card {
  background: var(--eps-paper);
  border: 1px solid var(--eps-line);
  border-radius: var(--eps-radius);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(18,18,18,.08);
  display: flex;
  flex-direction: column;
}

.epps-product-image-wrap {
  aspect-ratio: 4 / 3;
  background: #e9e3d5;
  position: relative;
  overflow: hidden;
}

.epps-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.epps-product-card:hover .epps-product-image-wrap img { transform: scale(1.03); }

.epps-prop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.epps-product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.epps-product-title { margin: 0 0 8px; font-size: 1.2rem; }
.epps-product-title a { color: inherit; text-decoration: none; }
.epps-product-excerpt { color: var(--eps-muted); font-size: .95rem; margin-bottom: 18px; }
.epps-product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.epps-product-price { font-size: 1.15rem; font-weight: 900; }

.epps-product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--eps-gold);
  color: var(--eps-ink);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 15px;
}

.epps-product-button:hover { background: #d9ad50; }

.epps-empty-products {
  padding: 28px;
  border: 1px dashed rgba(18,18,18,.25);
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.5);
}

.epps-compliance-box {
  background: #fff9e8;
  border: 1px solid #e6ca79;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  color: #3d3216;
}

.epps-compliance-box strong { display: block; margin-bottom: 4px; }

.woocommerce ul.products { gap: 24px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { padding: 0 0 22px; margin: 0 !important; }
.woocommerce ul.products li.product a img { margin: 0 0 18px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { margin-left: 20px !important; margin-right: 20px !important; }
.woocommerce ul.products li.product .price { color: var(--eps-gold-dark) !important; font-weight: 900 !important; }
.woocommerce div.product { padding-block: 40px; }
.woocommerce div.product div.images img { border-radius: var(--eps-radius); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3.4rem); }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { border-radius: 14px; border-top: 0 !important; }

.eps-site-footer a { color: inherit; }
.eps-site-footer .wp-block-navigation a:hover { color: var(--eps-gold); }

@media (max-width: 900px) {
  .epps-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eps-site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--eps-charcoal);
    color: white;
    padding: 28px;
  }
}

@media (max-width: 782px) {
  .admin-bar .eps-site-header { top: 46px; }
  .eps-site-header { padding-inline: 18px !important; }
}

@media (max-width: 640px) {
  .epps-section-inner { width: min(100% - 28px, 1180px); }
  .epps-product-grid { grid-template-columns: 1fr; }
  .epps-product-footer { align-items: flex-start; flex-direction: column; }
  .epps-product-button { width: 100%; }
  .eps-site-footer .wp-block-columns { gap: 26px; }
}

.home .wp-block-post-content > .wp-block-shortcode { max-width: none !important; margin-block: 0 !important; }
.home .wp-block-post-content { margin-top: 0 !important; }


/* Version 1.2.1: full-width standalone page layout repair.
 * WordPress constrains post content to the normal reading width by default.
 * The storefront section pages need the theme's wide width so product and
 * gallery grids are not compressed into a narrow column in the centre.
 */
body.page:not(.home) main.wp-block-group {
  width: 100%;
  max-width: none;
}

body.page:not(.home) main.wp-block-group > .wp-block-post-title,
body.page:not(.home) main.wp-block-group > .wp-block-post-content {
  width: min(1180px, 100%);
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page:not(.home) .wp-block-post-content > .wp-block-group,
body.page:not(.home) .wp-block-post-content > .wp-block-shortcode,
body.page:not(.home) .wp-block-post-content .alignwide {
  max-width: 1180px !important;
}

body.page:not(.home) .wp-block-post-content .epps-product-grid,
body.page:not(.home) .wp-block-post-content .epps-gallery,
body.page:not(.home) .wp-block-post-content .epps-gallery-viewport {
  width: 100%;
  max-width: none;
}

/* Keep product cards balanced and prevent long titles/buttons from squeezing. */
.epps-product-grid { align-items: stretch; }
.epps-product-card { min-width: 0; height: 100%; }
.epps-product-title,
.epps-product-excerpt { overflow-wrap: anywhere; }
.epps-product-footer { flex-wrap: wrap; }

@media (min-width: 901px) {
  body.page:not(.home) .epps-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.page:not(.home) main.wp-block-group > .wp-block-post-title,
  body.page:not(.home) main.wp-block-group > .wp-block-post-content {
    width: 100%;
  }
}
