@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");

*,
*::before,
*::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
}

:root {
   --teal: #3bbec4;
   --teal-dark: #2a9aa0;
   --teal-light: #e6f7f8;
   --cream: #fff8e7;
   --text: #1a3335;
   --white: #ffffff;
   --pink: #ff6b9d;
   --yellow: #ffd93d;
   --green: #4caf50;
   --radius-card: 20px;
   --radius-btn: 50px;
   --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);
   --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.15);
}

html {
   scroll-behavior: smooth;
}
body {
   font-family: "Nunito", sans-serif;
   background: var(--cream);
   color: var(--text);
   overflow-x: hidden;
}

/* NAV */
.nav {
   background: var(--teal);
   padding: 14px 40px;
   position: sticky;
   top: 0;
   z-index: 100;
   box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}
.nav-container {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.nav-logo {
   font-family: "Pacifico", cursive;
   color: var(--white);
   font-size: 30px;
   text-decoration: none;
   letter-spacing: 0.5px;
}
.nav-links {
   list-style: none;
   display: flex;
   gap: 28px;
}
.nav-links a {
   color: var(--white);
   text-decoration: none;
   font-weight: 700;
   font-size: 15px;
   transition: opacity 0.2s;
}
.nav-links a:hover {
   opacity: 0.8;
   text-decoration: underline;
}
.nav-cart {
   background: var(--white);
   color: var(--teal-dark);
   border: none;
   border-radius: var(--radius-btn);
   padding: 9px 20px;
   font-family: "Nunito", sans-serif;
   font-weight: 900;
   font-size: 14px;
   cursor: pointer;
   display: flex;
   align-items: center;
   gap: 7px;
   transition:
      transform 0.15s,
      box-shadow 0.15s;
}
.nav-cart:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.cart-count {
   background: var(--pink);
   color: white;
   border-radius: 50%;
   width: 20px;
   height: 20px;
   font-size: 11px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 900;
}
.nav-mobile-right {
   display: none;
   align-items: center;
   gap: 25px;
}
.nav-cart-mobile {
   background: var(--white);
   border: none;
   border-radius: 50%;
   width: 38px;
   height: 38px;
   font-size: 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   position: relative;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.nav-cart-mobile .cart-count {
   position: absolute;
   top: -4px;
   right: -4px;
   width: 18px;
   height: 18px;
   font-size: 10px;
}
.nav-burger {
   display: none;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background: none;
   border: none;
   cursor: pointer;
   width: 32px;
   height: 32px;
   padding: 0;
   position: relative;
}
.nav-burger .bar {
   display: block;
   width: 22px;
   height: 2px;
   background: var(--white);
   border-radius: 2px;
   position: absolute;
   transition:
      transform 0.3s,
      opacity 0.3s;
}
.nav-burger .bar1 {
   top: 9px;
}
.nav-burger .bar2 {
   top: 15px;
}
.nav-burger .bar3 {
   top: 21px;
}
.nav-burger.open .bar1 {
   transform: translateY(6px) rotate(45deg);
}
.nav-burger.open .bar2 {
   opacity: 0;
}
.nav-burger.open .bar3 {
   transform: translateY(-6px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
   display: none;
   flex-direction: column;
   background: var(--teal-dark);
   max-height: 0;
   overflow: hidden;
   transition:
      max-height 0.35s ease,
      padding 0.35s;
   position: sticky;
   top: 80px;
   z-index: 99;
}
.mobile-menu.open {
   max-height: 240px;
   padding: 10px 0;
}
.mobile-menu a {
   color: white;
   text-decoration: none;
   font-weight: 700;
   font-size: 16px;
   padding: 12px 24px;
   display: block;
}
.mobile-menu a:hover {
   background: rgba(255, 255, 255, 0.1);
}

/* HERO */
.hero {
   background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
   padding: 80px 40px 70px;
   text-align: center;
   position: relative;
   overflow: hidden;
}
.hero::before {
   content: "";
   position: absolute;
   inset: 0;
   background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIj4KICA8cmVjdCB4PSIxNCIgeT0iMjAiIHdpZHRoPSIxNCIgaGVpZ2h0PSI0IiByeD0iMiIgZmlsbD0iI2ZmNmI5ZCIgdHJhbnNmb3JtPSJyb3RhdGUoMjUgMjEgMjIpIi8+CiAgPHJlY3QgeD0iNzAiIHk9IjEwIiB3aWR0aD0iMTQiIGhlaWdodD0iNCIgcng9IjIiIGZpbGw9IiNmZmQ5M2QiIHRyYW5zZm9ybT0icm90YXRlKC0zNSA3NyAxMikiLz4KICA8cmVjdCB4PSIxMjAiIHk9IjM1IiB3aWR0aD0iMTQiIGhlaWdodD0iNCIgcng9IjIiIGZpbGw9IiNmZmZmZmYiIHRyYW5zZm9ybT0icm90YXRlKDYwIDEyNyAzNykiLz4KICA8cmVjdCB4PSIzMCIgeT0iNzAiIHdpZHRoPSIxNCIgaGVpZ2h0PSI0IiByeD0iMiIgZmlsbD0iI2ZmZDkzZCIgdHJhbnNmb3JtPSJyb3RhdGUoLTEwIDM3IDcyKSIvPgogIDxyZWN0IHg9Ijk1IiB5PSI4MCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjQiIHJ4PSIyIiBmaWxsPSIjZmY2YjlkIiB0cmFuc2Zvcm09InJvdGF0ZSg4MCAxMDIgODIpIi8+CiAgPHJlY3QgeD0iMTAiIHk9IjExMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjQiIHJ4PSIyIiBmaWxsPSIjZmZmZmZmIiB0cmFuc2Zvcm09InJvdGF0ZSgxNSAxNyAxMTIpIi8+CiAgPHJlY3QgeD0iNTUiIHk9IjEyMCIgd2lkdGg9IjE0IiBoZWlnaHQ9IjQiIHJ4PSIyIiBmaWxsPSIjZmY2YjlkIiB0cmFuc2Zvcm09InJvdGF0ZSgtNTAgNjIgMTIyKSIvPgogIDxyZWN0IHg9IjEzMCIgeT0iMTAwIiB3aWR0aD0iMTQiIGhlaWdodD0iNCIgcng9IjIiIGZpbGw9IiNmZmQ5M2QiIHRyYW5zZm9ybT0icm90YXRlKDQwIDEzNyAxMDIpIi8+CiAgPHJlY3QgeD0iMTQwIiB5PSIxNDAiIHdpZHRoPSIxNCIgaGVpZ2h0PSI0IiByeD0iMiIgZmlsbD0iI2ZmZmZmZiIgdHJhbnNmb3JtPSJyb3RhdGUoLTI1IDE0NyAxNDIpIi8+CiAgPHJlY3QgeD0iMCIgeT0iMTQ1IiB3aWR0aD0iMTQiIGhlaWdodD0iNCIgcng9IjIiIGZpbGw9IiNmZjZiOWQiIHRyYW5zZm9ybT0icm90YXRlKDEwIDcgMTQ3KSIvPgo8L3N2Zz4K");
   background-repeat: repeat;
   background-size: 160px 160px;
   opacity: 0.55;
   pointer-events: none;
}
.hero::after {
   content: "";
   position: absolute;
   bottom: -2px;
   left: 0;
   width: 100%;
   height: 50px;
   background: var(--cream);
   clip-path: ellipse(55% 100% at 50% 100%);
}

/* блок hero start */
.hero-inner {
   position: relative;
   z-index: 1;
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 40px;
}
.hero-text {
   flex: 1;
   text-align: left;
   opacity: 0;
   transform: translateX(-60px);
   animation: slideFromLeft 0.9s ease forwards 0.2s;
}
.hero-img {
   flex: 1;
   display: flex;
   justify-content: flex-end;
   opacity: 0;
   transform: translateX(60px);
   animation: slideFromRight 0.9s ease forwards 0.2s;
}
.hero-img img {
   max-width: 100%;
   max-height: 380px;
   object-fit: contain;
   filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}
@keyframes slideFromLeft {
   to {
      opacity: 1;
      transform: translateX(0);
   }
}
@keyframes slideFromRight {
   to {
      opacity: 1;
      transform: translateX(0);
   }
}

/* hero end */
.hero h1 {
   font-family: "Pacifico", cursive;
   font-size: clamp(32px, 6vw, 62px);
   color: var(--white);
   line-height: 1.2;
   margin-bottom: 16px;
   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.hero p {
   color: rgba(255, 255, 255, 0.95);
   font-size: clamp(15px, 2vw, 18px);
   font-weight: 700;
   line-height: 1.6;
}

.hero-features {
   display: flex;
   flex-direction: column;
   gap: 14px;
   margin-top: 6px;
}
.hero-feature {
   display: flex;
   align-items: center;
   gap: 12px;
}
.hero-feature-line {
   width: 1px;
   height: 16px;
   background: var(--yellow);
   flex-shrink: 0;
}
.hero-feature span:last-child {
   font-size: 15px;
   font-weight: 700;
   color: white;
   letter-spacing: 0.3px;
}

/* BUTTONS */
.btn-teal {
   background: var(--teal);
   color: white;
   font-family: "Nunito", sans-serif;
   font-weight: 900;
   font-size: 15px;
   padding: 13px 30px;
   border-radius: var(--radius-btn);
   border: none;
   cursor: pointer;
   display: inline-block;
   transition:
      background 0.15s,
      transform 0.15s;
}
.btn-teal:hover {
   background: var(--teal-dark);
   transform: translateY(-1px);
}
.btn-full {
   width: 100%;
   text-align: center;
}

/* SECTION */
.section {
   padding: 70px 40px;
   max-width: 1200px;
   margin: 0 auto;
   scroll-margin-top: 210px;
}
.section-label {
   font-size: 12px;
   font-weight: 900;
   letter-spacing: 2px;
   text-transform: uppercase;
   color: var(--teal-dark);
   margin-bottom: 8px;
}
.section-title {
   font-family: "Pacifico", cursive;
   font-size: clamp(24px, 4vw, 38px);
   color: var(--text);
   margin-bottom: 40px;
}

/* PRODUCTS EMPTY */
.products-empty {
   text-align: center;
   padding: 60px 20px;
}
.products-empty-icon {
   font-size: 64px;
   margin-bottom: 16px;
}
.products-empty-title {
   font-size: 20px;
   font-weight: 900;
   color: var(--text);
   margin-bottom: 8px;
}
.products-empty-sub {
   font-size: 15px;
   color: #5a8a8c;
   font-weight: 600;
}

/* PRODUCT GRID */
.products {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
}

/* CARD */
.card {
   background: var(--white);
   border-radius: var(--radius-card);
   overflow: hidden;
   box-shadow: var(--shadow-card);
   opacity: 0;
   transform: translateY(40px);
   transition:
      opacity 0.9s ease,
      transform 0.9s ease,
      box-shadow 0.2s;
   display: flex;
   flex-direction: column;
}
.card.visible {
   opacity: 1;
   transform: translateY(0);
}
.card:hover {
   box-shadow: var(--shadow-hover);
   transform: translateY(-5px);
}
/* .card-img {
   height: 200px;
   overflow: hidden;
   position: relative;
} */
.card-img {
   aspect-ratio: 1 / 1;
   overflow: hidden;
}

.card-img img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
   transition: transform 0.4s;
}

/* PRODUCT BADGE (Новинка / Хіт) */
.product-badge {
   position: absolute;
   top: 12px;
   left: 12px;
   z-index: 2;
   padding: 6px 14px;
   border-radius: 50px;
   font-size: 12px;
   font-weight: 900;
   color: white;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.badge-new {
   background: var(--green);
}
.badge-hit {
   background: var(--pink);
}
.card:hover .card-img img {
   transform: scale(1.05);
}
.card-body {
   padding: 18px 20px 22px;
   display: flex;
   flex-direction: column;
   flex: 1;
}
.card-name {
   font-weight: 900;
   font-size: 17px;
   color: #0f2426;
   margin-bottom: 5px;
}
.card-sub {
   font-size: 13px;
   color: #4a7a7c;
   font-weight: 700;
   margin-bottom: 16px;
   line-height: 1.5;
   flex: 1;
}
.card-footer {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-top: auto;
   padding-top: 14px;
}
.price {
   font-family: "Pacifico", cursive;
   font-size: 22px;
   color: var(--teal-dark);
}
.price small {
   font-family: "Nunito", sans-serif;
   font-size: 13px;
   color: #7a9a9c;
}
.add-btn {
   background: var(--teal);
   color: white;
   border: none;
   border-radius: var(--radius-btn);
   padding: 9px 20px;
   font-family: "Nunito", sans-serif;
   font-weight: 900;
   font-size: 14px;
   cursor: pointer;
   transition: background 0.15s;
}
.add-btn:hover {
   background: var(--teal-dark);
}
.add-btn.added {
   background: var(--green);
   pointer-events: none;
}

/* WHY */
.why-strip {
   background: var(--teal);
   padding: 60px 40px;
   text-align: center;
}
.why-title-main {
   font-family: "Pacifico", cursive;
   font-size: clamp(22px, 4vw, 34px);
   color: var(--white);
   margin-bottom: 40px;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-rendering: optimizeLegibility;
}
.why-grid {
   display: flex;
   justify-content: center;
   gap: 50px;
   flex-wrap: wrap;
   max-width: 860px;
   margin: 0 auto;
}
.why-item {
   color: var(--white);
   max-width: 170px;
}
.why-icon {
   font-size: 40px;
   margin-bottom: 10px;
}
.why-name {
   font-weight: 900;
   font-size: 16px;
   margin-bottom: 6px;
}
.why-desc {
   font-size: 13px;
   opacity: 0.9;
   font-weight: 600;
   line-height: 1.5;
}

/* FOOTER */
.footer {
   background: var(--teal-dark);
   color: rgba(255, 255, 255, 0.9);
   text-align: center;
   padding: 36px 40px;
   font-size: 14px;
   font-weight: 700;
}
.footer-logo {
   font-family: "Pacifico", cursive;
   font-size: 24px;
   color: white;
   margin-bottom: 8px;
}
.footer p {
   margin-bottom: 6px;
}
.footer a {
   color: var(--white);
   text-decoration: none;
}
.footer a:hover {
   text-decoration: underline;
}
.footer-dev {
   margin-top: 14px;
   font-size: 15px;
   opacity: 0.65;
}
.footer-dev a {
   color: rgba(255, 255, 255, 0.85);
   font-weight: 700;
}

/* MODAL */
.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.6);
   z-index: 400;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.3s;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 20px;
}
.modal-overlay.open {
   opacity: 1;
   pointer-events: all;
}
.modal {
   background: var(--white);
   border-radius: 24px;
   width: 100%;
   max-width: 560px;
   max-height: 92vh;
   overflow-y: auto;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
   transform: translateY(30px) scale(0.97);
   transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open .modal {
   transform: translateY(0) scale(1);
}
.modal-head {
   background: linear-gradient(135deg, var(--teal), var(--teal-dark));
   padding: 36px 36px 28px;
   border-radius: 24px 24px 0 0;
   text-align: center;
   position: relative;
}
.modal-head h2 {
   font-family: "Pacifico", cursive;
   font-size: 28px;
   color: white;
   margin-bottom: 6px;
}
.modal-head p {
   color: rgba(255, 255, 255, 0.9);
   font-size: 14px;
   font-weight: 700;
}
.modal-emoji {
   font-size: 44px;
   margin-bottom: 10px;
}
.modal-close {
   position: absolute;
   top: 14px;
   right: 16px;
   background: rgba(255, 255, 255, 0.2);
   border: none;
   color: white;
   width: 34px;
   height: 34px;
   border-radius: 50%;
   font-size: 16px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.15s;
}
.modal-close:hover {
   background: rgba(255, 255, 255, 0.38);
}
.modal-body {
   padding: 28px 32px 32px;
}
.modal-body p {
   font-size: 15px;
   line-height: 1.8;
   color: #2a5052;
   font-weight: 700;
   margin-bottom: 14px;
}
.modal-body p:last-child {
   margin-bottom: 0;
}

/* ORDER FORM */
.order-summary {
   background: var(--teal-light);
   border-radius: 14px;
   padding: 16px 18px;
   margin-bottom: 22px;
}
.order-summary-title {
   font-weight: 900;
   font-size: 13px;
   color: var(--teal-dark);
   margin-bottom: 10px;
   text-transform: uppercase;
   letter-spacing: 1px;
}
.order-summary-item {
   display: flex;
   justify-content: space-between;
   font-size: 14px;
   font-weight: 700;
   color: #1a3335;
   padding: 3px 0;
}
.order-summary-total {
   display: flex;
   justify-content: space-between;
   font-size: 16px;
   font-weight: 900;
   color: var(--teal-dark);
   border-top: 1px solid rgba(42, 154, 160, 0.3);
   margin-top: 8px;
   padding-top: 8px;
}
.form-group {
   margin-bottom: 16px;
}
.form-label {
   display: block;
   font-size: 13px;
   font-weight: 900;
   color: #1a3335;
   margin-bottom: 6px;
}
.form-label span {
   color: var(--pink);
}
.form-input {
   width: 100%;
   padding: 12px 16px;
   border: 2px solid #d0e8ea;
   border-radius: 12px;
   font-family: "Nunito", sans-serif;
   font-size: 15px;
   font-weight: 600;
   color: #1a3335;
   background: white;
   transition: border-color 0.2s;
   outline: none;
}
.form-input:focus {
   border-color: var(--teal);
}
.form-input::placeholder {
   color: #a0b8ba;
}
.form-input.error {
   border-color: #ff4d4d;
   background: #fff5f5;
}
.form-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 14px;
}
.form-note {
   font-size: 12px;
   color: #6a8a8c;
   font-weight: 600;
   margin-top: 4px;
}

/* DRAWER */
.drawer-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.45);
   z-index: 200;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.25s;
}
.drawer-overlay.open {
   opacity: 1;
   pointer-events: all;
}
.drawer {
   position: fixed;
   top: 0;
   right: -420px;
   width: 400px;
   max-width: 95vw;
   height: 100%;
   background: var(--white);
   z-index: 300;
   display: flex;
   flex-direction: column;
   transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
   box-shadow: -6px 0 30px rgba(0, 0, 0, 0.15);
   overflow: hidden;
}
.drawer.open {
   right: 0;
}
.drawer-screens-wrap {
   position: relative;
   flex: 1;
   overflow: hidden;
}
.drawer-screen {
   position: absolute;
   inset: 0;
   display: flex;
   flex-direction: column;
   background: var(--white);
   transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.35s;
}
.drawer-screen.active {
   transform: translateX(0);
   opacity: 1;
   pointer-events: all;
}
.drawer-screen.left {
   transform: translateX(-100%);
   opacity: 0;
   pointer-events: none;
}
.drawer-screen.right {
   transform: translateX(100%);
   opacity: 0;
   pointer-events: none;
}
.drawer-head {
   background: var(--teal);
   color: white;
   padding: 20px 24px;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-shrink: 0;
   position: relative;
}
.drawer-head .modal-close {
   position: absolute;
   right: 24px;
   top: 50%;
   transform: translateY(-50%);
}
.drawer-head .drawer-back {
   position: absolute;
   left: 24px;
   top: 50%;
   transform: translateY(-50%);
}
.drawer-head h2 {
   font-family: "Pacifico", cursive;
   font-size: 22px;
}
.drawer-back {
   background: rgba(255, 255, 255, 0.2);
   border: none;
   color: white;
   width: 34px;
   height: 34px;
   border-radius: 50%;
   font-size: 18px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.15s;
   flex-shrink: 0;
}
.drawer-back:hover {
   background: rgba(255, 255, 255, 0.35);
}
.drawer-body {
   flex: 1;
   overflow-y: auto;
   padding: 20px 24px;
}
.drawer-empty {
   text-align: center;
   padding: 50px 0;
}
.cart-item {
   display: flex;
   gap: 14px;
   align-items: center;
   padding: 14px 0;
   border-bottom: 1px solid #eef4f4;
}
.cart-item-icon {
   width: 50px;
   height: 50px;
   border-radius: 12px;
   overflow: hidden;
   flex-shrink: 0;
   background: var(--teal-light);
}
.cart-item-info {
   flex: 1;
}
.cart-item-name {
   font-weight: 800;
   font-size: 14px;
   color: #1a3335;
}
.cart-item-price {
   font-size: 13px;
   color: var(--teal-dark);
   font-weight: 700;
   margin-top: 2px;
}
.qty-ctrl {
   display: flex;
   align-items: center;
   gap: 8px;
}
.qty-btn {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   border: 2px solid var(--teal);
   background: none;
   color: var(--teal);
   font-weight: 900;
   font-size: 16px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition:
      background 0.15s,
      color 0.15s;
}
.qty-btn:hover {
   background: var(--teal);
   color: white;
}
.qty-num {
   font-weight: 900;
   font-size: 15px;
   min-width: 18px;
   text-align: center;
   color: #1a3335;
}
.drawer-foot {
   padding: 20px 24px;
   border-top: 2px solid #eef4f4;
   flex-shrink: 0;
}
.total-row {
   display: flex;
   justify-content: space-between;
   font-weight: 900;
   font-size: 18px;
   color: #1a3335;
   margin-bottom: 16px;
}
.success-body {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 40px 28px;
}
.success-title {
   font-family: "Pacifico", cursive;
   font-size: 24px;
   color: var(--teal-dark);
   margin-bottom: 14px;
}
.success-text {
   font-size: 14px;
   font-weight: 600;
   color: #4a6a6c;
   line-height: 1.7;
   margin-bottom: 10px;
}
.success-text.bold {
   font-size: 16px;
   font-weight: 900;
   color: #1a3335;
}
.success-text a {
   color: var(--teal-dark);
   font-weight: 900;
   text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
   .hero-text {
      text-align: center;
   }
   .products {
      grid-template-columns: repeat(2, 1fr);
   }
}
@media (max-width: 640px) {
   .hero-inner {
      flex-direction: column;
   }
   .hero-text {
      text-align: center;
   }
   .hero-img {
      display: none;
   }
   .nav {
      padding: 12px 20px;
   }
   .nav-links,
   .nav-cart {
      display: none;
   }
   .nav-mobile-right {
      display: flex;
   }
   .nav-burger {
      display: flex;
   }
   .mobile-menu {
      display: flex;
   }
   .hero {
      padding: 60px 20px 60px;
   }
   .section {
      padding: 50px 20px;
   }
   .products {
      grid-template-columns: 1fr;
   }
   .why-strip {
      padding: 44px 20px;
   }
   .why-grid {
      gap: 30px;
   }
   .footer {
      padding: 28px 20px;
   }
   .modal-body {
      padding: 22px 22px 26px;
   }
   .form-row {
      grid-template-columns: 1fr;
   }
   .modal {
      max-width: 100%;
      border-radius: 20px 20px 0 0;
      margin-top: auto;
      max-height: 95vh;
   }
   .modal-overlay {
      align-items: flex-end;
      padding: 0;
   }
}

