/* ==========================================================================
   РЫБОЛОВ ИВАНЫЧ — MAIN STYLES
   Palette:
   Primary Cyan: #36B8D8, #168EAE
   Natural Sand & Gold: #D6C5A5, #D99B57
   Sage & Deep Slate Green: #89A99A, #263331, #66706D
   Backgrounds: #FFFFFF, #F6F8F5, #E8F4F4
   ========================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-bg-light: #F6F8F5;
  --color-bg-soft: #E8F4F4;
  --color-cyan: #36B8D8;
  --color-cyan-dark: #168EAE;
  --color-sage: #89A99A;
  --color-sand: #D6C5A5;
  --color-amber: #D99B57;
  --color-slate-dark: #263331;
  --color-slate-muted: #66706D;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(38, 51, 49, 0.05);
  --shadow-md: 0 10px 30px rgba(38, 51, 49, 0.08);
  --shadow-lg: 0 20px 45px rgba(38, 51, 49, 0.12);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-slate-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-slate-dark);
  line-height: 1.25;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
  gap: 8px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(22, 142, 174, 0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(22, 142, 174, 0.45);
}

.btn--secondary {
  background-color: var(--color-bg-soft);
  color: var(--color-cyan-dark);
}
.btn--secondary:hover {
  background-color: #d8eded;
  color: var(--color-slate-dark);
}

.btn--outline-light {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
}
.btn--outline-light:hover {
  background: var(--color-white);
  color: var(--color-slate-dark);
  border-color: var(--color-white);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

.btn-text {
  color: var(--color-cyan-dark);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-text:hover {
  color: var(--color-amber);
}

/* TOP BAR */
.top-bar {
  background-color: var(--color-slate-dark);
  color: var(--color-sand);
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(214, 197, 165, 0.15);
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar__info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__badge {
  background-color: var(--color-amber);
  color: var(--color-white);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-white);
  font-weight: 600;
}
.top-bar__phone:hover {
  color: var(--color-cyan);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.logo__img--footer {
  height: 60px;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-weight: 600;
  color: var(--color-slate-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-cyan-dark);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* SEARCH BOX */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box__input {
  width: 180px;
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-full);
  background-color: var(--color-bg-light);
  font-size: 0.875rem;
  transition: var(--transition);
}
.search-box__input:focus {
  width: 230px;
  border-color: var(--color-cyan-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(54, 184, 216, 0.15);
}

.search-box__btn {
  position: absolute;
  right: 10px;
  color: var(--color-slate-muted);
}
.search-box__btn:hover {
  color: var(--color-cyan-dark);
}

/* CART BUTTON */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-soft);
  color: var(--color-slate-dark);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.cart-btn:hover {
  background-color: var(--color-cyan);
  color: var(--color-white);
}

.cart-btn__count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--color-amber);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(217, 155, 87, 0.4);
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.burger span {
  width: 100%;
  height: 3px;
  background-color: var(--color-slate-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO SLIDER */
.hero-section {
  position: relative;
  background-color: var(--color-slate-dark);
  color: var(--color-white);
  overflow: hidden;
}

.slider {
  position: relative;
  height: 600px;
}

.slides-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide__content {
  max-width: 750px;
  z-index: 2;
}

.slide__tag {
  display: inline-block;
  background-color: rgba(214, 197, 165, 0.25);
  color: var(--color-sand);
  border: 1px solid var(--color-sand);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(5px);
}

.slide__title {
  font-size: 3.25rem;
  color: var(--color-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 620px;
}

.slide__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(38, 51, 49, 0.5);
  color: var(--color-white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.slider__arrow:hover {
  background-color: var(--color-cyan);
}
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }

.slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active {
  background-color: var(--color-cyan);
  width: 32px;
}

/* SECTIONS COMMON */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-header__subtitle {
  color: var(--color-amber);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.section-header__title {
  font-size: 2.35rem;
  margin-bottom: 16px;
}

.section-header__desc {
  color: var(--color-slate-muted);
  font-size: 1.05rem;
}

/* ADVANTAGES */
.section--advantages {
  background-color: var(--color-white);
  margin-top: -30px;
  position: relative;
  z-index: 20;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-light);
  border: 1px solid rgba(137, 169, 154, 0.2);
  transition: var(--transition);
}
.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-cyan);
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-soft);
  color: var(--color-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card__title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.advantage-card__desc {
  font-size: 0.875rem;
  color: var(--color-slate-muted);
  line-height: 1.5;
}

/* CATALOG */
.section--catalog {
  background-color: var(--color-bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(214, 197, 165, 0.25);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
}
.product-card__badge--popular { background-color: var(--color-amber); }
.product-card__badge--sale { background-color: #E74C3C; }
.product-card__badge--heavy { background-color: var(--color-slate-dark); }
.product-card__badge--new { background-color: var(--color-sage); }

.product-card__img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  cursor: pointer;
  background-color: #eee;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card__zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--color-slate-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.product-card__img-wrap:hover .product-card__zoom-hint {
  opacity: 1;
}

.product-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-card__desc {
  font-size: 0.9rem;
  color: var(--color-slate-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.product-card__price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-slate-dark);
}

.product-card__old-price {
  font-size: 1rem;
  color: #A0AAB0;
  text-decoration: line-through;
}

.product-card__actions {
  display: flex;
  gap: 10px;
}
.product-card__actions .btn {
  flex: 1;
}

/* ABOUT SECTION */
.section--about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about__img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about__experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: rgba(38, 51, 49, 0.9);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-sand);
}

.about__experience-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-amber);
  display: block;
  line-height: 1;
}
.about__experience-text {
  font-size: 0.875rem;
  color: var(--color-sand);
}

