/* SVICKY DIAM - sjednoceny styl */

/* Vyhody */
.benefitBanner{background:#080808!important;padding:20px 15px 15px!important;margin-bottom:0!important;height:auto!important;min-height:0!important}
.benefitBanner__title,.benefitBanner__data{color:#fff!important}
.benefitBanner__item{min-width:0!important;align-items:center}
.benefitBanner__content{overflow:visible!important;padding-right:10px!important}
.benefitBanner__title{line-height:1.3!important}
.benefitBanner__data{line-height:1.4!important}

/* Paticka */
#footer,#footer .footer-bottom{background:#080808!important;color:#fff!important}
#footer p,#footer span,#footer li,#footer address,#footer strong,#footer .contact-box,#footer .contact-box *,#footer a{color:#fff!important}
#footer h2,#footer h3,#footer h4,#footer .footer-header,#footer a:hover{color:#D4AF70!important}

/* Uvodni stranka */
body.in-index #content-wrapper,body.in-index #content,body.in-index .content-wrapper,body.in-index .homepage-box{background:#080808!important;color:#fff!important}
body.in-index #content h1,body.in-index #content h2,body.in-index #content h3,body.in-index .homepage-box h2,body.in-index .welcome h1,body.in-index .welcome h2,body.in-index .welcome h3{color:#D4AF37!important}
body.in-index #content p,body.in-index .welcome,body.in-index .welcome p,body.in-index .welcome span,body.in-index .welcome strong{color:#fff!important}

/* Ostatni stranky */
body:not(.in-index) #content-wrapper,body:not(.in-index) #content,body:not(.in-index) #content .content-inner,body:not(.in-index) #content .content,body:not(.in-index) .content-inner{background:#080808!important}
body:not(.in-index) #content{color:#fff!important}
body:not(.in-index) #content p,body:not(.in-index) #content li,body:not(.in-index) #content span{color:#fff}
body:not(.in-index) #content h1,body:not(.in-index) #content h2,body:not(.in-index) #content h3{color:#D4AF37!important}

/* Logo */
#header .site-name img{transform:scale(1.3);transform-origin:left center}

/* Kategorie */
.sidebar .box.box-categories{background:#080808!important}
.sidebar .box-categories .pageElement__heading{color:#D4AF37!important}
.sidebar .box-categories a{color:#fff!important}
.sidebar .box-categories a:hover{color:#D4AF37!important}

/* Online platby */
.sidebar .box-onlinePayments{background:#080808!important;border:none!important;box-shadow:none!important}
.sidebar .box-onlinePayments .text-center{background:transparent!important}
.sidebar .box-onlinePayments h3,.sidebar .box-onlinePayments h4,.sidebar .box-onlinePayments .pageElement__heading{color:#D4AF37!important}

/* Filtry */
.sidebar .box-filters,.sidebar .box-filters .filter-section{background:#080808!important}
.sidebar .box-filters h3,.sidebar .box-filters h4,.sidebar .box-filters .filter-section-title,.sidebar .box-filters .pageElement__heading{color:#D4AF37!important}
.sidebar .box-filters label,.sidebar .box-filters .filter-label{color:#fff!important}
.sidebar .box-filters input[type="text"],.sidebar .box-filters input[type="number"]{background:#181818!important;color:#fff!important;border:1px solid #D4AF37!important}

/* Cenovy posuvnik */
.sidebar .box-filters .ui-slider,.sidebar .box-filters .ui-slider-horizontal,.sidebar .box-filters .noUi-target,.sidebar .box-filters .noUi-base,.sidebar .box-filters .slider-track{background:#424242!important;border-radius:20px!important;box-shadow:inset 0 1px 3px rgba(0,0,0,.5)!important}
.sidebar .box-filters .ui-slider,.sidebar .box-filters .noUi-target{border:none!important}
.sidebar .box-filters .ui-slider-range,.sidebar .box-filters .noUi-connect{background:linear-gradient(90deg,#9B7822,#D4AF37,#F1D778)!important;border-radius:20px!important}
.sidebar .box-filters .ui-slider-handle,.sidebar .box-filters .noUi-handle{background:#F1D778!important;border:2px solid #9B7822!important;border-radius:50%!important;box-shadow:0 0 5px rgba(212,175,55,.5)!important;cursor:pointer}
.sidebar .box-filters .slider-content{border:none!important;outline:none!important;color:#fff!important}
.sidebar .box-filters .slider-content span,.sidebar .box-filters .slider-content strong{color:#fff!important}
.sidebar .box-filters .filter-count{background:#303030!important;color:#D4AF37!important;border:1px solid #D4AF37!important;border-radius:20px!important;padding:3px 9px!important;font-weight:bold!important}

/* Razeni produktu */
.listSorting__control{background:#181818!important;color:#fff!important;border:1px solid #D4AF37!important;border-radius:8px!important;padding:10px 15px!important;cursor:pointer}
.listSorting__control:hover{background:#D4AF37!important;color:#080808!important}

/* Menu */
#navigation a:hover,#navigation li:hover>a,#navigation .sub-menu a:hover{color:#D4AF37!important}

/* Kosik - pozadi */
.content-window-in.cart-window-in,.place-cart-here,#cart-wrapper,#cart-wrapper .cart-inner,#cart-wrapper .cart-table,#cart-wrapper .cart-table td,#cart-wrapper .summary,#cart-wrapper .box-bg-default{background:#080808!important;color:#fff!important}


/* Kosik - texty */
#cart-wrapper .main-link,#cart-wrapper .price-final,#cart-wrapper .price,#cart-wrapper .price-label,#cart-wrapper .summary h2,#cart-wrapper .extra strong{color:#fff!important}
.cart-window-in .toggle-window-arr,.cart-window-in .toggle-window-arr span,#cart-wrapper .cart-inner>h2.h4,.cart-window-in .cart-heading,.cart-window-in h3,.cart-window-in h2.h4{color:#D4AF37!important}
.cart-window-in .toggle-window-arr:hover,.cart-window-in .toggle-window-arr:hover span{color:#fff!important}
.cart-window-in .contact-box,.cart-window-in .contact-box *{color:#fff!important}


/* Kroky objednavky */
#cart-wrapper .cart-header li.step{
  background:#181818!important;
  border:1px solid #D4AF37!important;
  box-shadow:none!important;
  outline:none!important;
}
#cart-wrapper .cart-header li.step a,
#cart-wrapper .cart-header li.step strong,
#cart-wrapper .cart-header li.step span{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  outline:none!important;
  color:#fff!important;
}
#cart-wrapper .cart-header li.step.active{
  background:#D4AF37!important;
}
#cart-wrapper .cart-header li.step.active a,
#cart-wrapper .cart-header li.step.active strong,
#cart-wrapper .cart-header li.step.active span{
  color:#080808!important;
}
#cart-wrapper .cart-header li.step::before,
#cart-wrapper .cart-header li.step::after{
  box-shadow:none!important;
}


/* Ikona odebrani produktu */
#cart-wrapper .remove-item,
#cart-wrapper .remove-item::before,
#cart-wrapper .remove-item::after{
  color:#D4AF37!important;
  opacity:1!important;
  visibility:visible!important;
}
#cart-wrapper .remove-item:hover,
#cart-wrapper .remove-item:hover::before,
#cart-wrapper .remove-item:hover::after{
  color:#fff!important;
}

/* Objednavka - souhlasy */
#checkoutContent,#checkoutContent p,#checkoutContent label,#checkoutContent .consents,#checkoutContent .consents label,#checkoutContent .consents p{color:#fff!important}
#checkoutContent .consents a,#checkoutContent a[href*="obchodni-podminky"],#checkoutContent a[href*="podminky-ochrany-osobnich-udaju"]{color:#D4AF37!important;text-decoration:underline}

/* Odkazy na kategorie v kosiku */
#cart-wrapper a[href="/svicky-diam/"],#cart-wrapper a[href="/darkove-sady/"]{color:#fff!important}
#cart-wrapper a[href="/svicky-diam/"]:hover,#cart-wrapper a[href="/darkove-sady/"]:hover{color:#D4AF37!important}


/* Rozestupy mezi kroky objednavky */
#cart-wrapper .cart-header{
  display:flex!important;
  gap:8px!important;
  padding-bottom:19px!important;
}
#cart-wrapper .cart-header li.step{
  flex:1 1 0!important;
  min-width:0!important;
  margin:0!important;
}

/* SVICKY DIAM - sjednoceni 3 kroku objednavky */
.cart-header {
  display: flex !important;
  gap: 8px !important;
  padding-bottom: 19px !important;
}

.cart-header li.step {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: #181818 !important;
  border: 1px solid #D4AF37 !important;
  box-shadow: none !important;
}

.cart-header li.step a,
.cart-header li.step strong,
.cart-header li.step span {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
}

.cart-header li.step.active {
  background: #D4AF37 !important;
}

.cart-header li.step.active a,
.cart-header li.step.active strong,
.cart-header li.step.active span {
  color: #080808 !important;
}

/* SVICKY DIAM - pouze zvolena doprava a platba */
/* Vztahuje se jen na radek, jehoz vlastni radio je zaskrtnute. */
.radio-wrapper:has(> input[type="radio"][name="shippingId"]:checked),
.radio-wrapper:has(> input[type="radio"][name="billingId"]:checked) {
  background-color: #D4AF37 !important;
}

/* Citelny text uvnitr vybraneho radku, bez zmen ostatnich polozek. */
.radio-wrapper:has(> input[type="radio"][name="shippingId"]:checked) .shipping-billing-name,
.radio-wrapper:has(> input[type="radio"][name="billingId"]:checked) .shipping-billing-name,
.radio-wrapper:has(> input[type="radio"][name="shippingId"]:checked) .payment-shipping-price,
.radio-wrapper:has(> input[type="radio"][name="billingId"]:checked) .payment-shipping-price {
  color: #080808 !important;
}

/* SVICKY DIAM - zlate nadpisy ve shrnuti objednavky */
#content h4.order-icon.order-payment,
#content h4.order-icon.order-content {
  color: #D4AF37 !important;
}

/* SVICKY DIAM - nazev produktu ve shrnuti objednavky */
#content td.p-name {
  background: #080808 !important;
}
#content td.p-name [data-testid="recapItemName"] {
  color: #FFFFFF !important;
}

/* SVICKY DIAM - tlacitko Zpet do obchodu */
a.btn.btn-primary[href="/"][title="Svíčky DIAM"] {
  background: #D4AF37 !important;
  color: #080808 !important;
  border: 1px solid #D4AF37 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
a.btn.btn-primary[href="/"][title="Svíčky DIAM"]:hover,
a.btn.btn-primary[href="/"][title="Svíčky DIAM"]:focus-visible {
  background: #080808 !important;
  color: #D4AF37 !important;
  border-color: #D4AF37 !important;
}

/* ==========================================
   DIAM – ZLATE RAMECKY INFORMACNICH STRANEK
   ========================================== */

.diam-info-box {
    background-color: #181818 !important;
    border: 2px solid #d4af37 !important;
    border-radius: 24px !important;
    padding: 32px 38px !important;
    margin: 24px 0 !important;
    box-sizing: border-box;
    color: #ffffff !important;
    overflow-wrap: break-word;
}

/* Nadpisy */
.diam-info-box h1,
.diam-info-box h2,
.diam-info-box h3 {
    color: #d4af37 !important;
    line-height: 1.3;
}

/* Texty */
.diam-info-box p,
.diam-info-box li {
    color: #ffffff !important;
    line-height: 1.85;
}

/* Zlaté zvýraznění */
.diam-info-box strong {
    color: #d4af37 !important;
}

/* Odkazy */
.diam-info-box a {
    color: #d4af37 !important;
}

/* Mobilní zobrazení */
@media (max-width: 767px) {
    .diam-info-box {
        padding: 20px 18px !important;
        margin: 16px 0 !important;
        border-radius: 18px !important;
    }
}

/* Svíčky DIAM – barva částek u cenového posuvníku */
#min,
#max {
    color: #f5e6bd !important;
    font-weight: 700 !important;
}

/* SVICKY DIAM – zlate zaoblene produktove karty */
.products-block .product {
    background-color: #181818 !important;
    border: 2px solid #d4af37 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* SVICKY DIAM – odstraneni vnitrniho bileho ramecku */
.products-block .product > .p,
.products-block .product .p-in,
.products-block .product .p-in-in,
.products-block .product .p-bottom {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

/* Zachovani zlateho zaobleneho vnejsiho ramecku */
.products-block .product {
    border: 2px solid #d4af37 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* DIAM – Zlatá položka Akční nabídka v horním menu */

#navigation a[href*="/akcni-nabidka/"] {
    color: #d4af37 !important;
    font-weight: 700 !important;
}

#navigation a[href*="/akcni-nabidka/"]:hover {
    color: #f5e6bd !important;
}

/* ==========================================================
   DIAM – skleneny svetelny odlesk obrazku podkategorii (v2)
   Podporuje vice variant HTML struktury Shoptetu.
   ========================================================== */

/* Prvek s obrazkem: klasicky .image i odkazy s vlozenym IMG. */
.subcategories .image:has(img),
.subcategories a:has(> img),
.subcategories a:has(> picture img),
.subcategories a:has(> .image img) {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Odlesk vykreslit na samotny obal obrazku, ne na popisek. */
.subcategories .image:has(img)::after,
.subcategories a:has(> img)::after,
.subcategories a:has(> picture img)::after,
.subcategories a:has(> .image img)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -90%;
    width: 48%;
    background: linear-gradient(105deg,
        transparent 0%,
        rgba(255, 225, 160, .05) 24%,
        rgba(255, 255, 255, .48) 50%,
        rgba(255, 225, 160, .09) 76%,
        transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 3;
}

.subcategories .image img,
.subcategories a > img,
.subcategories a > picture img {
    transition: transform .65s ease;
}

.subcategories .image:has(img):hover::after,
.subcategories a:has(> img):hover::after,
.subcategories a:has(> picture img):hover::after,
.subcategories a:has(> .image img):hover::after {
    animation: diam-glass-shine-v2 .9s ease-in-out;
}

.subcategories .image:has(img):hover img,
.subcategories a:has(> img):hover > img,
.subcategories a:has(> picture img):hover picture img,
.subcategories a:has(> .image img):hover .image img {
    transform: scale(1.045);
}

@keyframes diam-glass-shine-v2 {
    from { left: -90%; }
    to { left: 150%; }
}

@media (prefers-reduced-motion: reduce) {
    .subcategories .image:has(img):hover::after,
    .subcategories a:has(> img):hover::after,
    .subcategories a:has(> picture img):hover::after,
    .subcategories a:has(> .image img):hover::after {
        animation: none !important;
    }
    .subcategories img { transition: none !important; }
}

/* DIAM – kremova barva aktivniho razeni produktu */
.listSorting__control.active,
.listSorting__control.selected,
.listSorting__control[aria-current="page"],
.listSorting__control[aria-pressed="true"],
.listSorting__item.active .listSorting__control,
.listSorting__item.selected .listSorting__control,
.listSorting .active > .listSorting__control,
.listSorting__control:has(input:checked) {
 background:#f5e6bd!important;
 color:#080808!important;
 border:2px solid #d4af37!important;
 font-weight:700!important;
 box-shadow:0 0 10px rgba(212,175,55,.28)!important;
}
.listSorting__control.active:hover,
.listSorting__control.selected:hover,
.listSorting__control[aria-current="page"]:hover,
.listSorting__control[aria-pressed="true"]:hover,
.listSorting__item.active .listSorting__control:hover,
.listSorting__item.selected .listSorting__control:hover,
.listSorting .active > .listSorting__control:hover,
.listSorting__control:has(input:checked):hover {
 background:#f5e6bd!important;
 color:#080808!important;
}


/* DIAM – skutecna trida aktivniho razeni v Shoptetu */
.listSorting__control.listSorting__control--current,
.listSorting__control.listSorting__control--current:hover,
.listSorting__control.listSorting__control--current:focus {
  background: #f5e6bd !important;
  color: #080808 !important;
  border: 2px solid #d4af37 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(212,175,55,.25) !important;
}


/* DIAM – oprava barvy telefonní předvolby +420 */
.shp-flag-label,
.shp-flag-label .shp-flag-name {
    color: #f5e6c8 !important;
}


/* DIAM – bílý text odkazu Akční nabídka */
a[href="/akcni-nabidka/"] {
    color: #ffffff !important;
}

/* Zlatá barva při najetí myší */
a[href="/akcni-nabidka/"]:hover {
    color: #d4af37 !important;
}


/* =========================================
   DIAM – OPRAVA BAREV VE VYHLEDÁVÁNÍ
   ========================================= */

/* Nadpisy Kategorie, Články, Produkty */
body.type-search h4,
.search-products-heading {
    color: #d4af37 !important;
}

/* Odkazy ve výsledcích vyhledávání */
body.type-search a[data-testid="itemLink"] {
    color: #ffffff !important;
}

/* Zlaté odkazy při najetí myší */
body.type-search a[data-testid="itemLink"]:hover {
    color: #d4af37 !important;
}


/* ==========================================
   SVÍČKY DIAM – 3D DLAŽDICE KÓDU PRODUKTU
   ========================================== */

.p-code {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;

    background: linear-gradient(
        145deg,
        #f7e8ca 0%,
        #ddc49a 100%
    ) !important;

    color: #171717 !important;
    border: 1px solid #e8d3a8 !important;
    border-radius: 9px !important;

    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    white-space: nowrap;

    box-shadow:
        0 3px 0 #a48a60,
        0 5px 12px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}

/* Číslo produktu */
.p-code span,
.p-code [data-micro="sku"] {
    color: #171717 !important;
    font-weight: 800 !important;
}

/* Zlatá dlaždice po najetí na produkt nebo kód */
.product:hover .p-code,
.p-code:hover {
    background: linear-gradient(
        145deg,
        #f4d66c 0%,
        #d4af37 55%,
        #b88b20 100%
    ) !important;

    color: #111111 !important;
    border-color: #ffe49a !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 5px 0 #8c681c,
        0 9px 18px rgba(0, 0, 0, 0.45),
        0 0 12px rgba(212, 175, 55, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.75) !important;
}


/* ==========================================
   DIAM – TLAČÍTKO PODROBNOSTI HODNOCENÍ
   ========================================== */

button.js-ratingDialogTrigger {
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid #d4af37 !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease !important;
}

/* Po najetí myší */
button.js-ratingDialogTrigger:hover,
button.js-ratingDialogTrigger:focus-visible {
    color: #171717 !important;
    background: #d4af37 !important;
    border-color: #f4d66c !important;
    text-decoration: none !important;

    transform: translateY(-2px);

    box-shadow:
        0 4px 12px rgba(212, 175, 55, 0.35) !important;
}





