/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Skryje odkaz "Zobrazit košík" u bloků i klasiky */
.added_to_cart, 
.wc-block-components-product-add-to-cart-button__view-cart {
    display: none !important;
}

/* Pokud by se tam snažila probojovat ikonka košíku nebo tečky při načítání */
.ajax_add_to_cart.added::after {
    display: none !important;
}

/* PRODUKT PAGE */

:root {
  --product-primary: #62B6E2;
  --product-primary-hover: #4ba6d4;
  --product-text: #111111;
  --product-text-muted: #666666;
  --product-bg: #ffffff;
  --product-accent: rgba(17, 17, 17, 0.04);
  --product-radius: 20px;
  --product-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --product-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Container */
.post-881, .product {
  font-family: var(--product-font);
  color: var(--product-text);
  line-height: 1.6;
}

.is-width-constrained {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Breadcrumbs */
.ct-breadcrumbs {
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--product-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ct-breadcrumbs a {
  text-decoration: none;
  color: inherit;
  transition: var(--product-transition);
}

.ct-breadcrumbs a:hover {
  color: var(--product-primary);
}

.ct-breadcrumbs .ct-separator {
  opacity: 0.3;
}

/* Main Layout Wrapper */
.product-entry-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .product-entry-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Gallery Styling */
.woocommerce-product-gallery {
  position: sticky;
  top: 120px;
}

.ct-product-gallery-container {
  border-radius: var(--product-radius);
  overflow: hidden;
  background: #fcfcfc;
}

.flexy-items {
  border-radius: var(--product-radius);
}

.flexy-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--product-radius);
}

.flexy-pills {
  margin-top: 1.5rem !important;
}

.flexy-pills ol {
  display: flex !important;
  gap: 1rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.flexy-pills li {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--product-transition);
  opacity: 0.6;
}

.flexy-pills li.active, .flexy-pills li:hover {
  opacity: 1;
  border-color: var(--product-primary);
  transform: translateY(-2px);
}

.flexy-pills img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Summary / Content */
.summary.entry-summary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product_title {
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}

.price {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--product-primary) !important;
  margin: 0.5rem 0 !important;
}

.ct-product-divider {
  display: block;
  height: 1px;
  background: rgba(17, 17, 17, 0.06);
  width: 100%;
  margin: 1rem 0;
}

/* Add to Cart Section - Premium Redesign */
.ct-product-add-to-cart {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.05);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.01),
    0 2px 4px -1px rgba(0, 0, 0, 0.006),
    0 20px 40px -10px rgba(0, 0, 0, 0.04);
}

.ct-cart-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1.25rem !important;
  width: 100%;
}

.stock.in-stock {
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem !important;
}

.stock.in-stock::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Quantity Selector - Sleek Look */
.quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f9fafb !important;
  border: 1px solid rgba(17, 17, 17, 0.06) !important;
  border-radius: 16px !important;
  height: 60px !important;
  padding: 0 12px !important;
  transition: all 0.3s ease !important;
  min-width: 140px;
}

.quantity:hover {
  background: #ffffff !important;
  border-color: rgba(98, 182, 226, 0.3) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03) !important;
}

.quantity .ct-decrease,
.quantity .ct-increase {
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 1.4rem !important;
  color: #111 !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
}

.quantity .ct-decrease:hover,
.quantity .ct-increase:hover {
  background: var(--product-primary) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(98, 182, 226, 0.3) !important;
}

.quantity input.qty {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: #111 !important;
  padding: 0 !important;
}

/* Add to Cart Button - Bold & Premium */
.single_add_to_cart_button {
  flex: 2;
  height: 60px !important;
  background: var(--product-primary) !important;
  background: linear-gradient(135deg, #62B6E2 0%, #4ba6d4 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 0 2.5rem !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 12px 24px -6px rgba(98, 182, 226, 0.4) !important;
}

.single_add_to_cart_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(98, 182, 226, 0.35) !important;
}

/* Product Meta */
.product_meta {
  font-size: 0.9rem;
  color: var(--product-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product_meta span {
  display: block;
}

.product_meta strong, .product_meta .sku, .product_meta a {
  color: var(--product-text);
  font-weight: 600;
  text-decoration: none;
}

.product_meta a:hover {
  color: var(--product-primary);
}

/* Tabs Styling - Clean Modern Look */
.woocommerce-tabs {
  margin: 6rem 0;
  padding-top: 4rem;
  border-top: 1px solid rgba(17, 17, 17, 0.05);
}

.wc-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 1rem !important;
  margin-bottom: 4rem !important;
  list-style: none !important;
  padding: 0.5rem !important;
  background: #f3f4f6;
  width: fit-content;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 20px;
}

.wc-tabs li {
  margin: 0 !important;
}

.wc-tabs li a {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--product-text-muted) !important;
  text-decoration: none !important;
  padding: 0.8rem 2rem !important;
  display: block !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  box-shadow: none !important;
}