/* HERO PARALLAX */
.hero-img img {
   max-width: 100%;
   max-height: 380px;
   object-fit: contain;
   filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
   transition: transform 0.15s ease;
}
.hero-img {
   perspective: 1000px;
}

/* CALL BUTTON */
.call-btn {
   display: none;
   position: fixed;
   bottom: 24px;
   right: 24px;
   width: 56px;
   height: 56px;
   background: #f4b942;
   border-radius: 50%;
   font-size: 24px;
   align-items: center;
   justify-content: center;
   box-shadow: 0 4px 16px rgba(59, 190, 196, 0.5);
   z-index: 999;
   text-decoration: none;
}
.call-pulse {
   position: absolute;
   width: 56px;
   height: 56px;
   border-radius: 50%;
   background: #f4b942;
   opacity: 0.4;
   animation: pulse 2s ease-out infinite;
}
.call-pulse2 {
   animation-delay: 0.6s;
}
@keyframes pulse {
   0% {
      transform: scale(1);
      opacity: 0.4;
   }
   100% {
      transform: scale(2.2);
      opacity: 0;
   }
}
@media (max-width: 640px) {
   .call-btn {
      display: flex;
   }
}

/* вес */
.card-meta {
   font-size: 12px;
   color: #7a9a9c;
   font-weight: 700;
   margin-bottom: 10px;
   display: flex;
   gap: 12px;
}

