
/* Skrytí nadpisu stránky obchodu */
.page-title,
.woocommerce-products-header__title,
.entry-title {
    display: none !important;
}
/* Černé rámečky pro notifikaci košíku */
.woocommerce-message,
.woocommerce-info,
.wc-forward {
    border: 2px solid #000 !important;
    background-color: #fff !important;
}

/* Tlačítko "Zobrazit košík" - černý rámeček */
.woocommerce-message .button,
.woocommerce-message a.button,
.woocommerce-info .button {
    border: 2px solid #000 !important;
    background-color: #fff !important;
    color: #000 !important;
    padding: 10px 20px !important;
}

/* Hover efekt na tlačítko */
.woocommerce-message .button:hover,
.woocommerce-info .button:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Ikona v notifikaci - černá */
.woocommerce-message::before,
.woocommerce-info::before {
    color: #000 !important;
}

/* Celá notifikační lišta */
.woocommerce-notices-wrapper .woocommerce-message {
    border: 2px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
}
/* Plynulá animace notifikace košíku */
.woocommerce-message,
.woocommerce-notices-wrapper {
    animation: slideDown 0.4s ease-out !important;
    transition: all 0.3s ease !important;
}
/* ===== KATEGORIE PRODUKTŮ - text pod obrázkem ===== */

/* Odebrat šedivý overlay */
.woocommerce ul.products li.product-category .woocommerce-loop-category__title,
.woocommerce ul.products li.product-category h2,
.wc-block-grid__product-title {
    position: relative !important;
    background: transparent !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    padding: 10px 0 !important;
    margin: 0 !important;
}

/* Odebrat overlay pozadí z obrázku */
.woocommerce ul.products li.product-category a {
    position: relative !important;
    display: block !important;
}

.woocommerce ul.products li.product-category a::before,
.woocommerce ul.products li.product-category a::after,
.woocommerce ul.products li.product-category .overlay,
.woocommerce ul.products li.product-category img + * {
    background: transparent !important;
    content: none !important;
}

/* Celý blok kategorie */
.woocommerce ul.products li.product-category {
    text-align: center !important;
    background: transparent !important;
}

/* Obrázek kategorie */
.woocommerce ul.products li.product-category img {
    display: block !important;
    width: 100% !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
}

/* Text názvu kategorie POD obrázkem */
.woocommerce ul.products li.product-category h2,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 0 4px 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Počet produktů */
.woocommerce ul.products li.product-category h2 mark,
.woocommerce ul.products li.product-category .woocommerce-loop-category__title mark {
    background: transparent !important;
    color: #aaaaaa !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    display: block !important;
    margin-top: 4px !important;
}
/* Hover efekt - zvětšení obrázku kategorie */
.woocommerce ul.products li.product-category {
    overflow: hidden !important;
}

.woocommerce ul.products li.product-category img {
    transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product-category:hover img {
    transform: scale(1.05) !important;
}
.ast-shop-product-out-of-stock {
    color: #000000 !important;
}
/* Zobrazit název produktu na stránce produktu */
.single-product .product_title.entry-title {
    display: block !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}
/* Vypnout přiblížení fotky produktu */
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce div.product div.images img {
    cursor: default !important;
}
/* Hover efekt zvětšení u produktů v kategorii */
.woocommerce ul.products li.product {
    overflow: hidden !important;
}

.woocommerce ul.products li.product img {
    transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05) !important;
}
/* Hover efekt zvětšení fotky na stránce produktu */
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    overflow: hidden !important;
    border-radius: 8px !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    transition: transform 0.3s ease !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:hover img {
    transform: scale(1.05) !important;
    cursor: zoom-in !important;
}
/* Černé pozadí mobilního menu - Astra téma */
.ast-mobile-popup-drawer .ast-popup-drawer-overlay,
.ast-mobile-popup-drawer .menu-wrap,
.ast-mobile-popup-drawer,
.ast-mobile-popup-inner,
#ast-mobile-popup-drawer,
.ast-popup-drawer-overlay {
  background-color: #000000 !important;
  background: #000000 !important;
}
/* Oprava bílého pozadí menu na stránce obchodu */
.ast-header-break-point .main-header-bar-navigation,
.ast-header-break-point .ast-builder-menu-1 .main-header-menu,
.ast-header-break-point .main-header-menu,
.ast-above-header-section,
.ast-below-header-section,
.ast-header-break-point nav.ast-builder-menu-1,
.ast-header-break-point .ast-primary-menu-disabled .main-header-bar-navigation {
  background-color: #000000 !important;
  background: #000000 !important;
}
/* Černé pozadí headeru na stránce obchodu */
.woocommerce .main-header-bar,
.woocommerce .ast-primary-header-bar,
.post-type-archive-product .main-header-bar,
.post-type-archive-product .ast-primary-header-bar {
  background-color: #000000 !important;
  background: #000000 !important;
}
/* Levé menu účtu - bílé pozadí pryč */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background-color: #000000 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  color: #ffffff !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li:hover a {
  color: #ff0000 !important;
}

