:root {
  --ink: #253d4e;
  --muted: #6d7f8d;
  --line: #e6edf2;
  --pink: #f40dc5;
  --pink-soft: rgba(244, 13, 197, 0.45);
  --green: #178a45;
  --bg: #fff;
  --shadow: 0 8px 28px rgba(37, 61, 78, 0.08);
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Titillium Web", "Segoe UI", sans-serif;
  font-size: 16px;
}
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}

.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #8b98a3;
}
.topbar-row, .header-row, .catbar-row {
  display: flex;
  align-items: center;
}
.topbar-row { justify-content: space-between; min-height: 36px; }
.top-links { display: flex; gap: 18px; }
.top-links a:hover, .top-phone:hover { color: var(--pink); }
.top-phone { font-weight: 700; color: var(--ink); }

.header { border-bottom: 1px solid var(--line); }
.header-row { gap: 28px; min-height: 92px; }
.logo {
  flex: 0 0 auto;
  width: 142px;
  height: 86px;
  overflow: hidden;
  display: block;
}
.logo img {
  width: 226px;
  height: 152px;
  max-width: none;
  margin: -33px 0 0 -42px;
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 48px;
  border: 2px solid var(--pink-soft);
  border-radius: 999px;
  padding: 0 6px 0 16px;
  background: #fff;
}
.search select {
  border: 0;
  background: transparent;
  max-width: 150px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 0 12px;
  background: transparent;
}
.search button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.search svg, .tool svg, .cat-wa svg, .menu-btn svg, .tumu svg, .trust svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.search svg { width: 20px; height: 20px; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  min-width: 74px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.tool svg { width: 26px; height: 26px; }
.tool em {
  position: absolute;
  top: -4px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--pink);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}
.menu-btn svg { width: 26px; height: 26px; }

.catbar { border-bottom: 1px solid var(--line); }
.catbar-row { gap: 4px; min-height: 58px; overflow-x: auto; }
.catbar-row::-webkit-scrollbar { height: 0; }
.catbar a, .drop > button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  white-space: nowrap;
}
.tumu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink) !important;
  color: #fff !important;
  border-radius: 5px;
  padding: 8px 14px !important;
}
.tumu svg { width: 16px; height: 16px; stroke: #fff; }
.drop { position: relative; }
.drop > button i {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink);
  vertical-align: middle;
}
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; }
.drop-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 600;
}
.drop-menu a:hover { background: #fdf2fb; color: var(--pink); }
.cat-wa { margin-left: auto; color: var(--pink) !important; }
.cat-wa svg { width: 22px; height: 22px; }

.mobile-drawer {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px 16px;
}
.mobile-drawer a, .mobile-drawer button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 8px;
  height: 520px;
  overflow: hidden;
  border-radius: 18px;
  background: #f7d3e4;
  box-shadow: 0 16px 40px rgba(244, 13, 197, 0.12);
}
.hero-track { height: 100%; }
.slide {
  display: none;
  height: 100%;
  align-items: center;
  padding: 48px 6%;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}