/* лого */
.nav-logo-img {
   height: 60px;
   display: block;
}
/* футер лого */
.footer-logo-img {
   height: 50px;
   display: block;
   margin: 0 auto;
   filter: brightness(0) invert(1);
}

/* FAQ */
.faq-list {
   max-width: 780px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 12px;
}
.faq-item {
   background: var(--white);
   border-radius: 16px;
   box-shadow: var(--shadow-card);
   overflow: hidden;
}
.faq-question {
   width: 100%;
   background: none;
   border: none;
   text-align: left;
   padding: 18px 22px;
   font-family: "Nunito", sans-serif;
   font-weight: 800;
   font-size: 15px;
   color: var(--text);
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
}
.faq-icon {
   flex-shrink: 0;
   width: 26px;
   height: 26px;
   border-radius: 50%;
   background: var(--teal-light);
   color: var(--teal-dark);
   font-size: 16px;
   font-weight: 900;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.25s;
}
.faq-item.open .faq-icon {
   transform: rotate(45deg);
   background: var(--teal);
   color: white;
}
.faq-answer {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
   max-height: 300px;
}
.faq-answer p {
   padding: 0 22px 20px;
   font-size: 14px;
   line-height: 1.6;
   color: #4a7a7c;
   font-weight: 600;
}

