/* ==========================================================
   MINTSI — vizuálna vrstva pre e-shop (šablóna Step)

   Nahrať cez SFTP do KOREŇOVÉHO priečinka (nevytvárať
   žiadne podpriečinky) a v Záhlaví odkázať jedným riadkom:

   <link rel="stylesheet"
     href="https://www.2eur.sk/user/documents/mintsi.css?v=1">
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Figtree:wght@400;500;600;700&display=swap');

/* ----------------------------------------------------------
   1. KONTAKTNÝ FORMULÁR
   ---------------------------------------------------------- */

:root {
  --contact-form-border-radius:2px;
  --contact-form-BG:#F8F9FB;
  --contact-form-BG-hover:#EDEFF2;
  --contact-form-title-color:#15171B;
  --contact-form-text-color:#15171B;
  --contact-form-link-color:#A8812C;
  --contact-form-icon-color:#A8812C;
  --contact-form-border-color:#DDE2E7;
}

.form-control, textarea, select {
  font-family:Figtree,Arial,sans-serif;
  border:1px solid #DDE2E7;
  border-radius:2px;
  background:#FFF;
  color:#15171B;
}

.form-control:focus, textarea:focus, select:focus {
  border-color:#A8812C;
  outline:2px solid rgba(199,162,75,.28);
}

/* ----------------------------------------------------------
   2. ZÁKLAD, PRODUKTY, CENY, ŠTÍTKY, VRÚBKOVANÁ ČIARKA
   ---------------------------------------------------------- */

