/* Responsive layout only: existing content, artwork, fonts and colors remain. */
header,main,footer{min-width:0}
header>*{min-width:0}
header{height:auto;flex-wrap:wrap;column-gap:24px;row-gap:12px}
header .brand-logo{flex-shrink:0;max-width:100%}
.brand-lockup{min-width:0}
header nav{flex:1;min-width:240px;gap:8px 20px}
header nav>a{display:flex;align-items:center;justify-content:center;min-height:44px;line-height:1.4;text-align:center}
header .bag{min-height:44px;flex-shrink:0}
.header-instagram{min-height:44px}
.hero-copy{min-width:0}
.hero h1{font-size:clamp(42px,5.7vw,88px);letter-spacing:-.035em}
.hero-copy p,.essence p,.daily-word blockquote,.testimonials p{overflow-wrap:break-word}
h2{overflow-wrap:break-word}
.collection,.essence,.testimonials{padding-left:clamp(20px,6vw,100px);padding-right:clamp(20px,6vw,100px)}
.section-top{flex-wrap:wrap;align-items:center}
.section-top>p{margin:0;line-height:1.7}
.collection-gallery .portfolio-grid{max-width:1120px;margin-inline:auto}
.collection-gallery .portfolio-grid>figure{flex-basis:calc((100% - 48px)/3);max-width:280px}
.collection-gallery .portfolio-grid>figure .gallery-buy{min-height:44px;font-size:16px}
.collection-gallery .portfolio-grid>figure figcaption{min-height:54px;font-size:19px}
#products{max-width:1120px;margin-inline:auto}
#products .product,#products .prayer-card{min-width:0}
#products .product-art small{max-width:100%;text-align:center;line-height:1.6;padding-inline:12px}
#products .product-art .design{font-size:clamp(42px,5vw,68px)}
#products .saint-card{grid-template-columns:170px minmax(0,1fr)}
.bible-card>div{min-width:0}
.essence{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px clamp(24px,5vw,80px)}
.essence h2{font-size:clamp(32px,3.6vw,47px)}
footer{height:auto;padding:clamp(32px,4vw,60px) clamp(20px,6vw,100px)}
footer .brand-logo{max-width:100%;width:fit-content}
footer .contact-emails .contact-link{display:flex;align-items:center;min-height:44px;gap:10px}
footer .contact-emails .reseller-contact{min-height:44px}
footer .contact-emails span{min-width:0;overflow-wrap:anywhere}
dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain}
#cart{width:min(510px,100vw);max-width:100vw;height:100dvh;max-height:100dvh}
.dialog-top{align-items:flex-start;gap:12px}
.dialog-top h2{min-width:0;font-size:clamp(24px,3vw,35px);line-height:1.2}
.dialog-top button,.photo-close{flex-shrink:0;min-width:44px;min-height:44px}
.options{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.options label{min-width:0}
select,input,textarea{font-size:16px;max-width:100%}
select,.form-fields input,.shipping-box input{min-height:44px}
.quantity{flex-wrap:wrap;gap:12px}
.quantity button{min-width:44px;min-height:44px}
.prayer-dialog,.saints-picker,.verse-dialog{padding:clamp(20px,4vw,30px)}
.picker-photo,.photo-viewer img{max-height:60dvh}
.verse-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){
 header .brand-logo{flex:1}
 header nav{order:3;flex-basis:100%;width:100%;min-width:0}
 header .header-instagram{order:2}
 .hero{min-height:540px}
 .hero-copy{padding:48px 9%}
}
@media(max-width:850px){
 .collection-gallery .portfolio-grid>figure{flex-basis:calc((100% - 24px)/2)}
 .hero h1{font-size:clamp(42px,6.5vw,58px)}
 .hero-copy{padding:40px 8%}
 .values{flex-wrap:wrap;gap:14px 24px;text-align:center;line-height:1.6}
 .bible-card{flex-wrap:wrap;gap:24px}
 .bible-card .button{max-width:100%}
 .verse-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .verse-gallery>figure:last-child{grid-column:1/-1;width:min(100%,320px);justify-self:center}
}
@media(max-width:700px){
 .hero{grid-template-columns:1fr;min-height:0}
 .hero-copy{padding:40px clamp(20px,6vw,42px)}
 .hero h1{font-size:clamp(44px,9vw,64px)}
 .hero-photo{height:auto;aspect-ratio:4/3}
 .hero-note{margin-top:28px}
 .essence{grid-template-columns:1fr;padding-top:40px;padding-bottom:40px}
 .essence h2{font-size:clamp(32px,6vw,40px)}
 #products .saint-card{column-gap:24px}
}
@media(max-width:600px){
 header{padding:16px 20px;gap:12px}
 header .brand-logo{flex:1 1 100%;justify-content:center}
 header .brand-lockup{max-width:calc(100% - 68px)}
 header .bag{order:1;margin-right:auto}
 header .header-instagram{order:2;width:auto;justify-content:flex-end;white-space:normal;padding:0}
 header nav{order:3;display:flex;gap:4px 16px;width:100%}
 header nav>a,header nav>a[href="#frase-do-dia"]{display:flex;font-size:14px;min-height:44px}
 .collection,.testimonials{padding-top:40px;padding-bottom:40px}
 .section-top{margin-bottom:28px;gap:12px}
 .collection-gallery .portfolio-grid{gap:28px 20px}
 .collection-gallery .portfolio-grid>figure{flex-basis:100%;max-width:280px}
 .collection-gallery .portfolio-grid>.verse-tile{padding:28px 20px;min-height:160px}
 #products{grid-template-columns:1fr;gap:24px}
 #products>.product>.product-art,#products .prayer-card{height:auto;min-height:280px}
 #products .saint-card{grid-template-columns:1fr;gap:14px;padding:28px 20px;min-height:0}
 #products .saint-card img{grid-column:1;grid-row:auto;width:125px;height:175px}
 #products .saint-card span,#products .saint-card small{grid-column:1;text-align:center;align-self:auto}
 #products>.daily-word{padding:32px 20px}
 .daily-word h2,.testimonials h2{font-size:clamp(30px,8vw,38px)}
 .daily-word blockquote{font-size:clamp(24px,6vw,30px)}
 .bible-card{padding:28px 20px}
 .bible-card h2{font-size:32px}
 .bible-card .button{width:100%;white-space:normal;text-align:center}
 .customer-testimonial,.testimonials-empty{padding:24px 20px}
 .testimonial-entry summary{width:100%;text-align:center}
 .verse-gallery{grid-template-columns:1fr}
 .verse-gallery>figure:last-child{grid-column:auto;width:100%}
 footer .brand-logo{margin-bottom:24px}
 footer .brand-tagline{max-width:190px}
 .photo-caption{right:16px;bottom:16px;letter-spacing:2px}
}
@media(max-width:360px){
 header .bag{padding:10px 12px}
 header .header-instagram{font-size:13px;gap:6px}
 header nav{gap:2px 12px}
 .hero h1{font-size:44px}
}

