/* =========================
   Winter Pretty (refined)
   ========================= */

:root{
  --text: rgba(10, 30, 55, .92);
  --muted: rgba(10, 30, 55, .70);
  --line: rgba(150, 190, 230, .35);
  --card: rgba(255,255,255,.52);
  --card2: rgba(255,255,255,.42);
  --shadow: 0 18px 55px rgba(20,40,70,.16);
  --radius: 22px;
}

html{
  height: 100%;
  box-sizing: border-box;
  font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
*, *::before, *::after{ box-sizing: inherit; }

body{
  min-height: 100%;
  margin: 0 auto;
  max-width: 880px;
  padding: 84px 14px 24px; /* fixed header offset */
  color: var(--text);
  overflow-x: hidden;
}

/* Background sky */
body::before{
  content:"";
  position: fixed;
  inset: -30vh -30vw;
  z-index: -3;
  pointer-events:none;
  background:
    /* (①) subtle warm core to add depth without changing impression */
    radial-gradient(900px 600px at 50% 35%, rgba(255,230,245,.25), transparent 60%),
    radial-gradient(1200px 800px at 30% 20%, rgba(255,255,255,.38), transparent 65%),
    radial-gradient(1000px 700px at 70% 25%, rgba(235,245,255,.44), transparent 60%),
    radial-gradient(900px 650px at 20% 10%, rgba(240,248,255,.55), transparent 60%),
    radial-gradient(900px 650px at 80% 18%, rgba(210,235,255,.65), transparent 58%),
    linear-gradient(180deg, #e8f6ff 0%, #c8e2f7 45%, #86b6e6 100%);
  filter: saturate(118%) contrast(106%);
}

/* Back snow */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events:none;
  background-image:
    radial-gradient(1.2px 1.2px at 40px 50px, rgba(255,255,255,.45) 50%, transparent 55%),
    radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,.40) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 90px 200px, rgba(255,255,255,.35) 50%, transparent 55%),
    radial-gradient(1px 1px at 260px 180px, rgba(255,255,255,.40) 50%, transparent 55%),
    radial-gradient(1.2px 1.2px at 300px 40px, rgba(255,255,255,.32) 50%, transparent 55%),
    radial-gradient(1px 1px at 220px 20px, rgba(255,255,255,.30) 50%, transparent 55%);
  background-size: 360px 300px;
  opacity: .38; /* (③) slightly richer */
  animation: snowBack 14s linear infinite;
  transform: translate3d(0,0,0);
}
@keyframes snowBack{
  0%{ transform: translateY(-18vh); }
  100%{ transform: translateY(118vh); }
}

/* Front snow */
.snow-front{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events:none;
  background-image:
    radial-gradient(7px 7px at 70px 90px, rgba(255,255,255,.92) 50%, transparent 55%),
    radial-gradient(6px 6px at 260px 160px, rgba(255,255,255,.82) 50%, transparent 55%),
    radial-gradient(5px 5px at 150px 300px, rgba(255,255,255,.78) 50%, transparent 55%),
    radial-gradient(6.4px 6.4px at 420px 240px, rgba(255,255,255,.86) 50%, transparent 55%),
    radial-gradient(4.8px 4.8px at 560px 80px, rgba(255,255,255,.74) 50%, transparent 55%);
  background-size: 680px 580px;
  opacity: .72; /* (③) slightly richer */
  animation: snowFront 28s linear infinite;
}
@keyframes snowFront{
  0%{ transform: translateY(-26vh); }
  100%{ transform: translateY(126vh); }
}

/* Main glass card */
.main{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  padding: 14px;
}
.main::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  pointer-events:none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.26) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.18) 100%
  );
}
/* (②) subtle rim sparkle */
.main::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  pointer-events:none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    inset 0 0 18px rgba(255,255,255,.25);
}

/* Fixed header */
.fixed-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.78),
    rgba(225,240,255,0.72),
    rgba(235,225,255,0.66)
  );
  border-bottom: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 30px rgba(20,40,70,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 14px;
}
.fixed-header > *{ position: relative; z-index: 1; }
.fixed-header::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(80% 120% at 10% 40%, rgba(210,240,255,0.28), transparent 55%),
    radial-gradient(80% 120% at 55% 0%, rgba(235,215,255,0.26), transparent 55%),
    radial-gradient(80% 120% at 90% 50%, rgba(255,230,240,0.24), transparent 55%);
  opacity: .9;
}