.wc-tabs li.active a {
  background: #ffffff !important;
  color: var(--product-primary) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
  border: none !important;
}

.wc-tabs li:not(.active) a:hover {
  color: var(--product-text) !important;
  background: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
}

.wc-tabs li a::after,
.wc-tabs li a::before,
.wc-tabs li::after,
.wc-tabs li::before {
  display: none !important;
  content: none !important;
  border: none !important;
}

.woocommerce-Tabs-panel {
  max-width: 800px;
  margin: 0 auto;
}

.woocommerce-Tabs-panel p {
  color: var(--product-text-muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Related Products */
.related.products {
  margin: 8rem auto 4rem !important;
  max-width: 1300px !important;
  width: 100% !important;
}

.related .ct-module-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.related ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  justify-content: center !important;
}

@media (max-width: 1100px) {
  .related ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .related ul.products {
    grid-template-columns: 1fr !important;
  }
}

.related .product {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  transition: var(--product-transition) !important;
  border: 1px solid rgba(17, 17, 17, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
}

.related .product:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06) !important;
}

.related figure {
  margin: 0 0 1.25rem 0 !important;
}

.related .ct-media-container {
  border-radius: 12px !important;
  overflow: hidden !important;
  display: block !important;
}

.related .product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  transition: var(--product-transition) !important;
}

.related .product:hover img {
  transform: scale(1.05) !important;
}

.woocommerce-loop-product__title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.4 !important;
}

.woocommerce-loop-product__title a {
  text-decoration: none !important;
  color: inherit !important;
}

.related .price {
  font-size: 1.1rem !important;
  margin-top: auto !important;
  margin-bottom: 1rem !important;
}

.ct-woo-card-actions .button {
  width: 100% !important;
  background: var(--product-accent) !important;
  color: var(--product-text) !important;
  border-radius: 10px !important;
  padding: 0.8rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  display: block !important;
  transition: var(--product-transition) !important;
  border: none !important;
}

.related .product:hover .ct-woo-card-actions .button {
  background: var(--product-primary) !important;
  color: #ffffff !important;
}


/* STRANKA KATEGORIE */

:root {
  --kat-primary: #62B6E2;
  --kat-text: #111111;
  --kat-text-muted: #666666;
  --kat-bg: #ffffff;
  --kat-accent: #f9fafb;
  --kat-radius: 20px;
  --kat-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-offset: 100px; /* Reference to navbar height */
}

/* Hero Section */
.hero-section[data-type="type-2"] {
  background: var(--kat-accent);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
  margin-bottom: 3rem;
}

.hero-section .page-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--kat-text);
}

/* Listing Top (Count & Sort) */
.woo-listing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.woocommerce-result-count {
  font-size: 0.9rem;
  color: var(--kat-text-muted);
  font-weight: 500;
}