.collection-gallery .portfolio-grid>.verse-tile,.collection-gallery .portfolio-grid>.verse-tile:hover{background:transparent}
.verse-tile .verse-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:min(100%,860px);font:inherit}
.portfolio-grid .verse-preview img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;max-height:320px}
@media(max-width:600px){.verse-tile .verse-preview{gap:8px}.portfolio-grid .verse-preview img{max-height:none}}

/* Compact mobile masthead; retain every link and brand line. */
@media(max-width:600px){
 header{min-height:0;padding:10px 16px;row-gap:4px;column-gap:12px}
 header .brand-logo{gap:10px;justify-content:center}
 header .brand-lockup{max-width:calc(100% - 68px)}
 header .brand-logo .brand-name{margin-top:3px}
 header .brand-logo .brand-tagline{max-width:none;margin-top:3px;line-height:1.25}
 header .brand-logo .brand-faith{margin-top:2px;line-height:1.25}
 header .bag{padding:8px 12px}
 header .bag span{margin-left:6px}
 header .header-instagram{padding:0}
 header nav{gap:0 12px}
 header nav>a,header nav>a[href="#frase-do-dia"]{padding:0;line-height:1.2}
}

/* Tighter mobile header and prayer strip. */
.prayer-opening{padding-top:7px;padding-bottom:7px;line-height:1.25}
.prayer-opening .prayer-reference{margin-top:2px;line-height:1.25}
@media(max-width:600px){
 .prayer-opening{padding:6px 16px;font-size:14px;line-height:1.25}
 .prayer-opening .prayer-reference{font-size:11px;margin-top:2px}
 header{padding:6px 16px;row-gap:0;column-gap:10px}
 header .brand-logo{gap:8px}
 header .brand-logo img{width:50px;height:50px}
 header .brand-lockup{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:0;align-items:center;max-width:calc(100% - 58px)}
 header .brand-initials{grid-column:1;grid-row:1;font-size:25px;line-height:1}
 header .brand-logo .brand-name{grid-column:2;grid-row:1;margin:0;font-size:12px;letter-spacing:1.5px}
 header .brand-logo .brand-tagline{grid-column:1/-1;margin-top:3px;line-height:1.2}
 header .brand-logo .brand-faith{grid-column:1/-1;margin-top:2px;line-height:1.2}
 header .bag{padding:6px 10px}
 header nav{gap:0 10px}
}