/* DELIVERY INFO */
.delivery-info {
   background: var(--teal-light);
   border-radius: 14px;
   padding: 16px 18px;
   margin-top: 4px;
}
.delivery-info-title {
   font-weight: 900;
   font-size: 13px;
   color: var(--teal-dark);
   margin-bottom: 12px;
   text-transform: uppercase;
   letter-spacing: 1px;
}
.delivery-item {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   padding: 8px 0;
}
.delivery-item + .delivery-item {
   border-top: 1px solid rgba(42, 154, 160, 0.15);
}
.delivery-icon {
   font-size: 18px;
   flex-shrink: 0;
   line-height: 1.3;
}
.delivery-name {
   font-weight: 800;
   font-size: 13.5px;
   color: #1a3335;
}
.delivery-sub {
   font-size: 12px;
   color: #4a7a7c;
   font-weight: 600;
   line-height: 1.5;
   margin-top: 2px;
}

#faq {
   scroll-margin-top: 80px;
}
@media (max-width: 640px) {
   #faq {
      scroll-margin-top: 270px;
   }
}

/* продукт якорь */
#catalog {
   scroll-margin-top: 90px;
}
@media (max-width: 640px) {
   #catalog {
      scroll-margin-top: 60px;
   }
}

/* FOOTER SOCIAL */
.footer-social {
   display: flex;
   justify-content: center;
   gap: 14px;
   margin: 14px 0 4px;
}
.social-icon {
   width: 38px;
   height: 38px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.12);
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   transition:
      background 0.15s,
      transform 0.15s;
}
.social-icon svg {
   width: 19px;
   height: 19px;
}
.social-icon:hover {
   background: rgba(255, 255, 255, 0.25);
   transform: translateY(-2px);
}