.woocommerce-ordering select {
  border: 1px solid rgba(17, 17, 17, 0.1);
  padding: 0.6rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffffff;
  cursor: pointer;
  transition: var(--kat-transition);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.woocommerce-ordering select:hover {
  border-color: var(--kat-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Product Grid */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2.5rem 2rem !important;
  list-style: none !important;
  padding: 0 1rem !important;
}

@media (max-width: 1200px) {
  ul.products { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 500px) {
  ul.products { grid-template-columns: 1fr !important; }
}

/* Individual Product Card - Nike Premium Style */
ul.products li.product {
  background: #ffffff !important;
  border-radius: 32px !important;
  padding: 1rem !important;
  transition: var(--kat-transition) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: center !important;
}

ul.products li.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Media/Image Wrapper */
ul.products li.product figure {
  width: 100% !important;
  background: transparent !important; /* No grey box */
  padding: 0 !important; /* Fill space */
  margin: 0 0 1.5rem 0 !important;
  display: block !important; /* Reset to block */
  border-radius: 24px !important;
  overflow: hidden !important;
  order: 1 !important; /* Flex order */
}

ul.products li.product .ct-media-container {
  width: 100%;
  display: block;
}

ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important; /* Fill the rounded space */
  border-radius: 24px !important; /* Round the image itself */
  transition: var(--kat-transition) !important;
  display: block !important;
}

ul.products li.product:hover img {
  transform: scale(1.08);
}

/* Title */
.woocommerce-loop-product__title {
  width: 100% !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #111111 !important;
  margin: 0 0 0.5rem 0 !important;
  text-align: left !important;
  line-height: 1.3 !important;
  order: 2 !important; /* Flex order */
}

/* Entry Meta / Subtitle (Category) */
.entry-meta {
  width: 100% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  font-size: 0.95rem !important;
  color: #71717a !important;
  text-align: left !important;
  order: 3 !important; /* Flex order */
}

.meta-categories {
  display: block !important;
}

.meta-categories a {
  color: inherit !important;
  text-decoration: none !important;
  text-transform: capitalize !important;
}

/* Price - Bottom Left */
.price {
  width: auto !important;
  font-size: 1.15rem !important; /* Slightly smaller to fit long prices */
  font-weight: 800 !important;
  color: #111111 !important;
  margin: 0 !important;
  text-align: left !important;
  border: none !important;
  order: 4 !important;
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important; /* Prevent breaking into two lines */
  flex-shrink: 0 !important;
}

.price .woocommerce-Price-amount {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Remove any pseudo elements that might look like vertical lines */
.price::before, .price::after {
  display: none !important;
}

/* Actions (Add to Cart Button) - Bottom Right */
.ct-woo-card-actions {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important; /* Remove any weird borders */
  order: 5 !important; /* Flex order */
  display: flex !important;
  align-items: center !important;
}

.ct-woo-card-actions .button {
  background: var(--kat-primary) !important; /* Blue button */
  color: #ffffff !important;
  border-radius: 999px !important; /* Pill shape */
  padding: 0.4rem 0.85rem !important; /* Significantly smaller padding */
  font-weight: 700 !important;
  font-size: 0.75rem !important; /* Smaller font size */
  text-decoration: none !important;
  border: none !important;
  transition: var(--kat-transition) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important; /* Prevent button from squishing */
}

.ct-woo-card-actions .button:hover {
  background: #4ba6d4 !important; /* Slightly darker blue on hover */
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(98, 182, 226, 0.3) !important;
}

/* Pagination - Premium Style */
.ct-pagination {
  margin-top: 5rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.25rem !important;
  border: none !important;
}

/* Pagination container overrides to prevent theme from spreading items */
nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.25rem !important;
  border: none !important;
  padding: 0 !important;
}

nav.woocommerce-pagination ul li {
  border: none !important;
  display: block !important;
}

.ct-pagination .page-numbers,
nav.woocommerce-pagination ul li .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important; /* Perfect circles for numbers */
  text-decoration: none !important;
  color: #71717a !important; /* Subtle grey for inactive */
  font-weight: 700 !important;
  font-size: 1rem !important;
  transition: var(--kat-transition) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.ct-pagination .page-numbers.current,
nav.woocommerce-pagination ul li .page-numbers.current {
  background: var(--kat-primary) !important; /* Solid blue active state */
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(98, 182, 226, 0.3) !important;
}

.ct-pagination a.page-numbers:hover,
nav.woocommerce-pagination ul li a.page-numbers:hover {
  background: #f4f4f5 !important;
  color: var(--kat-primary) !important; /* Blue text on hover */
}

/* "Next" and "Previous" arrows/text */
.ct-pagination .next,
.ct-pagination .prev,
nav.woocommerce-pagination ul li .next,
nav.woocommerce-pagination ul li .prev {
  border-radius: 999px !important; /* Pill shape */
  padding: 0 1.25rem !important; /* Slightly smaller padding */
  background: #f4f4f5 !important;
  color: var(--kat-primary) !important; /* Blue text */
  text-transform: capitalize !important;
  font-size: 0.9rem !important; /* Smaller text */
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  margin: 0 0.5rem !important; /* Spacing from numbers */
  width: auto !important;
  transition: var(--kat-transition) !important;
}

.ct-pagination .next:hover,
.ct-pagination .prev:hover,
nav.woocommerce-pagination ul li .next:hover,
nav.woocommerce-pagination ul li .prev:hover {
  background: var(--kat-primary) !important; /* Blue background on hover */
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(98, 182, 226, 0.3) !important;
}

/* POKLADNA DOKONCENO */

.post-9 {
    --primary-blue: #62B6E2;
    --dark-blue: #0b132b;
    --bg-light: #f8fafc;
    --border-subtle: rgba(11, 19, 43, 0.04);
    --shadow-soft: 0 12px 36px rgba(11, 19, 43, 0.04);
}

.post-9 .hero-section {
    padding: 60px 0 40px;
    text-align: center;
}

.post-9 .page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: -0.03em;
    margin: 0;
}

.post-9 .woocommerce-order {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.post-9 .wpify-woo-qr-payment {
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    border: 1px solid var(--border-subtle);
}

.post-9 .wpify-woo-qr-payment_title-before p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.post-9 .wpify-woo-qr-payment_code {
    max-width: 150px !important;
    border-radius: 12px;
    padding: 10px;
    background: #f1f8fc;
}

.post-9 .woocommerce-thankyou-order-received {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(6, 95, 70, 0.05);
}

.post-9 .woocommerce-thankyou-order-received::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.post-9 .woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0 0 32px;
    list-style: none;
    border: none !important;
}

.post-9 .woocommerce-order-overview li {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-9 .woocommerce-order-overview li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(11, 19, 43, 0.06);
    border-color: var(--primary-blue) !important;
}

.post-9 .woocommerce-order-overview li.method {
    grid-column: 1 / 3;
    margin-top: 8px;
}

.post-9 .woocommerce-order-overview li span,
.post-9 .woocommerce-order-overview li {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.post-9 .woocommerce-order-overview li strong,
.post-9 .woocommerce-order-overview li strong bdi {
    font-size: 1.2rem;
    color: var(--dark-blue) !important;
    text-transform: none;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.post-9 .woocommerce-order-overview li strong {
    font-size: 1.1rem;
    color: var(--dark-blue);
    text-transform: none;
    letter-spacing: 0;
}

.post-9 .woocommerce-bacs-bank-details,
.post-9 .woocommerce-order-details,
.post-9 .packetery-order-detail,
.post-9 .woocommerce-customer-details {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    border: 1px solid var(--border-subtle);
}

.post-9 h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.post-9 .wc-bacs-bank-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 0;
    list-style: none;
}

.post-9 .wc-bacs-bank-details li {
    font-size: 0.95rem;
    color: #4a5568;
}

.post-9 .wc-bacs-bank-details li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-top: 4px;
}

.post-9 .shop_table {
    width: 100%;
    border-collapse: collapse;
}

.post-9 .shop_table th {
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #a0aec0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.post-9 .shop_table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--bg-light);
    color: #2d3748;
}

.post-9 .product-name a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.post-9 .product-name a:hover {
    color: var(--primary-blue);
}

.post-9 .shop_table tfoot th {
    text-transform: none;
    letter-spacing: 0;
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
}

.post-9 .shop_table tfoot td {
    font-weight: 700;
    color: var(--dark-blue);
}

.post-9 .shop_table tfoot tr:last-child td {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.post-9 .packetery-order-detail table,
.post-9 .packetery-order-detail tbody,
.post-9 .packetery-order-detail tr {
    display: block;
    width: 100%;
}

.post-9 .packetery-order-detail tr {
    margin-bottom: 24px;
}

.post-9 .packetery-order-detail th {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    padding: 0 0 8px 0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-9 .packetery-order-detail td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.post-9 .packetery-order-detail .button {
    display: inline-flex;
    background: #f1f5f9;
    color: var(--dark-blue);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.post-9 .packetery-order-detail .button:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 182, 226, 0.3);
}

.post-9 .woocommerce-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.post-9 .woocommerce-column {
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
}

.post-9 address {
    font-style: normal;
    line-height: 1.8;
    color: #475569;
    padding: 0;
    border: none !important;
}

.post-9 .woocommerce-customer-details--phone,
.post-9 .woocommerce-customer-details--email {
    margin: 12px 0 0;
    color: var(--dark-blue);
    font-weight: 700;
    display: block;
}

.post-9 .wc-block-order-confirmation-additional-fields-wrapper {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--bg-light);
}

.post-9 .wc-block-components-additional-fields-list dt {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 4px;
}

.post-9 .wc-block-components-additional-fields-list dd {
    margin: 0 0 16px 0;
    font-weight: 600;
    color: var(--dark-blue);
}

@media (max-width: 768px) {
    .post-9 .wpify-woo-qr-payment {
        flex-direction: column;
        text-align: center;
    }
    .post-9 .woocommerce-columns {
        grid-template-columns: 1fr;
    }
    .post-9 .page-title {
        font-size: 2.2rem;
    }
}

/* hOVER KOSIK */


.post-9 {
    --primary-blue: #62B6E2;
    --dark-blue: #0b132b;
    --bg-light: #f8fafc;
    --border-light: #e2e8f0;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.04);
}

/* Hlavní kontejner */
.post-9 .woocommerce {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Rozložení na dva sloupce */
.post-9 .woocommerce-checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Levý sloupec - údaje zákazníka */
.post-9 .ct-customer-details {
    flex: 1;
    min-width: 600px;
}

/* Pravý sloupec - přehled objednávky */
.post-9 .ct-order-review {
    flex: 0 0 450px;
    position: sticky;
    top: 100px;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

/* Nadpisy */
.post-9 h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Políčka formuláře */
.post-9 .form-row {
    margin-bottom: 20px;
}

.post-9 label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-9 .input-text, 
.post-9 select, 
.post-9 textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--dark-blue);
    background: #ffffff;
    transition: all 0.2s ease;
}

.post-9 .input-text:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(98, 182, 226, 0.1);
    outline: none;
}