/* Back button */
.b-back-button a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(200,220,240,.78);
  box-shadow: 0 6px 14px rgba(120,170,210,.20), inset 0 1px 0 rgba(255,255,255,.85);
  transition: transform .12s ease, box-shadow .12s ease;
  text-decoration: none;
}
.b-back-button a:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(120,170,210,.22), inset 0 1px 0 rgba(255,255,255,.90);
}
.fixed-header .b-back-button img{ height: 30px; width: auto; }

/* Week menu buttons */
.weekmenu{
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.weekbutton{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(200,220,240,.78);
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(120,170,210,.18), inset 0 1px 0 rgba(255,255,255,.82);
  transition: transform .12s ease, background .12s ease;
}
.weekbutton:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.94);
}

/* Logo */
.logo-center img{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(120,170,210,.22));
}

/* Tables -> Card style */
.main table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.52);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(150, 190, 230, .35);
  box-shadow: 0 14px 42px rgba(20,40,70,.12);
  margin: 18px 0;
}
.main table td{
  border-bottom: 1px solid rgba(150, 190, 230, .28);
}
.main table tr:last-child td{ border-bottom: 0; }

/* Week header row */
.main table tr.week td{
  background: linear-gradient(
    90deg,
    rgba(165,225,255,.85),
    rgba(195,215,255,.78),
    rgba(220,200,255,.72)
  );
  color: rgba(10, 40, 80, .96);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
  letter-spacing: .06em;
  padding: 14px 12px;
  font-size: 1.8rem;
  scroll-margin-top: 86px; /* anchor offset */
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Emphasize first character in week title */
.main table tr.week td::first-letter{
  font-size: 2.6rem;
  font-weight: 900;
  margin-right: .1em;
  vertical-align: -0.05em;
  display: inline-block;
}

/* Cells */
.productDate{
  width: 6rem;
  background: rgba(255,255,255,.72);
  color: rgba(20,70,150,.95);
  font-weight: 900;
  font-size: 1.3rem;
  padding: 10px 12px;
  white-space: nowrap;
  text-align: center;
}
.product{
  background: rgba(255,255,255,.72);
  color: var(--text);
  font-size: 1.4rem;
  padding: 10px 12px;
  line-height: 1.55;
}

/* Footer / notes */
.infoBottom{ padding: 8px 0 18px; }
.infoBottom p{
  margin: 0;
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
}
footer{
  text-align: center;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 18px 10px 6px;
}

/* Images */
img{ max-width: 100%; vertical-align: middle; }

/* Hover lift */
@media (hover:hover){
  .main table{
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .main table:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(20,40,70,.16);
  }
}

/* Slideshow */
.slideshow-container{
  position: relative;
  max-width: 100%;
}
.mySlides{ display: none; } /* prevents vertical stacking */

/* fade effect */
.fade{ animation: fadeEffect 2s ease; }
@keyframes fadeEffect{
  from{ opacity: .4; }
  to{ opacity: 1; }
}
.mySlides img{
  width: 100%;
  display: block;
}

/* Prev/Next arrows */
.prev,
.next{
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  user-select: none;
  z-index: 10;
}
.prev{ left: 10px; }
.next{ right: 10px; }
.prev:hover,
.next:hover{ background: rgba(0,0,0,0.55); }

/* Pagination dots */
.pagenation{ text-align: center; }
.dot{
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background: rgba(10,30,55,.25);
  border-radius: 50%;
  display: inline-block;
  transition: transform .12s ease, background .12s ease;
}
.dot:hover{ transform: scale(1.1); }
.dot.active{ background: rgba(10,30,55,.55); }

/* Responsive */
@media (max-width: 600px){
  body{ padding: 78px 10px 18px; }
  .fixed-header{ height: 60px; padding: 8px 10px; }
  .logo-center img{ height: 30px; }

  .weekmenu{
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 6px;
  }
  .weekmenu::-webkit-scrollbar{ display: none; }
  .weekbutton{ flex: 0 0 auto; padding: 6px 10px; font-size: 1.2rem; }

  .productDate{ width: 5.4rem; font-size: 1.2rem; }
  .product{ font-size: 1.3rem; }

  .main table tr.week td{
    font-size: 1.6rem;
    padding: 12px 10px;
  }
  .main table tr.week td::first-letter{ font-size: 2.2rem; }
}
