/* =====================================================================
   Nylna premium panoramic theme (loaded after style.css)
   ===================================================================== */
:root { --glass: rgba(255,255,255,.74); --glass-strong: rgba(255,255,255,.9); --ring: rgba(2,119,189,.18); }
@media (prefers-color-scheme: dark) { :root { --glass: rgba(10,22,38,.72); --glass-strong: rgba(14,29,47,.9); --ring: rgba(79,195,247,.2); } }

.topbar { background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: box-shadow .3s, background .3s; }
.topbar.scrolled { box-shadow: 0 8px 30px rgba(8,37,79,.10); }
.cart-btn { gap: 4px; }
.ico { flex-shrink: 0; vertical-align: middle; }
main.bleed { padding: 0; }
.btn.lg { padding: 12px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e3f4fe; color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---- panoramic hero ---- */
.pano-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: clamp(560px, 86vh, 880px); display: flex; align-items: center; padding: 80px 0 150px; }
.pano-hero.compact { min-height: 0; padding: 70px 0 110px; }
.pano-bg { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(1100px 560px at 88% 12%, rgba(41,169,232,.55), transparent 60%),
    radial-gradient(900px 520px at 6% 96%, rgba(4,26,61,.95), transparent 62%),
    linear-gradient(118deg, #031630 0%, #0b3b8c 42%, #0277bd 78%, #29a9e8 100%); }
.pano-hero.has-img .pano-bg {
  background: linear-gradient(100deg, rgba(3,22,48,.94) 0%, rgba(11,59,140,.78) 45%, rgba(2,119,189,.35) 100%), var(--hero-img) center / cover no-repeat;
  animation: kenburns 32s ease-in-out infinite alternate; }
.pano-pattern { position: absolute; inset: 0; z-index: -2; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M0 40h40l20 20h40M100 60l20-20h40M20 120h50l15-15h75M80 0v30l15 15M130 160v-30l-20-20'/%3E%3C/g%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='100' cy='60' r='3'/%3E%3Ccircle cx='70' cy='120' r='3'/%3E%3Ccircle cx='95' cy='45' r='2.5'/%3E%3Ccircle cx='110' cy='110' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 60%, transparent 100%); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb-1 { width: 420px; height: 420px; background: #29a9e8; top: -120px; left: 8%; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 360px; height: 360px; background: #1a5fd0; bottom: -140px; right: 20%; animation: drift 22s ease-in-out infinite alternate-reverse; }
.pano-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(180deg, transparent, var(--bg)); }
.pano-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: 48px; align-items: center; width: 100%; }
.pano-hero.compact .pano-inner { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.pano-text h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 800; line-height: 1.18; margin: 14px 0 6px; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
.pano-hero.compact h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.pano-text .slogan { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 800; margin: 0 0 14px; line-height: 1.35;
  background: linear-gradient(90deg, #ffffff 0%, #bfe9ff 45%, #7fd0fb 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pano-text .lead { font-size: 1.1rem; opacity: .92; max-width: 640px; }
.eyebrow { display: inline-block; padding: 5px 16px; border-radius: 99px; font-size: .85rem; font-weight: 700;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 22px; }
.domain-search.glass { max-width: 640px; padding: 8px; gap: 8px; border-radius: 16px; align-items: center; margin-top: 0;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.domain-search.glass input { background: rgba(255,255,255,.96); color: #10233d; border: 0; border-radius: 10px; padding: 12px 16px; }
.domain-search.glass .btn { border-radius: 10px; padding: 12px 24px; }
.domain-search.glass .ds-icon { color: #fff; display: grid; place-items: center; padding: 0 6px; }
.pano-hero .tld-row span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); }
.pano-logo { display: flex; justify-content: center; }
.logo-ring { width: clamp(220px, 25vw, 340px); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 9%; position: relative;
  box-shadow: 0 0 0 14px rgba(255,255,255,.08), 0 0 0 30px rgba(255,255,255,.045), 0 40px 90px rgba(0,0,0,.4);
  animation: float 4.5s ease-in-out infinite; }
.logo-ring::before { content: ''; position: absolute; inset: -46px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.28); animation: spin 32s linear infinite; }
.logo-ring img { width: 100%; height: 100%; object-fit: contain; }

/* ---- home hero: 25% smaller text and a more compact panel ---- */
.home-hero { min-height: clamp(420px, 64vh, 640px); padding: 56px 0 130px; }
.home-hero .pano-text h1 { font-size: clamp(1.5rem, 3.3vw, 2.625rem); margin-top: 0; }
.home-hero .pano-text .slogan { font-size: clamp(1.125rem, 2.4vw, 1.875rem); margin-bottom: 20px; }
.home-hero .pano-text .lead { font-size: .85rem; }
.home-hero .tld-row span { font-size: .75rem; }
.home-hero .domain-search.glass { max-width: 560px; }
.home-hero .domain-search.glass input, .home-hero .domain-search.glass .btn { padding-top: 10px; padding-bottom: 10px; }
.home-hero .logo-ring { width: clamp(165px, 19vw, 255px); }
.home-hero .logo-ring::before { inset: -34px; }

/* ---- feature strip overlapping the hero ---- */
.features-strip { position: relative; z-index: 3; margin-top: -96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.glass-card { background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: 0 22px 50px rgba(8,37,79,.12); }
.feature { display: flex; gap: 14px; align-items: center; padding: 18px; }
.feature strong { display: block; font-size: 1.02rem; }
.feature div span { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }
.feature-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--primary) 55%, var(--sky)); box-shadow: 0 10px 24px var(--ring); }

/* ---- sections ---- */
.section { padding: 76px 0; }
.section.alt { background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; margin: 12px 0 8px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section .eyebrow { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.section-head.with-actions { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; text-align: right; max-width: none; flex-wrap: wrap; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: 22px; color: inherit;
  background: var(--surface); border: 1px solid var(--border); transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.tile::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--sky)); transform: scaleX(0); transform-origin: right; transition: transform .4s; }
.tile:hover { text-decoration: none; transform: translateY(-6px); box-shadow: 0 26px 50px rgba(2,119,189,.16); border-color: transparent; }
.tile:hover::before { transform: scaleX(1); }
.tile h3 { margin: 10px 0 0; font-size: 1.15rem; }
.tile p { color: var(--muted); margin: 0; flex: 1; font-size: .93rem; }
.tile-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--primary) 55%, var(--sky)); box-shadow: 0 14px 30px var(--ring); }
.tile-more { color: var(--primary); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }

