{"id":2632,"date":"2026-08-05T14:25:13","date_gmt":"2026-08-05T14:25:13","guid":{"rendered":"https:\/\/rakbeauty.com\/?page_id=2632"},"modified":"2026-08-05T14:25:14","modified_gmt":"2026-08-05T14:25:14","slug":"4-jahre-rak-beauty-geburtstags-auktion","status":"publish","type":"page","link":"https:\/\/rakbeauty.com\/en\/4-jahre-rak-beauty-geburtstags-auktion\/","title":{"rendered":"4 Years of RAK Beauty \u2013 Anniversary Auction"},"content":{"rendered":"<script>window.RAK_AUCTION_CFG = {\"ajaxUrl\":\"https:\\\/\\\/rakbeauty.com\\\/wp-admin\\\/admin-ajax.php\",\"nonce\":\"f2e1627150\",\"instagram\":\"https:\\\/\\\/www.instagram.com\\\/rak_beauty_vienna?igsh=MTcwbXNuMDA2emVuMQ==\"};<\/script><style>\n\/* RAK BEAUTY \u00b7 4 YEARS BIRTHDAY AUCTION \u2014 brand theme (navy\/cream\/gold), no imports needed: Igra Sans + Geist are already loaded site-wide *\/\n.rak-auction {\n  font-family: \"Geist2\", \"Geist\", -apple-system, \"system-ui\", \"Segoe UI\", Roboto, sans-serif;\n  background: transparent;\n  color: #192a3d;\n  padding: 26px 10px 40px;\n  display: flex;\n  justify-content: center;\n}\n.rak-auction__inner { width: 100%; max-width: 880px; }\n\n.rak-auction__top {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  margin-bottom: 16px;\n  color: #0310AD;\n}\n.rak-auction__tagline {\n  font-family: \"Igra Sans\", sans-serif;\n  font-size: 13px;\n  letter-spacing: 0.14em;\n  text-transform: uppercase;\n  font-weight: 700;\n}\n.rak-auction__lang {\n  display: inline-flex;\n  padding: 3px;\n  border-radius: 999px;\n  background: #ffffff;\n  border: 1px solid #e1e8ed;\n}\n.rak-auction__lang-btn {\n  border: none;\n  background: transparent;\n  color: #3A4F66;\n  font-size: 11px;\n  padding: 5px 12px;\n  border-radius: 999px;\n  cursor: pointer;\n  font-family: \"Geist2\", sans-serif;\n}\n.rak-auction__lang-btn--active { background: #0310AD; color: #ffffff; font-weight: 600; }\n\n.rak-auction__steps { display: flex; gap: 6px; margin-bottom: 12px; }\n.rak-auction__step-dot { width: 7px; height: 7px; border-radius: 999px; background: #d7dbef; }\n.rak-auction__step-dot--active { background: #D4A54A; }\n\n.rak-auction__card {\n  background: #ffffff;\n  border-radius: 24px;\n  padding: 18px 18px 20px;\n  box-shadow: 0 18px 46px rgba(3, 16, 173, 0.10);\n  border: 1px solid #e1e8ed;\n  display: none;\n  position: relative;\n}\n.rak-auction__card--active { display: block; }\n\n.rak-auction__badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 5px;\n  padding: 5px 13px;\n  border-radius: 999px;\n  background: #D4A54A;\n  color: #ffffff;\n  font-size: 11px;\n  text-transform: uppercase;\n  letter-spacing: 0.1em;\n  font-weight: 700;\n  margin-bottom: 10px;\n  font-family: \"Geist2\", sans-serif;\n}\n\n.rak-title-main, .rak-title, .rak-form-title, .rak-modal__title {\n  font-family: \"Igra Sans\", sans-serif;\n  color: #0310AD;\n  letter-spacing: 0.01em;\n  font-weight: 700;\n}\n.rak-title-main { font-size: 26px; line-height: 1.18; margin-bottom: 8px; }\n.rak-title { font-size: 20px; margin-bottom: 8px; }\n\n.rak-subtitle { font-size: 14px; color: #3A4F66; margin-bottom: 10px; line-height: 1.45; }\n.rak-note { font-size: 12px; color: #7c84a0; margin-top: 6px; }\n\n.rak-btn-primary, .rak-btn-secondary {\n  border-radius: 999px;\n  padding: 11px 20px;\n  font-size: 14px;\n  cursor: pointer;\n  white-space: nowrap;\n  font-family: \"Geist2\", sans-serif;\n  font-weight: 500;\n}\n.rak-btn-primary {\n  border: none;\n  background: #0310AD;\n  color: #ffffff;\n  box-shadow: 0 14px 28px rgba(3, 16, 173, 0.28);\n  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;\n}\n.rak-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 34px rgba(3,16,173,0.34); }\n.rak-btn-secondary { border: 1px solid #0310AD; background: transparent; color: #0310AD; }\n.rak-btn-secondary:hover { background: #F2F5F7; }\n.rak-btn-primary[disabled], .rak-btn-secondary[disabled] { opacity: 0.55; cursor: default; box-shadow: none; transform: none; }\n.rak-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }\n\n\/* STEP 1 *\/\n.rak-intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }\n.rak-form { border-radius: 18px; border: 1px solid #e1e8ed; padding: 14px 14px 16px; background: #F7F6F2; }\n.rak-form-sub { font-size: 12px; color: #7c84a0; margin-bottom: 10px; }\n.rak-field { display: grid; gap: 4px; font-size: 12px; margin-bottom: 9px; }\n.rak-field label { color: #3A4F66; font-weight: 500; }\n.rak-field input {\n  border-radius: 999px; border: 1px solid #dfe3ee; padding: 9px 14px; font-size: 13px;\n  font-family: \"Geist2\", sans-serif; background: #ffffff; color: #192a3d;\n}\n.rak-field input::placeholder { color: #a7adc4; }\n\n\/* STEP 2: categories *\/\n.rak-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }\n.rak-cat {\n  border-radius: 18px; border: 1px solid #e1e8ed; background: #ffffff; padding: 18px 12px;\n  cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative;\n  overflow: hidden; text-align: center; transition: box-shadow .15s ease, border-color .15s ease;\n}\n.rak-cat:hover { box-shadow: 0 12px 30px rgba(3,16,173,0.12); border-color: #0310AD; }\n.rak-cat-label { font-size: 13px; color: #0310AD; text-transform: uppercase; letter-spacing: 0.06em; font-family: \"Igra Sans\", sans-serif; font-weight: 700; }\n.rak-cat-title, .rak-cat-tag { display: none; }\n\n\/* STEP 3: lots *\/\n.rak-chip {\n  display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #F2F5F7;\n  font-size: 11px; color: #0310AD; margin-bottom: 8px; font-family: \"Geist2\", sans-serif; font-weight: 600;\n}\n.rak-lots { display: grid; gap: 9px; }\n.rak-lot {\n  border-radius: 18px; border: 1px solid #e1e8ed; background: #ffffff; padding: 11px 12px;\n  cursor: pointer; display: grid; gap: 4px; transition: box-shadow .15s ease, border-color .15s ease;\n}\n.rak-lot--active { border-color: #0310AD; background: #F2F5F7; box-shadow: 0 12px 30px rgba(3,16,173,0.10); }\n.rak-lot-row { display: flex; justify-content: space-between; font-size: 12px; color: #3A4F66; }\n.rak-lot-title { font-size: 13px; color: #192a3d; font-weight: 500; }\n.rak-lot-tag {\n  justify-self: flex-end; font-size: 10px; padding: 3px 8px; border-radius: 999px; border: 1px solid #dfe3ee;\n  color: #8890ab; text-transform: uppercase; letter-spacing: 0.05em; font-family: \"Geist2\", sans-serif;\n}\n.rak-lot--active .rak-lot-tag { border-color: #0310AD; color: #0310AD; }\n\n.rak-pack-switch { display: inline-flex; border-radius: 999px; padding: 3px; background: #F2F5F7; margin-bottom: 12px; }\n.rak-pack-btn { border: none; border-radius: 999px; padding: 6px 13px; font-size: 12px; cursor: pointer; background: transparent; color: #3A4F66; font-family: \"Geist2\", sans-serif; font-weight: 500; }\n.rak-pack-btn--active { background: #0310AD; color: #ffffff; }\n\n\/* STEP 4: auction *\/\n.rak-auction-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }\n.rak-box { border-radius: 18px; border: 1px solid #e1e8ed; background: #F7F6F2; padding: 16px 16px 18px; }\n.rak-summary { display: none; }\n.rak-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 5px; color: #3A4F66; }\n.rak-val { font-size: 22px; font-weight: 700; color: #0310AD; font-family: \"Igra Sans\", sans-serif; }\n.rak-saving { margin-top: 6px; font-size: 13px; color: #108b55; display: none; font-weight: 500; }\n.rak-slots { margin-top: 8px; font-size: 12px; color: #b15c11; }\n.rak-motivation {\n  margin-top: 10px; font-size: 12px; color: #0310AD; background: #F2F5F7; border-radius: 14px;\n  padding: 9px 11px; min-height: 32px; display: none; font-weight: 500;\n}\n.rak-legal { margin-top: 11px; font-size: 11px; color: #a7adc4; text-align: center; }\n\n\/* MODAL *\/\n.rak-modal { position: fixed; inset: 0; background: rgba(9, 14, 56, 0.55); display: none; align-items: center; justify-content: center; z-index: 9999; }\n.rak-modal--open { display: flex; }\n.rak-modal__card { width: 90%; max-width: 380px; background: #ffffff; border-radius: 26px; padding: 22px 18px 18px; box-shadow: 0 24px 52px rgba(3,16,173,0.35); border: 1px solid #e1e8ed; position: relative; text-align: center; }\n.rak-modal__icon { width: 44px; height: 44px; border-radius: 999px; background: #D4A54A; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 22px; }\n.rak-modal__body { font-size: 14px; color: #3A4F66; margin-bottom: 12px; }\n.rak-modal__line { margin-bottom: 4px; }\n.rak-modal__hint { font-size: 12px; color: #7c84a0; margin-top: 8px; }\n.rak-modal__btn {\n  display: flex; justify-content: center; align-items: center; margin: 8px auto 0; width: 100%;\n  border-radius: 999px; padding: 11px 16px; border: none; background: #0310AD; color: #ffffff;\n  font-size: 14px; font-weight: 600; text-decoration: none; font-family: \"Geist2\", sans-serif;\n}\n.rak-modal__btn:hover { filter: brightness(1.08); }\n.rak-modal__close { position: absolute; top: 12px; right: 14px; border: none; background: transparent; font-size: 20px; cursor: pointer; color: #7c84a0; }\n\n@media (max-width: 768px) {\n  .rak-auction { padding: 18px 8px 30px; }\n  .rak-intro-grid { grid-template-columns: minmax(0, 1fr); }\n  .rak-cats { grid-template-columns: minmax(0, 1fr); }\n  .rak-auction__card { border-radius: 22px; }\n}\n<\/style>\n\n<div class=\"rak-auction\" id=\"rak-auction\">\n  <div class=\"rak-auction__inner\">\n    <div class=\"rak-auction__top\">\n      <div class=\"rak-auction__tagline\" data-i18n=\"tagline\">RAK Beauty Birthday<\/div>\n      <div class=\"rak-auction__lang\">\n        <button class=\"rak-auction__lang-btn rak-auction__lang-btn--active\" data-lang=\"ru\">RU<\/button>\n        <button class=\"rak-auction__lang-btn\" data-lang=\"de\">DE<\/button>\n      <\/div>\n    <\/div>\n\n    <div class=\"rak-auction__steps\">\n      <div class=\"rak-auction__step-dot rak-step-1 rak-auction__step-dot--active\"><\/div>\n      <div class=\"rak-auction__step-dot rak-step-2\"><\/div>\n      <div class=\"rak-auction__step-dot rak-step-3\"><\/div>\n      <div class=\"rak-auction__step-dot rak-step-4\"><\/div>\n    <\/div>\n\n    <!-- STEP 1 -->\n    <section class=\"rak-auction__card rak-auction__card--active\" data-step=\"1\">\n      <div class=\"rak-intro-grid\">\n        <div>\n          <div class=\"rak-auction__badge\" data-i18n=\"badge\">\ud83c\udf82 4 \u0433\u043e\u0434\u0430 RAK Beauty<\/div>\n          <h1 class=\"rak-title-main\" data-i18n=\"introTitle\">\u041f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u0439 \u0430\u0443\u043a\u0446\u0438\u043e\u043d \u043a\u043e \u0414\u043d\u044e \u0420\u043e\u0436\u0434\u0435\u043d\u0438\u044f RAK Beauty<\/h1>\n          <p class=\"rak-subtitle\" data-i18n=\"introText\">\u041d\u0430\u043c 4 \u0433\u043e\u0434\u0430! \u0412 \u0447\u0435\u0441\u0442\u044c \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0430 \u2014 \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u044b\u0435 \u043b\u043e\u0442\u044b \u043d\u0430 \u043f\u0435\u0434\u0438\u043a\u044e\u0440 \u0438 \u043b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u044d\u043f\u0438\u043b\u044f\u0446\u0438\u044e.<\/p>\n          <p class=\"rak-note\" data-i18n=\"introNote\">\u0426\u0435\u043d\u0430 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u0430 \u0443\u0441\u0442\u0440\u043e\u0438\u0442 \u2014 \u0436\u043c\u0438 \u00ab\u0421\u0442\u043e\u043f\u00bb \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0439 \u043b\u043e\u0442.<\/p>\n        <\/div>\n        <div class=\"rak-form\">\n          <div class=\"rak-form-title\" data-i18n=\"formTitle\">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f<\/div>\n          <div class=\"rak-form-sub\" data-i18n=\"formSub\">\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0432\u044b\u0438\u0433\u0440\u0430\u043d\u043d\u0443\u044e \u0446\u0435\u043d\u0443 \u0437\u0430 \u0442\u043e\u0431\u043e\u0439.<\/div>\n          <div class=\"rak-field\">\n            <label for=\"rak-name\" data-i18n=\"formName\">\u0418\u043c\u044f<\/label>\n            <input id=\"rak-name\" type=\"text\" placeholder=\"Alex\">\n          <\/div>\n          <div class=\"rak-field\">\n            <label for=\"rak-phone\" data-i18n=\"formPhone\">\u0422\u0435\u043b\u0435\u0444\u043e\u043d<\/label>\n            <input id=\"rak-phone\" type=\"tel\" placeholder=\"+43...\">\n          <\/div>\n          <div class=\"rak-field\">\n            <label for=\"rak-email\" data-i18n=\"formEmail\">E-mail (\u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e)<\/label>\n            <input id=\"rak-email\" type=\"email\" placeholder=\"you@mail.com\">\n          <\/div>\n          <button class=\"rak-btn-primary\" id=\"rak-register\" data-i18n=\"btnRegister\" style=\"width:100%;\">\u041d\u0430\u0447\u0430\u0442\u044c<\/button>\n        <\/div>\n      <\/div>\n    <\/section>\n\n    <!-- STEP 2 -->\n    <section class=\"rak-auction__card\" data-step=\"2\">\n      <div class=\"rak-auction__badge\" data-i18n=\"step2Badge\">\u0428\u0430\u0433 2<\/div>\n      <h2 class=\"rak-title\" id=\"rak-step2-title\"><\/h2>\n      <p class=\"rak-subtitle\" data-i18n=\"step2Text\">\u0412\u044b\u0431\u0435\u0440\u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0430\u0443\u043a\u0446\u0438\u043e\u043d\u0430.<\/p>\n      <div class=\"rak-cats\" id=\"rak-cats\"><\/div>\n      <div class=\"rak-buttons\">\n        <button class=\"rak-btn-secondary\" data-back-step=\"1\" data-i18n=\"btnBack\">\u041d\u0430\u0437\u0430\u0434<\/button>\n      <\/div>\n    <\/section>\n\n    <!-- STEP 3 -->\n    <section class=\"rak-auction__card\" data-step=\"3\">\n      <div class=\"rak-chip\" id=\"rak-lots-chip\"><\/div>\n      <h2 class=\"rak-title\" id=\"rak-lots-title\"><\/h2>\n\n      <div id=\"rak-pack-switch-wrap\" style=\"display:none;\">\n        <div class=\"rak-pack-switch\">\n          <button class=\"rak-pack-btn rak-pack-btn--active\" data-pack=\"41\">4+1<\/button>\n          <button class=\"rak-pack-btn\" data-pack=\"72\">7+2<\/button>\n        <\/div>\n      <\/div>\n\n      <div class=\"rak-lots\" id=\"rak-lots\"><\/div>\n\n      <div class=\"rak-buttons\">\n        <button class=\"rak-btn-secondary\" data-back-step=\"2\" data-i18n=\"btnBack\">\u041d\u0430\u0437\u0430\u0434<\/button>\n      <\/div>\n    <\/section>\n\n    <!-- STEP 4 -->\n    <section class=\"rak-auction__card\" data-step=\"4\">\n      <div class=\"rak-auction-grid\">\n        <div class=\"rak-box\">\n          <div class=\"rak-chip\" id=\"rak-auction-chip\"><\/div>\n          <h2 class=\"rak-title\" id=\"rak-auction-title\"><\/h2>\n          <p class=\"rak-subtitle\" id=\"rak-auction-text\"><\/p>\n          <div class=\"rak-summary\" id=\"rak-auction-summary\"><\/div>\n\n          <div class=\"rak-row\">\n            <span data-i18n=\"labelStart\">\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0446\u0435\u043d\u0430<\/span>\n            <div class=\"rak-val\" id=\"rak-base-price\">0 \u20ac<\/div>\n          <\/div>\n          <div class=\"rak-row\">\n            <span data-i18n=\"labelCurrent\">\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0446\u0435\u043d\u0430<\/span>\n            <div class=\"rak-val\" id=\"rak-current-price\">0 \u20ac<\/div>\n          <\/div>\n          <div class=\"rak-saving\" id=\"rak-saving\">\n            <span data-i18n=\"labelSavingPrefix\">\u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f<\/span>: <strong id=\"rak-saving-amount\">0 \u20ac<\/strong>\n          <\/div>\n\n          <div class=\"rak-slots\" id=\"rak-slots-info\"><\/div>\n\n          <div class=\"rak-buttons\">\n            <button class=\"rak-btn-secondary\" id=\"rak-start\" data-i18n=\"btnStart\">\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c<\/button>\n            <button class=\"rak-btn-primary\" id=\"rak-stop\" disabled data-i18n=\"btnStop\">\u0421\u0442\u043e\u043f, \u0437\u0430\u0431\u0438\u0440\u0430\u044e<\/button>\n            <button class=\"rak-btn-secondary\" data-back-step=\"3\" data-i18n=\"btnBack\">\u041d\u0430\u0437\u0430\u0434<\/button>\n          <\/div>\n\n          <div class=\"rak-motivation\" id=\"rak-motivation\"><\/div>\n        <\/div>\n      <\/div>\n\n      <p class=\"rak-legal\" data-i18n=\"legal\">\u0412\u0441\u0435 \u0446\u0435\u043d\u044b \u0432 \u0435\u0432\u0440\u043e, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 20% \u041d\u0414\u0421.<\/p>\n    <\/section>\n  <\/div>\n<\/div>\n\n<div class=\"rak-modal\" id=\"rak-modal\">\n  <div class=\"rak-modal__card\">\n    <button class=\"rak-modal__close\" id=\"rak-modal-close\">\u00d7<\/button>\n    <div class=\"rak-modal__icon\">\ud83c\udf89<\/div>\n    <div class=\"rak-modal__title\" data-i18n=\"modalTitle\">\u0412\u0430\u0448 \u0432\u044b\u0438\u0433\u0440\u044b\u0448!<\/div>\n    <div class=\"rak-modal__body\">\n      <div class=\"rak-modal__line\" id=\"rak-modal-lot\"><\/div>\n      <div class=\"rak-modal__line\" id=\"rak-modal-price\"><\/div>\n      <div class=\"rak-modal__line\" id=\"rak-modal-saving\"><\/div>\n      <div class=\"rak-modal__hint\" data-i18n=\"modalHint\">\u0421\u0434\u0435\u043b\u0430\u0439 \u0441\u043a\u0440\u0438\u043d \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c \u043d\u0430\u043c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442 Instagram \u2014 \u0437\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0437\u0430 \u0442\u043e\u0431\u043e\u0439.<\/div>\n    <\/div>\n    <a href=\"#\" class=\"rak-modal__btn\" id=\"rak-modal-btn\" target=\"_blank\" rel=\"noopener\" data-i18n=\"modalBtn\">\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Instagram<\/a>\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n  const root = document.getElementById(\"rak-auction\");\n  if (!root) return;\n\n  const CFG = window.RAK_AUCTION_CFG || {};\n\n  const text = {\n    ru: {\n      tagline: \"\u0414\u0435\u043d\u044c \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f RAK Beauty\",\n      badge: \"\ud83c\udf82 4 \u0433\u043e\u0434\u0430 RAK Beauty\",\n      introTitle: \"\u041f\u0440\u0430\u0437\u0434\u043d\u0438\u0447\u043d\u044b\u0439 \u0430\u0443\u043a\u0446\u0438\u043e\u043d \u043a\u043e \u0414\u043d\u044e \u0420\u043e\u0436\u0434\u0435\u043d\u0438\u044f RAK Beauty\",\n      introText: \"\u041d\u0430\u043c 4 \u0433\u043e\u0434\u0430! \u0412 \u0447\u0435\u0441\u0442\u044c \u043f\u0440\u0430\u0437\u0434\u043d\u0438\u043a\u0430 \u2014 \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u043d\u044b\u0435 \u043b\u043e\u0442\u044b \u043d\u0430 \u043f\u0435\u0434\u0438\u043a\u044e\u0440 \u0438 \u043b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u044d\u043f\u0438\u043b\u044f\u0446\u0438\u044e.\",\n      introNote: \"\u0426\u0435\u043d\u0430 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u0430 \u0443\u0441\u0442\u0440\u043e\u0438\u0442 \u2014 \u0436\u043c\u0438 \u00ab\u0421\u0442\u043e\u043f\u00bb \u0438 \u0437\u0430\u0431\u0438\u0440\u0430\u0439 \u043b\u043e\u0442.\",\n      formTitle: \"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f\",\n      formSub: \"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0432\u044b\u0438\u0433\u0440\u0430\u043d\u043d\u0443\u044e \u0446\u0435\u043d\u0443 \u0437\u0430 \u0442\u043e\u0431\u043e\u0439.\",\n      formName: \"\u0418\u043c\u044f\",\n      formPhone: \"\u0422\u0435\u043b\u0435\u0444\u043e\u043d\",\n      formEmail: \"E-mail (\u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e)\",\n      btnRegister: \"\u041d\u0430\u0447\u0430\u0442\u044c\",\n      step2Badge: \"\u0428\u0430\u0433 2\",\n      step2Text: \"\u0412\u044b\u0431\u0435\u0440\u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0430\u0443\u043a\u0446\u0438\u043e\u043d\u0430.\",\n      btnBack: \"\u041d\u0430\u0437\u0430\u0434\",\n      labelStart: \"\u0421\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0446\u0435\u043d\u0430\",\n      labelCurrent: \"\u0422\u0435\u043a\u0443\u0449\u0430\u044f \u0446\u0435\u043d\u0430\",\n      labelSavingPrefix: \"\u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f\",\n      btnStart: \"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\",\n      btnStop: \"\u0421\u0442\u043e\u043f, \u0437\u0430\u0431\u0438\u0440\u0430\u044e\",\n      legal: \"\u0412\u0441\u0435 \u0446\u0435\u043d\u044b \u0432 \u0435\u0432\u0440\u043e, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 20% \u041d\u0414\u0421.\",\n      auctionLead: \"\u0426\u0435\u043d\u0430 \u0438\u0434\u0451\u0442 \u0432\u0432\u0435\u0440\u0445-\u0432\u043d\u0438\u0437. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u0430 \u043e\u043a \u2014 \u0436\u043c\u0438 \u00ab\u0421\u0442\u043e\u043f\u00bb.\",\n      statusFixed: \"\u0426\u0435\u043d\u0430 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0437\u0430 \u0442\u043e\u0431\u043e\u0439 \ud83c\udf89\",\n      slots3: \"\u041f\u043e \u044d\u0442\u043e\u043c\u0443 \u043b\u043e\u0442\u0443 \u0441\u0435\u0433\u043e\u0434\u043d\u044f 3 \u0441\u043b\u043e\u0442\u0430.\",\n      slots2: \"\u0423\u0436\u0435 \u0437\u0430\u0431\u0440\u0430\u043b\u0438 \u043e\u0434\u0438\u043d \u0441\u043b\u043e\u0442. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c 2.\",\n      slots1: \"\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0441\u043b\u043e\u0442 \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043b\u043e\u0442\u0443 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f.\",\n      slotsMany: \"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043c\u0435\u0441\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043e.\",\n      modalTitle: \"\u0412\u0430\u0448 \u0432\u044b\u0438\u0433\u0440\u044b\u0448!\",\n      modalHint: \"\u0421\u0434\u0435\u043b\u0430\u0439 \u0441\u043a\u0440\u0438\u043d \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c \u043d\u0430\u043c \u0432 \u0434\u0438\u0440\u0435\u043a\u0442 Instagram \u2014 \u0437\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u0443\u0435\u043c \u0437\u0430 \u0442\u043e\u0431\u043e\u0439.\",\n      modalBtn: \"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 Instagram\",\n      modalLot: \"\u041b\u043e\u0442\",\n      modalPrice: \"\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0446\u0435\u043d\u0430\",\n      modalSaving: \"\u042d\u043a\u043e\u043d\u043e\u043c\u0438\u044f\"\n    },\n    de: {\n      tagline: \"RAK Beauty Geburtstag\",\n      badge: \"\ud83c\udf82 4 Jahre RAK Beauty\",\n      introTitle: \"Geburtstags-Auktion \u2013 RAK Beauty wird 4!\",\n      introText: \"Wir feiern 4 Jahre RAK Beauty! Exklusive Lots f\u00fcr Pedik\u00fcre und Laser-Haarentfernung.\",\n      introNote: \"Der Preis bewegt sich in Echtzeit. Sobald die Zahl passt \u2013 klick \u201eStopp\u201c und sichere dir den Lot.\",\n      formTitle: \"Anmeldung\",\n      formSub: \"Damit wir deinen Auktionspreis f\u00fcr dich fixieren.\",\n      formName: \"Name\",\n      formPhone: \"Telefon\",\n      formEmail: \"E-Mail (optional)\",\n      btnRegister: \"Start\",\n      step2Badge: \"Schritt 2\",\n      step2Text: \"W\u00e4hle deinen Bereich f\u00fcr die Auktion.\",\n      btnBack: \"Zur\u00fcck\",\n      labelStart: \"Startpreis\",\n      labelCurrent: \"Aktueller Preis\",\n      labelSavingPrefix: \"Ersparnis\",\n      btnStart: \"Start\",\n      btnStop: \"Stopp, ich nehme es\",\n      legal: \"Alle Preise in Euro inkl. 20% MwSt.\",\n      auctionLead: \"Der Preis bewegt sich. Sobald die Zahl passt \u2013 klick \u201eStopp\u201c.\",\n      statusFixed: \"Preis ist f\u00fcr dich fixiert \ud83c\udf89\",\n      slots3: \"F\u00fcr diesen Lot gibt es heute 3 Slots.\",\n      slots2: \"Ein Slot ist weg, es bleiben 2.\",\n      slots1: \"Letzter Slot heute f\u00fcr diesen Lot.\",\n      slotsMany: \"Die Pl\u00e4tze sind begrenzt.\",\n      modalTitle: \"Dein Gewinn!\",\n      modalHint: \"Mach einen Screenshot und schick ihn uns per Instagram-DM \u2013 wir reservieren ihn f\u00fcr dich.\",\n      modalBtn: \"In Instagram reservieren\",\n      modalLot: \"Lot\",\n      modalPrice: \"Endpreis\",\n      modalSaving: \"Ersparnis\"\n    }\n  };\n\n  const categories = {\n    nails: {\n      discount: 0.15,\n      ru: {\n        label: \"\u041f\u0435\u0434\u0438\u043a\u044e\u0440\",\n        lotsTitle: \"\u0412\u044b\u0431\u0435\u0440\u0438 \u043b\u043e\u0442 \u043f\u043e \u043f\u0435\u0434\u0438\u043a\u044e\u0440\u0443\",\n        lots: [\n          { id: \"nails-1\", title: \"\u041f\u0435\u0434\u0438\u043a\u044e\u0440 \u0441 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435\u043c\", base: 80 },\n          { id: \"nails-2\", title: \"\u041f\u0435\u0434\u0438\u043a\u044e\u0440 \u0431\u0435\u0437 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f\", base: 65 }\n        ]\n      },\n      de: {\n        label: \"Pedik\u00fcre\",\n        lotsTitle: \"W\u00e4hle deinen Pedik\u00fcre-Lot\",\n        lots: [\n          { id: \"nails-1\", title: \"Pedik\u00fcre mit Lack\", base: 80 },\n          { id: \"nails-2\", title: \"Pedik\u00fcre ohne Lack\", base: 65 }\n        ]\n      }\n    },\n    laser: {\n      discount: 0.15,\n      ru: {\n        label: \"\u041b\u0430\u0437\u0435\u0440\u043d\u0430\u044f \u044d\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u00b7 \u0430\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442\u044b\",\n        lotsTitle: \"\u0412\u044b\u0431\u0435\u0440\u0438 \u0430\u0431\u043e\u043d\u0435\u043c\u0435\u043d\u0442\",\n        lots: [\n          { id: \"l-41-1\", title: \"4+1 \u00b7 \u0413\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u0431\u0438\u043a\u0438\u043d\u0438 \u0438 \u043c\u0435\u0436\u044a\u044f\u0433\u043e\u0434\u0438\u0447\u043d\u0430\u044f \u0441\u043a\u043b\u0430\u0434\u043a\u0430\", base: 480, pack: \"41\" },\n          { id: \"l-41-2\", title: \"4+1 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438 \u0438 \u043c\u0435\u0436\u044a\u044f\u0433\u043e\u0434\u0438\u0447\u043d\u0430\u044f \u0441\u043a\u043b\u0430\u0434\u043a\u0430\", base: 596, pack: \"41\" },\n          { id: \"l-41-3\", title: \"4+1 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u0433\u043e\u043b\u0435\u043d\u0438 \u0438 \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438\", base: 956, pack: \"41\" },\n          { id: \"l-41-4\", title: \"4+1 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438, \u043d\u043e\u0433\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0441\u0442\u0443\u043f\u043d\u0438\", base: 1196, pack: \"41\" },\n          { id: \"l-41-5\", title: \"4+1 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438, \u043d\u043e\u0433\u0438 \u0438 \u0440\u0443\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e\", base: 1596, pack: \"41\" },\n          { id: \"l-41-6\", title: \"4+1 \u00b7 \u0412\u0441\u0451 \u0442\u0435\u043b\u043e\", base: 2640, pack: \"41\" },\n          { id: \"l-72-1\", title: \"7+2 \u00b7 \u0413\u043b\u0443\u0431\u043e\u043a\u043e\u0435 \u0431\u0438\u043a\u0438\u043d\u0438 \u0438 \u043c\u0435\u0436\u044a\u044f\u0433\u043e\u0434\u0438\u0447\u043d\u0430\u044f \u0441\u043a\u043b\u0430\u0434\u043a\u0430\", base: 840, pack: \"72\" },\n          { id: \"l-72-2\", title: \"7+2 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438 \u0438 \u0441\u043a\u043b\u0430\u0434\u043a\u0430\", base: 1043, pack: \"72\" },\n          { id: \"l-72-3\", title: \"7+2 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u0433\u043e\u043b\u0435\u043d\u0438 \u0438 \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438\", base: 1673, pack: \"72\" },\n          { id: \"l-72-4\", title: \"7+2 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438, \u043d\u043e\u0433\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u0441\u0442\u0443\u043f\u043d\u0438\", base: 2093, pack: \"72\" },\n          { id: \"l-72-5\", title: \"7+2 \u00b7 \u0411\u0438\u043a\u0438\u043d\u0438, \u0441\u043a\u043b\u0430\u0434\u043a\u0430, \u043f\u043e\u0434\u043c\u044b\u0448\u043a\u0438, \u043d\u043e\u0433\u0438 \u0438 \u0440\u0443\u043a\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e\", base: 2793, pack: \"72\" },\n          { id: \"l-72-6\", title: \"7+2 \u00b7 \u0412\u0441\u0451 \u0442\u0435\u043b\u043e\", base: 4620, pack: \"72\" }\n        ]\n      },\n      de: {\n        label: \"Laser-Haarentfernung \u00b7 Abos\",\n        lotsTitle: \"W\u00e4hle dein Abo\",\n        lots: [\n          { id: \"l-41-1\", title: \"4+1 \u00b7 Intim & Pofalte\", base: 480, pack: \"41\" },\n          { id: \"l-41-2\", title: \"4+1 \u00b7 Intim, Achseln & Pofalte\", base: 596, pack: \"41\" },\n          { id: \"l-41-3\", title: \"4+1 \u00b7 Intim, Pofalte, Unterschenkel & Achseln\", base: 956, pack: \"41\" },\n          { id: \"l-41-4\", title: \"4+1 \u00b7 Intim, Pofalte, Achseln, Beine komplett & F\u00fc\u00dfe\", base: 1196, pack: \"41\" },\n          { id: \"l-41-5\", title: \"4+1 \u00b7 Intim, Pofalte, Achseln, Beine & Arme komplett\", base: 1596, pack: \"41\" },\n          { id: \"l-41-6\", title: \"4+1 \u00b7 Ganzk\u00f6rper\", base: 2640, pack: \"41\" },\n          { id: \"l-72-1\", title: \"7+2 \u00b7 Intim & Pofalte\", base: 840, pack: \"72\" },\n          { id: \"l-72-2\", title: \"7+2 \u00b7 Intim, Achseln & Pofalte\", base: 1043, pack: \"72\" },\n          { id: \"l-72-3\", title: \"7+2 \u00b7 Intim, Pofalte, Unterschenkel & Achseln\", base: 1673, pack: \"72\" },\n          { id: \"l-72-4\", title: \"7+2 \u00b7 Intim, Pofalte, Achseln, Beine komplett & F\u00fc\u00dfe\", base: 2093, pack: \"72\" },\n          { id: \"l-72-5\", title: \"7+2 \u00b7 Intim, Pofalte, Achseln, Beine & Arme komplett\", base: 2793, pack: \"72\" },\n          { id: \"l-72-6\", title: \"7+2 \u00b7 Ganzk\u00f6rper\", base: 4620, pack: \"72\" }\n        ]\n      }\n    },\n  };\n\n  let lang = \"ru\";\n  let step = 1;\n  let userName = \"\", userPhone = \"\", userEmail = \"\";\n  let leadPostId = 0;\n  let currentCategoryKey = null;\n  let currentLot = null;\n  let currentLaserPack = \"41\";\n  let basePrice = 0, currentPrice = 0, minPrice = 0;\n  let lastSaving = 0;\n  let played = false;\n  let intervalId = null;\n  let remainingSlots = 0;\n\n  const langBtns = root.querySelectorAll(\".rak-auction__lang-btn\");\n  const cards = {\n    1: root.querySelector('[data-step=\"1\"]'),\n    2: root.querySelector('[data-step=\"2\"]'),\n    3: root.querySelector('[data-step=\"3\"]'),\n    4: root.querySelector('[data-step=\"4\"]')\n  };\n  const stepDots = {\n    1: root.querySelector(\".rak-step-1\"),\n    2: root.querySelector(\".rak-step-2\"),\n    3: root.querySelector(\".rak-step-3\"),\n    4: root.querySelector(\".rak-step-4\")\n  };\n  const step2Title = document.getElementById(\"rak-step2-title\");\n  const catsWrap = document.getElementById(\"rak-cats\");\n  const lotsChip = document.getElementById(\"rak-lots-chip\");\n  const lotsTitle = document.getElementById(\"rak-lots-title\");\n  const lotsWrap = document.getElementById(\"rak-lots\");\n  const packSwitchWrap = document.getElementById(\"rak-pack-switch-wrap\");\n  const packBtns = packSwitchWrap.querySelectorAll(\".rak-pack-btn\");\n  const auctionChip = document.getElementById(\"rak-auction-chip\");\n  const auctionTitle = document.getElementById(\"rak-auction-title\");\n  const auctionText = document.getElementById(\"rak-auction-text\");\n  const auctionSummary = document.getElementById(\"rak-auction-summary\");\n  const baseEl = document.getElementById(\"rak-base-price\");\n  const currentEl = document.getElementById(\"rak-current-price\");\n  const savingBlock = document.getElementById(\"rak-saving\");\n  const savingEl = document.getElementById(\"rak-saving-amount\");\n  const slotsInfo = document.getElementById(\"rak-slots-info\");\n  const motivEl = document.getElementById(\"rak-motivation\");\n  const startBtn = document.getElementById(\"rak-start\");\n  const stopBtn = document.getElementById(\"rak-stop\");\n  const modal = document.getElementById(\"rak-modal\");\n  const modalClose = document.getElementById(\"rak-modal-close\");\n  const modalLot = document.getElementById(\"rak-modal-lot\");\n  const modalPrice = document.getElementById(\"rak-modal-price\");\n  const modalSaving = document.getElementById(\"rak-modal-saving\");\n  const modalBtn = document.getElementById(\"rak-modal-btn\");\n\n  function t(key){ return (text[lang] && text[lang][key]) || text.ru[key] || \"\"; }\n  function priceFmt(v){ return v.toFixed(0) + \" \u20ac\"; }\n  function getLotTitle(){\n    if (!currentCategoryKey || !currentLot) return \"\";\n    const found = categories[currentCategoryKey][lang].lots.find(l => l.id === currentLot.id);\n    return found ? found.title : \"\";\n  }\n\n  function setStep(newStep){\n    step = newStep;\n    Object.keys(cards).forEach(k=>{ cards[k].classList.toggle(\"rak-auction__card--active\", Number(k)===newStep); });\n    Object.keys(stepDots).forEach(k=>{ stepDots[k].classList.toggle(\"rak-auction__step-dot--active\", Number(k)===newStep); });\n    if (newStep !== 4) stopInterval();\n    renderStepSpecific();\n  }\n  function stopInterval(){ if (intervalId){ clearInterval(intervalId); intervalId = null; } }\n\n  function applyStaticText(){\n    root.parentElement.querySelectorAll(\"[data-i18n]\").forEach(el=>{\n      const key = el.getAttribute(\"data-i18n\");\n      el.textContent = t(key);\n    });\n    document.querySelectorAll(\"#rak-modal [data-i18n]\").forEach(el=>{\n      const key = el.getAttribute(\"data-i18n\");\n      el.textContent = t(key);\n    });\n  }\n\n  function sendLead(stage){\n    if (!CFG.ajaxUrl || !userPhone) return Promise.resolve();\n    const body = new URLSearchParams({\n      action: \"rak_auction_lead\",\n      nonce: CFG.nonce || \"\",\n      name: userName,\n      phone: userPhone,\n      email: userEmail,\n      category: currentCategoryKey || \"\",\n      lot: currentLot ? getLotTitle() : \"\",\n      price: stage === \"won\" ? String(currentPrice) : \"\",\n      stage: stage,\n      lead_id: leadPostId ? String(leadPostId) : \"\"\n    });\n    return fetch(CFG.ajaxUrl, { method: \"POST\", credentials: \"same-origin\", body })\n      .then(r => r.json())\n      .then(data => {\n        if (data && data.success && data.data && data.data.id) {\n          leadPostId = data.data.id;\n        }\n      })\n      .catch(()=>{});\n  }\n\n  langBtns.forEach(btn=>{\n    btn.addEventListener(\"click\",()=>{\n      const l = btn.getAttribute(\"data-lang\");\n      if (l===lang) return;\n      lang = l;\n      langBtns.forEach(b=>b.classList.toggle(\"rak-auction__lang-btn--active\", b===btn));\n      applyStaticText();\n      renderStepSpecific();\n    });\n  });\n\n  function renderStepSpecific(){\n    if (step===2){ updateStep2Title(); renderCategories(); }\n    if (step===3 && currentCategoryKey) renderLots();\n    if (step===4 && currentCategoryKey && currentLot){\n      setupAuctionTexts();\n      renderSlotsInfo();\n      if (played) motivEl.textContent = t(\"statusFixed\");\n    }\n    if (modal.classList.contains(\"rak-modal--open\")) refreshModalTexts();\n  }\n\n  function updateStep2Title(){\n    const title = userName\n      ? (lang===\"ru\" ? `${userName}, \u0432\u044b\u0431\u0435\u0440\u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435` : `${userName}, w\u00e4hle deinen Bereich`)\n      : (lang===\"ru\" ? \"\u0412\u044b\u0431\u0435\u0440\u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\" : \"W\u00e4hle deinen Bereich\");\n    step2Title.textContent = title;\n  }\n\n  function renderSlotsInfo(){\n    if (!currentCategoryKey) return;\n    if (currentCategoryKey === \"nails\") {\n      if (remainingSlots >= 3) slotsInfo.textContent = t(\"slots3\");\n      else if (remainingSlots === 2) slotsInfo.textContent = t(\"slots2\");\n      else slotsInfo.textContent = t(\"slots1\");\n    } else {\n      slotsInfo.textContent = t(\"slotsMany\");\n    }\n  }\n\n  function refreshModalTexts(){\n    if (!currentLot) return;\n    modalLot.textContent = `${t(\"modalLot\")}: ${getLotTitle()}`;\n    modalPrice.textContent = `${t(\"modalPrice\")}: ${priceFmt(currentPrice)}`;\n    modalSaving.textContent = `${t(\"modalSaving\")}: ${priceFmt(lastSaving)}`;\n  }\n\n  document.getElementById(\"rak-register\").addEventListener(\"click\",()=>{\n    userName = document.getElementById(\"rak-name\").value.trim();\n    userPhone = document.getElementById(\"rak-phone\").value.trim();\n    userEmail = document.getElementById(\"rak-email\").value.trim();\n    if (!userPhone){\n      alert(lang===\"ru\" ? \"\u041d\u0443\u0436\u0435\u043d \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.\" : \"Bitte gib deine Telefonnummer an.\");\n      return;\n    }\n    updateStep2Title();\n    renderCategories();\n    setStep(2);\n    sendLead(\"registration\");\n  });\n\n  function renderCategories(){\n    catsWrap.innerHTML = \"\";\n    Object.keys(categories).forEach(key=>{\n      const cfg = categories[key][lang];\n      const card = document.createElement(\"article\");\n      card.className = \"rak-cat\";\n      card.dataset.category = key;\n      card.innerHTML = `<div class=\"rak-cat-label\">${cfg.label}<\/div>`;\n      card.addEventListener(\"click\",()=>{\n        currentCategoryKey = key;\n        currentLot = null;\n        if (key===\"laser\") currentLaserPack = \"41\";\n        renderLots();\n        setStep(3);\n      });\n      catsWrap.appendChild(card);\n    });\n  }\n\n  function renderLots(){\n    const catAll = categories[currentCategoryKey][lang];\n    lotsChip.textContent = catAll.label;\n    lotsTitle.textContent = catAll.lotsTitle;\n\n    if (currentCategoryKey===\"laser\") {\n      packSwitchWrap.style.display = \"block\";\n      packBtns.forEach(btn=>{\n        const p = btn.getAttribute(\"data-pack\");\n        btn.classList.toggle(\"rak-pack-btn--active\", p===currentLaserPack);\n      });\n    } else {\n      packSwitchWrap.style.display = \"none\";\n    }\n\n    lotsWrap.innerHTML = \"\";\n    const allLots = catAll.lots;\n    const filteredLots = currentCategoryKey===\"laser\" ? allLots.filter(l=>l.pack===currentLaserPack) : allLots;\n\n    filteredLots.forEach(lot=>{\n      const el = document.createElement(\"div\");\n      el.className = \"rak-lot\";\n      el.dataset.lotId = lot.id;\n      el.innerHTML = `\n        <div class=\"rak-lot-title\">${lot.title}<\/div>\n        <div class=\"rak-lot-row\">\n          <span>${t(\"labelStart\")}<\/span>\n          <span>${priceFmt(lot.base)}<\/span>\n        <\/div>\n        <div class=\"rak-lot-tag\">${lang===\"ru\" ? \"\u0412\u044b\u0431\u0440\u0430\u0442\u044c\" : \"W\u00e4hlen\"}<\/div>\n      `;\n      el.addEventListener(\"click\",()=>{\n        currentLot = { id: lot.id, base: lot.base, pack: lot.pack };\n        lotsWrap.querySelectorAll(\".rak-lot\").forEach(n=>{ n.classList.toggle(\"rak-lot--active\", n===el); });\n        setupAuction();\n        setStep(4);\n      });\n      lotsWrap.appendChild(el);\n    });\n  }\n\n  packBtns.forEach(btn=>{\n    btn.addEventListener(\"click\",()=>{\n      const p = btn.getAttribute(\"data-pack\");\n      if (p===currentLaserPack) return;\n      currentLaserPack = p;\n      packBtns.forEach(b=>b.classList.toggle(\"rak-pack-btn--active\", b===btn));\n      renderLots();\n    });\n  });\n\n  root.parentElement.querySelectorAll(\"[data-back-step]\").forEach(btn=>{\n    btn.addEventListener(\"click\",()=>{\n      const s = Number(btn.getAttribute(\"data-back-step\"));\n      setStep(s);\n    });\n  });\n\n  function setupAuctionTexts(){\n    const cat = categories[currentCategoryKey][lang];\n    auctionChip.textContent = cat.label;\n    auctionTitle.textContent = getLotTitle();\n    auctionText.textContent = t(\"auctionLead\");\n    auctionSummary.textContent = \"\";\n  }\n\n  function setupAuction(){\n    setupAuctionTexts();\n    const catMeta = categories[currentCategoryKey];\n    const rate = catMeta.discount;\n\n    basePrice = currentLot.base;\n    minPrice = basePrice*(1-rate);\n    currentPrice = basePrice;\n    played = false;\n    stopInterval();\n\n    baseEl.textContent = priceFmt(basePrice);\n    currentEl.textContent = priceFmt(currentPrice);\n    savingBlock.style.display = \"none\";\n    savingEl.textContent = \"0 \u20ac\";\n\n    if (currentCategoryKey === \"nails\") {\n      remainingSlots = 3;\n    } else {\n      remainingSlots = 0;\n    }\n    renderSlotsInfo();\n\n    startBtn.disabled = false;\n    stopBtn.disabled = true;\n    motivEl.textContent = \"\";\n    motivEl.style.display = \"none\";\n  }\n\n  startBtn.addEventListener(\"click\",()=>{\n    if (played) return;\n    startBtn.disabled = true;\n    stopBtn.disabled = false;\n    savingBlock.style.display = \"none\";\n    stopInterval();\n    currentPrice = basePrice;\n    currentEl.textContent = priceFmt(currentPrice);\n\n    let tick = 0;\n    intervalId = setInterval(()=>{\n      tick++;\n      const down = Math.random() < 0.78;\n      const stepVal = down ? (Math.floor(Math.random()*18)+6) : (Math.floor(Math.random()*6)+2);\n      let next = currentPrice + (down ? -stepVal : stepVal);\n      if (next < minPrice) next = minPrice;\n      if (next > basePrice) next = basePrice;\n      currentPrice = next;\n      currentEl.textContent = priceFmt(currentPrice);\n\n      if (currentCategoryKey === \"nails\" && remainingSlots > 1 && tick % 5 === 0) {\n        remainingSlots--;\n        renderSlotsInfo();\n      }\n    }, 280);\n  });\n\n  stopBtn.addEventListener(\"click\",()=>{\n    if (!intervalId) return;\n    finishAuction();\n  });\n\n  function openModal(){ modal.classList.add(\"rak-modal--open\"); }\n  function closeModal(){ modal.classList.remove(\"rak-modal--open\"); }\n  modalClose.addEventListener(\"click\", closeModal);\n  modal.addEventListener(\"click\", e=>{ if (e.target === modal) closeModal(); });\n\n  function finishAuction(){\n    stopInterval();\n    stopBtn.disabled = true;\n    played = true;\n\n    if (currentPrice < minPrice) currentPrice = minPrice;\n    currentEl.textContent = priceFmt(currentPrice);\n\n    const saving = Math.max(basePrice - currentPrice,0);\n    lastSaving = saving;\n    savingEl.textContent = priceFmt(saving);\n    savingBlock.style.display = \"block\";\n\n    motivEl.textContent = t(\"statusFixed\");\n    motivEl.style.display = \"block\";\n\n    const lotLabel = `${t(\"modalLot\")}: ${getLotTitle()}`;\n    modalLot.textContent = lotLabel;\n    modalPrice.textContent = `${t(\"modalPrice\")}: ${priceFmt(currentPrice)}`;\n    modalSaving.textContent = `${t(\"modalSaving\")}: ${priceFmt(saving)}`;\n    modalBtn.href = CFG.instagram || \"#\";\n\n    openModal();\n    sendLead(\"won\");\n  }\n\n  function init(){ applyStaticText(); }\n  init();\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_joinchat":[],"footnotes":""},"class_list":["post-2632","page","type-page","status-publish","hentry"],"blocksy_meta":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/pages\/2632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/comments?post=2632"}],"version-history":[{"count":1,"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/pages\/2632\/revisions"}],"predecessor-version":[{"id":2633,"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/pages\/2632\/revisions\/2633"}],"wp:attachment":[{"href":"https:\/\/rakbeauty.com\/en\/wp-json\/wp\/v2\/media?parent=2632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}