﻿:root{--bg:#ecfeff;--text:#083344;--muted:#0f766e;--line:#99f6e4;--card:#ffffff;--btn:#0f766e;--btnText:#fff}
*{box-sizing:border-box}body{margin:0;font-family:Verdana,Geneva,sans-serif;color:var(--text);background:radial-gradient(circle at 85% 10%,#a7f3d0 0,transparent 30%),#ecfeff}
.container{width:min(1160px,93%);margin:0 auto}nav{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.logo{font-size:26px;font-weight:700}.nav-links{display:flex;gap:12px;align-items:center}nav a{color:var(--text);text-decoration:none}.cart-open{border:0;background:var(--btn);color:#fff;border-radius:999px;padding:8px 14px}

.products{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:12px}.card:nth-child(1){grid-column:span 3}.card:nth-child(2){grid-column:span 3}.card:nth-child(3),.card:nth-child(4),.card:nth-child(5){grid-column:span 2}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}.card img{width:100%;height:180px;object-fit:cover}.card-body{padding:12px}.meta{color:var(--muted);font-size:13px;min-height:36px}.buy-btn{width:100%;border:0;background:var(--btn);color:#fff;border-radius:8px;padding:10px}
footer{margin-top:24px;padding:18px 0;border-top:1px solid var(--line);color:var(--muted)}
.modal{position:fixed;inset:0;background:rgba(8,51,68,.45);display:none;align-items:center;justify-content:center;padding:12px;z-index:50}.modal.open{display:flex}.modal-card{width:min(760px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}.modal-head{display:flex;justify-content:space-between;align-items:center}.close-modal{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 10px}
#cart-items{padding-left:18px}.cart-row{display:flex;justify-content:space-between;gap:8px}.qty-controls{display:flex;gap:6px}.qty-controls button{border:1px solid var(--line);background:#fff;border-radius:5px;padding:3px 8px}.order-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.order-form .full{grid-column:1/-1}.order-form input,.order-form textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px}.order-submit{border:0;background:var(--btn);color:#fff;border-radius:7px;padding:10px 14px}
@media (max-width:900px){.products{grid-template-columns:repeat(2,1fr)}.card:nth-child(n){grid-column:span 1}} @media (max-width:700px){nav{flex-direction:column;align-items:flex-start}.products{grid-template-columns:1fr}.order-form{grid-template-columns:1fr}}

.hero-aqua{padding:26px 0 18px}.hero-aqua h1{margin:0 0 10px;font-size:clamp(30px,5vw,48px)}.hero-aqua p{margin:0;color:var(--muted)}.hero-aqua-badges{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.hero-aqua-badges span{padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fff}

/* about-site6-start */
.about6-head{padding:26px 0 14px;animation:a6In .75s ease both}
.about6-head h1{margin:0 0 10px;font-size:clamp(30px,5vw,48px)}
.about6-head p{margin:0;color:var(--muted)}
.about6-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.about6-badges span{padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;animation:a6Wave 2.4s ease-in-out infinite}
.about6-badges span:nth-child(2){animation-delay:.2s}.about6-badges span:nth-child(3){animation-delay:.4s}
.about6-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-bottom:10px}
.about6-card{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;animation:a6In .75s ease both}
.about6-card:nth-child(2){animation-delay:.12s}.about6-card:nth-child(3){animation-delay:.24s}
.about6-card h3{margin:0 0 8px}
@keyframes a6In{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes a6Wave{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media (max-width:900px){.about6-pillars{grid-template-columns:1fr}}
/* about-site6-end */

/* main-anim-start */
section[class^="hero-"] {
  animation: mainHeroIn .82s cubic-bezier(.2,.7,.2,1) both;
}

.products .card {
  opacity: 0;
  transform: translateY(22px) scale(.99);
  animation: mainCardIn .68s ease forwards;
}

.products .card:nth-child(1) { animation-delay: .08s; }
.products .card:nth-child(2) { animation-delay: .16s; }
.products .card:nth-child(3) { animation-delay: .24s; }
.products .card:nth-child(4) { animation-delay: .32s; }
.products .card:nth-child(5) { animation-delay: .40s; }

.products .card {
  transition: transform .24s ease, box-shadow .24s ease;
}

.products .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

footer {
  animation: mainFooterIn .75s ease .35s both;
}

@keyframes mainHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes mainCardIn {
  from { opacity: 0; transform: translateY(22px) scale(.99); }
  to { opacity: 1; transform: none; }
}

@keyframes mainFooterIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .products .card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  section[class^="hero-"],
  .products .card,
  footer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* main-anim-end */

/* ux-patch-start */
html { scroll-behavior: smooth; }

body { line-height: 1.45; }

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
.cart-open,
nav a,
.about-link,
.order-submit,
.buy-btn,
.close-modal,
.secondary-btn {
  min-height: 42px;
}

:focus-visible {
  outline: 2px solid var(--btn);
  outline-offset: 2px;
}

.modal-card {
  scrollbar-gutter: stable;
}

#cart-items {
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
}

.form-status {
  margin: 8px 0 0;
  font-size: 14px;
}

.form-status.info { color: var(--muted); }
.form-status.ok { color: #16a34a; }
.form-status.error { color: #dc2626; }

.order-submit[disabled] {
  opacity: .55;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-height: 95vh;
    border-radius: 14px 14px 0 0;
  }

  .cart-actions button,
  .order-submit {
    width: 100%;
  }
}
/* ux-patch-end */

