/* Aladdin Videz - vizualni popravki */

/* 1. Berljivost besedila na temni domaci strani */
body.home{color:#A89B83;}
body.home .wd-product .wd-entities-title a{color:#F3EADB;}
body.home .wd-product .wd-entities-title a:hover{color:#C9A24B;}
body.home .wd-product .wd-product-cats a{color:#9C9081;}
body.home .wd-product .price{color:#C9A24B;}
body.home .wd-post-title a,body.home .wd-post-title a:hover{color:#F3EADB;}
body.home .wd-post-header .wd-entities-title a{color:#F3EADB;}

/* 2. Poravnava kartic izdelkov */
body.home .wd-product .wd-entities-title{min-height:2.8em;display:flex;align-items:center;justify-content:center;}
body.home .wd-product .wd-product-cats{min-height:1.5em;}

/* 3. Enaka visina info kartic */
.info-box-wrapper{height:100%;}
.wd-info-box{height:100%;}
.wd-info-box>.info-box-content{display:flex;flex-direction:column;height:100%;}
.wd-info-box .info-box-inner{flex:1 1 auto;}
.wd-info-box .info-btn-wrapper{margin-top:auto;}

/* 4. Enaka visina besedila v info karticah (namizni pogled) */
@media (min-width:1025px){
  .wd-info-box .info-box-inner{min-height:4.5em;}
}

/* 5. Ena sama objava naj ne pusti prazne mreze */
.elementor-widget-wd_blog .wd-post:only-child{grid-column:1 / -1;max-width:560px;margin-left:auto;margin-right:auto;}

/* 6. Kategorije pod izdelkom v eni vrstici, da se cene poravnajo */
.wd-product .wd-product-cats{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}

/* 7. Mobilni pogled: berljivo besedilo cez sliko v uvodni sekciji */
@media (max-width:767px){
  .wd-slide .wd-negative-gap>.e-con-inner{position:relative;z-index:2;}
  .wd-slide .wd-negative-gap::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,11,8,.82) 0%,rgba(14,11,8,.55) 55%,rgba(14,11,8,.30) 100%);z-index:1;pointer-events:none;}
}

/* 8. Berljiv naslov in podkategorije nad sliko v glavi arhiva */
.wd-page-title{position:relative;}
.wd-page-title>.container,.wd-page-title>.wd-page-title-inner{position:relative;z-index:2;}
.wd-page-title::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,11,8,.55) 0%,rgba(14,11,8,.72) 100%);z-index:1;pointer-events:none;}

/* 9. Pravne povezave v nogi */
.ala-pravne{border-top:1px solid rgba(201,162,75,.22);padding:14px 0;background:#0E0B08;}
.ala-pravne ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin:0;padding:0;list-style:none;}
.ala-pravne a{color:#A89B83;font-size:13px;text-decoration:none;}
.ala-pravne a:hover{color:#C9A24B;}

/* 10. Premium videz noge */
.wd-footer .widget-title,
.wd-footer .widgettitle{font-size:13px;letter-spacing:.16em;color:#C9A24B;margin-bottom:18px;}
.wd-footer{padding-top:52px;}
.wd-footer .widget{margin-bottom:26px;}
.wd-footer .wd-sub-menu li a,
.wd-footer .menu li a{color:#A89B83;padding:5px 0;display:inline-block;transition:color .2s;}
.wd-footer .wd-sub-menu li a:hover,
.wd-footer .menu li a:hover{color:#F3EADB;}
.wd-footer .wd-post{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px;}
.wd-footer .wd-post img{border-radius:3px;}
.wd-footer .wd-entities-title{font-size:14px;line-height:1.45;margin-bottom:4px;}
.wd-footer .wd-entities-title a{color:#F3EADB;}
.wd-footer .wd-entities-title a:hover{color:#C9A24B;}
.wd-footer .wd-post-date,
.wd-footer .wd-post .comments-link{font-size:12px;color:#8a8071;}
.wd-footer .info-box-content p,
.wd-footer p{line-height:1.7;}
@media (max-width:767px){
  .wd-footer{padding-top:34px;text-align:center;}
  .wd-footer .wd-post{justify-content:center;text-align:left;}
  .ala-pravne ul{gap:10px 16px;}
}

/* 13. Kartice objav imajo svetlo podlago - besedilo mora biti temno */
.wd-post .wd-entities-title a,
.wd-post .entry-title a{color:#1d1a16!important;}
.wd-post .wd-entities-title a:hover,
.wd-post .entry-title a:hover{color:#9C7A2E!important;}
.wd-post .wd-post-excerpt,
.wd-post .wd-post-excerpt p,
.wd-post .wd-post-meta,
.wd-post .wd-post-meta a,
.wd-post .wd-post-author,
.wd-post .wd-post-author a{color:#4a443c!important;}
.wd-post .read-more-section a{color:#9C7A2E!important;}
.wd-post .wd-post-cat a{color:#0E0B08;}

/* 14. Preklopnik jezikov v nogi */
.wd-footer .wpml-ls,
.wd-footer .wpml-ls ul,
.wd-footer .wpml-ls li,
.wd-footer .wpml-ls a{background:transparent!important;border:0!important;}
.wd-footer .wpml-ls a{color:#A89B83!important;font-size:13px;padding:6px 10px!important;}
.wd-footer .wpml-ls a:hover{color:#C9A24B!important;}

/* 15. Gumb za vrnitev na vrh */
.scrollToTop{background:rgba(201,162,75,.94)!important;color:#0E0B08!important;border:0!important;box-shadow:0 4px 14px rgba(0,0,0,.35);}
.scrollToTop:hover{background:#C9A24B!important;}

/* 16. Kartice objav v temnem odseku: temna podlaga namesto bele */
body .ala-dark .wd-post .wd-post-content,
body .ala-dark .wd-post .article-body-container{background:#15110c!important;border:1px solid rgba(201,162,75,.16);}
body .ala-dark .wd-post .wd-post-date.wd-style-with-bg{background:#15110c!important;color:#C9A24B!important;border:1px solid rgba(201,162,75,.25);}
body .ala-dark .wd-post .wd-post-excerpt,
body .ala-dark .wd-post .wd-post-excerpt p{color:#A89B83!important;}
body .ala-dark .wd-post .wd-post-meta,
body .ala-dark .wd-post .wd-post-meta a{color:#8f8677!important;}
body .ala-dark .wd-post .read-more-section a{color:#C9A24B!important;}

/* 17. Nov logotip: viden v celoti */
.whb-row .wd-logo img,
.site-logo img,
.wd-header-logo img{max-height:none!important;height:auto!important;width:auto!important;max-width:230px!important;}
@media (max-width:1024px){ .whb-row .wd-logo img, .wd-header-logo img{max-width:180px!important;} }
@media (max-width:575px){ .whb-row .wd-logo img, .wd-header-logo img{max-width:150px!important;} }
.wd-footer .wd-image img,
.wd-footer .elementor-widget-wd_image_or_svg img{max-width:230px;height:auto;}

/* 18. Kontaktni obrazec na temni podlagi */
.wpcf7-form label{color:#F3EADB!important;font-size:14px;letter-spacing:.02em;}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea{background:#17120d!important;border:1px solid rgba(201,162,75,.28)!important;color:#F3EADB!important;border-radius:3px;padding:12px 14px;}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder{color:#8f8677!important;}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus{border-color:#C9A24B!important;outline:none;}
.wpcf7-form input[type=submit]{background:#C9A24B!important;color:#0E0B08!important;border:0!important;padding:13px 30px;letter-spacing:.08em;font-weight:600;}
.wpcf7-form input[type=submit]:hover{background:#D9B45C!important;}
.wpcf7-response-output{color:#F3EADB!important;border-color:rgba(201,162,75,.4)!important;}
.wpcf7-not-valid-tip{color:#E2A0A0!important;}

/* 19. Popup v podobi trgovine */
.wd-popup, .wd-popup-inner, .wd-popup .elementor-section, .wd-popup .e-con{background-color:#12100c!important;background-image:none!important;}
.wd-popup{border:1px solid rgba(201,162,75,.35)!important;border-radius:4px;box-shadow:0 18px 50px rgba(0,0,0,.6);}
.wd-popup h1,.wd-popup h2,.wd-popup h3,.wd-popup .wd-entities-title,.wd-popup .elementor-heading-title{color:#F3EADB!important;}
.wd-popup p,.wd-popup .elementor-widget-text-editor,.wd-popup .elementor-widget-container{color:#A89B83!important;}
.wd-popup img{display:none!important;}
.wd-popup .btn, .wd-popup a.button, .wd-popup .elementor-button{background:#C9A24B!important;color:#0E0B08!important;border:0!important;letter-spacing:.08em;font-weight:600;}
.wd-popup .btn:hover, .wd-popup a.button:hover, .wd-popup .elementor-button:hover{background:#D9B45C!important;}
.wd-popup .wd-popup-close, .wd-popup .close-side-widget{color:#C9A24B!important;}

/* 20. Popup: znak, locilna crta, tesnejsa postavitev */
.wd-popup{max-width:520px !important;padding:38px 42px 34px !important;text-align:center;}
.wd-popup .wd-popup-inner{padding:0 !important;}
.wd-popup .wd-popup-inner::before{content:'';display:block;width:170px;height:44px;margin:0 auto 22px;background:url(https://aladdin.si/wp-content/uploads/2026/09/aladdin-logo.svg) no-repeat center/contain;}
.wd-popup h1,.wd-popup h2,.wd-popup h3,.wd-popup .elementor-heading-title{font-size:26px !important;line-height:1.25;margin-bottom:14px !important;}
.wd-popup h2::after,.wd-popup .elementor-heading-title::after{content:'';display:block;width:52px;height:1px;margin:16px auto 0;background:#C9A24B;}
.wd-popup p{font-size:15px;line-height:1.65;max-width:400px;margin:0 auto 24px;}
.wd-popup .btn,.wd-popup a.button,.wd-popup .elementor-button{padding:14px 34px !important;}

/* 21. Popup: logotip za temno podlago in zlata vijuga */
.wd-popup .wd-popup-inner::before{background:url(https://aladdin.si/wp-content/uploads/2026/09/aladdin-logo-dark.svg) no-repeat center/contain !important;width:180px;height:48px;}
.wd-popup h2::after,.wd-popup .elementor-heading-title::after{width:210px !important;height:18px !important;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'><path d='M8 10 C38 1 58 19 94 10' stroke='%23C9A24B' fill='none' stroke-width='1.1'/><path d='M106 10 C142 1 162 19 192 10' stroke='%23C9A24B' fill='none' stroke-width='1.1'/><path d='M100 5 l5 5 -5 5 -5 -5z' fill='%23C9A24B'/></svg>") no-repeat center/contain !important;margin:18px auto 0 !important;}

/* 22. Strosek pakiranja: redna cena precrtana */
.ala-pak-redna{font-weight:400;font-size:.92em;color:#A89B83;margin-left:6px;}
.ala-pak-redna del{opacity:.7;margin-right:4px;}

/* 23. Kosarica: vrstica dostave cez celo sirino */
.cart_totals tr.woocommerce-shipping-totals th,
.cart_totals tr.woocommerce-shipping-totals td,
.cart_totals tr.shipping th,
.cart_totals tr.shipping td{display:block;width:100%;box-sizing:border-box;text-align:left;}
.cart_totals tr.woocommerce-shipping-totals th,
.cart_totals tr.shipping th{padding-bottom:6px;border-bottom:0;}
.cart_totals tr.woocommerce-shipping-totals td,
.cart_totals tr.shipping td{padding-top:0;}
.cart_totals .woocommerce-shipping-methods li{display:flex;justify-content:space-between;gap:10px;align-items:baseline;padding:5px 0;}
.cart_totals .woocommerce-shipping-methods li label{flex:1;line-height:1.4;}
.cart_totals .woocommerce-shipping-destination,
.cart_totals .shipping-calculator-button{font-size:13px;color:#8a8071;line-height:1.5;margin-top:8px;display:block;text-align:left;}