/* Brand above the left Instagram link; bag aligned on the right. */
header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
header .brand-logo{grid-column:1;grid-row:1;justify-self:start;justify-content:flex-start;max-width:100%}
header nav{grid-column:2;grid-row:1;width:auto;min-width:0;justify-self:end}
header .header-instagram{grid-column:1;grid-row:2;justify-self:start;justify-content:flex-start;width:auto;padding:0}
header .bag{grid-column:2;grid-row:2;justify-self:end;margin:0}
@media(max-width:1100px){
 header .brand-logo{grid-column:1/-1}
 header nav{grid-column:1/-1;grid-row:3;justify-self:stretch;width:100%}
}
@media(max-width:600px){
 header .brand-logo{justify-content:flex-start;justify-self:start}
 header .header-instagram{justify-content:flex-start;justify-self:start}
 header .bag{margin:0;justify-self:end}
 header nav{width:100%}
}

header .brand-logo img{width:90px;height:90px}
@media(max-width:850px){header .brand-logo img{width:76px;height:76px}}
@media(max-width:600px){
 header .brand-logo img{width:68px;height:68px}
 header .brand-lockup{max-width:calc(100% - 76px)}
}

/* Shorter opening panel so shirt imagery appears sooner on phones. */
@media(max-width:700px){
 .hero-copy{padding:24px 20px}
 .hero-copy .eyebrow{margin-bottom:14px;line-height:1.4;letter-spacing:1.5px}
 .hero h1{font-size:clamp(34px,8.5vw,46px);line-height:1.08;margin-bottom:14px;letter-spacing:-.025em}
 .hero h1 br{display:none}
 .hero h1+p{font-size:16px;line-height:1.5;margin:0 0 16px;max-width:100%}
 .hero-copy .button{min-height:44px;padding:12px 18px}
 .hero-note{margin-top:14px;line-height:1.4}
}

/* Compact hero text panel on phones. */
@media(max-width:700px){
 .hero-copy{padding:16px 20px}
 .hero-copy .eyebrow{margin:0 0 8px;line-height:1.3}
 .hero h1{font-size:clamp(32px,8vw,40px);line-height:1.05;margin:0 0 10px}
 .hero h1+p{margin:0;font-size:16px;line-height:1.4}
 .hero-note{margin-top:8px;line-height:1.3}
}

