/* MAGNOLIA FLOWERS — static site styles (AZ/EN) */
:root{
  --bg:#fbf7f4;
  --panel:#ffffff;
  --panel2:#fff9f6;
  --text:#1a1412;
  --muted:#6f625c;
  --line:rgba(26,20,18,.10);
  --brand:#b67a63;
  --brand2:#8b5a47;
  --shadow:0 18px 55px rgba(26,20,18,.14);
  --radius:14px;
  --radius2:18px;
  --container:1180px;
  --focus:0 0 0 3px rgba(182,122,99,.28);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 520px at 18% 0%, rgba(182,122,99,.16), transparent 60%),
    radial-gradient(900px 560px at 100% 38%, rgba(139,90,71,.10), transparent 55%),
    linear-gradient(180deg, #fffdfc, #fbf7f4 38%, #f6f0ec);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.container{max-width:var(--container); margin:0 auto; padding:0 18px}

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip-link:focus{left:10px; outline:none; box-shadow:var(--focus)}

/* Topbar */
.topbar{
  background:linear-gradient(180deg, rgba(182,122,99,.10), rgba(255,255,255,0));
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; gap:14px;
  padding:10px 0;
}
.topbar__left{display:flex; gap:14px; flex-wrap:wrap; align-items:center; color:var(--muted); font-size:13px}
.topbar__left a{opacity:.95}
.topbar__left a:hover{opacity:1; color:var(--text)}
.topbar__right{margin-left:auto; display:flex; gap:10px; align-items:center}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-size:13px;
}
.pill strong{color:var(--text); font-weight:600}

.lang{
  display:flex; border:1px solid var(--line);
  border-radius:999px; overflow:hidden;
  background:rgba(255,255,255,.72);
}
.lang button{
  appearance:none; border:0; background:transparent;
  color:var(--muted);
  padding:8px 12px;
  font-size:13px;
  cursor:pointer;
}
.lang button[aria-pressed="true"]{
  background:rgba(182,122,99,.14);
  color:var(--text);
}
.lang button:focus{outline:none; box-shadow:var(--focus)}

/* Header */
header{
  position:sticky; top:0; z-index:20;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; gap:18px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; min-width:240px;
}
.logo{
  width:42px; height:42px; border-radius:14px;
  margin-left: 20px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 48%),
    linear-gradient(135deg, rgba(182,122,99,.92), rgba(139,90,71,.78));
  box-shadow:0 10px 24px rgba(26,20,18,.16);
  border:1px solid rgba(26,20,18,.08);
}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__name{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing:.14em;
  font-size:14px;
  text-transform:uppercase;
}
.brand__tag{font-size:12px; color:var(--muted)}

.nav{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
  margin-left:auto;
}
.nav a{
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
  font-size:14px;
  letter-spacing:.02em;
}
.nav a:hover{background:rgba(182,122,99,.10); color:var(--text)}
.nav a[aria-current="page"]{
  background:rgba(182,122,99,.14);
  color:var(--text);
  border:1px solid rgba(182,122,99,.22);
}

.header__tools{display:flex; gap:10px; align-items:center}
.search{
  position:relative;
  width:min(320px, 42vw);
}
.search input{
  width:100%;
  padding:10px 40px 10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  color:var(--text);
}
.search input::placeholder{color:rgba(111,98,92,.70)}
.search input:focus{outline:none; box-shadow:var(--focus)}
.search .icon{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:18px; height:18px; opacity:.8;
}
.icon svg{width:100%; height:100%}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  color:var(--text);
  cursor:pointer;
  transition:transform .08s ease, background .12s ease, border-color .12s ease, color .12s ease;
}
.btn:hover{
  background:rgba(26,20,18,.88);
  border-color:rgba(26,20,18,1);
  color:#fffaf7;
}
.btn:active{transform:translateY(1px)}
.btn:focus{outline:none; box-shadow:var(--focus)}
.btn--primary{
  background:linear-gradient(135deg, rgba(182,122,99,.96), rgba(139,90,71,.90));
  border-color:rgba(26,20,18,.10);
  color:#fffaf7;
  font-weight:700;
}

/* Hero */
.hero{
  position:relative;
  margin-top:18px;
  border-radius:var(--radius2);
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(26,20,18,.08);
  /* If HTML sets `style="background-image: url(...)"`, it overrides the image here. */
  background:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.70) 52%, rgba(255,255,255,.25) 100%),
    radial-gradient(1200px 520px at 72% 38%, rgba(182,122,99,.14), transparent 55%),
    url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=1800&q=60");
  background-size:cover;
  background-position:center;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  padding:52px 40px;
}
.hero__title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:44px;
  line-height:1.05;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin:0 0 12px;
  color:rgba(255, 255, 255, 0.78);
}
.hero__subtitle{
  margin:0 0 18px;
  color:rgba(255, 255, 255, 0.78);
  max-width:54ch;
}
.hero__meta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin-top:18px;
}
.badge{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(26,20,18,.10);
  background:rgba(255,255,255,.72);
  color:var(--muted);
  font-size:13px;
}

