/* Apple/Tesla look — SAFE override (only .apple-price) */

/* Optional: softer section spacing on this page */
.apple-price{
  background:#f5f5f7;
  padding:72px 0;
}

/* Card */
.apple-price .card{
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 48px 48px 44px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 32px 80px rgba(0,0,0,.08);

  /* micro entrance */
  opacity: 0;
  transform: translateY(10px);
  animation: appleFadeUp .75s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes appleFadeUp{
  to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.apple-price h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.apple-price .subtitle{
  margin: 0 0 28px;
  color: rgba(0,0,0,.58);
  font-size: 16px;
  line-height: 1.6;
}

/* Price list (Tesla-like rows) */
.apple-price .list{
  border-top: 1px solid rgba(0,0,0,.10);
}

.apple-price .item{
  position: relative;
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,.10);

  transition: background .22s ease, transform .22s ease;
}

.apple-price .item:hover{
  background: rgba(0,0,0,.018);
  transform: translateX(2px);
}

.apple-price .item span{
  font-size: 18px;
  color: rgba(0,0,0,.78);
  letter-spacing: -0.01em;
}

.apple-price .item strong{
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(0,0,0,.92);
}

.apple-price .item em{
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,.55);
  margin-left: 6px;
}

/* Best row */
.apple-price .item.best:hover{
  background: rgba(0,0,0,.028);
}

.apple-price .item.best strong{
  color: rgba(0,0,0,.98);
}

/* Badge (subtle) */
.apple-price .badge{
  position: absolute;
  right: 0;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: rgba(0,0,0,.68);
  font-size: 12px;
  letter-spacing: .01em;
}

/* Meta (clean, minimal) */
.apple-price .meta{
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0,0,0,.08);
  list-style: none;
  color: rgba(0,0,0,.58);
  font-size: 15px;
}

.apple-price .meta li{
  margin: 8px 0;
}

/* Actions */
.apple-price .actions{
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.apple-price .btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #0b0b0c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;

  box-shadow: 0 12px 26px rgba(0,0,0,.20);
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.apple-price .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0,0,0,.26);
  opacity: .98;
}

.apple-price .link{
  display: inline-flex;
  align-items: center;
  color: rgba(0,0,0,.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.28);
  padding-bottom: 2px;
}

.apple-price .link:hover{
  color: rgba(0,0,0,.90);
  border-bottom-color: rgba(0,0,0,.45);
}

/* Mobile */
@media (max-width: 720px){
  .apple-price{ padding: 46px 0; }

  .apple-price .card{
    padding: 28px 22px 26px;
    border-radius: 22px;
  }

  .apple-price .item{
    padding: 18px 0;
  }

  .apple-price .item strong{
    font-size: 28px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .apple-price .card{ animation: none; opacity: 1; transform: none; }
  .apple-price .item, .apple-price .btn{ transition: none; }
}
/* Size table — clean B2B style */

.size-section{
  padding: 56px 0 72px;
  background: #fff;
}

.size-section h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.size-section .lead{
  margin: 0 0 22px;
  color: rgba(0,0,0,.58);
  font-size: 16px;
  line-height: 1.6;
}

.size-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.08);
}

.size-table-wrap{
  overflow-x: auto;
}

.size-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.size-table th,
.size-table td{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  text-align: left;
  white-space: nowrap;
}

.size-table th{
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(0,0,0,.58);
  font-weight: 600;
  background: rgba(0,0,0,.02);
}

.size-table td{
  font-size: 15px;
  color: rgba(0,0,0,.82);
}

@media (max-width: 720px){
  .size-section{ padding: 40px 0 56px; }
  .size-card{ padding: 14px; border-radius: 20px; }
}
/* Apple-style button */
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 999px;

  background: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;

  /* важно — кнопка ВИДНА всегда */
  opacity: 1;
}

/* hover — микроанимация */
.btn-apple:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.35);
  background: #111;
}

/* active — “нажатие” */
.btn-apple:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.25);
}

/* dark section (как у тебя внизу) */
.dark-section .btn-apple {
  background: #6b4ba3; /* фирменный фиолетовый */
}

.dark-section .btn-apple:hover {
  background: #7a5bc4;
}
/* Fix: button must be visible by default */
a.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;
  border-radius: 999px;

  background: #6b4ba3;
  color: #fff !important;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;

  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);

  opacity: 1 !important;           /* главное */
  visibility: visible !important;  /* страховка */
  transform: translateY(0);

  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

a.btn:hover{
  transform: translateY(-2px);
  background: #7a5bc4;
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 18px 46px rgba(0,0,0,.45);
}

a.btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

a.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(122,91,196,.35), 0 18px 46px rgba(0,0,0,.45);
}
/* === FORCE PRIMARY CTA VISIBILITY (HOME + WHOLESALE) === */

a.btn,
.dark-section a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 999px;

  background: linear-gradient(180deg, #7b5fc9, #6b4ba3);
  color: #ffffff !important;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;

  opacity: 1 !important;
  visibility: visible !important;

  border: 1px solid rgba(255,255,255,.18);
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.12);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

/* Hover — Apple-style lift */
a.btn:hover,
.dark-section a.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 46px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.18);
}

/* Active */
a.btn:active,
.dark-section a.btn:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0,0,0,.35);
}

/* Focus */
a.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(123,95,201,.35),
    0 18px 46px rgba(0,0,0,.45);
}
/* === GLOBAL CTA FIX (ALL PAGES) === */
.dark-section a,
.dark-section a.btn,
.dark-section .btn,
.footer a.btn,
footer a.btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 14px 28px;

  border-radius: 999px;

  background: linear-gradient(180deg, #7b5fc9, #6b4ba3) !important;
  color: #fff !important;

  opacity: 1 !important;
  visibility: visible !important;

  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.18) !important;

  box-shadow: 0 12px 30px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.dark-section a.btn:hover,
.dark-section .btn:hover,
.footer a.btn:hover,
footer a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.50), inset 0 1px 0 rgba(255,255,255,.18);
}

.dark-section a.btn:active,
.dark-section .btn:active,
.footer a.btn:active,
footer a.btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.38);
}
/* FIX HERO IMAGE */
.hero,
.hero-image {
    border-radius: 0 !important;
    overflow: hidden;
}

.hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 0 !important;
}
.hero {
    border-radius: 0 !important;
}
.hero-content {
    border-radius: 0 !important;
}

.hero-image {
    border-radius: 0 !important;
}

.hero-image img {
    border-radius: 0 !important;
}



/* ===== HERO FULL-WIDTH BACKGROUND (override) ===== */
header.hero > .hero-image,
header.hero > .hero-image img{
  border-radius: 0 !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}