body {
  background:#F4F6F8;
  color:#15171B;
  font-family:Figtree,Arial,sans-serif;
  font-size:15.5px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1, h2, h3, h4, .top-products-name {
  font-family:Fraunces,Georgia,serif!important;
  font-weight:600!important;
  letter-spacing:-.01em;
  color:#15171B;
}

a:hover {
  color:#15171B;
}

.category-title::after, .products-top-header::after, .p-detail-inner-header h1::after, #msDeal .l::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:88px;
  height:9px;
  background:repeating-linear-gradient(90deg,#C7A24B 0 1.5px,transparent 1.5px 4.5px);
}

.menu-level-1>li>a:hover, .menu-level-1>li.exp>a {
  color:#A8812C!important;
  background:transparent!important;
}

.carousel, .carousel-inner {
  max-height:330px;
  overflow:hidden;
}

.carousel img {
  width:100%;
  height:330px;
  object-fit:cover;
  object-position:center;
}

.product {
  background:#FFF;
  border:1px solid #DDE2E7!important;
  border-radius:2px;
  box-shadow:none!important;
  transition:border-color .16s ease;
}

.product:hover {
  border-color:#C7A24B!important;
  box-shadow:none!important;
}

.product .image, .product .p-image {
  background:#EDEFF2;
  border-radius:2px 2px 0 0;
}

.product .image img {
  mix-blend-mode:multiply;
}

.product .name, .product .name a, .top-products-name {
  font-family:Figtree,Arial,sans-serif!important;
  font-weight:500!important;
  font-size:14.5px!important;
  line-height:1.38;
  color:#15171B!important;
  letter-spacing:0;
}

.product .name:hover a {
  color:#A8812C!important;
}

.prices, .price-final, .price-standard, .price {
  font-family:Figtree,Arial,sans-serif!important;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}

.price-final, .price-final strong {
  font-weight:700!important;
  font-size:17px!important;
  color:#15171B!important;
}

.price-standard, .price-standard span {
  color:#868D97!important;
  font-weight:400!important;
  text-decoration:line-through;
  font-size:13px!important;
}

.availability, .availability-amount {
  font-family:Figtree,Arial,sans-serif!important;
  font-size:12.5px!important;
  color:#525862!important;
  letter-spacing:.01em;
}

.btn, .btn-primary, .btn-default, .btn-cart, .add-to-cart-button, button.btn {
  font-family:Figtree,Arial,sans-serif!important;
  font-weight:600!important;
  font-size:12.5px!important;
  letter-spacing:.09em;
  text-transform:uppercase;
  border-radius:2px!important;
  box-shadow:none!important;
  text-shadow:none!important;
  border:1px solid transparent!important;
  transition:background .16s ease,border-color .16s ease;
}

.btn-primary, .btn-cart, .add-to-cart-button {
  background:#C7A24B!important;
  color:#15171B!important;
  border-color:#C7A24B!important;
}

.btn-primary:hover, .btn-cart:hover, .add-to-cart-button:hover {
  background:#A8812C!important;
  border-color:#A8812C!important;
  color:#FFF!important;
}

.btn-default {
  background:transparent!important;
  color:#15171B!important;
  border-color:#DDE2E7!important;
}

.btn-default:hover {
  border-color:#15171B!important;
  background:transparent!important;
}

.p-detail .p-final-price-wrapper .price-final {
  font-size:30px!important;
}

@media(max-width:767px) {
  .carousel, .carousel-inner {
    max-height:190px;
  }
  .carousel img {
    height:190px;
  }
}

.flags .flag, .product .flag {
  border:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  font-family:Figtree,Arial,sans-serif!important;
  font-weight:700!important;
  font-size:11px!important;
  letter-spacing:.05em;
  text-transform:uppercase;
  border-radius:2px!important;
  padding:3px 9px!important;
  line-height:1.55;
  opacity:1!important;
  white-space:nowrap!important;
}

.flags, .flags-default, .flags-extra {
  width:auto!important;
  max-width:none!important;
}

.flags .flag-new {
  background:#C7A24B!important;
  color:#15171B!important;
}

.flags .flag-action, .flags .flag-quantity-discount, .flags .flag-sellout {
  background:#B32B24!important;
  color:#FFF!important;
}

.flags .flag-tip, .flags .flag-recommended, .flags .flag-freeshipping {
  background:#15171B!important;
  color:#FFF!important;
}

.flags .flag-discount {
  background:#15171B!important;
  color:#FFF!important;
  display:inline-flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:6px;
  text-transform:none;
  letter-spacing:0;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:auto!important;
}

.flags .flag-discount .price-standard, .flags .flag-discount .price-standard span {
  color:rgba(255,255,255,.62)!important;
  font-size:11px!important;
  font-weight:400!important;
  text-decoration:line-through!important;
}

.product .prices {
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
  justify-content:center;
}

.product .prices .price-standard, .product .prices .price-standard span {
  color:#868D97!important;
  font-size:13px!important;
  font-weight:400!important;
  text-decoration:line-through!important;
  background:none!important;
  padding:0!important;
}

.menu-item-1047 {
  display:none!important;
}

.product .prices:has(.price-standard) .price-final, .product .prices:has(.price-standard) .price-final strong {
  color:#B32B24!important;
}

/* ceny dolava: center -> flex-start */.price-save {
  display:none!important;
}

.category-title, .products-top-header, .p-detail-inner-header h1 {
  position:relative;
  padding-bottom:14px;
}

#msDeal .l {
  position:relative;
  padding-bottom:12px;
}

#msDeal .l::after {
  width:44px;
  height:7px;
}

.shp-tab {
  position:relative;
}

.shp-tab .shp-tab-link {
  border-bottom-color:transparent!important;
}

.shp-tab.active .shp-tab-link {
  font-weight:600;
}

.shp-tab.active::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:9px;
  background:repeating-linear-gradient(90deg,#C7A24B 0 1.5px,transparent 1.5px 4.5px);
}

/* ----------------------------------------------------------
   3. HORNÁ LIŠTA, VLAJKA JAZYKA, LIŠTA DOPRAVY ZADARMO
   ---------------------------------------------------------- */

@media(min-width:992px) {
  #header .navigation-buttons {
    display:flex!important;
    align-items:center;
    padding-left:6px!important;
  }
  #header .navigation-buttons>*:not(.languagesMenu), #header .toggle-window:not(.languagesMenu__box), #header .top-nav-button, #header .dkLabFavHeaderIconBtn {
    width:44px!important;
    min-width:0!important;
    margin:0!important;
  }
  #header .navigation-buttons>.languagesMenu, #header .languagesMenu__box {
    width:auto!important;
    min-width:0!important;
  }
  #header .navigation-buttons>div:has(.dkLabFavHeaderIconBtn) {
    display:flex!important;
    align-items:center;
  }
  #header .menu-level-1>li>a {
    padding-left:16px!important;
    padding-right:16px!important;
  }
}