.slide-0 {
  background-image:
    linear-gradient(90deg, rgba(255, 236, 244, .96) 0%, rgba(255, 236, 244, .82) 34%, rgba(255, 236, 244, .2) 58%, rgba(255, 236, 244, 0) 72%),
    url("https://cdn.ciceksepeti.net/cicek-resim/xl/cs072.jpg");
}
.slide-1 {
  background-image:
    linear-gradient(90deg, rgba(246, 232, 255, .96) 0%, rgba(246, 232, 255, .82) 34%, rgba(246, 232, 255, .2) 58%, rgba(246, 232, 255, 0) 72%),
    url("https://cdn.ciceksepeti.net/cicek-resim/xl/cs611.jpg");
}
.slide-2 {
  background-image:
    linear-gradient(90deg, rgba(255, 243, 230, .96) 0%, rgba(255, 243, 230, .8) 34%, rgba(255, 243, 230, .18) 58%, rgba(255, 243, 230, 0) 72%),
    url("https://cdn.ciceksepeti.net/cicek-resim/xl/cs748.jpg");
}
.slide.is-on { display: flex; }
.slide-copy {
  max-width: 480px;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px 30px;
  box-shadow: 0 18px 46px rgba(37, 61, 78, 0.16);
}
.slide.is-on .slide-copy { animation: slide-in .45s ease; }
@keyframes slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.slide-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.slide h1 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.slide p { margin: 0 0 20px; font-size: 18px; color: #3d5566; max-width: 420px; }
.cta {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 10px 24px rgba(244, 13, 197, 0.35);
}
.cta:hover { filter: brightness(1.05); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
}
.hero-dots button.is-on { background: var(--pink); }

.occasions {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 26px 0 8px;
  scroll-snap-type: x mandatory;
}
.occasions::-webkit-scrollbar { height: 0; }
.occ {
  flex: 0 0 148px;
  scroll-snap-align: start;
  border: 0;
  border-radius: 16px;
  padding: 16px 10px 14px;
  text-align: center;
  background: #fde8ef;
}
.occ img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.occ strong { display: block; margin-top: 10px; font-size: 14px; }
.occ span { display: block; color: var(--muted); font-size: 13px; }

.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px auto;
}
.promo {
  min-height: 230px;
  border-radius: 18px;
  padding: 36px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(37, 28, 40, .72), rgba(37, 28, 40, .15));
}
.promo > * { position: relative; }
.promo p { margin: 0 0 6px; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.promo strong { font-size: 30px; line-height: 1.15; max-width: 280px; }
.promo span { margin-top: 8px; max-width: 260px; }
.promo em {
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  background: var(--pink);
  border-radius: 26px;
  padding: 8px 16px;
}
.promo.rose { background-image: url("https://cdn.ciceksepeti.net/cicek-resim/xl/cs072.jpg"); }
.promo.orchid { background-image: url("https://cdn.ciceksepeti.net/cicek-resim/xl/cs611.jpg"); }

.catalog { padding-bottom: 20px; }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.catalog-head h2 { margin: 8px 0; font-size: 28px; }
.catalog-head p { margin: 0; color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid #eef2f5;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(37, 61, 78, .04);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card:hover { box-shadow: var(--shadow); }
.card-media { position: relative; }
.card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f6f7f8;
  display: block;
}
.heart {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #9aa8b3;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.heart.is-on { color: var(--pink); }
.heart.is-on svg { fill: var(--pink); }
.card h3 {
  margin: 8px 0 6px;
  font-size: 15px;
  line-height: 1.35;
  min-height: 40px;
}
.same-day { margin: 8px 0 0; color: var(--green); font-size: 13px; font-weight: 700; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.price-row strong { color: var(--pink); font-size: 18px; }
.price-row s { color: #9aa6af; font-size: 13px; }
.card-hit {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.more {
  display: block;
  margin: 22px auto 0;
  height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 26px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.trust { border-top: 1px solid var(--line); margin-top: 28px; }
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 28px 0;
}
.trust article { display: flex; gap: 12px; align-items: center; }
.trust svg { width: 34px; height: 34px; color: var(--pink); flex: none; }
.trust strong, .trust span { display: block; }
.trust span { color: var(--muted); font-size: 14px; }

.about { padding: 8px 0 36px; }
.about h2 { margin-bottom: 8px; }
.about p { margin: 0; max-width: 720px; color: #3e5566; line-height: 1.55; }

.footer { background: #f7f9fb; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 36px 0;
}
.footer h3 { margin: 0 0 12px; font-size: 16px; }
.footer a, .footer p { display: block; color: #4d6272; margin: 0 0 8px; }
.footer a:hover { color: var(--pink); }
.wa-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.wa-btn, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 26px;
  background: var(--pink);
  color: #fff !important;
  font-weight: 700;
}
.wa-btn { background: #1fa855; margin-top: 8px; }
.copy {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 14px;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  box-shadow: 0 8px 20px rgba(31, 168, 85, .35);
  z-index: 35;
}
.float-wa svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: currentColor;
  stroke: none;
  transform: translate(1px, -1px);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 42, .45);
  z-index: 40;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: #fff;
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,.08);
}
.drawer-head, .drawer-foot { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer-head h2, .modal h2 { margin: 0; }
.drawer-head button, .modal-x {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}
.drawer-body { flex: 1; overflow: auto; padding: 8px 18px 18px; }
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-row h3 { margin: 0 0 6px; font-size: 15px; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.total-line { display: flex; justify-content: space-between; font-size: 18px; }
.empty { color: var(--muted); padding: 24px 0; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 32, 42, .45);
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-card {
  width: min(860px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  position: relative;
}
.product-card { display: grid; grid-template-columns: 1.1fr .9fr; }
.product-card img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.product-info { padding: 28px 24px 24px; }
.product-info h2 { font-size: 28px; margin: 6px 0 10px; }
.product-info .price-row strong { font-size: 26px; }
.note { color: #4d6272; line-height: 1.5; }
.qty { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.qty button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 20px;
}
.product-info .primary, .checkout-card .primary, .drawer-foot .primary { width: 100%; }
.modal-x { position: absolute; top: 8px; right: 10px; z-index: 1; }
.checkout-card { width: min(520px, 100%); padding: 22px 22px 18px; }
.checkout-card label { display: grid; gap: 4px; margin: 10px 0; font-weight: 700; font-size: 14px; }
.checkout-card label span { font-weight: 400; color: var(--muted); }
.checkout-card input, .checkout-card textarea {
  border: 1px solid #d5dee6;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 400;
}
.form-error { color: #b42318; font-weight: 700; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 70;
}
.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: min(320px, calc(100% - 32px));
  background: var(--pink);
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  z-index: 36;
}
.cookie p { margin: 6px 0 12px; font-size: 14px; }
.cookie button {
  border: 0;
  background: #fff;
  color: var(--pink);
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 14px;
}

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .catbar a, .drop > button { padding: 10px 8px; font-size: 13px; }
}
.admin-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 32, 42, .55);
}
.admin-card {
  width: min(440px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
}
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-head h2 { margin: 0; }
.admin-head p { margin: 4px 0 0; color: var(--muted); }
.admin-head a { font-weight: 700; color: var(--pink); }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  background: #fff7f8;
  border: 1px solid #fecdd3;
  border-radius: 14px;
}
.admin-stats b { display: block; font-size: 26px; line-height: 1; }
.admin-stats span { display: block; margin-top: 4px; font-size: 12px; color: #7a3040; }
.admin-stats p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12px; color: #7a5c64; }
.admin-card label { display: grid; gap: 4px; margin: 10px 0; font-weight: 700; font-size: 14px; }
.admin-card input {
  border: 1px solid #d5dee6;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 400;
}
.admin-card .primary { width: 100%; }
.admin-ok { color: #178a45; font-weight: 700; }
.admin-saved { color: #178a45; font-weight: 700; }

@media (max-width: 860px) {
  .topbar { display: none; }
  .tool span { display: none; }
  .tool { min-width: 42px; }
  .menu-btn { display: grid; place-items: center; }
  .header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 64px;
    gap: 8px;
  }
  .logo { grid-column: 2; justify-self: center; }
  .header-tools { grid-column: 3; justify-self: end; }
  .logo { width: 112px; height: 68px; }
  .logo img { width: 178px; height: 120px; margin: -26px 0 0 -33px; }
  .search { grid-column: 1 / -1; margin-bottom: 10px; }
  .search select { display: none; }
  .catbar { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .promos, .trust-row, .footer-grid, .product-card { grid-template-columns: 1fr; }
  .hero { height: auto; }
  .slide {
    display: none;
    min-height: 0;
    flex-direction: column;
    padding: 28px 20px 56px;
    background-size: cover;
    background-position: center top;
  }
  .slide.is-on { display: flex; }
  .slide-copy { max-width: none; padding: 18px 18px 20px; }
  .slide h1 { font-size: 30px; }
  .promo { min-height: 200px; }
  .promo strong { font-size: 24px; }
  .cookie { width: min(320px, calc(100% - 96px)); }
}
@media (max-width: 520px) {
  .grid { gap: 10px; }
  .card h3 { font-size: 14px; min-height: 38px; }
  .price-row strong { font-size: 16px; }
}