/* ---- panoramic horizontal track ---- */
.pano-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin;
  padding: 8px max(16px, calc((100vw - 1180px) / 2 + 16px)) 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%); }
.pano-item { flex: 0 0 clamp(250px, 24vw, 290px); scroll-snap-align: start; display: flex; }
.pano-item > .card { width: 100%; margin: 0; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: background .2s, color .2s; }
.round-btn:hover { background: var(--primary); color: var(--on-primary); }

/* ---- product cards ---- */
.card.product { transition: transform .35s ease, box-shadow .35s ease; border-radius: 20px; }
.card.product:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(8,37,79,.14); }
.product-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 12px;
  background: radial-gradient(circle at 30% 20%, var(--primary-soft), var(--surface-2) 70%); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-media .product-icon { color: var(--primary); transition: transform .6s ease; background: none; aspect-ratio: auto; width: auto; margin: 0; display: block; }
.card.product:hover .product-media img, .card.product:hover .product-media .product-icon { transform: scale(1.07); }
.media-badge { position: absolute; top: 10px; inset-inline-start: 10px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 2px; }
.muted-tag { background: var(--surface-2); color: var(--muted); }
.card.product h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.card.product h3 a { color: var(--text); }
.card.product .price { font-size: 1.45rem; font-weight: 800; color: var(--primary); margin: 6px 0; }
.big-price { font-size: 2.1rem; font-weight: 800; color: var(--primary); margin: 10px 0; }
.warranty { color: var(--ok); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.product-detail .product-gallery { display: grid; place-items: center; min-height: 360px; background: radial-gradient(circle at 30% 20%, var(--primary-soft), var(--surface) 70%); }
.product-gallery img { max-width: 100%; max-height: 480px; object-fit: contain; border-radius: 12px; }
.product-icon.xl { color: var(--primary); background: none; width: auto; aspect-ratio: auto; }
.spec-list { list-style: none; padding: 0; margin: 14px 0; }
.spec-list li { padding: 7px 0; border-bottom: 1px dashed var(--border); }
.spec-list li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-left: 8px; }
.buy-row { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.buy-row .qty { margin: 0; }
.buy-row .qty span { display: block; font-size: .85rem; color: var(--muted); }
.buy-row .qty input { width: 90px; padding: 11px; }

/* ---- device categories ---- */
.category-strip { position: relative; z-index: 3; margin-top: -58px; display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.cat-chip { flex: 0 0 auto; min-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 14px; border-radius: 18px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(8,37,79,.10); color: var(--text); font-weight: 700; text-align: center; transition: transform .25s, border-color .25s; }
.cat-chip small { color: var(--muted); font-weight: 500; }
.cat-chip:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--primary); }
.cat-chip.active { border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring), 0 16px 40px rgba(8,37,79,.10); }
.cat-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.cat-chip.active .cat-ico { background: linear-gradient(135deg, var(--navy), var(--primary)); color: #fff; }
.delivery-note { display: flex; gap: 14px; align-items: center; margin-top: 30px; border-radius: 18px; }

/* ---- call to action band ---- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 64px 0;
  background: linear-gradient(118deg, #031630 0%, #0b3b8c 50%, #0277bd 100%); }
.cta-band .pano-pattern { opacity: .12; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 6px; }
.cta-inner p { margin: 0; opacity: .88; font-size: 1.05rem; }
.card.news { display: block; color: inherit; border-radius: 18px; transition: transform .3s, box-shadow .3s; }
.card.news:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 20px 40px rgba(8,37,79,.12); }

/* ---- delivery tracking ---- */
.track { list-style: none; padding: 0; margin: 10px 0; display: flex; }
.track li { flex: 1; text-align: center; position: relative; font-size: .85rem; color: var(--muted); padding-top: 30px; }
.track li span { position: absolute; top: 0; right: 50%; transform: translateX(50%); width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); z-index: 1; }
.track li::before { content: ''; position: absolute; top: 10px; right: 50%; width: 100%; height: 3px; background: var(--border); }
.track li:first-child::before { display: none; }
.track li.done { color: var(--text); font-weight: 700; }
.track li.done span { background: var(--primary); border-color: var(--primary); }
.track li.done::before { background: var(--primary); }

