/* Medovina — editorial minimal. Port z Nuxt/Vuetify verze (2026-10). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1a1a1a;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; }
a, button { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px; }
.skip-link:focus { left: 8px; z-index: 200; }
.text-center { text-align: center; }
.centered-note { padding: 64px 24px; text-align: center; }
.site-canvas { padding: 0 60px; }
@media (max-width: 960px) { .site-canvas { padding: 0 24px; } }

/* Drawery (košík, mobilní menu) */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); opacity: 0; transition: opacity 0.3s ease; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100%; background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.drawer.is-open .drawer-panel { transform: none; }
body.has-drawer { overflow: hidden; }

/* Formuláře (náhrada v-text-field outlined) */
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: 12px; color: #999; letter-spacing: 0.03em; margin-bottom: 6px; }
.field input, .field textarea, .field select { border: 1px solid #ccc; padding: 12px; font-size: 14px; font-family: inherit; color: #1a1a1a; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: #1a1a1a; }
.field .errorlist { list-style: none; margin: 4px 0 0; padding: 0; color: #B00020; font-size: 12px; }
.field--error input, .field--error textarea { border-color: #B00020; }
.qty-input { width: 40px; text-align: center; border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; height: 40px; font-size: 14px; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Utility (náhrada Vuetify tříd, používá je košík) */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.h-100 { height: 100%; }
.flex-grow-1 { flex-grow: 1; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }

/* === Typografie (assets/css/main.css) === */
/* Page title style — reusable */
.page-title {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}

/* Section heading style — reusable */
.section-heading {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

/* Content title style — reusable */
.content-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #1a1a1a;
}

/* Body text style — reusable */
.body-text {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* Thin centered divider */
.thin-divider {
  width: 40px;
  height: 1px;
  background: #eee;
  margin: 24px auto;
}

/* === Oznamovací lišta (AnnouncementBar.vue) === */
.announcement-bar {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 0.6rem 2rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 1;
}

/* === Hlavička, drawery, košík (AppHeader.vue) === */
.site-header {
  background: #fff;
  padding: 60px 0;
}

.header-inner {
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 32px;
}

.nav-link {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link--active {
  color: #1a1a1a;
  font-weight: 600;
}

/* Right actions */
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  border: 1px solid #ddd;
  color: #999;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.lang-switch:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  color: #1a1a1a;
  padding: 4px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

/* Mobile */
@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .header-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    margin-left: 0;
  }
}

.drawer-content {
  padding: 24px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  float: right;
  padding: 0 4px;
  transition: color 0.3s ease;
}

.drawer-close:hover {
  color: #1a1a1a;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.drawer-link {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.drawer-link:hover {
  color: #1a1a1a;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.cart-drawer-title {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.cart-items {
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.cart-item-remove:hover {
  color: #1a1a1a;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.cart-checkout-btn {
  display: block;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cart-checkout-btn:hover {
  background: #333;
}

.cart-count.is-hidden { display: none; }

/* === Patička (AppFooter.vue) === */
.site-footer {
  border-top: 1px solid #eee;
  padding: 40px 0;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-icons a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #1a1a1a;
}

/* === Portfolio grid (pages/index.vue) === */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 0;
}

.portfolio-row {
  display: flex;
  gap: 3px;
  min-height: 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  height: 420px;
  background: #f0f0f0;
  text-decoration: none;
  min-width: 0;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.03);
}

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

.portfolio-item:hover .portfolio-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.portfolio-overlay-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay-title {
  opacity: 1;
}

/* Mobile */
@media (max-width: 960px) {
  .portfolio-item {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .portfolio-row {
    flex-wrap: wrap;
  }

  .portfolio-item {
    flex: 1 1 calc(50% - 1.5px) !important; /* přebíjí inline style="flex: N" */
    height: 280px;
  }
}

/* === Detail díla / hero (pages/portfolio/[slug].vue) === */
.hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #f0f0f0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-detail-info {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  text-align: center;
}

.portfolio-description {
  margin-top: 16px;
  line-height: 1.9;
}

@media (max-width: 960px) {
  .hero-image {
    height: 320px;
  }
}

/* === Obchod (pages/shop.vue) === */
.filter-bar {
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-links {
  display: flex;
  gap: 16px;
}

.filter-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #999;
  letter-spacing: 0.03em;
  padding: 0;
  transition: color 0.3s ease;
}

.filter-link:hover {
  color: #1a1a1a;
}

.filter-link--active {
  color: #1a1a1a;
  font-weight: 600;
}

.sort-control {
  margin-left: auto;
}

.sort-select {
  background: none;
  border: none;
  font-size: 12px;
  color: #999;
  letter-spacing: 0.03em;
  cursor: pointer;
  padding: 4px 0;
}

.sort-select:focus {
  outline: none;
  color: #1a1a1a;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.product-tile {
  text-decoration: none;
  color: inherit;
}

.product-tile-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0f0f0;
}

.product-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-tile:hover .product-tile-img {
  transform: scale(1.03);
}

.product-tile-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

/* Desktop hover overlay */
.product-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.product-tile:hover .product-tile-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.product-tile-overlay-title,
.product-tile-overlay-price {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-tile:hover .product-tile-overlay-title,
.product-tile:hover .product-tile-overlay-price {
  opacity: 1;
  transform: translateY(0);
}

.product-tile-overlay-title {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.product-tile-overlay-price {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 4px;
}

/* Mobile: info below image, no hover */
.product-tile-info {
  display: none;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .sort-control {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .product-tile-overlay {
    display: none;
  }

  .product-tile-info {
    display: flex;
    flex-direction: column;
    padding: 8px 4px;
  }

  .product-tile-info-title {
    font-size: 12px;
    color: #1a1a1a;
  }

  .product-tile-info-price {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
  }
}

/* === Detail produktu (pages/product/[slug].vue) === */
/* Thumbnail strip */
.thumbnail-strip {
  display: flex;
  justify-content: center;
  gap: 3px;
  padding: 16px 24px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  transition: border-color 0.3s ease;
}

.thumbnail--active {
  border-color: #1a1a1a;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product info */
.product-info {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.product-breadcrumb {
  font-size: 11px;
  color: #999;
  margin-bottom: 16px;
}

.product-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.product-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.product-price {
  font-size: 18px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.product-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #eee;
  margin-bottom: 16px;
}

.qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  font-size: 16px;
  color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background: #f5f5f5;
}

.qty-value {
  width: 40px;
  text-align: center;
  font-size: 14px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  line-height: 40px;
}

.add-to-cart-btn {
  display: block;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 8px;
}

.add-to-cart-btn:hover {
  background: #333;
}

.product-description {
  text-align: left;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-image {
    height: 320px;
  }

  .thumbnail {
    width: 56px;
    height: 56px;
  }
}

/* === Pokladna (pages/checkout.vue) === */
.checkout-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.checkout-grid {
  display: flex;
  gap: 40px;
}

.checkout-form {
  flex: 3;
}

.checkout-summary {
  flex: 2;
  background: #fafafa;
  padding: 24px;
  align-self: flex-start;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row > * {
  flex: 1;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.summary-divider {
  height: 1px;
  background: #eee;
  margin: 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
}

.summary-total {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
}

.submit-btn {
  display: block;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 24px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: #333;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error-message {
  color: #B00020;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}

.shop-link {
  color: #1a1a1a;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
}

/* Mobile */
@media (max-width: 960px) {
  .checkout-grid {
    flex-direction: column;
  }

  .checkout-summary {
    order: 1;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* === Objednávka (pages/order/success.vue, cancel.vue) === */
.order-page {
  max-width: 500px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.order-icon {
  display: block;
  font-size: 48px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.order-details {
  margin: 32px 0;
  text-align: left;
}

.order-detail-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  font-size: 13px;
  color: #666;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.order-detail-row--cart {
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
}

.order-detail-header {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.order-summary-total {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  margin-top: 8px;
}

.order-link {
  display: inline-block;
  margin-top: 24px;
  color: #1a1a1a;
  text-decoration: underline;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.order-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

/* cancel.vue: odkazy v .order-actions bez odsazení (success má margin-top) */
.order-actions .order-link {
  margin-top: 0;
}

/* === O mně (pages/about.vue) === */
.about-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.about-photo {
  width: 100%;
  margin-bottom: 32px;
}

.about-photo img {
  width: 100%;
  display: block;
}

.about-text {
  text-align: center;
  line-height: 1.9;
}

/* === Kontakt (pages/contact.vue) === */
.contact-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  text-align: center;
}

.contact-info {
  margin: 24px 0 32px;
}

.contact-info p {
  margin: 4px 0;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.contact-social a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-social a:hover {
  color: #1a1a1a;
}
