/*
Theme Name: Berry Wishes
Theme URI: https://berrywishes.com/
Description: Child theme of GeneratePress for berrywishes.com - free happy birthday images and wishes you personalize in the browser and send from your phone.
Author: Berry Wishes
Template: generatepress
Version: 2.0.7
License: GNU General Public License v2 or later
Text Domain: berrywishes
*/

/* GeneratePress loads this file itself, after its own CSS. */

:root {
	--bw-paper: #FBF7F9;
	--bw-ink: #2A1A2E;
	--bw-muted: #76667A;
	--bw-line: #EADDE4;
	--bw-berry: #9E2A5B;
	--bw-berry-dark: #7E1F48;
	--bw-berry-soft: #F7E3EC;
	--bw-berry-mist: #FDF2F7;
	--bw-leaf: #5E8C61;
	--bw-radius: 22px;
	--bw-shadow: 0 10px 30px rgba(42, 26, 46, .10);
	--bw-font-head: "BW Young Serif", Georgia, serif;
	--bw-font-body: "BW Nunito", "Segoe UI", Arial, sans-serif;
}

@font-face { font-family: "BW Young Serif"; font-weight: 400; font-display: swap; src: url(assets/fonts/youngserif-400.woff2) format("woff2"); }
@font-face { font-family: "BW Nunito"; font-weight: 400; font-display: swap; src: url(assets/fonts/nunito-400.woff2) format("woff2"); }
@font-face { font-family: "BW Nunito"; font-weight: 600; font-display: swap; src: url(assets/fonts/nunito-600.woff2) format("woff2"); }
@font-face { font-family: "BW Nunito"; font-weight: 800; font-display: swap; src: url(assets/fonts/nunito-800.woff2) format("woff2"); }

