/* ==========================================================================
   Mad Alice — Wedding palette for the boxes style (pages with ma_palette = wed)
   Ivory · blush · sage · champagne · dusty lilac, soft plum outlines,
   Fraunces serif headings, drifting pearls.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;1,9..144,400;1,9..144,500&display=swap');

.ma-home.ma-wed{--ink:#4A3A4C;--txt:#3A2E3C;--p1:#F6E3E0;--p2:#E3E8DA;--p3:#F1E7D6;--p4:#E8E1EC;--card:#FFFDF9;--accent:#B9827A;--ray:#F3E7DC}
.ma-home.ma-wed .ma-panel{border-width:3px}
.ma-home.ma-wed .ma-row>.ma-panel+.ma-panel{border-left-width:3px}
.ma-home.ma-wed .ma-lbl{background:#4A3A4C;color:#FFFDF9;font-size:18px;letter-spacing:.12em;padding:9px 18px;transform:rotate(-1.5deg);box-shadow:4px 4px 0 #E9C8C1}
.ma-home.ma-wed .ma-pill{background:#4A3A4C;color:#FFFDF9!important;font-size:16px;letter-spacing:.08em}
.ma-home.ma-wed .ma-pill.ghost{background:transparent;color:#4A3A4C!important;border:2px solid #4A3A4C}
.ma-home.ma-wed .wed-h{font-family:Fraunces,Georgia,serif;font-weight:500;letter-spacing:-.01em;text-transform:none;color:#3A2E3C;line-height:1.05}
.ma-home.ma-wed .wed-h em{font-style:italic;font-weight:400;color:#B9827A}

/* hero */
.ma-home.ma-wed .wed-hero{background:linear-gradient(#FBF4EE,#FBF4EE)}
.ma-home.ma-wed .wed-hero h1{font-size:clamp(46px,6vw,84px);margin:0}
.ma-home.ma-wed .wed-hero p{font-size:19px;line-height:1.6;max-width:540px}
.ma-home.ma-wed .ma-mirror{border:8px solid #FFFDF9;box-shadow:0 0 0 3px #4A3A4C,10px 10px 0 3px #E9C8C1}
.ma-home.ma-wed .ma-mirror img{animation-duration:34s}
.wed-badge{position:absolute;left:-54px;bottom:46px;width:150px;height:150px;border-radius:50%;background:#FFFDF9;border:3px solid #4A3A4C;box-shadow:5px 5px 0 #E9C8C1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;--r:-8deg;animation:ma-float 8s ease-in-out infinite}
.wed-badge .a,.wed-badge .c{font-family:Fraunces,serif;font-style:italic;font-size:15px;color:#4A3A4C}
.wed-badge .b{font-family:Oswald,sans-serif;text-transform:uppercase;font-size:24px;color:#B9827A;line-height:1.1}
@media (max-width:700px){.wed-badge{left:-10px;width:118px;height:118px}.wed-badge .b{font-size:19px}}

/* drifting pearls */
.wed-pearls{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.wed-pearls i{position:absolute;bottom:-30px;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 22%,#F4ECE4 45%,#D9CBC0 100%);box-shadow:0 1px 3px rgba(74,58,76,.25);animation:wed-rise linear infinite;opacity:.9}
.wed-pearls i:nth-child(1){left:6%;animation-duration:16s;animation-delay:-2s}
.wed-pearls i:nth-child(2){left:18%;width:9px;height:9px;animation-duration:21s;animation-delay:-9s}
.wed-pearls i:nth-child(3){left:31%;animation-duration:18s;animation-delay:-5s}
.wed-pearls i:nth-child(4){left:44%;width:10px;height:10px;animation-duration:24s;animation-delay:-14s}
.wed-pearls i:nth-child(5){left:52%;width:18px;height:18px;animation-duration:19s;animation-delay:-7s}
.wed-pearls i:nth-child(6){left:63%;width:8px;height:8px;animation-duration:15s;animation-delay:-11s}
.wed-pearls i:nth-child(7){left:74%;animation-duration:23s;animation-delay:-3s}
.wed-pearls i:nth-child(8){left:83%;width:11px;height:11px;animation-duration:17s;animation-delay:-12s}
.wed-pearls i:nth-child(9){left:91%;width:16px;height:16px;animation-duration:26s;animation-delay:-6s}
.wed-pearls i:nth-child(10){left:97%;width:9px;height:9px;animation-duration:20s;animation-delay:-16s}
@keyframes wed-rise{0%{transform:translate(0,0)}50%{transform:translate(14px,-45vh)}100%{transform:translate(-6px,-95vh);opacity:0}}
.ma-home.ma-wed .ma-hero-grid,.ma-home.ma-wed .wed-cta>*:not(.wed-pearls){position:relative;z-index:1}

/* new: the AF1 customizer (Nov 2026) */
.ma-home .wed-new{background:var(--p4);padding-top:56px;padding-bottom:56px;padding-left:max(28px,calc((100vw - 1240px) / 2));padding-right:max(28px,calc((100vw - 1240px) / 2));display:grid;grid-template-columns:minmax(240px,420px) 1fr;gap:52px;align-items:center}
.wed-new-ph{position:relative}
.wed-new-ph img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#fff;border:3px solid #4A3A4C;border-radius:220px 220px 16px 16px;box-shadow:8px 8px 0 #E9C8C1;transition:transform .5s}
.wed-new:hover .wed-new-ph img{transform:rotate(-1.5deg) scale(1.02)}
.wed-new-tag{position:absolute;top:18px;right:-12px;width:88px;height:88px;border-radius:50%;background:#B9827A;color:#FFFDF9;border:3px solid #4A3A4C;font-family:Fraunces,serif;font-style:italic;font-size:26px;display:flex;align-items:center;justify-content:center;transform:rotate(12deg);box-shadow:4px 4px 0 #4A3A4C;animation:ma-float 7s ease-in-out infinite}
.wed-new-tx{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.ma-home.ma-wed .wed-new h2{font-size:clamp(34px,4.2vw,58px);margin:0}
.wed-new-tx p{margin:0;font-size:18px;line-height:1.6;max-width:600px}
.wed-new-go{display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:860px){.ma-home .wed-new{grid-template-columns:1fr;gap:34px}.wed-new-ph{max-width:360px}.wed-new-tag{width:70px;height:70px;font-size:21px;right:-4px}}

/* why */
.wed-why{background:var(--card);padding-top:60px;padding-bottom:60px;padding-left:max(28px,calc((100vw - 1240px) / 2));padding-right:max(28px,calc((100vw - 1240px) / 2));display:grid;grid-template-columns:minmax(260px,1fr) 2fr;gap:48px;align-items:start}
.wed-why-head p{font-size:18px;line-height:1.6;margin:22px 0 0}
.wed-ticks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.wed-ticks li{background:var(--p3);border:2px solid #4A3A4C;border-radius:14px;padding:16px 18px 16px 48px;position:relative;font-size:15px;line-height:1.45;transition:transform .3s}
.wed-ticks li:nth-child(4n+2){background:var(--p1)}.wed-ticks li:nth-child(4n+3){background:var(--p2)}.wed-ticks li:nth-child(4n){background:var(--p4)}
.wed-ticks li:hover{transform:translateY(-3px) rotate(-.5deg)}
.wed-ticks li::before{content:"";position:absolute;left:16px;top:18px;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 22%,#F4ECE4 45%,#D9CBC0 100%);border:1.5px solid #4A3A4C}
.wed-ticks b{display:block;font-family:Fraunces,serif;font-weight:500;font-size:19px;margin-bottom:2px}
@media (max-width:900px){.wed-why{grid-template-columns:1fr}}

/* product grids */
.ma-home.ma-wed .wed-shop{background:var(--p1)}
.ma-home.ma-wed .wed-shop ul.products li.product{border:3px solid #4A3A4C;box-shadow:5px 5px 0 #E9C8C1;border-radius:18px}
.ma-home.ma-wed .wed-shop ul.products li.product img{border-bottom:3px solid #4A3A4C}
.ma-home.ma-wed .wed-shop ul.products li.product .woocommerce-loop-product__title{font-family:Fraunces,serif!important;text-transform:none;font-weight:500;font-size:18px!important;color:#3A2E3C!important}
.ma-home.ma-wed .wed-shop ul.products li.product .price{font-family:Outfit,sans-serif;font-style:normal;font-weight:500;font-size:16px;color:#B9827A!important}

/* most-loved cards */
.wed-card{padding:34px;text-decoration:none;display:flex;flex-direction:column;gap:14px}
.wed-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border:3px solid #4A3A4C;border-radius:200px 200px 14px 14px;transition:transform .5s}
.wed-card:hover img{transform:scale(1.03)}
.wed-card h3{font-size:30px;margin:6px 0 0}
.wed-card p{margin:0;font-size:16px;line-height:1.6}

/* him */
.wed-him-intro{padding:44px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.wed-him-intro p{margin:0;font-size:18px;line-height:1.6}
.wed-him-intro img{width:100%;aspect-ratio:4/3;object-fit:cover;border:3px solid #4A3A4C;border-radius:14px}
.ma-home.ma-wed .wed-him-shop{background:var(--card);padding:44px}
@media (min-width:901px){.wed-him-row{grid-template-columns:1fr 2fr!important}}

/* steps */
.wed-steps{background:var(--p2);padding-top:60px;padding-bottom:60px;padding-left:max(28px,calc((100vw - 1240px) / 2));padding-right:max(28px,calc((100vw - 1240px) / 2));text-align:center}
.wed-steplist{list-style:none;margin:36px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px;text-align:left}
.wed-steplist li{background:var(--card);border:3px solid #4A3A4C;border-radius:18px;padding:30px;box-shadow:5px 5px 0 #E9C8C1;position:relative}
.wed-steplist .n{position:absolute;top:-22px;left:24px;width:44px;height:44px;border-radius:50%;background:#4A3A4C;color:#FFFDF9;font-family:Fraunces,serif;font-style:italic;font-size:22px;display:flex;align-items:center;justify-content:center}
.wed-steplist h3{font-size:26px;margin:8px 0 10px}
.wed-steplist p{margin:0;font-size:16px;line-height:1.6}

/* reviews + award */
.wed-rev,.wed-award{padding:50px 44px}
.wed-rev blockquote{margin:26px 0 8px;font-size:28px;border:0;padding:0;font-style:italic;font-weight:400}
.wed-rev blockquote.small{font-size:21px;margin-top:22px}
.wed-rev .who{font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:.1em;font-size:15px;color:#B9827A}
.wed-award p{font-size:17px;line-height:1.65;margin:20px 0 0}

/* faq */
.wed-faq{background:var(--card);padding-top:56px;padding-bottom:56px;padding-left:max(28px,calc((100vw - 1000px) / 2));padding-right:max(28px,calc((100vw - 1000px) / 2))}
.wed-faqlist{margin-top:28px;display:flex;flex-direction:column;gap:12px}
.wed-faqlist details{border:2px solid #4A3A4C;border-radius:14px;background:var(--p3);overflow:hidden}
.wed-faqlist details:nth-child(even){background:var(--p4)}
.wed-faqlist summary{cursor:pointer;list-style:none;padding:18px 54px 18px 22px;font-family:Fraunces,serif;font-weight:500;font-size:20px;position:relative}
.wed-faqlist summary::-webkit-details-marker{display:none}
.wed-faqlist summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-family:Outfit,sans-serif;font-size:26px;transition:transform .3s}
.wed-faqlist details[open] summary::after{transform:translateY(-50%) rotate(45deg)}
.wed-faqlist details p{margin:0;padding:0 22px 20px;font-size:16px;line-height:1.65}

/* final call */
.wed-cta{background:var(--p1);text-align:center;padding:80px 28px;display:flex;flex-direction:column;align-items:center;gap:18px}
.wed-cta h2{font-size:clamp(38px,5vw,64px);margin:0}
.wed-cta p{font-size:18px;margin:0;max-width:560px;line-height:1.6}

/* shared section padding for wedding panels that span the width */
.ma-home.ma-wed .wed-cta,.ma-home.ma-wed .wed-shop:not(.wed-him-shop){padding-left:max(28px,calc((100vw - 1240px) / 2));padding-right:max(28px,calc((100vw - 1240px) / 2))}
@media (max-width:900px){.wed-him-intro,.ma-home.ma-wed .wed-him-shop,.wed-card,.wed-rev,.wed-award{padding:34px 24px!important}}

/* most-loved row: same equal-picture trick as the homepage doors row */
@media (min-width:901px){
  .ma-home .ma-row.wed-loved{--g:max(28px,calc((100vw - 1600px) / 2));grid-template-columns:calc(var(--g) + (100vw - 2 * var(--g)) / 3) 1fr calc(var(--g) + (100vw - 2 * var(--g)) / 3)}
  .ma-home .ma-row.wed-loved>.wed-card:first-child{padding-left:var(--g)!important;padding-right:34px}
  .ma-home .ma-row.wed-loved>.wed-card:last-child{padding-right:var(--g)!important;padding-left:34px}
}