/* PARTNER BANNER */
.partner-banner {
   position: fixed;
   bottom: 24px;
   left: 24px;
   right: 24px;
   max-width: 600px;
   margin: 0 auto;
   background: linear-gradient(120deg, #ffe600, #ff8a00);
   border-radius: 24px;
   /* padding: 26px 60px 26px 32px; */
   padding: 40px 60px 40px 32px;
   box-shadow: 0 10px 28px rgba(255, 138, 0, 0.35);
   z-index: 998;
   opacity: 0;
   transform: translateY(30px) scale(0.95);
   pointer-events: none;
   transition:
      opacity 0.4s ease,
      transform 0.4s ease;
   display: flex;
   align-items: center;
   gap: 18px;
}
.partner-banner.show {
   opacity: 1;
   transform: translateY(0) scale(1);
   pointer-events: all;
}
.partner-banner.hide {
   opacity: 0;
   transform: translateY(30px) scale(0.9);
   pointer-events: none;
}
.partner-banner-text {
   flex: 1;
   font-family: "Pacifico", cursive;
   font-size: 35px;
   line-height: 1.5;
   color: #3a2200;
   cursor: pointer;
}
.partner-arrow {
   flex-shrink: 0;
   font-size: 26px;
   color: #3a2200;
   cursor: pointer;
}
.partner-close {
   position: absolute;
   top: 12px;
   right: 14px;
   width: 26px;
   height: 26px;
   border-radius: 50%;
   background: rgba(58, 34, 0, 0.12);
   border: none;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 13px;
   color: #3a2200;
   cursor: pointer;
   opacity: 0.8;
}
.partner-close:hover {
   opacity: 1;
}
@media (max-width: 640px) {
   .partner-banner {
      left: 16px;
      right: 16px;
      bottom: 90px;
      max-width: none;
      padding: 34px 50px 34px 22px;
      /* padding: 20px 50px 20px 22px; */
   }
   .partner-banner-text {
      font-size: 22px;
   }
   .partner-arrow {
      font-size: 22px;
   }
}

/* TIME CHOICE */
.time-choice {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
}
.time-btn {
   background: white;
   border: 2px solid #d0e8ea;
   border-radius: var(--radius-btn);
   padding: 8px 16px;
   font-family: "Nunito", sans-serif;
   font-weight: 700;
   font-size: 13px;
   color: #1a3335;
   cursor: pointer;
   transition:
      border-color 0.15s,
      background 0.15s;
}
.time-btn.active {
   background: var(--teal);
   border-color: var(--teal);
   color: white;
}

/* NAV BURGER — ранний брейкпоинт */
@media (max-width: 900px) {
   .nav-links,
   .nav-cart {
      display: none;
   }
   .nav-mobile-right {
      display: flex;
   }
   .nav-burger {
      display: flex;
   }
   .mobile-menu {
      display: flex;
   }
}

/* card */
.cart-count.has-items {
   background: var(--green);
}

/* HERO FEATURES */
.hero-features {
   display: flex;
   flex-direction: column;
   gap: 12px;
   align-items: flex-start;
}
.hero-feature {
   display: flex;
   align-items: center;
   gap: 10px;
}
.hero-feature i {
   font-size: 18px;
   color: var(--yellow);
   flex-shrink: 0;
}
.hero-feature span {
   font-size: 15px;
   font-weight: 700;
   color: white;
}
@media (max-width: 640px) {
   .hero-text {
      display: flex;
      flex-direction: column;
      align-items: center;
   }
   .hero-features {
      align-items: flex-start;
      gap: 10px;
   }
   .hero-feature i {
      font-size: 16px;
   }
   .hero-feature span {
      font-size: 13px;
   }
}

.hero-features-box {
   background: rgba(0, 0, 0, 0.15);
   border-radius: 12px;
   padding: 14px 18px;
   display: inline-block;
   margin-top: 6px;
}

@media (max-width: 640px) {
   .hero-features-box {
      align-self: center;
   }
}

/* ======================================================
   ДОРОБКА: категорії, галерея, картка товару, адмінка
   ====================================================== */

/* --- CATALOG NAV (кнопка назад + заголовок) --- */
.catalog-nav {
   display: flex;
   align-items: center;
   gap: 14px;
   margin-bottom: 28px;
}
.catalog-back {
   width: 38px;
   height: 38px;
   border-radius: 50%;
   background: var(--teal);
   color: white;
   border: none;
   font-size: 18px;
   font-weight: 900;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   transition: background 0.15s;
   line-height: 1;
   padding: 0;
   padding-bottom: 2px;
}
.catalog-back:hover {
   background: var(--teal-dark);
}
.catalog-nav-title {
   font-family: "Pacifico", cursive;
   font-size: 22px;
   color: var(--text);
}
.catalog-breadcrumbs {
   font-size: 12px;
   color: #7a9a9c;
   font-weight: 700;
   margin: -18px 0 24px 52px;
}

/* --- CATEGORY GRID --- */
.category-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
}
.category-card {
   position: relative;
   cursor: pointer;
   border-radius: var(--radius-card);
   overflow: hidden;
   box-shadow: var(--shadow-card);
   transition:
      box-shadow 0.2s,
      transform 0.2s;
   opacity: 0;
   animation: categoryCardFadeOpacity 0.9s ease forwards;
}
.category-card:hover {
   box-shadow: var(--shadow-hover);
   transform: translateY(-4px);
}
.category-card:nth-child(1) {
   animation-delay: 0.1s;
}
.category-card:nth-child(2) {
   animation-delay: 0.3s;
}
.category-card:nth-child(3) {
   animation-delay: 0.5s;
}
@keyframes categoryCardFadeOpacity {
   from {
      opacity: 0;
   }
   to {
      opacity: 1;
   }
}