.about__title {
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.about__text {
  color: var(--color-slate-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about__features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feat__check {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-soft);
  color: var(--color-cyan-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--color-bg-soft);
  flex-wrap: wrap;
  gap: 15px;
}

.about__author-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}

.about__author-role {
  font-size: 0.875rem;
  color: var(--color-slate-muted);
}

/* GALLERY */
.section--gallery {
  background-color: var(--color-bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(38, 51, 49, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--color-white);
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

/* DELIVERY */
.section--delivery {
  background-color: var(--color-white);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.delivery-card {
  background-color: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(137, 169, 154, 0.2);
}

.delivery-card__icon {
  color: var(--color-cyan-dark);
  margin-bottom: 18px;
}

.delivery-card__title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.delivery-card__list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--color-slate-muted);

}
.delivery-card__list strong {
  color: var(--color-slate-dark);
}

/* FEEDBACK FORM SECTION */
.section--feedback {
  background: linear-gradient(135deg, var(--color-slate-dark) 0%, #1e2827 100%);
  color: var(--color-white);
}

.feedback-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.feedback-box__title {
  color: var(--color-white);
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.feedback-box__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.feedback-box__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--color-sand);
}

.feedback-form {
  background-color: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--color-slate-dark);
}

.form__title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form__input, .form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #DCE3E1;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
  transition: var(--transition);
}

.form__input:focus, .form__textarea:focus {
  border-color: var(--color-cyan-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(22, 142, 174, 0.15);
}

.form__note {
  display: block;
  font-size: 0.75rem;
  color: var(--color-slate-muted);
  text-align: center;
  margin-top: 12px;
}

/* CONTACTS SECTION */
.section--contacts {
  background-color: var(--color-bg-light);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-soft);
  color: var(--color-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__label {
  font-size: 0.8125rem;
  color: var(--color-slate-muted);
}

.contact-card__value {
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-card__link:hover {
  color: var(--color-cyan-dark);
}

/* FOOTER */
.footer {
  background-color: var(--color-slate-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__desc {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9rem;
}

.footer__title {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a:hover, .footer__privacy:hover {
  color: var(--color-cyan);
}

.footer__privacy {
  text-decoration: underline;
  font-size: 0.875rem;
}

.footer__bottom {
  padding: 24px 0;
  font-size: 0.875rem;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* FLOATING WIDGETS */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--color-cyan-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
  background-color: var(--color-cyan);
}

/* MESSENGER WIDGET */
.messenger-widget {
  position: fixed;
  bottom: 90px;
  right: 30px;
  z-index: 90;
}

.messenger-widget__toggle {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: var(--color-amber);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(217, 155, 87, 0.5);
  transition: var(--transition);
}
.messenger-widget__toggle:hover {
  transform: scale(1.08);
}

.messenger-widget__menu {
  position: absolute;
  bottom: 64px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.messenger-widget.active .messenger-widget__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.msg-link {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.msg-link--wa { background-color: #25D366; }
.msg-link--tg { background-color: #0088CC; }
.msg-link--phone { background-color: var(--color-slate-dark); }

/* MODALS */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(38, 51, 49, 0.7);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  z-index: 10;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__content--lg { max-width: 720px; }
.modal__content--cart { max-width: 600px; }

.modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--color-slate-muted);
  line-height: 1;
}
.modal__close:hover { color: var(--color-slate-dark); }

.modal__title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-slate-muted);
  margin-bottom: 20px;
}

/* CART DRAWER INSIDE MODAL */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  max-height: 280px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

.cart-item__title { font-weight: 600; flex-grow: 1; font-size: 0.95rem; }
.cart-item__price { font-weight: 700; color: var(--color-slate-dark); }
.cart-item__remove { color: #E74C3C; font-size: 1.2rem; cursor: pointer; padding: 0 6px; }

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--color-bg-soft);
}

.cart-form__title {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
}

.lightbox__container {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: -10px;
  color: var(--color-white);
  font-size: 2.5rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background-color: var(--color-slate-dark);
  color: var(--color-white);
  padding: 16px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.active {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
}
.cookie-banner__text a {
  color: var(--color-cyan);
  text-decoration: underline;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
  .slide__title { font-size: 2.4rem; }
  .about-grid, .feedback-box, .contacts-grid, .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about__img { height: 360px; }
  .top-bar__inner { justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: var(--transition);
  }
  .nav.active {
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .burger { display: flex; }

  .slider { height: 500px; }
  .slide__title { font-size: 1.85rem; }
  .slide__subtitle { font-size: 0.95rem; }

  .search-box__input { width: 140px; }
  .search-box__input:focus { width: 170px; }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}