/*
Theme Name: PrintMax Storefront Child
Theme URI: https://printmaxsurrey.ca/
Description: Brand-faithful WooCommerce storefront for PrintMax Design & Print.
Author: Cedarwork Studio
Template: storefront
Version: 1.0.1
Text Domain: printmax
*/

:root {
  --pm-ink: #202124;
  --pm-muted: #62656a;
  --pm-paper: #fffdf9;
  --pm-soft: #f6f4ef;
  --pm-line: #e6e1d8;
  --pm-violet: #7234c7;
  --pm-magenta: #d520b5;
  --pm-orange: #ff7a29;
  --pm-lime: #9bd621;
  --pm-blue: #244dce;
  --pm-radius: 18px;
  --pm-shadow: 0 18px 55px rgba(32, 33, 36, .10);
}

* { box-sizing: border-box; }
body { color: var(--pm-ink); background: var(--pm-paper); font-family: Inter, "Segoe UI", Arial, sans-serif; }
.coming-soon-footer-banner { display: none !important; }
a { color: var(--pm-violet); }
.site { overflow: visible; background: var(--pm-paper); }
.col-full { max-width: 1240px; padding-inline: 24px; }

/* Storefront's default templates rely on a parent wrapper our custom header omits. */
.site > .content-area { float: none; width: 100%; max-width: 1240px; margin: 0 auto; padding: 72px 24px 96px; }
.site > .content-area .site-main { margin: 0; }
.site .page .entry-header { border: 0; margin: 0 0 28px; padding: 0; }
.site .page .entry-title { margin: 0; color: var(--pm-ink); font-size: clamp(44px, 5vw, 68px); font-weight: 900; line-height: 1.05; letter-spacing: -.045em; }
.site .page .entry-content { max-width: 850px; color: var(--pm-ink); font-size: 18px; line-height: 1.7; }
.site .page .entry-content h2 { margin: 0 0 18px; color: var(--pm-ink); font-size: clamp(27px, 3vw, 36px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.site .page .entry-content p { margin: 0 0 26px; }
.site .page .entry-content a { color: var(--pm-violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site .page .entry-content strong { color: var(--pm-ink); }
.site .page .edit-link { margin-top: 38px; font-size: 13px; }

.pm-contact-view #page { background: linear-gradient(125deg, #fffdfa 0%, #fbf8f5 100%); }
.pm-contact-view .site > .content-area { max-width: 1320px; padding: clamp(76px, 7vw, 122px) 56px 136px; }
.pm-contact-view .site .page .entry-header { margin-bottom: 20px; }
.pm-contact-view .site .page .entry-title { color: var(--pm-violet); font-size: 13px; font-weight: 900; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; }
.pm-contact-view .site .page .entry-content { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .82fr); column-gap: clamp(48px, 7vw, 112px); align-items: start; }
.pm-contact-view .site .page .entry-content > h2 { grid-column: 1; grid-row: 1; max-width: 620px; margin: 0 0 28px; font-size: clamp(42px, 4.4vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -.045em; }
.pm-contact-view .site .page .entry-content > p { grid-column: 1; grid-row: 2; max-width: 590px; margin: 0; color: var(--pm-muted); font-size: 19px; line-height: 1.75; }
.pm-contact-card { grid-column: 2; grid-row: 1 / span 2; padding: 42px; background: #fff; border: 1px solid #ebe6e0; border-radius: 24px; box-shadow: 0 22px 65px rgba(32, 33, 36, .055); }
.pm-contact-view .site .page .entry-content .pm-contact-card__eyebrow { margin: 0 0 10px; color: var(--pm-violet); font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.pm-contact-view .site .page .entry-content .pm-contact-card h3 { margin: 0 0 32px; color: var(--pm-ink); font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.pm-contact-card__row { display: flex; flex-direction: column; gap: 5px; padding: 18px 0; border-top: 1px solid var(--pm-line); }
.pm-contact-card__row span { color: var(--pm-muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pm-contact-card__row a { width: fit-content; color: var(--pm-ink) !important; font-size: 18px; font-weight: 700; text-decoration: none !important; }
.pm-contact-card__row a:hover { color: var(--pm-violet) !important; }

.pm-staging-bar { background: var(--pm-ink); color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; letter-spacing: .04em; }
.pm-header { position: sticky; top: 0; z-index: 999; background: rgba(255,253,249,.97); border-bottom: 1px solid var(--pm-line); backdrop-filter: blur(12px); }
.pm-header__inner { max-width: 1240px; min-height: 86px; margin: auto; padding: 12px 24px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 28px; }
.pm-logo img { display: block; width: 210px; max-height: 62px; object-fit: contain; object-position: left center; }
.pm-nav { display: flex; justify-content: center; gap: 24px; align-items: center; }
.pm-nav > a, .pm-shop-trigger { color: var(--pm-ink); font-weight: 800; font-size: 13px; letter-spacing: .035em; text-transform: uppercase; text-decoration: none; }
.pm-shop { position: relative; }
.pm-shop-trigger { padding: 18px 0; background: none; border: 0; cursor: pointer; }
.pm-shop-trigger::after { content: "⌄"; padding-left: 5px; }
.pm-mega { position: absolute; top: calc(100% - 2px); left: 50%; transform: translateX(-50%); width: min(960px, 86vw); padding: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; background: #fff; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); box-shadow: var(--pm-shadow); opacity: 0; visibility: hidden; translate: 0 8px; transition: .18s ease; }
.pm-shop:hover .pm-mega, .pm-shop:focus-within .pm-mega { opacity: 1; visibility: visible; translate: 0 0; }
.pm-mega__group h3 { margin: 0 0 10px; font-size: 16px; }
.pm-mega__group a { display: block; padding: 4px 0; color: var(--pm-muted); text-decoration: none; font-size: 14px; }
.pm-mega__group a:hover { color: var(--pm-violet); }
.pm-actions { display: flex; gap: 10px; }
.pm-actions a { width: 40px; height: 40px; border: 1px solid var(--pm-line); border-radius: 50%; display: grid; place-items: center; color: var(--pm-ink); text-decoration: none; }
.pm-mobile-toggle { display: none; }

.pm-hero { min-height: 650px; display: grid; align-items: center; background: radial-gradient(circle at 82% 25%, rgba(213,32,181,.17), transparent 31%), radial-gradient(circle at 75% 72%, rgba(155,214,33,.18), transparent 28%), linear-gradient(135deg, #fff 0%, #fbf7ff 54%, #fff9ed 100%); }
.pm-hero__inner { max-width: 1240px; margin: auto; padding: 82px 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.pm-eyebrow { color: var(--pm-violet); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.pm-hero h1 { max-width: 760px; margin: 14px 0 22px; font-size: clamp(46px, 6.5vw, 84px); font-weight: 900; line-height: .96; letter-spacing: -.055em; }
.pm-hero p { max-width: 650px; color: var(--pm-muted); font-size: 19px; line-height: 1.65; }
.pm-hero__art { min-height: 460px; border-radius: 40px; background: linear-gradient(135deg, var(--pm-violet), var(--pm-magenta) 38%, var(--pm-orange) 67%, #ffd85b); box-shadow: var(--pm-shadow); position: relative; overflow: hidden; }
.pm-hero__art::before, .pm-hero__art::after { content: ""; position: absolute; border-radius: 50%; border: 55px solid rgba(255,255,255,.33); }
.pm-hero__art::before { width: 330px; height: 330px; right: -55px; top: -45px; }
.pm-hero__art::after { width: 260px; height: 260px; left: -85px; bottom: -75px; border-color: rgba(155,214,33,.78); }
.pm-hero__art img { position: absolute; width: 68%; left: 16%; top: 18%; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.88); filter: drop-shadow(0 25px 40px rgba(0,0,0,.16)); }
.pm-button, .button.alt, .wc-block-components-button:not(.is-link) { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 0; border-radius: 999px; background: var(--pm-ink); color: #fff !important; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.pm-button--colour { background: linear-gradient(100deg, var(--pm-violet), var(--pm-magenta), var(--pm-orange)); }
.pm-hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.pm-section { max-width: 1240px; margin: auto; padding: 84px 24px; }
.pm-section__head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.pm-section h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.pm-section__head p { max-width: 520px; margin: 0; color: var(--pm-muted); }
.pm-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pm-category-card { min-height: 240px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--pm-line); border-radius: var(--pm-radius); color: var(--pm-ink); text-decoration: none; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.pm-category-card:hover { transform: translateY(-4px); box-shadow: var(--pm-shadow); }
.pm-category-card span { font-weight: 900; font-size: 24px; }
.pm-category-card small { color: var(--pm-muted); line-height: 1.5; }
.pm-category-card:nth-child(1) { background: #f5efff; }
.pm-category-card:nth-child(2) { background: #fff0f8; }
.pm-category-card:nth-child(3) { background: #fff4eb; }
.pm-category-card:nth-child(4) { background: #f2f7ff; }
.pm-category-card:nth-child(5) { background: #fbf5ff; }
.pm-category-card:nth-child(6) { background: #f4fae8; }
.pm-proof { background: var(--pm-ink); color: #fff; }
.pm-proof__inner { max-width: 1240px; margin: auto; padding: 76px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.pm-proof h2 { color: #fff; font-size: clamp(36px, 4vw, 58px); line-height: 1.05; }
.pm-proof p { color: #d6d6d6; font-size: 18px; line-height: 1.7; }

.site-footer { background: #17181b; color: #d7d7d7; padding: 60px 0 32px; }
.pm-footer { max-width: 1240px; margin: auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.pm-footer__brand { align-self: start; }
.site-footer .pm-footer img { display: block; width: 244px; max-width: 100%; height: auto; padding: 14px; border-radius: 16px; background: #fff; filter: none; opacity: 1; }
.pm-footer h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer .pm-footer a { color: #d7d7d7 !important; text-decoration: none; display: block; margin: 8px 0; }
.site-footer .pm-footer a:hover { color: #fff !important; }
.pm-footer__base { max-width: 1240px; margin: 42px auto 0; padding: 24px 24px 0; border-top: 1px solid #34363b; font-size: 13px; color: #9c9da1; }

.woocommerce-products-header, .storefront-breadcrumb { background: var(--pm-soft); }
.site-main ul.products li.product { padding: 18px; background: #fff; border: 1px solid var(--pm-line); border-radius: 16px; }
.site-main ul.products li.product img { border-radius: 11px; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--pm-violet); }

@media (max-width: 980px) {
  .pm-contact-view .site > .content-area { padding: 76px 28px 96px; }
  .pm-contact-view .site .page .entry-content { grid-template-columns: 1fr; gap: 36px; }
  .pm-contact-view .site .page .entry-content > h2,
  .pm-contact-view .site .page .entry-content > p,
  .pm-contact-card { grid-column: 1; grid-row: auto; }
  .pm-contact-card { max-width: 590px; }
  .pm-header__inner { min-height: 78px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .pm-logo { grid-column: 1; grid-row: 1; min-width: 0; }
  .pm-mobile-toggle { display: grid; grid-column: 3; grid-row: 1; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; font-size: 26px; line-height: 1; }
  .pm-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; padding: 24px; background: #fff; border-bottom: 1px solid var(--pm-line); flex-direction: column; align-items: stretch; }
  .pm-nav.is-open { display: flex; }
  .pm-mega { position: static; transform: none; width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); opacity: 1; visibility: visible; translate: none; box-shadow: none; margin-top: 10px; display: none; }
  .pm-shop:focus-within .pm-mega { display: grid; }
  .pm-actions { grid-column: 2; grid-row: 1; gap: 8px; margin-right: 0; }
  .pm-hero__inner, .pm-proof__inner { grid-template-columns: 1fr; }
  .pm-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .pm-contact-view .site > .content-area { padding: 58px 18px 76px; }
  .pm-contact-view .site .page .entry-content > h2 { font-size: clamp(39px, 10vw, 52px); }
  .pm-contact-view .site .page .entry-content > p { font-size: 17px; }
  .pm-contact-card { padding: 28px; }
  .site > .content-area { padding: 50px 18px 68px; }
  .pm-header__inner { padding-inline: 16px; }
  .pm-logo img { width: 150px; }
  .pm-actions a { width: 38px; height: 38px; }
  .pm-actions a:first-child { display: none; }
  .pm-hero { min-height: auto; }
  .pm-hero__inner { padding: 58px 18px; gap: 35px; }
  .pm-hero__art { min-height: 320px; }
  .pm-section { padding: 62px 18px; }
  .pm-section__head { display: block; }
  .pm-section__head p { margin-top: 16px; }
  .pm-category-grid, .pm-footer { grid-template-columns: 1fr; }
  .pm-mega { grid-template-columns: 1fr; max-height: 58vh; overflow: auto; }
}