.msLang {
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:44px;
  align-self:stretch;
}

.msLang svg {
  width:24px;
  height:24px;
  display:block;
  border-radius:2px;
}

@media(max-width:991px) {
  .msLang {
    width:40px;
    order:-1;
  }
}

#msShip {
  margin:10px 0;
  font-family:Figtree,Arial,sans-serif;
  font-size:13px;
  line-height:1.45;
  color:#15171B;
}

#msShip .t {
  margin-bottom:6px;
}

#msShip b {
  color:#A8812C;
  font-weight:700;
  font-size:14.5px;
  white-space:nowrap;
}

#msShip .bar {
  height:6px;
  background:#EDEFF2;
  border-radius:3px;
  overflow:hidden;
}

#msShip .bar i {
  display:block;
  height:100%;
  width:0;
  background:#C7A24B;
  border-radius:3px;
  transition:width .6s cubic-bezier(.4,0,.2,1);
}

#msShip[data-done="1"] .t {
  color:#2E7D5B;
  font-weight:600;
}

#msShip[data-done="1"] .bar i {
  background:#2E7D5B;
}

@media(prefers-reduced-motion:reduce) {
  #msShip .bar i {
    transition:none;
  }
}

/* ----------------------------------------------------------
   4. POPUP „AKCIA DŇA“
   ---------------------------------------------------------- */

#msDeal {
  position:fixed;
  bottom:18px;
  left:18px;
  z-index:9998;
  width:290px;
  max-width:calc(100vw - 28px);
  background:#FFF;
  border:1px solid #DDE2E7;
  box-shadow:0 6px 26px rgba(21,23,27,.13);
  font-family:Figtree,Arial,sans-serif;
}

#msDeal .h {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:8px 10px 8px 12px;
  border-bottom:1px solid #EDEFF2;
}

#msDeal .l {
  font-size:10px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#A8812C;
}

#msDeal .x {
  border:0;
  background:0;
  font-size:20px;
  line-height:1;
  color:#868D97;
  cursor:pointer;
}

#msDeal .b {
  display:flex;
  gap:12px;
  padding:12px;
  text-decoration:none;
  color:inherit;
  align-items:center;
}

#msDeal .i {
  width:64px;
  height:64px;
  flex:none;
  background:#EDEFF2;
  object-fit:contain;
  mix-blend-mode:multiply;
}

#msDeal .n {
  display:block;
  font-size:13.5px;
  font-weight:500;
  line-height:1.34;
  color:#15171B;
  margin-bottom:5px;
}

#msDeal .pn {
  font-size:16px;
  font-weight:700;
  color:#B32B24;
}

#msDeal .po {
  font-size:12px;
  color:#868D97;
  text-decoration:line-through;
  margin-left:6px;
}

@media(max-width:600px) {
  #msDeal {
    left:10px;
    right:10px;
    bottom:10px;
    width:auto;
  }
}

/* ----------------------------------------------------------
   5. WHATSAPP — plávajúce tlačidlo
   ---------------------------------------------------------- */

#msWa {
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:9997;
  font-family:Figtree,Arial,sans-serif;
}

#msWa .b {
  width:56px;
  height:56px;
  border-radius:50%;
  background:#25D366;
  border:0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 16px rgba(0,0,0,.2);
}

#msWa .b svg {
  width:30px;
  height:30px;
  fill:#fff;
}

#msWa .m {
  position:absolute;
  right:0;
  bottom:66px;
  width:224px;
  background:#fff;
  border:1px solid #DDE2E7;
  border-radius:2px;
  box-shadow:0 6px 26px rgba(21,23,27,.13);
  display:none;
}

#msWa.on .m {
  display:block;
}

#msWa .m a {
  display:block;
  padding:11px 14px;
  font-size:13.5px;
  color:#15171B;
  text-decoration:none;
  border-bottom:1px solid #EDEFF2;
}

#msWa .m a:last-child {
  border-bottom:0;
}

#msWa .m a:hover {
  background:#F4F6F8;
  color:#A8812C;
}

@media(max-width:600px) {
  #msWa {
    right:14px;
    bottom:14px;
  }
}