.hero__right{
  display:flex; align-items:flex-end; justify-content:flex-end;
}
.hero__panel{
  width:min(420px, 100%);
  padding:18px 18px;
  border-radius:var(--radius);
  border:1px solid rgba(26,20,18,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.62));
}
.hero__panel h3{
  margin:0 0 8px;
  font-size:16px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero__panel p{margin:0; color:var(--muted); font-size:14px}

/* Sections */
.section{padding:28px 0}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px;
  margin-bottom:14px;
}
.section__title{
  margin:0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:24px;
  letter-spacing:.05em;
}
.section__sub{margin:0; color:var(--muted); font-size:14px}
.section--soft{
  background:radial-gradient(900px 420px at 0% 0%, rgba(182,122,99,.06), transparent 60%);
}
.section--columns .section__body{
  display:grid;
  grid-template-columns: 1.2fr 1.1fr;
  gap:18px;
}
.section--columns .panel{
  margin:0;
}

.link{
  color:var(--brand);
  font-weight:650;
}
.link:hover{text-decoration:underline}

/* Grid cards */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column: span 3;
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(26,20,18,.08);
  overflow:hidden;
  box-shadow:0 12px 36px rgba(26,20,18,.12);
}
.card__img{
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 25%, rgba(182,122,99,.18), transparent 45%),
    linear-gradient(135deg, rgba(26,20,18,.06), rgba(26,20,18,0));
  position:relative;
  overflow:hidden;
}
.card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card__body{padding:14px 14px 15px}
.card__title{margin:0 0 6px; font-size:16px}
.card__text{margin:0 0 12px; color:var(--muted); font-size:13px}
.card__actions{display:flex; gap:10px; align-items:center; justify-content:space-between}
.price{color:rgba(26,20,18,.78); font-weight:700; letter-spacing:.02em; font-size:13px}

.note{
  border-radius:var(--radius);
  border:1px dashed rgba(182,122,99,.28);
  background:rgba(182,122,99,.08);
  padding:12px 14px;
  color:rgba(26,20,18,.82);
  font-size:14px;
}

/* Catalog page */
.filters{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  margin:16px 0 6px;
}
.chip{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(26,20,18,.12);
  background:rgba(255,255,255,.72);
  color:var(--muted);
  cursor:pointer;
  font-size:13px;
}
.chip[aria-pressed="true"]{
  background:rgba(182,122,99,.14);
  color:var(--text);
}
.chip:focus{outline:none; box-shadow:var(--focus)}

/* Contacts */
.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
  align-items:start;
}
.panel{
  border-radius:var(--radius);
  border:1px solid rgba(26,20,18,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow:0 14px 40px rgba(26,20,18,.12);
  padding:16px;
}
.dl{
  display:grid;
  grid-template-columns: 190px 1fr;
  gap:10px 12px;
  margin:0;
}
.dl dt{color:var(--muted); font-size:13px}
.dl dd{margin:0; font-size:14px}
.phones{display:flex; flex-direction:column; gap:6px}
.phones a{color:rgba(26,20,18,.86)}
.phones a:hover{text-decoration:underline}

.map{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(26,20,18,.08);
  /* If HTML sets `style="background-image: url(...)"`, it overrides the image here. */
  background:
    linear-gradient(90deg, rgba(255,255,255,.85), rgba(255,255,255,.30)),
    url("https://images.unsplash.com/photo-1528909514045-2fa4ac7a08ba?auto=format&fit=crop&w=1800&q=60");
  background-size:cover;
  background-position:center;
}
.map__inner{padding:16px}
.map__inner p{margin:0; color:rgba(26,20,18,.82)}

/* Footer */
footer{
  margin-top:28px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.60);
}
.footer__inner{
  padding:18px 0;
  display:grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap:14px;
}
.footer__title{
  margin:0 0 8px;
  font-size:14px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(26,20,18,.88);
}
.footer__text{margin:0; color:var(--muted); font-size:13px}
.footer__list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px}
.footer__list a{color:var(--muted)}
.footer__list a:hover{color:var(--text); text-decoration:underline}
.copyright{
  padding:12px 0 18px;
  color:rgba(111,98,92,.78);
  font-size:12px;
}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr; padding:42px 20px}
  .brand{min-width:auto}
  .search{display:none}
  .card{grid-column: span 6}
  .footer__inner{grid-template-columns:1fr; gap:12px}
  .contact-grid{grid-template-columns:1fr}
  .dl{grid-template-columns: 160px 1fr}
}
@media (max-width: 560px){
  .hero__title{font-size:34px}
  .card{grid-column: span 12}
  .topbar__inner{flex-wrap:wrap}
  .topbar__right{margin-left:0; width:100%; justify-content:space-between}
}
