/* Стили оформления «mimosa» — ktodarit.ru. Общие — /t/core.css. */
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .tt { --tt-l: 2; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .ph:has(.gift-img) { display: block; overflow: hidden; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .hero { position: relative; overflow: hidden; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) h1 { position: relative; overflow-wrap: anywhere; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .greet { position: relative; white-space: pre-line; overflow-wrap: anywhere; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .sec-sub { text-align: center; max-width: 580px; margin: 0 auto 40px; padding: 0 20px; line-height: 1.5; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .list { max-width: 1120px; margin: 0 auto; padding: 14px 20px 70px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 40px 26px; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .card { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .card h3 { width: 100%; overflow-wrap: anywhere; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .card .btn { margin-top: auto; cursor: pointer; }
:is(.th-mimosa, .th-glossy, .th-beauty, .th-lavka, .th-vesna) .taken .btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
.th-mimosa .txt, .th-glossy .lines, .th-beauty .glass, .th-lavka .board, .th-vesna .tlg { container-type: inline-size; }
.th-mimosa { color: #3d3a2a; font-family: "Manrope", sans-serif; background: radial-gradient(ellipse at 20% 0, #fff7c2, transparent 55%), radial-gradient(ellipse at 90% 30%, #ffe1ea, transparent 50%), linear-gradient(#f4fbef, #fffdf5 60%); }
.th-mimosa .hero { padding: 70px 20px 90px; }
.th-mimosa .mbr { position: absolute; width: min(560px, 48vw); pointer-events: none; }
.th-mimosa .b1 { left: -40px; top: -30px; }
.th-mimosa .b2 { right: -60px; bottom: -70px; transform: rotate(180deg); width: min(440px, 38vw); opacity: .9; }
.th-mimosa .pt { position: absolute; top: -30px; left: var(--x); width: var(--s); height: var(--s); background: var(--c); border-radius: 50% 0 50% 50%; opacity: .85; animation: mi-fall var(--t) var(--d) linear infinite; pointer-events: none; }
@keyframes mi-fall { to { transform: translate(90px, 900px) rotate(540deg); } }
.th-mimosa .in { position: relative; z-index: 2; max-width: 1060px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.th-mimosa .crd { position: relative; width: min(760px, 100%); display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 26px; align-items: center; padding: 34px 40px 34px 26px; background: rgba(255, 253, 245, .92); border-radius: 28px; box-shadow: 0 30px 60px rgba(120, 110, 40, .22), 0 0 0 1px rgba(214, 188, 80, .25); transform: rotate(-1deg); animation: m8-in .8s backwards; }
.th-mimosa .crd::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(147, 180, 124, .55); border-radius: 20px; pointer-events: none; }
.th-mimosa .eg { position: relative; text-align: center; }
.th-mimosa .m8 { display: block; width: 100%; filter: drop-shadow(0 6px 6px rgba(150, 110, 0, .25)); }
.th-mimosa .mar { margin: -18px 0 0; position: relative; font: 400 40px "Marck Script", cursive; color: #e5383b; text-shadow: 0 2px 0 #fff; }
.th-mimosa .pre { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #6d8f55; }
.th-mimosa h1 { margin: 6px 0 0; font: italic 700 min(calc(clamp(46px, 6.4vw, 84px) * max(var(--k, 1), .7)), calc(100cqi / var(--w, 1) / .7))/1.05 "Playfair Display", serif; color: #2f5d3a; }
.th-mimosa .greet { margin: 14px 0 0; font: 400 26px/1.3 "Marck Script", cursive; color: #5a4a2a; }
.th-mimosa .cd { display: inline-block; margin: 18px 0 0; padding: 8px 18px; background: #ffd60a; border-radius: 999px; font-weight: 700; font-size: 15px; color: #4a3b00; box-shadow: 0 3px 0 #e3a600; }
.th-mimosa .jar { position: absolute; right: -60px; bottom: -70px; width: 250px; z-index: 3; filter: drop-shadow(0 16px 14px rgba(80, 60, 20, .25)); animation: m8-in .8s .3s backwards; }
.th-mimosa .jar .sway { transform-origin: 130px 300px; animation: mi-sway 4s ease-in-out infinite alternate; }
.th-mimosa .bfly.f1 { left: 10%; top: 40%; animation: bf-a 16s ease-in-out infinite; }
.th-mimosa .bfly.f2 { right: 12%; top: 18%; width: 36px; animation: bf-b 19s ease-in-out infinite; }
@keyframes bf-a { 0%, 100% { transform: translate(0, 0) rotate(-10deg); } 25% { transform: translate(18vw, -120px) rotate(12deg); } 50% { transform: translate(34vw, -30px) rotate(-6deg); } 75% { transform: translate(14vw, 80px) rotate(8deg); } }
@keyframes bf-b { 0%, 100% { transform: translate(0, 0) rotate(8deg); } 30% { transform: translate(-22vw, 60px) rotate(-12deg); } 60% { transform: translate(-8vw, 200px) rotate(10deg); } }
.th-mimosa .sec { text-align: center; margin: 40px 0 8px; font: italic 700 clamp(38px, 5.6vw, 58px)/1.1 "Playfair Display", serif; color: #2f5d3a; }
.th-mimosa .sec::after { content: ""; display: block; width: 90px; height: 14px; margin: 10px auto 0; background: radial-gradient(circle, #ffd60a 5px, transparent 6px) 0 50% / 18px 14px repeat-x; }
.th-mimosa .sec-sub { color: #6b6450; }
.th-mimosa .sp { transform: rotate(var(--r)); transition: transform .25s; filter: drop-shadow(0 12px 14px rgba(90, 80, 30, .2)); }
.th-mimosa .sp:hover { transform: rotate(0) translateY(-5px); }
.th-mimosa .pk { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; padding: 26px 18px 22px; background: #fffaf0; border-radius: 0 0 10px 10px;
  -webkit-mask: conic-gradient(from -45deg at 50% 8px, #000 90deg, transparent 0) 50% 0 / 14px 8px repeat-x, linear-gradient(#000 0 0) 0 8px / 100% calc(100% - 8px) no-repeat;
  mask: conic-gradient(from -45deg at 50% 8px, #000 90deg, transparent 0) 50% 0 / 14px 8px repeat-x, linear-gradient(#000 0 0) 0 8px / 100% calc(100% - 8px) no-repeat; }
.th-mimosa .pk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background: var(--fc); }
.th-mimosa .pk .top { position: relative; width: 100%; margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.th-mimosa .pk .ph { position: relative; width: 78%; aspect-ratio: 1; margin-top: 14px; display: grid; place-items: center; font-size: 62px; background: radial-gradient(circle at 50% 40%, #fff, #fff6d6); border-radius: 50%; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--fc), 0 8px 16px rgba(0, 0, 0, .1); transition: opacity .3s, filter .3s; }
.th-mimosa .pk .ph .gift-img { border-radius: 50%; padding: 12%; }
.th-mimosa .sp h3 { margin: 16px 0 6px; font: 700 18px/1.3 "Manrope", sans-serif; color: #3d3a2a; }
.th-mimosa .pr { margin: 0; font: italic 700 20px "Playfair Display", serif; color: #2f5d3a; }
.th-mimosa .nt { margin: 6px 0 14px; font-size: 11px; letter-spacing: .06em; color: #9a8f6a; }
.th-mimosa .btn { border: 0; border-radius: 999px; padding: 11px 30px; background: #2f5d3a; color: #fff; font: 800 15px "Manrope", sans-serif; box-shadow: 0 4px 0 #ffd60a; transition: transform .15s; }
.th-mimosa .btn:hover:not(:disabled) { transform: translateY(-2px); }
.th-mimosa .taken .btn { background: #ff758f; box-shadow: 0 4px 0 #c9184a; }
.th-mimosa .taken .ph { opacity: .55; filter: grayscale(.5); }
.th-mimosa .stk { --sr: 12deg; display: none; position: absolute; z-index: 3; right: -6px; top: 70px; width: 92px; height: 92px; border-radius: 50%; place-content: center; text-align: center; background: #ffd60a; color: #4a3b00; font: 800 14px/1.1 "Manrope", sans-serif; text-transform: uppercase; box-shadow: 0 6px 12px rgba(0, 0, 0, .2), inset 0 0 0 4px #fff3a0; }
.th-mimosa .stk b { display: block; font-size: 26px; }
.th-mimosa .taken .stk { display: grid; animation: m8-slam .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.th-mimosa footer:not(.ktd-foot) { text-align: center; padding: 10px 16px 50px; font: italic 700 28px "Playfair Display", serif; color: #2f5d3a; }
@media (max-width: 1000px) {
  .th-mimosa .jar { right: -10px; bottom: -110px; width: 180px; }
  .th-mimosa .hero { padding-bottom: 120px; }
}
@media (max-width: 640px) {
  .th-mimosa .hero { padding: 40px 12px 150px; }
  .th-mimosa .mbr { width: 300px; }
  .th-mimosa .b1 { left: -90px; top: -60px; }
  .th-mimosa .b2 { width: 240px; right: -80px; bottom: -40px; }
  .th-mimosa .crd { grid-template-columns: 1fr; padding: 22px 20px 26px; text-align: center; }
  .th-mimosa .eg { width: 150px; margin: 0 auto; }
  .th-mimosa .mar { font-size: 32px; }
  .th-mimosa .greet { font-size: 23px; }
  .th-mimosa .jar { width: 140px; right: -16px; bottom: -165px; }
  .th-mimosa .bfly.f2 { display: none; }
}
