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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
}

/* Announcement Bar */
.announcement-bar {
  background-color: #1B3A57;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-flex;
  align-items: center;
  animation: scroll 30s linear infinite;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-right: 32px;
}

.announcement-logo {
  height: 20px;
  width: auto;
  margin-right: 12px;
  filter: brightness(0) invert(1);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo {
  height: 48px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  color: #1a1a1a;
  padding: 0;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0088CC;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Content */
.main-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px;
  font-size: 14px;
  color: #666;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb a:hover {
  color: #1a1a1a;
}

.breadcrumb .separator {
  color: #999;
}

.breadcrumb .current {
  font-weight: 500;
  color: #1a1a1a;
}

/* Product Section */
.product-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .product-section {
    flex-direction: row;
  }
  
  .product-gallery,
  .product-info {
    width: 50%;
  }
}

/* Product Gallery */
.product-gallery {
  width: 100%;
}

.main-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 115%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.main-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  cursor: pointer;
}

.discount-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10;
  background: #0088CC;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: white;
}

.nav-prev { left: 12px; }
.nav-next { right: 12px; }

.image-counter {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #666;
}

.thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 4px;
}

.thumbnail {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.thumbnail:hover {
  opacity: 1;
}

.thumbnail.active {
  border-color: #0088CC;
  opacity: 1;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

/* Product Info */
.product-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.price-section {
  margin-top: 24px;
}

.price-label {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-old {
  font-size: 14px;
  color: #888;
  text-decoration: line-through;
}

.discount-tag {
  background: #0088CC;
  color: white;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
}

.price-current {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 6px;
}

.installments {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.savings {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0088CC;
}

/* Kit Selector */
.kit-selector {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kit-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.kit-subtitle {
  font-size: 14px;
  color: #666;
}

.kit-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kit-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  text-align: left;
  transition: all 0.2s;
}

.kit-option:hover {
  border-color: #bbb;
}

.kit-option.active {
  border-color: #0088CC;
  background: #F0F8FF;
}

.kit-radio {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.2s;
}

.kit-option.active .kit-radio {
  border-color: #0088CC;
  background: #0088CC;
}

.check-icon {
  display: none;
}

.kit-option.active .check-icon {
  display: block;
}

.kit-info {
  flex: 1;
  min-width: 0;
}

.kit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kit-label {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.kit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #1B3A57;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.kit-desc {
  margin-top: 4px;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.kit-price {
  flex-shrink: 0;
  text-align: right;
}

.kit-price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.kit-price-old {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.kit-discount {
  background: #0088CC;
  color: white;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
}

.kit-price-current {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 4px;
}

/* Kit Items */
.kit-items {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
}

.kit-items-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.kit-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  list-style: none;
}

@media (min-width: 640px) {
  .kit-items-list {
    grid-template-columns: 1fr 1fr;
  }
}

.kit-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

/* CTA Button */
.cta-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: #0088CC;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,136,204,0.3);
  transition: all 0.2s;
}

.cta-btn:hover {
  background: #006699;
  box-shadow: 0 6px 16px rgba(0,136,204,0.4);
}

/* Description Section */
.description-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.description-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.description-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.description-text {
  color: #555;
  line-height: 1.7;
}

.description-text p {
  margin-bottom: 16px;
}

.description-text strong {
  color: #1a1a1a;
}

/* Video Section */
.video-section {
  position: relative;
  width: 100%;
  margin-top: 48px;
  background: #1a1a1a;
  cursor: pointer;
}

.video-section video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 640px) {
  .video-section video {
    aspect-ratio: 9 / 14;
  }
}

@media (min-width: 768px) {
  .video-section video {
    aspect-ratio: 16 / 9;
  }
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-section:hover .video-overlay {
  background: rgba(0,0,0,0.4);
}

.video-overlay.hidden {
  display: none;
}

.play-btn {
  width: 64px;
  height: 64px;
  background: #F5A623;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

@media (min-width: 640px) {
  .play-btn {
    width: 80px;
    height: 80px;
  }
  
  .play-btn svg {
    width: 40px;
    height: 40px;
  }
}

.video-section:hover .play-btn {
  transform: scale(1.1);
}

.video-text {
  margin-top: 16px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .video-text {
    font-size: 20px;
  }
}

.sound-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

/* Features Grid */
.features-grid {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 0 16px;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Product Images Grid */
.product-images-grid {
  max-width: 960px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.product-images-grid h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.images-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .images-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-img-card {
  aspect-ratio: 1;
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.product-img-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Specs Table */
.specs-section {
  max-width: 600px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.specs-section h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.specs-table {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:nth-child(odd) {
  background: #f9f9f9;
}

.spec-label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

/* Box Contents */
.box-contents {
  max-width: 800px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.box-contents h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.box-list {
  background: #F0F8FF;
  border: 2px solid rgba(0,136,204,0.3);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .box-list {
    grid-template-columns: 1fr 1fr;
  }
}

.box-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1a1a1a;
}

/* Trust Badges */
.trust-badges {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

/* Reviews Section */
.reviews-section {
  margin-top: 32px;
  border-top: 1px solid #e5e5e5;
  padding-top: 40px;
}

.reviews-summary {
  max-width: 448px;
  margin: 0 auto;
  text-align: center;
}

.reviews-summary h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.rating-number {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stars-row {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.reviews-count {
  font-size: 14px;
  color: #777;
  margin-bottom: 32px;
}

/* Rating Breakdown */
.rating-breakdown {
  margin-bottom: 24px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.breakdown-row > span:first-child {
  width: 12px;
  text-align: right;
  font-size: 14px;
  color: #555;
}

.breakdown-row > span:last-child {
  width: 32px;
  text-align: right;
  font-size: 14px;
  color: #555;
}

.breakdown-bar {
  flex: 1;
  height: 12px;
  background: #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  background: #0088CC;
  border-radius: 6px;
}

.write-review-btn {
  width: 100%;
  padding: 14px;
  background: #0088CC;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s;
}

.write-review-btn:hover {
  background: #006699;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.review-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-info {
  flex: 1;
}

.review-name {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.verified-badge {
  margin-left: 4px;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.review-text {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.review-image {
  margin-top: 12px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.review-image:hover {
  opacity: 0.9;
}

/* Footer */
.site-footer {
  margin-top: 48px;
  background: #f5f5f5;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 24px;
}

@media (min-width: 1024px) {
  .footer-container {
    padding: 40px 32px 24px;
  }
}

.footer-logo-mobile {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .footer-logo-mobile {
    display: none;
  }
}

.footer-logo-mobile img,
.footer-logo-desktop {
  height: 56px;
  width: auto;
}

.footer-logo-desktop {
  display: none;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .footer-logo-desktop {
    display: block;
  }
}

.footer-grid {
  display: block;
}

@media (min-width: 1024px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.footer-section {
  border-bottom: 1px solid #e0e0e0;
}

@media (min-width: 1024px) {
  .footer-section {
    border-bottom: none;
  }
}

.footer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #333;
}

@media (min-width: 1024px) {
  .footer-toggle {
    cursor: default;
    margin-bottom: 16px;
    padding: 0;
  }
  
  .footer-toggle .toggle-icon {
    display: none;
  }
}

.footer-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

@media (min-width: 1024px) {
  .footer-content {
    max-height: none !important;
    overflow: visible;
    padding-bottom: 0 !important;
  }
}

.footer-section.open .footer-content {
  max-height: 600px;
  padding-bottom: 16px;
}

.footer-content p {
  margin-bottom: 16px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 8px !important;
}

.divider {
  border-top: 1px dashed #ccc;
  margin: 16px 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #555;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #333;
}

.newsletter-input {
  width: 100%;
  padding: 10px 16px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 9999px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input:focus {
  border-color: #0088CC;
}

.newsletter-btn {
  width: 100%;
  padding: 12px;
  background: #0088CC;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  transition: background 0.2s;
}

.newsletter-btn:hover {
  background: #006699;
}

/* Footer Social */
.footer-social {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 24px;
}

.footer-social p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  background: #888;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.social-icons a:hover {
  background: #0088CC;
}

/* Footer Payments */
.footer-payments {
  text-align: center;
  margin-bottom: 24px;
}

.footer-payments p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.payment-icon {
  width: 38px;
  height: 24px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: #666;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #e0e0e0;
  background: #f5f5f5;
  padding: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #888;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #0088CC;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,136,204,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  animation: ctaPulse 2.5s ease-in-out infinite;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-cta:hover {
  background: #006699;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.2);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-nav:hover {
  background: rgba(255,255,255,0.2);
}

.modal-prev { left: 16px; }
.modal-next { right: 16px; }

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.modal-video-content {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
}

.modal-video-content video {
  width: 100%;
  aspect-ratio: 16/9;
}

.modal-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
}
