/*
Theme Name: Lourans Store
Template: twentytwentyfive
Description: Warm, modern wall-decor storefront for Lourans Store. Child theme of Twenty Twenty-Five.
Version: 1.0.0
Text Domain: lourans
*/

:root {
	--lr-ivory: #F7F3EC;
	--lr-sand: #E9DFD1;
	--lr-sand-light: #F1E9DD;
	--lr-walnut: #634735;
	--lr-walnut-dark: #4E372A;
	--lr-text: #302A25;
	--lr-muted: #6B625A;
	--lr-olive: #596247;
	--lr-clay: #B9795C;
	--lr-line: rgba(48, 42, 37, 0.12);
	--lr-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--lr-radius: 16px;
	--lr-shadow: 0 10px 30px rgba(48, 42, 37, 0.08);
}

body { background: var(--lr-ivory); color: var(--lr-text); }
.lr-wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* ---------- Header ---------- */
.lr-announce { background: var(--lr-olive); color: var(--lr-ivory); text-align: center; font-size: 13px; letter-spacing: .02em; padding: 8px 16px; margin: 0; }
.lr-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--lr-line); }
.admin-bar .lr-header { top: 32px; }
.lr-header__bar { gap: 20px; padding-top: 14px !important; padding-bottom: 10px !important; }
.lr-header .wp-block-site-title { margin: 0; font-family: var(--wp--preset--font-family--heading); font-size: 26px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.lr-header .wp-block-site-title a { color: var(--lr-text); text-decoration: none; }
.lr-search { flex: 1 1 auto; max-width: 560px; }
.lr-search .wp-block-search__inside-wrapper { border: 1px solid var(--lr-line) !important; border-radius: 999px; background: #fff; padding: 4px 4px 4px 16px; transition: box-shadow 180ms var(--lr-ease), border-color 180ms var(--lr-ease); }
.lr-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--lr-olive) !important; box-shadow: 0 0 0 3px rgba(89, 98, 71, .18); }
.lr-search input.wp-block-search__input { border: 0 !important; background: transparent; font-size: 15px; min-height: 40px; outline: none; }
.lr-search .wp-block-search__button { border-radius: 999px; background: var(--lr-walnut); color: var(--lr-ivory); min-width: 44px; min-height: 40px; border: 0; transition: background 170ms var(--lr-ease); }
.lr-search .wp-block-search__button:hover { background: var(--lr-walnut-dark); }
.lr-header__icons { gap: 6px; }
.lr-header__nav { padding-bottom: 10px !important; }
.lr-header__nav .wp-block-navigation { font-size: 15px; gap: 22px; }
.lr-header__nav .wp-block-navigation a { color: var(--lr-text); text-decoration: none; }
.lr-header__nav .wp-block-navigation a:hover { color: var(--lr-walnut); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Buttons ---------- */
.lr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 500; text-decoration: none !important; transition: background 170ms var(--lr-ease), color 170ms var(--lr-ease), transform 170ms var(--lr-ease); }
.lr-btn:active { transform: translateY(1px); }
.lr-btn--primary { background: var(--lr-walnut); color: var(--lr-ivory) !important; }
.lr-btn--primary:hover { background: var(--lr-walnut-dark); }
.lr-btn--ghost { color: var(--lr-text) !important; border: 1px solid rgba(48, 42, 37, .25); }
.lr-btn--ghost:hover { background: var(--lr-sand); }
:focus-visible { outline: 3px solid var(--lr-olive); outline-offset: 3px; }