/* внутрішня обгортка відповідає за зсув контенту (той самий час/затримка, що й у картки) */
.category-card-anim {
   animation: categoryFadeInUp 0.9s ease forwards;
}
.category-card:nth-child(1) .category-card-anim {
   animation-delay: 0.1s;
}
.category-card:nth-child(2) .category-card-anim {
   animation-delay: 0.3s;
}
.category-card:nth-child(3) .category-card-anim {
   animation-delay: 0.5s;
}
@keyframes categoryFadeInUp {
   from {
      transform: translateY(40px);
   }
   to {
      transform: translateY(0);
   }
}

/* MOBILE: чергування зліва/справа */
@media (max-width: 900px) {
   .category-card-anim {
      animation-name: categoryFadeInLeft;
      animation-duration: 0.9s;
      animation-timing-function: ease;
   }
   .category-card:nth-child(even) .category-card-anim {
      animation-name: categoryFadeInRight;
   }
   .category-card:nth-child(1) .category-card-anim {
      animation-delay: 0.1s;
   }
   .category-card:nth-child(2) .category-card-anim {
      animation-delay: 0.35s;
   }
   .category-card:nth-child(3) .category-card-anim {
      animation-delay: 0.6s;
   }
   .category-card:nth-child(1) {
      animation-delay: 0.1s;
   }
   .category-card:nth-child(2) {
      animation-delay: 0.35s;
   }
   .category-card:nth-child(3) {
      animation-delay: 0.6s;
   }
   @keyframes categoryFadeInLeft {
      from {
         transform: translateX(-40px);
      }
      to {
         transform: translateX(0);
      }
   }
   @keyframes categoryFadeInRight {
      from {
         transform: translateX(40px);
      }
      to {
         transform: translateX(0);
      }
   }
}
.category-cover {
   position: relative;
   min-height: 300px;
   border-radius: var(--radius-card);
   overflow: hidden;
   background-color: var(--teal-light);
   background-size: cover;
   background-position: center;
   display: flex;
   flex-direction: column;
   justify-content: flex-end;
}