/* ---------- base ---------- */
html { background: var(--bw-paper); }
html.bw-menu-open { overflow: hidden; }
body { background: var(--bw-paper); color: var(--bw-ink); font-family: var(--bw-font-body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
.site-content, .site-main, .inside-article { background: transparent; }
.separate-containers .inside-article, .one-container .container { padding: 0; }
.site.grid-container, .container.grid-container, .site-content { max-width: 1240px; margin: 0 auto; }
#page { padding: 0 20px; }
h1, h2, h3, h4 { font-family: var(--bw-font-head); font-weight: 400; color: var(--bw-ink); letter-spacing: -.01em; }
a { color: var(--bw-berry); text-decoration: none; }
a:hover { color: var(--bw-berry-dark); }
button { font-family: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* GeneratePress paints every button grey on hover and focus; the theme's buttons keep their own colours. */
.bw-chip:hover, .bw-chip:focus { background: #fff; }
.bw-chip.on:hover, .bw-chip.on:focus { background: var(--bw-berry-soft); }
.bw-heart:hover, .bw-heart:focus { background: rgba(255, 255, 255, .92); color: var(--bw-berry); }
.bw-menu-btn:hover, .bw-menu-btn:focus { background: transparent; }
.bw-drawer-x:hover, .bw-drawer-x:focus { background: var(--bw-berry-soft); color: var(--bw-berry-dark); }

/* ---------- site pages (About, Contact, Privacy, Terms) ---------- */
.page .entry-header { margin: 26px 0 6px; }
.page .entry-title { font-size: 40px; margin: 0; }
.page .entry-content { max-width: 780px; }

/* ---------- header ---------- */
.bw-head { background: var(--bw-paper); border-bottom: 1px solid var(--bw-line); position: sticky; top: 0; z-index: 50; }
.bw-head-row { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.bw-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bw-ink); }
.bw-brand svg { width: 38px; height: 38px; flex: none; }
.bw-brand b { font-family: var(--bw-font-head); font-weight: 400; font-size: 26px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.bw-brand b span { color: var(--bw-berry); }
.bw-tabs { display: flex; gap: 4px; margin-left: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.bw-tabs::-webkit-scrollbar { display: none; }
.bw-tabs a { display: inline-block; padding: 9px 14px; border-radius: 999px; color: var(--bw-ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.bw-tabs a:hover { background: var(--bw-berry-soft); color: var(--bw-berry-dark); }
.bw-tabs a.is-on { background: var(--bw-ink); color: #fff; }
.bw-saved-link { position: relative; margin-left: auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--bw-line); background: #fff; color: var(--bw-berry); flex: none; }
.bw-saved-link svg { width: 22px; height: 22px; fill: currentColor; }
.bw-saved-link .bw-saved-n { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--bw-ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.bw-saved-link .bw-saved-n:empty { display: none; }
.bw-menu-btn { display: none; }

/* phone drawer */
.bw-veil { position: fixed; inset: 0; background: rgba(42, 26, 46, .45); z-index: 80; }
.bw-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 340px); z-index: 90; background: var(--bw-paper); padding: 18px 20px; overflow: auto; box-shadow: 12px 0 40px rgba(0, 0, 0, .18); }
.bw-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bw-drawer-top span { font-family: var(--bw-font-head); font-size: 21px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bw-drawer-x { flex: none; border: 0; background: var(--bw-berry-soft); color: var(--bw-berry-dark); width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.bw-drawer a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--bw-line); color: var(--bw-ink); font-weight: 600; font-size: 17px; }
.bw-drawer a.is-on { color: var(--bw-berry); }

/* ---------- home ---------- */
.bw-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; margin: 26px 0 10px; padding: 34px 40px; background: linear-gradient(135deg, var(--bw-berry-mist), var(--bw-berry-soft)); border-radius: 30px; }
.bw-hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 14px; }
.bw-hero p { font-size: 18px; margin: 0 0 18px; max-width: 540px; }
.bw-hero-notes { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; color: var(--bw-muted); font-weight: 600; }
.bw-hero-notes span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bw-leaf); margin-right: 7px; vertical-align: 1px; }
.bw-fan { position: relative; height: 300px; }
.bw-fan img { position: absolute; left: 50%; top: 50%; width: 170px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; box-shadow: var(--bw-shadow); background: #fff; border: 5px solid #fff; }
.bw-fan img:nth-child(1) { transform: translate(-125%, -47%) rotate(-11deg); }
.bw-fan img:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.bw-fan img:nth-child(3) { transform: translate(25%, -47%) rotate(11deg); }
.bw-sec { margin: 34px 0; }
.bw-sec-h { font-size: 30px; margin: 0 0 16px; display: flex; align-items: baseline; gap: 14px; }
.bw-sec-h small { font-family: var(--bw-font-body); font-size: 15px; color: var(--bw-muted); font-weight: 600; }
.bw-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.bw-rail a { flex: 0 0 210px; scroll-snap-align: start; background: #fff; border: 1px solid var(--bw-line); border-radius: var(--bw-radius); padding: 10px; color: var(--bw-ink); transition: transform .15s; }
.bw-rail a:hover { transform: translateY(-3px); border-color: var(--bw-berry-soft); }
.bw-rail span { display: block; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden; background: var(--bw-berry-mist); }
.bw-rail img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bw-rail b { display: block; padding: 10px 4px 2px; font-weight: 800; font-size: 15px; }

/* ---------- grid of images ---------- */
.bw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bw-tile { position: relative; }
.bw-tile-a { display: block; color: var(--bw-ink); }
.bw-tile-pic { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--bw-radius); overflow: hidden; background: var(--bw-tile-bg, var(--bw-berry-mist)); box-shadow: inset 0 0 0 1px rgba(42, 26, 46, .06); }
.bw-tile-pic img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); width: 72%; height: auto; max-height: 86%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 30px rgba(42, 26, 46, .22), 0 2px 4px rgba(42, 26, 46, .12); transition: transform .25s; }
.bw-tile-a:hover .bw-tile-pic img { transform: translate(-50%, -52%) rotate(0deg) scale(1.03); }
.bw-badge { position: absolute; left: 12px; top: 12px; z-index: 2; background: #fff; color: var(--bw-berry-dark); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.bw-tile-t { font-family: var(--bw-font-body); font-weight: 800; font-size: 16px; line-height: 1.3; margin: 10px 4px 0; }
.bw-heart { position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--bw-berry); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.bw-heart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.bw-heart.on svg { fill: currentColor; }

/* ---------- collection, search, saved ---------- */
.bw-crumbs { font-size: 14px; color: var(--bw-muted); margin: 18px 0 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.bw-crumbs a { color: var(--bw-muted); }
.bw-crumbs a:hover { color: var(--bw-berry); }
.bw-coll-h h1 { font-size: 40px; margin: 0 0 10px; }
.bw-coll-h p { font-size: 18px; max-width: 760px; margin: 0 0 8px; }
.bw-count { color: var(--bw-muted); font-weight: 600; font-size: 15px; margin: 0 0 20px; }
.bw-text { max-width: 780px; margin: 44px auto 20px; padding: 36px 40px; background: #fff; border: 1px solid var(--bw-line); border-radius: 30px; }
.bw-text h2 { font-size: 26px; margin: 22px 0 8px; }
.bw-text h2:first-child { margin-top: 0; }
.bw-text p, .bw-text li { font-size: 17px; }
.bw-text ul { padding-left: 22px; }
.bw-paging { display: flex; justify-content: center; gap: 10px; margin: 30px 0; flex-wrap: wrap; }
.bw-paging a, .bw-paging span { display: inline-block; min-width: 42px; height: 42px; line-height: 40px; text-align: center; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--bw-line); background: #fff; color: var(--bw-ink); font-weight: 700; }
.bw-paging .current { background: var(--bw-berry); border-color: var(--bw-berry); color: #fff; }
.bw-saved-empty { color: var(--bw-muted); padding: 30px 0; }

/* ---------- image page ---------- */
.bw-image-wrap { margin: 10px 0 20px; }
.bw-image-top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 34px; align-items: start; }
.bw-stage { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bw-berry-mist); display: grid; place-items: center; }
.bw-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bw-stage-image { position: relative; z-index: 1; width: 62%; display: block; }
.bw-stage-image img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 24px 50px rgba(42, 26, 46, .28), 0 3px 6px rgba(42, 26, 46, .12); background: #fff; }
.bw-image-side h1 { font-size: 36px; line-height: 1.15; margin: 4px 0 10px; }
.bw-image-tags { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.bw-image-tags .bw-badge { position: static; box-shadow: none; background: var(--bw-berry-soft); }
.bw-image-tags span:not(.bw-badge) { color: var(--bw-muted); font-size: 15px; font-weight: 600; }
.bw-lead { font-size: 18px; margin: 0 0 20px; }
.bw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--bw-berry); color: #fff; border: 0; cursor: pointer; font: 800 17px/1 var(--bw-font-body); padding: 17px 28px; border-radius: 999px; width: 100%; box-shadow: 0 8px 20px rgba(158, 42, 91, .28); transition: transform .12s, background .12s; }
.bw-btn svg { width: 20px; height: 20px; flex: none; }
.bw-btn:hover, .bw-btn:focus { background: var(--bw-berry-dark); transform: translateY(-1px); color: #fff; }
.bw-btn-under { display: none; }
.bw-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bw-chip { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 1.5px solid var(--bw-line); background: #fff; color: var(--bw-ink); font: 700 15px/1 var(--bw-font-body); padding: 12px 16px; border-radius: 999px; }
.bw-chip:hover { border-color: var(--bw-berry); color: var(--bw-berry-dark); }
.bw-chip svg { width: 20px; height: 20px; }
.bw-chip.on { background: var(--bw-berry-soft); border-color: var(--bw-berry-soft); color: var(--bw-berry-dark); }
.bw-note { font-size: 14px; color: var(--bw-muted); margin-top: 18px; display: flex; gap: 8px; align-items: flex-start; }
.bw-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--bw-leaf); }
.bw-more-h { font-size: 28px; margin: 0 0 16px; }

/* ---------- footer ---------- */
.bw-foot { margin-top: 60px; border-top: 1px solid var(--bw-line); background: #fff; }
.bw-foot-in { max-width: 1240px; margin: 0 auto; padding: 36px 20px 26px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.bw-foot p { color: var(--bw-muted); font-size: 15px; max-width: 520px; }
.bw-foot nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bw-foot nav a { color: var(--bw-ink); font-weight: 600; }
.bw-foot nav a:hover { color: var(--bw-berry); }
.bw-copy { grid-column: 1 / -1; color: var(--bw-muted); font-size: 13px; margin: 0; }

/* ---------- phones ---------- */
@media (max-width: 1000px) {
	.bw-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.bw-hero { grid-template-columns: 1fr; padding: 26px; }
	.bw-fan { display: none; }
	.bw-image-top { grid-template-columns: 1fr; }
	.bw-tabs { display: none; }
}
@media (max-width: 680px) {
	#page { padding: 0 12px; }
	.bw-head-row { padding: 10px 12px; gap: 10px; }
	.bw-menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 0; }
	.bw-menu-btn span { display: block; width: 22px; height: 2px; background: var(--bw-ink); margin: 3px 0; border-radius: 2px; }
	.bw-brand b { font-size: 22px; }
	.bw-brand svg { width: 30px; height: 30px; }
	.bw-head 	.bw-hero { margin: 12px 0 6px; padding: 20px 18px; border-radius: 22px; }
	.bw-hero h1 { font-size: 28px; }
	.bw-hero p { font-size: 16px; }
	.bw-sec { margin: 22px 0; }
	.bw-sec-h { font-size: 24px; }
	.bw-rail a { flex-basis: 150px; }
	.bw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.bw-tile-pic { border-radius: 16px; }
	.bw-tile-pic img { width: 84%; max-height: 92%; transform: translate(-50%, -50%); }
	.bw-tile-t { font-size: 14px; margin-top: 8px; }
	.bw-badge { font-size: 11px; padding: 4px 8px; left: 8px; top: 8px; }
	.bw-heart { width: 34px; height: 34px; right: 8px; top: 8px; }
	.bw-coll-h h1, .page .entry-title { font-size: 30px; }
	.bw-coll-h p { font-size: 16px; }
	.bw-text { padding: 22px 18px; border-radius: 22px; margin-top: 30px; }
	.bw-stage { border-radius: 22px; aspect-ratio: 4 / 5; }
	.bw-stage-image { width: 74%; }
	.bw-btn-under { display: inline-flex; margin-top: 14px; }
	.bw-image-side > .bw-btn { display: none; }
	.bw-image-side h1 { font-size: 28px; margin-top: 16px; }
	.bw-foot-in { grid-template-columns: 1fr; }
}