/* Sekce údajů */
.post-9 .woocommerce-billing-fields, 
.post-9 .woocommerce-shipping-fields, 
.post-9 .woocommerce-additional-fields {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Tabulka objednávky v pravém sloupci */
.post-9 .shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.post-9 .shop_table th, 
.post-9 .shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
    text-align: left;
}

.post-9 .product-name {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.post-9 .product-total {
    text-align: right !important;
    font-weight: 700;
    color: var(--dark-blue);
}

.post-9 .order-total th, 
.post-9 .order-total td {
    padding-top: 24px;
    border-top: 2px solid var(--bg-light);
    border-bottom: none;
}

.post-9 .order-total td {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Doprava v přehledu */
.post-9 .woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.post-9 .woocommerce-shipping-methods li {
    background: #fcfdfe;
    padding: 24px;
    border-radius: 20px;
    margin-bottom: 12px;
    display: grid !important;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 12px;
    cursor: pointer;
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-9 .woocommerce-shipping-methods li:hover {
    border-color: var(--primary-blue);
    background: #ffffff;
}

.post-9 .woocommerce-shipping-methods li:has(input:checked) {
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(98, 182, 226, 0.08);
}

.post-9 .woocommerce-shipping-methods input[type="radio"] {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

.post-9 .woocommerce-shipping-methods label {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--dark-blue) !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    margin: 0 !important;
}

/* Widgety a wrappery (Zásilkovna, Balíkovna) - schované v základu */
.post-9 .packetery-widget-button-wrapper,
.post-9 #balikovna-container,
.post-9 #balikovna-wrapper,
.post-9 .packeta-widget,
.post-9 .packetery-widget-button-row {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    display: none; /* Skryto */
}

/* Zobrazení pouze u vybrané metody */
.post-9 .woocommerce-shipping-methods li:has(input:checked) .packetery-widget-button-wrapper,
.post-9 .woocommerce-shipping-methods li:has(input:checked) #balikovna-container,
.post-9 .woocommerce-shipping-methods li:has(input:checked) #balikovna-wrapper,
.post-9 .woocommerce-shipping-methods li:has(input:checked) .packeta-widget,
.post-9 .woocommerce-shipping-methods li:has(input:checked) .packetery-widget-button-row {
    display: block !important;
}

.post-9 .packetery-widget-button-logo {
    display: none !important;
}

.post-9 .packetery-widget-button button,
.post-9 #balikovna-wrapper button,
.post-9 #balikovna-container button {
    background: #f1f5f9 !important;
    color: var(--dark-blue) !important;
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-light) !important;
    cursor: pointer;
    transition: all 0.2s;
    width: auto !important;
    min-width: 200px;
}

.post-9 .packetery-widget-button button:hover,
.post-9 #balikovna-wrapper button:hover,
.post-9 #balikovna-container button:hover {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 182, 226, 0.2);
}

.post-9 .packeta-widget-place,
.post-9 #balikovna-vypis {
    margin-top: 10px !important;
    font-size: 0.9rem !important;
    color: var(--primary-blue) !important;
    font-weight: 700 !important;
}

/* Platební metody */
.post-9 .payment_methods {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.post-9 .payment_box {
    background: #f1f5f9;
    padding: 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #475569;
    margin-top: 10px;
}

/* Hlavní tlačítko objednat */
.post-9 #place_order {
    width: 100%;
    background: var(--primary-blue);
    color: #ffffff;
    padding: 20px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(98, 182, 226, 0.3);
}

.post-9 #place_order:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(98, 182, 226, 0.4);
    background: #4a9bc6;
}

/* Responsivita */
@media (max-width: 1100px) {
    .post-9 .woocommerce-checkout {
        flex-direction: column;
    }
    .post-9 .ct-customer-details, 
    .post-9 .ct-order-review {
        flex: 1 1 100%;
        min-width: 100%;
        position: static;
    }
}