/* Enlarge header branding within the existing layout footprint. */
header .brand-logo img{transform:scale(1.15);transform-origin:center}
header .brand-logo{gap:21px}
header .brand-logo .brand-tagline,header .brand-logo .brand-faith{font-size:13.2px;line-height:1.27;margin-top:2px}
header .brand-logo .brand-tagline{max-width:253px}
@media(max-width:850px){header .brand-logo{gap:16px}}
@media(max-width:600px){
 header .brand-logo{gap:14px}
 header .brand-lockup{max-width:calc(100% - 82px)}
 header .brand-logo .brand-tagline{max-width:none;margin-top:2px;line-height:1.09}
 header .brand-logo .brand-faith{margin-top:1px;line-height:1.09;letter-spacing:.8px}
}

/* Slim opening prayer strip with a single-line prayer. */
.prayer-opening{padding:4px 12px;font-size:14px;line-height:1.2;white-space:nowrap}
.prayer-opening .prayer-reference{margin-top:1px;font-size:10px;line-height:1.2;white-space:normal}
@media(max-width:600px){
 .prayer-opening{padding:3px 8px;font-size:clamp(10px,3vw,14px);line-height:1.2}
 .prayer-opening .prayer-reference{font-size:10px;margin-top:1px;line-height:1.2}
}

.discount-popup{width:min(440px,calc(100vw - 32px));padding:36px 28px;text-align:center;background:#fcfaf7;color:#39231b;border:1px solid #dac0a6;border-radius:12px;cursor:pointer}
.discount-popup::backdrop{background:rgba(57,35,27,.65)}
.discount-popup .discount-close{position:absolute;top:8px;right:8px;background:transparent;color:#39231b;border:0;width:44px;height:44px;font-size:22px;cursor:pointer}
.discount-popup h2{font-size:clamp(30px,7vw,40px);line-height:1.15;margin:12px 0 16px}
.discount-popup p{line-height:1.5;margin:12px 0;font-size:16px}
.discount-popup .eyebrow{font-size:12px;letter-spacing:1.5px;margin-top:12px}
.discount-popup .button{margin-top:12px;min-height:44px}

.discount-popup{position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100dvh - 32px);overflow:auto}

.discount-popup .discount-logo{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 12px}

.prayer-opening .peace-prayer-link{display:block;color:inherit;text-decoration:none}
.prayer-opening .peace-prayer-link:hover{text-decoration:underline;text-underline-offset:3px}
.prayer-opening .peace-prayer-link:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:2px}
.peace-prayer-dialog{background:#f4e8d5;color:#39231b;border:1px solid #cbb69f;border-radius:12px;width:min(92vw,650px);max-height:90vh;max-height:90dvh;padding:28px;box-sizing:border-box}
.peace-prayer-dialog::backdrop{background:rgba(35,22,16,.6)}
.peace-prayer-dialog h2{font-family:Georgia,'Times New Roman',serif;margin:0}
.peace-prayer-dialog .peace-subtitle,.peace-prayer-dialog .peace-author{font-size:13px;line-height:1.6}
.peace-prayer-text p{white-space:pre-line;font-family:Georgia,'Times New Roman',serif;font-size:17px;line-height:1.8}
.peace-close{margin-top:8px}
@media(max-width:600px){.peace-prayer-dialog{padding:20px}.peace-prayer-dialog h2{font-size:25px}.peace-prayer-text p{font-size:16px;line-height:1.7}}

.discount-popup .discount-note{font-size:12px;line-height:1.5}

/* Center the navigation across the header without moving brand or bag. */
header nav{grid-column:1/-1;grid-row:3;justify-self:center;justify-content:center;width:100%;min-width:0;flex-wrap:wrap;margin-inline:auto}
