﻿/* =======================
   COLOR VARIABLES
======================= */
:root {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --accent-color: #ffdb00;
  --background-color: #fff5be;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
}

/* =======================
   HEADER & TOP BAR
======================= */
#header,
#header .header-top {
  background-color: var(--accent-color);
  box-shadow: 0 2px 5px var(--shadow-color);
}

#header .header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
  /* Remove border */
  border: none;
}

#header .logo {
  height: auto;
  transition: transform 0.3s ease-in-out;
}
#header .logo:hover {
  transform: scale(1.05);
}

/* Contact link hover effect */
#contact-link a {
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}
#contact-link a:hover {
  color: var(--primary-color);
}
.header-nav .mobile #menu-icon{
    display: none;
}

/* (Optional) Make header sticky for a modern, always-visible nav */
/*
#header {
  position: sticky;
  top: 0;
  z-index: 999;
}
*/

/* =======================
   NAVIGATION / CATEGORIES
======================= */
.block-categories {
  background: var(--accent-color);
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: var(--shadow-color) 0px 5px 10px;
}

.block-categories .h6 {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.block-categories a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  padding: 4px 10px 4px;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.links{
  //border-radius: var(--border-radius);
  padding:2px;
}
.block-categories a:hover, .links li:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: var(--border-radius);
  color: #333;
}

/* =======================
   PAGE BACKGROUND
======================= */
#wrapper {
  background: var(--background-color);
}

/* =======================
   PRODUCT GRID & CARDS
======================= */
.product-miniature .thumbnail-container {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 10px;
  box-shadow: var(--shadow-color) 0px 5px 10px;
  transition: all 0.3s ease-in-out;
  width: 105%;
}

.product-miniature .thumbnail-container:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 15px;
}

/* Make product images look consistent */
.product-miniature .thumbnail-container img {
  border-radius: var(--border-radius);
  object-fit: cover;
  max-height: 220px;
}

/* Product titles */
.product-miniature .product-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-transform: inherit;
}

/* Price styling */
.product-miniature .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
}

/* =======================
   BUTTONS
======================= */
button,
.btn {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: .7rem .65rem;
  font-weight: bold;
  border: none;
  border-radius: var(--border-radius);
  transition: all 0.3s ease-in-out;
}

button:hover,
.btn:hover {
  background-color: #222;
  transform: scale(1.05);
}

/* =======================
   FOOTER
======================= */
#footer {
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px 0;
  text-align: left;
  margin-top: 40px;
  box-shadow: 0 -2px 5px var(--shadow-color);
}

#footer a {
  color: var(--secondary-color);
//  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

#footer a:hover {
  color: var(--secondary-color);
}


.footer-container .h3, .footer-container .h4, #footer .h3 a{
  color:var(--accent-color);
}
#contact-infos {
  font-size: .875rem;
  font-weight: bold;
  color: var(--secondary-color);
}

#contact-infos a{
  font-size: .875rem;
  font-weight: normal;
  color: var(--accent-color);
}
#footer .row .col-md-12 .text-sm-center a{
  font-size:70%;
}
/* =======================
   RESPONSIVENESS
======================= */
@media (max-width: 768px) {
  /* Adjust header for mobile */
  #header .header-nav {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  /* Adjust sidebar to be full-width or collapsed */
  .block-categories {
    margin-bottom: 20px;
   /* text-align: center;*/
  }

  /* Responsive product grid */
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  /*  gap: 15px;
  */
  }

  .product-miniature .thumbnail-container img {
    max-height: 300px;
  }
  .footer-container .links ul {
    margin-bottom: 0;
    background-color: #202020;
  }
}

.block-categories .category-sub-menu li[data-depth="1"], .product-prices div {
  margin-bottom: 0;
}

.block-categories .grower,
.block-categories .icon-plus,
.block-categories i.material-icons {
 /* display: none !important;*/

  margin-left: 20px;
  margin-top: 5px;
    display: inline-block;
  vertical-align: middle;
}
.block-categories .grower:hover,
.block-categories .icon-plus:hover,
.block-categories i.material-icons:hover {
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.block-categories .arrows .arrow-right, .block-categories .arrows .collapse .arrow-down {
  font-size: 1.3rem !important;
  margin-top: 0px !important;
  display: inline-block;
}
.block-categories .category-sub-menu li:not([data-depth="0"]):not([data-depth="1"])::before {
  margin-right: .3125rem;
  content: none;
}

#left-column .block-categories .category-top-menu > li:first-child {
  display: none;
}
.block-categories .category-sub-menu {
  margin-top: 0;
}
.page-content.page-cms ul, dl, ol, p, ul {
  margin-top: 0;
  margin-bottom: 0.2rem;
}
#left-column .wrapper .h3{
    margin-top: 1rem;
}
@media only screen and (min-width: 992px) {
  #search_widget {
    min-width: 20.1rem;
  }
}