/* ---- footer ---- */
footer.site .footer-brand { color: #fff; margin-bottom: 10px; }
footer.site .footer-brand small { color: #8fb3d6; }
footer.site .slogan { color: #8fd3fb; font-weight: 800; font-size: 1.1rem; }
footer.site .contact-list .ico { color: #8fd3fb; margin-left: 4px; }

/* ---- motion ---- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .logo-ring, .logo-ring::before, .orb, .pano-hero.has-img .pano-bg { animation: none; }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .pano-hero { min-height: 0; padding: 48px 0 130px; }
  .pano-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  .pano-logo { order: -1; }
  .logo-ring { width: 150px; box-shadow: 0 0 0 10px rgba(255,255,255,.08), 0 24px 50px rgba(0,0,0,.35); }
  .logo-ring::before { inset: -26px; }
  .hero-actions, .pano-hero .tld-row { justify-content: center; }
  .domain-search.glass { margin-inline: auto; }
  .features-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 56px 0; }
  .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .features-strip { grid-template-columns: minmax(0, 1fr); margin-top: -90px; }
  .grid.g4 { grid-template-columns: minmax(0, 1fr); }
  .domain-search.glass { flex-direction: row; }
  .domain-search.glass .ds-icon { display: none; }
  .hero-actions .btn { flex: 1; }
  .buy-row { flex-direction: column; align-items: stretch; }
  .cta-inner .actions { width: 100%; }
  .cta-inner .actions .btn { flex: 1; }
}
