/* ========================================= */
/* APPLE DESIGN SYSTEM: LAYOUT & COMPONENTS  */
/* ========================================= */

/* App Container — Modern Full-bleed Flow */
.app-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

/* Top Announcement Promo Ribbon */
.promo-ribbon {
  background: #0f0f12;
  color: #f5f5f7;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-ribbon-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-badge {
  background: var(--accent-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-ribbon a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.promo-ribbon a:hover {
  color: var(--accent-red);
}

/* Sticky Apple Glass Header */
.apple-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
}

.apple-header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary-ink);
  cursor: pointer;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links-desktop a {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-deep-gray);
  transition: color 0.2s ease;
}

.nav-links-desktop a:hover, .nav-links-desktop a.active {
  color: var(--color-primary-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-hairline);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary-ink) !important;
  background: var(--color-paper);
}

.phone-link-pill:hover {
  background: var(--color-canvas);
  border-color: #d6d6d6;
}

.cart-btn-header {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-primary-ink);
  display: flex;
  align-items: center;
}

.cart-badge-pill {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide old desktop sidebar by default in new Apple layout */
#desktop-sidebar {
  display: none !important;
}

/* Main Content Wrapper */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px 24px;
}

/* ========================================= */
/* HERO SECTION (APPLE STYLE)                */
/* ========================================= */
.hero-banner {
  background: #ffffff;
  border-radius: 0;
  padding: 40px 0 60px 0;
  margin-bottom: 30px;
  display: block;
  min-height: auto;
  box-shadow: none;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  color: var(--accent-red);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-content h1 {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--color-primary-ink);
}

.hero-content p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--color-mid-gray);
  max-width: 640px;
  margin: 0 auto 32px auto;
  line-height: 1.45;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Hero Showcase Card with 28px Radius */
.hero-showcase-box {
  background: var(--color-canvas);
  border-radius: 28px;
  padding: 30px;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  text-align: left;
}

@media (max-width: 820px) {
  .hero-showcase-box {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.hero-image-wrap {
  width: 100%;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.04);
}

/* ========================================= */
/* PRO KEYNOTE DARK BAND ("АНАТОМИЯ СНА")    */
/* ========================================= */
.pro-anatomy-section {
  background: #08080a;
  color: #ffffff;
  border-radius: 28px;
  padding: 60px 40px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.pro-anatomy-section h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #ffffff;
}

.pro-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.pro-layer-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s ease;
}

.pro-layer-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-red);
  transform: translateY(-3px);
}

.pro-layer-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pro-layer-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.pro-layer-desc {
  font-size: 13px;
  color: #a1a1a6;
  line-height: 1.45;
}

/* ========================================= */
/* CONTROLS: SEARCH & CATEGORY PILLS         */
/* ========================================= */
.catalog-controls {
  margin-bottom: 40px;
}

.search-bar {
  background: var(--color-canvas);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--color-hairline);
  max-width: 480px;
}

.search-bar input {
  border: none;
  background: transparent;
  color: var(--color-primary-ink);
  font-size: 15px;
  outline: none;
  width: 100%;
}

.search-bar svg {
  color: var(--color-mid-gray);
  flex-shrink: 0;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary-ink);
  margin-bottom: 20px;
}

.categories-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.categories-slider::-webkit-scrollbar {
  display: none;
}

.category-card {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-canvas);
  color: var(--color-deep-gray);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-card.active {
  background: var(--color-primary-ink) !important;
  color: #ffffff !important;
}

.category-card:hover:not(.active) {
  background: var(--color-cool-wash);
  color: var(--color-primary-ink);
}

/* ========================================= */
/* PRODUCT CATALOG (28PX APPLE CARDS)        */
/* ========================================= */
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid var(--color-hairline);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #d6d6d6;
}

.card-image {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--color-canvas);
}

.card-category-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary-ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-ink);
  font-feature-settings: "tnum" 1;
}

.card-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-canvas);
}