.block-categories .category-sub-menu li[data-depth="0"] > a {
  margin: 0.15625rem 0 0.15625rem;
}

a{
color:var(--primary-color);
}

.row #left-column > .links {
  background-color: var(--accent-color);
  border-radius: 10px;
  padding: 12px 25px 0px 25px;
  box-shadow: var(--shadow-color) 0px 5px 10px;
}

.row #left-column{
  margin-bottom: 3rem;
}

#left-column .links .wrapper ul > li {
  padding-bottom: 0.7rem;
}

.product-miniature .highlighted-informations {
  transition: 0.5s;
  transition-delay: 330ms;
}

#blockEmailSubscription_displayFooterBefore{
   /*newsletter*/
  display:none;
}

#ets_addToCart{
font-size: x-small;
}
#search_widget form input {
  background-color: var(--secondary-color);
}
@media (max-width: 767px) {
  .links .title {
    border-bottom: none;
  }
  .card {
    background-color: white;
  }
}
.tax-shipping-delivery-label{
display:none;
}

.product-miniature .highlighted-informations {
  height: 100%;
  background: #fff;
}

.bootstrap-touchspin .btn-touchspin {
  background-color: var(--primary-color);
}

.cart-items .cart-item .bootstrap-touchspin .input-group-btn-vertical {
  float: left;
  width: 1%;
  color: #232323;
}
.card {
  border-radius: var(--border-radius);
}

.form-group.row:has(#field-id_customer),.form-group.row:has(#field-vat_number),.form-group.row:has(#field-company),.form-group.row:has(#field-phone_mobile),
#psgdpr-link, #discounts-link, #order-slips-link, #link-custom-page-footer-2{
  display: none !important;
}
#order-items .order-line {
  margin-right: -20px;
  margin-left: -20px;
}
body#checkout #order-summary-content .order-confirmation-table {
  border: none;
}
.collapse {
   // display:block;
}
.kkr {
    display:block;
}
#header .header-nav .cart-preview.active, #header .header-nav .cart-preview.active{
  background: #000;
}
product-flags li.product-flag {
  background: #00799e;
}
.product-variants label{
    text-align: left;
}

@media (min-width: 768px) {
  .header-top .col-md-10 {
    float: left;
    width: 63.6%;
  }
  .header-top .col-md-2{
    width: 85%;
  }
}
.header-banner img{
    width: 70%;
    margin: 10px 10px 10px 20px;
}
@media (max-width: 768px) {
  #header .header-top > .container > .row:first-of-type {
    display: block !important;
  }
  #header .header-top .header-banner {
    margin: 5px 10px 10px 10px;
  }
  .header-banner img{
      width:80%;
  }
}

table .special-opening-title th {
  font-weight: bold;
  border-top: 2px solid #ccc;
  padding-top: 0.75rem;
}

table .special-opening-row th {
  color: #008202;
}
table .special-opening-row {
  border-bottom: 1px solid #000; 
}
table .special-opening-row th {
  white-space: normal;
  text-align: center;   /* volitelné, jen to vypadá líp */
}




/* Currency selector button (desktop) */
#_desktop_currency_selector .currency-selector > button.btn-unstyle {
  color: #000 !important;          /* icon inherits from button in many themes */
  border-radius: 6px !important;   /* reduce rounding; set to 0 for square */
  padding: 6px 10px;               /* optional: helps look like a button */
}

/* Text inside the button is explicitly colored by _gray-darker */
#_desktop_currency_selector .currency-selector > button.btn-unstyle ._gray-darker {
  color: #000 !important;          /* black when not hovered */
}

/* Hover/focus: white text */
#_desktop_currency_selector .currency-selector > button.btn-unstyle:hover,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus-visible {
  color: #fff !important;
  border-radius: 6px !important;
  background: #000 !important;     /* hover background (change if you want) */
}

/* Ensure inner span turns white on hover/focus too */
#_desktop_currency_selector .currency-selector > button.btn-unstyle:hover ._gray-darker,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus ._gray-darker,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus-visible ._gray-darker {
  color: #fff !important;
}

/* Optional: make dropdown arrow (material icon) white on hover too */
#_desktop_currency_selector .currency-selector > button.btn-unstyle:hover .material-icons,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus .material-icons,
#_desktop_currency_selector .currency-selector > button.btn-unstyle:focus-visible .material-icons {
  color: #fff !important;
}
#_desktop_currency_selector .currency-selector > button.btn-unstyle,
#_desktop_currency_selector .currency-selector > button.btn-unstyle ._gray-darker,
#_desktop_currency_selector .currency-selector > button.btn-unstyle .material-icons {
  transition: color 180ms linear, background-color 180ms linear, border-radius 180ms linear;
}


#ets_addToCart, .add-to-cart-button{
display:none;
}