/* Tabulka objednávek - bílý text */
.woocommerce-orders-table td,
.woocommerce-orders-table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  color: #ffffff !important;
  background-color: #000000 !important;
}

/* Hlavička tabulky */
.woocommerce table.shop_table thead th {
  background-color: #111111 !important;
  color: #ffffff !important;
}


/* Alternativa: Pokud ikona stále není vidět, přidáme text */
.show-password-input[aria-label="Skrýt heslo"]:after,
.show-password-input[aria-label="Show password"]:after {
    content: " Zobrazit";
    color: #ffffff;
    font-size: 12px;
    margin-left: 5px;
}


/* ====================================================================
   OPRAVA 2: Větší a čitelnější tlačítko "PŘIHLÁSIT SE"
   ==================================================================== */

/* Hlavní přihlašovací tlačítko */
.woocommerce-form-login button[type="submit"],
.woocommerce-form-login input[type="submit"],
.woocommerce form.login button[type="submit"],
.woocommerce form.login input[type="submit"],
button[name="login"],
input[name="login"] {
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
    min-height: 50px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    background-color: #828282 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Při najetí myší */
.woocommerce-form-login button[type="submit"]:hover,
.woocommerce form.login button[type="submit"]:hover,
button[name="login"]:hover,
input[name="login"]:hover {
    background-color: #373737 !important;
    transform: scale(1.05) !important;
}


/* ====================================================================
   BONUS OPRAVY: Vylepšení celého formuláře
   ==================================================================== */

/* Lepší viditelnost inputů */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-login input[type="email"],
.woocommerce form.login input[type="text"],
.woocommerce form.login input[type="password"],
.woocommerce form.login input[type="email"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #cccccc !important;
    padding: 12px 15px !important;
    font-size: 16px !important;
}

/* Focus stav inputů */
.woocommerce-form-login input:focus,
.woocommerce form.login input:focus {
    border-color: #ff0000 !important;
    outline: none !important;
}

/* Lepší viditelnost labelu */
.woocommerce-form-login label,
.woocommerce form.login label {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Checkbox "Zapamatujte si mě" */
.woocommerce-form-login .woocommerce-form-login__rememberme,
.woocommerce form.login .woocommerce-form-login__rememberme {
    color: #ffffff !important;
    font-size: 14px !important;
}

/* Odkaz "Zapomněli jste heslo?" */
.woocommerce-form-login .lost_password,
.woocommerce form.login .lost_password,
.woocommerce-LostPassword {
    color: #ffffff !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}

.woocommerce-form-login .lost_password:hover,
.woocommerce form.login .lost_password:hover {
    color: #ff0000 !important;
}
/* Překlad Proceed to Checkout */
.wc-block-components-button__text {
  font-size: 0 !important;
}
.wc-block-components-button__text::after {
  content: 'Pokračovat k pokladně';
  font-size: 16px;
}

/* Překlad Estimated total */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 0 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label::after {
  content: 'Celkem s DPH';
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.7;
}
/* Překlad Daně na DPH */
.wc-block-components-totals-taxes .wc-block-components-totals-item__label {
  font-size: 0 !important;
}
.wc-block-components-totals-taxes .wc-block-components-totals-item__label::after {
  content: 'DPH';
  font-size: 14px;
}
/* Shipping options */
#shipping-option .wc-block-components-checkout-step__title {
  font-size: 0 !important;
}
#shipping-option .wc-block-components-checkout-step__title::after {
  content: 'Možnosti dopravy';
  font-size: 22px;
  font-weight: 500;
  display: block;
}

/* Payment options */
#payment-method .wc-block-components-checkout-step__title {
  font-size: 0 !important;
}
#payment-method .wc-block-components-checkout-step__title::after {
  content: 'Možnosti platby';
  font-size: 22px;
  font-weight: 500;
  display: block;
}
/* Contact information */
#contact-fields .wc-block-components-checkout-step__title {
  font-size: 0 !important;
}
#contact-fields .wc-block-components-checkout-step__title::after {
  content: 'Kontaktní informace';
  font-size: 22px;
  font-weight: 500;
  display: block;
}
/* Doručovací adresa */
#shipping-fields .wc-block-components-checkout-step__title {
  font-size: 0 !important;
}
#shipping-fields .wc-block-components-checkout-step__title::after {
  content: 'Doručovací adresa';
  font-size: 22px;
  font-weight: 500;
  display: block;
}
.wc-block-components-address-card__address-section {
  color: #ffffff !important;
}
/* Add a note to your order */
#order-notes .wc-block-components-checkbox__label {
  font-size: 0 !important;
}
#order-notes .wc-block-components-checkbox__label::after {
  content: 'Přidat poznámku k objednávce';
  font-size: 13px;
}
/* Return to Cart */
.wc-block-components-checkout-return-to-cart-button {
  font-size: 0 !important;
}
.wc-block-components-checkout-return-to-cart-button::after {
  content: 'Zpět do košíku';
  font-size: 14px;
}
/* Use same address for billing */
.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label {
  font-size: 0 !important;
}
.wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label::after {
  content: 'Použít stejnou adresu pro fakturaci';
  font-size: 13px;
}
/* Vycentrovat text v tlačítku pokladny */
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}
/* Zpět do košíku - zarovnat text na střed šipky */
.wc-block-components-checkout-return-to-cart-button {
  display: flex !important;
  align-items: center !important;
}
.woocommerce-Address-title h2 {
  color: #000000 !important;
}
.woocommerce-column__title {
  color: #000000 !important;
}
mark.order-status {
  color: #ffffff !important;
  background: transparent !important;
}
mark.order-date,
mark.order-number {
  color: #ffffff !important;
  background: transparent !important;
}
.woocommerce-order h2.woocommerce-order-details__title {
    color: #000000 !important;
}
/* Tlačítko Dokončit objednávku */
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  font-size: 0 !important;
}
.wc-block-components-checkout-place-order-button .wc-block-components-button__text::after {
  content: 'DOKONČIT OBJEDNÁVKU';
  font-size: 16px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
    display: none;
}
/* 1. Resetujeme kontejner, aby nadpis nevyletěl ven */
.product-category.product {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* 2. Oprava nadpisu - vynutíme zobrazení */
h2.woocommerce-loop-category__title {
    position: static !important; /* Zruší absolutní pozici úplně */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important; /* Bílá barva - pokud máš bílé pozadí, dej #000000 */
    background: transparent !important;
    margin-top: 15px !important;
    height: auto !important;
    min-height: 20px !important;
    width: 100% !important;
    text-align: center !important;
}

/* 3. Zmenšíme obrázek, aby nezabíral všechno místo */
.product-category.product img {
    width: 250px !important; /* Tady si nastav šířku, která ti vyhovuje */
    height: auto !important;
    margin-bottom: 10px !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span {
    color: #000000 !important;
    background: #ffffff !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    background: #ffffff !important;
    color: #000000 !important;
}