.card-add-btn {
  background: var(--accent-red);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.card-add-btn:hover {
  background: var(--accent-red-hover);
  transform: scale(1.02);
}

/* ========================================= */
/* MAKHACHKALA SHOWROOM & COURIER CARD       */
/* ========================================= */
.showroom-band {
  background: var(--color-canvas);
  border-radius: 28px;
  padding: 40px;
  margin: 60px 0 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

@media (max-width: 768px) {
  .showroom-band {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.showroom-info h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-primary-ink);
}

.showroom-info p {
  font-size: 15px;
  color: var(--color-mid-gray);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ========================================= */
/* MAIN FOOTER (APPLE LEGAL STYLE)           */
/* ========================================= */
.main-footer {
  background: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
  padding: 50px 24px;
  margin-top: 80px;
  font-size: 12px;
  color: var(--color-mid-gray);
  line-height: 1.4;
  border-radius: 0 !important;
}

.main-footer a {
  color: var(--color-deep-gray);
}

.main-footer a:hover {
  color: var(--accent-red);
}

/* ========================================= */
/* MODALS (APPLE FROSTED DIALOGS)            */
/* ========================================= */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.product-modal-content {
  max-width: 920px;
  padding: 40px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-canvas);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-deep-gray);
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: var(--color-cool-wash);
  color: var(--color-primary-ink);
}

/* Form Styling in Apple Style */
.custom-form .input-group {
  margin-bottom: 16px;
}

.custom-form input, .custom-form textarea {
  width: 100%;
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--color-primary-ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-form input:focus, .custom-form textarea:focus {
  border-color: var(--accent-red);
  background: #ffffff;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-hairline);
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-mid-gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.auth-tab.active {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

/* ========================================= */
/* CART SIDEBAR (FLYOUT DRAWER)              */
/* ========================================= */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  border-left: 1px solid var(--color-hairline);
}

.cart-sidebar.open,
.cart-sidebar.active {
  right: 0;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1045;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop.open,
.cart-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.support-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-window.active,
.chat-window.open {
  display: flex !important;
}

@media (max-width: 768px) {
  .support-widget {
    bottom: 85px !important;
    right: 16px !important;
  }
  .support-widget .chat-window {
    width: calc(100vw - 32px) !important;
    max-width: 360px !important;
    height: 380px !important;
  }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-hairline);
  margin-bottom: 18px;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-footer {
  padding-top: 20px;
  border-top: 1px solid var(--color-hairline);
}

.cart-total {
  font-size: 18px;
  color: var(--color-primary-ink);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================================= */
/* MOBILE NAVIGATION (IOS STYLE DOCK)        */
/* ========================================= */
.mobile-top-header {
  display: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-hairline);
  position: sticky;
  top: 0;
  z-index: 90;
  justify-content: space-between;
  align-items: center;
}

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-hairline);
  padding: 8px 16px 14px 16px;
  z-index: 95;
  justify-content: space-around;
  align-items: center;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--color-deep-gray);
  font-size: 11px;
  font-weight: 500;
}

.tab-item.active-pill {
  color: var(--accent-red);
}

.tab-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .apple-header {
    display: none;
  }
  .mobile-top-header {
    display: flex;
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .content-wrapper {
    padding-bottom: 100px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Admin panel layout rules */
body:has(#admin-sidebar) .app-container {
  display: flex !important;
  flex-direction: row !important;
  height: 100vh !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  body:has(#admin-sidebar) .app-container {
    flex-direction: column !important;
    height: auto !important;
  }
}

/* Logo styles */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary-ink);
}

/* Apple Mobile Navigation Drawer */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 290px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  box-shadow: 20px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: left 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}
.mobile-drawer.active {
  left: 0;
}

.mobile-drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-drawer-links {
  list-style: none;
  padding: 16px 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.mobile-drawer-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-ink);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.mobile-drawer-links li a:hover,
.mobile-drawer-links li a.active {
  background: rgba(227, 0, 27, 0.08);
  color: var(--accent-red);
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary-ink);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.drawer-phone-btn:hover {
  opacity: 0.9;
}

.drawer-schedule {
  text-align: center;
  font-size: 12px;
  color: var(--color-mid-gray);
}

/* Плавный отступ при скролле к якорным блокам (с учетом фиксированной шапки) */
#pro-section,
#showroom-section,
#catalog-section,
#catalog-container {
  scroll-margin-top: 80px;
}

/* ========================================= */
/* COOKIE CONSENT BANNER (APPLE GLASS)       */
/* ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 32px);
  max-width: 620px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 16px 22px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-size: 13px;
  color: #1d1d1f;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.cookie-text a {
  color: var(--accent-red);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  background: var(--accent-red);
  color: #ffffff;
  border: 1px solid var(--accent-red);
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.cookie-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.cookie-btn:active {
  transform: scale(0.97);
}

.cookie-btn-secondary {
  background: #f0f0f2;
  color: #1d1d1f;
  border: 1px solid #d2d2d7;
  border-radius: 980px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease;
}

.cookie-btn-secondary:hover {
  background: #e5e5ea;
  transform: scale(1.02);
}

.cookie-btn-secondary:active {
  transform: scale(0.97);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 85px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 16px;
    text-align: center;
  }
  .cookie-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .cookie-btn, .cookie-btn-secondary {
    width: 100%;
    padding: 12px;
  }
}