/* ---------- Hero ---------- */
.lr-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.lr-hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.lr-kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lr-olive); font-weight: 700; margin: 0 0 14px; }
.lr-hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 18px; letter-spacing: -.015em; }
.lr-hero p.lr-lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--lr-muted); max-width: 30em; margin: 0 0 26px; }
.lr-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lr-hero__copy > * { animation: lr-rise 500ms var(--lr-ease) both; }
.lr-hero__copy > *:nth-child(2) { animation-delay: 60ms; }
.lr-hero__copy > *:nth-child(3) { animation-delay: 120ms; }
.lr-hero__copy > *:nth-child(4) { animation-delay: 180ms; }
.lr-hero__media { animation: lr-fade 650ms var(--lr-ease) both; }
@keyframes lr-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lr-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Before / After ---------- */
.lr-ba { position: relative; aspect-ratio: 800 / 560; border-radius: 20px; overflow: hidden; box-shadow: var(--lr-shadow); background: var(--lr-sand); --pos: 50%; touch-action: pan-y; user-select: none; }
.lr-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.lr-ba__after { clip-path: inset(0 0 0 var(--pos)); }
.lr-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lr-ivory); transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(48, 42, 37, .1); pointer-events: none; }
.lr-ba__handle::after { content: "\2039 \203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--lr-ivory); color: var(--lr-walnut); display: grid; place-items: center; font-size: 22px; line-height: 1; letter-spacing: 4px; box-shadow: 0 6px 18px rgba(48, 42, 37, .2); }
.lr-ba__tag { position: absolute; bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(247, 243, 236, .9); color: var(--lr-text); pointer-events: none; }
.lr-ba__tag--before { left: 14px; }
.lr-ba__tag--after { right: 14px; background: var(--lr-walnut); color: var(--lr-ivory); }
.lr-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.lr-ba input[type=range]:focus-visible ~ .lr-ba__handle::after { outline: 3px solid var(--lr-olive); outline-offset: 2px; }
.lr-ba__caption { font-size: 13px; color: var(--lr-muted); margin: 10px 2px 0; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Category chips ---------- */
.lr-section { padding: clamp(28px, 5vw, 56px) 0; }
.lr-section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.lr-section__head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0; }
.lr-section__head p { margin: 6px 0 0; color: var(--lr-muted); }
.lr-chips { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.lr-chips::-webkit-scrollbar { display: none; }
.lr-chip { scroll-snap-align: start; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 112px; text-decoration: none !important; color: var(--lr-text) !important; font-size: 14px; text-align: center; }
.lr-chip__icon { width: 84px; height: 84px; border-radius: 50%; background: var(--lr-sand); display: grid; place-items: center; transition: background 180ms var(--lr-ease), transform 280ms var(--lr-ease); }
.lr-chip__icon svg { width: 40px; height: 40px; stroke: var(--lr-walnut); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lr-chip:hover .lr-chip__icon { background: #E2D4C1; transform: translateY(-2px); }

/* ---------- Product carousel (WooCommerce loop) ---------- */
.lr-carousel { position: relative; }
.lr-carousel .woocommerce { margin: 0; }
.lr-carousel ul.products { display: flex !important; flex-wrap: nowrap !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 16px !important; margin: 0 !important; scrollbar-width: none; }
.lr-carousel ul.products::-webkit-scrollbar { display: none; }
.lr-carousel ul.products::before, .lr-carousel ul.products::after { display: none !important; }
.lr-carousel ul.products li.product { flex: 0 0 calc((100% - 54px) / 4) !important; width: auto !important; margin: 0 !important; scroll-snap-align: start; float: none !important; }
.lr-carousel__nav { display: flex; gap: 8px; }
.lr-carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(48, 42, 37, .2); background: var(--lr-ivory); color: var(--lr-text); font-size: 20px; cursor: pointer; transition: background 170ms var(--lr-ease); }
.lr-carousel__btn:hover { background: var(--lr-sand); }

/* Product cards everywhere */
ul.products li.product { background: #fff; border-radius: var(--lr-radius); padding: 0 0 16px !important; border: 1px solid var(--lr-line); overflow: hidden; text-align: left; }
ul.products li.product a img, .wc-block-components-product-image img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin: 0 0 12px !important; transition: transform 280ms var(--lr-ease); }
ul.products li.product a.woocommerce-LoopProduct-link { display: block; overflow: hidden; color: var(--lr-text); text-decoration: none; }
ul.products li.product:hover a img, ul.products li.product a:focus-visible img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--body); font-size: 17px !important; font-weight: 500; padding: 0 16px !important; margin: 0 0 6px; line-height: 1.35; }
ul.products li.product .price { display: block; padding: 0 16px; color: var(--lr-walnut) !important; font-weight: 700; font-size: 16px !important; margin-bottom: 12px !important; }
ul.products li.product .button { margin: 0 16px !important; border-radius: 999px !important; background: var(--lr-walnut) !important; color: var(--lr-ivory) !important; font-weight: 500 !important; min-height: 44px; display: inline-flex !important; align-items: center; padding: 0 20px !important; transition: background 170ms var(--lr-ease); }
ul.products li.product .button:hover { background: var(--lr-walnut-dark) !important; }

/* ---------- Shop this wall ---------- */
.lr-look { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.lr-look__scene { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--lr-shadow); }
.lr-look__scene img { display: block; width: 100%; height: auto; }
.lr-hotspot { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--lr-ivory); border: 0; box-shadow: 0 4px 14px rgba(48, 42, 37, .3); transform: translate(-50%, -50%); display: grid; place-items: center; text-decoration: none !important; color: var(--lr-walnut) !important; font-weight: 700; }
.lr-hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(247, 243, 236, .7); animation: lr-pulse 2.4s var(--lr-ease) infinite; }
@keyframes lr-pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.lr-hotspot span { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--lr-text); color: var(--lr-ivory); font-size: 13px; font-weight: 500; white-space: nowrap; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 180ms var(--lr-ease), transform 180ms var(--lr-ease); }
.lr-hotspot:hover span, .lr-hotspot:focus-visible span { opacity: 1; transform: translateX(-50%) translateY(0); }
.lr-look__list { list-style: none; margin: 18px 0 24px; padding: 0; border-top: 1px solid var(--lr-line); }
.lr-look__list li { border-bottom: 1px solid var(--lr-line); }
.lr-look__list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px; text-decoration: none; color: var(--lr-text); transition: color 170ms var(--lr-ease); }
.lr-look__list a:hover { color: var(--lr-walnut); }
.lr-look__list b { font-weight: 500; }
.lr-look__list i { font-style: normal; color: var(--lr-muted); }