/* градієнт-заглушка по категоріях, поки немає фото товару */
.category-cover[data-cat="tort"] {
   background-image: linear-gradient(
      160deg,
      #ffe6ee 0%,
      #ff8fb3 55%,
      #ff6b9d 100%
   );
}
.category-cover[data-cat="horishky"] {
   background-image: linear-gradient(
      160deg,
      #fff3d6 0%,
      #ffcb6b 55%,
      #ffa726 100%
   );
}
.category-cover[data-cat="pechyvo"] {
   background-image: linear-gradient(
      160deg,
      #e0f7f6 0%,
      #5fd6cd 55%,
      #2a9aa0 100%
   );
}
.category-cover.has-photo {
   background-image: var(--cover-photo) !important;
}

.category-cover-icon {
   position: absolute;
   top: 24px;
   left: 0;
   right: 0;
   text-align: center;
   font-size: 56px;
   z-index: 0;
}
.category-cover.has-photo .category-cover-icon {
   display: none;
}

.category-cover.has-photo::before {
   content: "";
   position: absolute;
   inset: 0;
   background: rgba(255, 255, 255, 0.3);
   z-index: 0;
}

.category-cover-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(
      180deg,
      rgba(15, 36, 38, 0.1) 0%,
      rgba(15, 36, 38, 0.5) 100%
   );
}
.category-cover-content {
   position: relative;
   z-index: 1;
   padding: 26px 22px;
   text-align: center;
   width: 100%;
}
.category-cover-name {
   font-family: "Pacifico", cursive;
   font-size: 30px;
   color: white;
   margin-bottom: 6px;
   text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.category-cover-slogan {
   font-size: 13px;
   font-weight: 700;
   color: rgba(255, 255, 255, 0.9);
   margin-bottom: 16px;
}
.category-cover-btn {
   padding: 10px 26px;
   font-size: 14px;
   background: var(--teal);
   color: white;
}
.category-cover-btn:hover {
   background: var(--teal-dark);
}

@media (max-width: 900px) {
   .category-grid {
      grid-template-columns: 1fr;
      gap: 18px;
   }
   .category-cover {
      min-height: 260px;
   }
}
@media (max-width: 500px) {
   .category-cover {
      min-height: 230px;
   }
   .category-cover-name {
      font-size: 25px;
   }
   .category-cover-icon {
      font-size: 46px;
   }
}

/* --- CARD CATEGORY LABEL (в списку товарів категорії) --- */
.card-category-label {
   font-size: 11px;
   font-weight: 800;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   color: #7a9a9c;
   margin-bottom: 4px;
}

/* --- PRODUCT DETAIL --- */
.product-detail {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 40px;
   background: var(--white);
   border-radius: var(--radius-card);
   box-shadow: var(--shadow-card);
   padding: 30px;
}
.product-detail-gallery {
   display: flex;
   flex-direction: column;
   gap: 12px;
}
.product-detail-main {
   border-radius: 16px;
   overflow: hidden;
   background: var(--teal-light);
   aspect-ratio: 1 / 1;
   position: relative;
   cursor: zoom-in;
}
.product-detail-main img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}
.zoom-hint {
   position: absolute;
   bottom: 12px;
   right: 12px;
   width: 36px;
   height: 36px;
   border-radius: 50%;
   background: rgba(0, 0, 0, 0.45);
   color: white;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 16px;
   pointer-events: none;
}

/* LIGHTBOX */
.lightbox-overlay {
   position: fixed;
   inset: 0;
   background: rgba(10, 20, 20, 0.92);
   z-index: 999;
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   pointer-events: none;
   transition: opacity 0.25s;
}
.lightbox-overlay.open {
   opacity: 1;
   pointer-events: all;
}
.lightbox-img {
   max-width: 90vw;
   max-height: 85vh;
   object-fit: contain;
   border-radius: 12px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lightbox-close {
   position: absolute;
   top: 20px;
   right: 20px;
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.15);
   color: white;
   border: none;
   font-size: 20px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.15s;
}
.lightbox-close:hover {
   background: rgba(255, 255, 255, 0.3);
}
.lightbox-arrow {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   width: 52px;
   height: 52px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.15);
   color: white;
   border: none;
   font-size: 28px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: background 0.15s;
}
.lightbox-arrow:hover {
   background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev {
   left: 20px;
}
.lightbox-next {
   right: 20px;
}
@media (max-width: 640px) {
   .lightbox-arrow {
      width: 42px;
      height: 42px;
      font-size: 22px;
   }
   .lightbox-close {
      top: 12px;
      right: 12px;
   }
   .lightbox-prev {
      left: 8px;
   }
   .lightbox-next {
      right: 8px;
   }
}
.gallery-thumbs {
   display: flex;
   gap: 10px;
}
.gallery-thumb {
   width: 68px;
   height: 68px;
   border-radius: 12px;
   overflow: hidden;
   cursor: pointer;
   border: 2px solid transparent;
   opacity: 0.7;
   transition:
      border-color 0.15s,
      opacity 0.15s;
   flex-shrink: 0;
}
.gallery-thumb img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}
.gallery-thumb.active {
   border-color: var(--teal);
   opacity: 1;
}

.product-detail-info {
   display: flex;
   flex-direction: column;
}
.product-detail-breadcrumbs {
   font-size: 12px;
   color: #7a9a9c;
   font-weight: 700;
   margin-bottom: 12px;
}
.product-detail-name {
   font-family: "Pacifico", cursive;
   font-size: 26px;
   color: var(--text);
   margin-bottom: 14px;
   line-height: 1.3;
}
.product-detail-desc {
   font-size: 14px;
   color: #4a7a7c;
   font-weight: 600;
   line-height: 1.7;
   margin-bottom: 18px;
}
.product-detail-weight {
   font-size: 13px;
   color: #7a9a9c;
   font-weight: 700;
   margin-bottom: 6px;
}
.product-detail-price {
   font-family: "Pacifico", cursive;
   font-size: 28px;
   color: var(--teal-dark);
   margin-bottom: 20px;
}
.product-detail-price small {
   font-family: "Nunito", sans-serif;
   font-size: 14px;
   color: #7a9a9c;
}
.detail-spacer {
   display: none;
}
.product-detail-delivery {
   display: none;
   margin-top: 20px;
   background: var(--teal-light);
   border-radius: 14px;
   padding: 16px 18px;
}
@media (min-width: 901px) {
   .detail-spacer {
      display: block;
      flex: 1;
      min-height: 20px;
   }
   .product-detail-delivery {
      display: block;
      margin-top: 0;
   }
}
.btn-teal.added {
   background: var(--green) !important;
   pointer-events: none;
}

@media (max-width: 768px) {
   .product-detail {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
   }
}

/* ======================================================
   АДМІНКА: категорія, кг/шт, фото 1-3
   ====================================================== */
.field-row {
   display: grid;
   grid-template-columns: 1fr 90px;
   gap: 10px;
}
select {
   width: 100%;
   padding: 12px 16px;
   border-radius: 14px;
   border: 2px solid #d0e8ea;
   background: #fafefe;
   font-family: "Nunito", sans-serif;
   font-size: 15px;
   font-weight: 600;
   color: var(--text);
   outline: none;
   cursor: pointer;
}
select:focus {
   border-color: var(--teal);
}
.select-label {
   font-size: 12px;
   font-weight: 800;
   color: #7a9a9c;
   margin-bottom: 2px;
}

.photo-slots {
   display: flex;
   flex-direction: column;
   gap: 10px;
}
.photo-preview {
   max-width: 140px;
   border-radius: 12px;
   margin-top: 4px;
   margin-bottom: 6px;
}

.product-category {
   display: inline-block;
   margin-top: 4px;
   margin-left: 10px;
   font-size: 12px;
   font-weight: 700;
   color: var(--teal-dark);
}
/* блоки продукта на пеерходах */
#productGrid {
   scroll-margin-top: 90px;
}
@media (max-width: 640px) {
   #productGrid {
      scroll-margin-top: 70px;
   }
}

/* категории товара  */
.card-desc {
   font-size: 12px;
   color: #7a9a9c;
   font-weight: 600;
   margin-bottom: 10px;
   line-height: 1.4;
}
.card-details-link {
   font-size: 13px;
   font-weight: 800;
   color: var(--teal-dark);
}
.card-name {
   font-weight: 900;
   font-size: 17px;
   color: #0f2426;
   margin-bottom: 5px;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   min-height: 44px;
}
.card-desc {
   font-size: 12px;
   color: #7a9a9c;
   font-weight: 600;
   margin-bottom: 10px;
   line-height: 1.4;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   -webkit-box-orient: vertical;
   overflow: hidden;
   min-height: 34px;
}

/* кнопка детали  */
.card-details-link {
   font-size: 13px;
   font-weight: 800;
   color: var(--teal-dark);
   border: 2px solid var(--teal);
   border-radius: var(--radius-btn);
   padding: 9px 20px;
   transition:
      background 0.15s,
      color 0.15s;
}
@media (hover: hover) {
   .card-details-link:hover {
      background: var(--teal);
      color: white;
      cursor: pointer;
   }
}