/* ---------- How it works ---------- */
.lr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lr-step { background: var(--lr-sand-light); border-radius: var(--lr-radius); padding: 26px; border: 1px solid var(--lr-line); }
.lr-step__num { font-family: var(--wp--preset--font-family--heading); font-size: 34px; color: var(--lr-clay); line-height: 1; }
.lr-step h3 { font-size: 21px; margin: 12px 0 8px; }
.lr-step p { margin: 0; color: var(--lr-muted); font-size: 16px; }

/* ---------- Trust strip ---------- */
.lr-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--lr-line); border-bottom: 1px solid var(--lr-line); padding: 22px 0; }
.lr-trust div { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.lr-trust svg { width: 26px; height: 26px; flex: 0 0 26px; stroke: var(--lr-olive); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
.lr-footer { background: var(--lr-text); color: #E9DFD1; margin-top: 56px; }
.lr-footer a { color: #F7F3EC; text-decoration: none; }
.lr-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lr-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 0 28px; }
.lr-footer h4 { color: #F7F3EC; font-family: var(--wp--preset--font-family--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.lr-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.lr-footer__brand { font-family: var(--wp--preset--font-family--heading); font-size: 26px; color: #F7F3EC; margin: 0 0 10px; }
.lr-footer__bottom { border-top: 1px solid rgba(247, 243, 236, .14); padding: 16px 0 24px; font-size: 13px; color: #BDB2A3; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.lr-js .lr-reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms var(--lr-ease), transform 420ms var(--lr-ease); transition-delay: calc(var(--i, 0) * 60ms); }
.lr-js .lr-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.lr-hero__grid, .lr-look { grid-template-columns: 1fr; }
	.lr-carousel ul.products li.product { flex-basis: calc((100% - 18px) / 2) !important; }
	.lr-steps, .lr-trust { grid-template-columns: 1fr; }
	.lr-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.lr-header__bar { flex-wrap: wrap !important; }
	.lr-search { order: 3; flex-basis: 100%; max-width: none; }
	.lr-carousel ul.products li.product { flex-basis: 78% !important; }
	.lr-carousel__nav { display: none; }
	.lr-footer__grid { grid-template-columns: 1fr; }
	.admin-bar .lr-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
	.lr-js .lr-reveal { opacity: 1; transform: none; }
	ul.products li.product:hover a img { transform: none; }
	.lr-carousel ul.products { scroll-behavior: auto; }
}
