/* Vlastni styly obchodu mimo style.less (ten kompiluje Easy LESS ve VS Code): tlacitko koupit na detailu
   produktu, formulare prihlaseni a registrace se stejnymi poli jako pokladna (checkout.css .field), Muj ucet. */

/* ---------- Detail produktu: tlacitko Vlozit do kosiku s ikonou ---------- */
.product-info .cart > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.product-info .cart button#button-cart.button-buy { display: inline-flex; align-items: stretch; height: 52px; min-width: 260px; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: #3bc315; box-shadow: 0 2px 2px #DDDDDD; color: #fff; font-size: 18px; font-weight: bold; line-height: 52px; cursor: pointer; }
.product-info .cart button#button-cart.button-buy:hover { background: #34ad12; }
.product-info .cart .button-buy-icon { display: flex; align-items: center; justify-content: center; width: 56px; background: rgba(0, 0, 0, 0.18); }
.product-info .cart .button-buy-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-info .cart .button-buy-label { flex: 1; padding: 0 24px; text-align: center; white-space: nowrap; }

/* Oblibene jako srdicko vedle tlacitka: obrys, po pridani (nebo kdyz uz v oblibenych je) cervene vyplnene */
.product-info .cart .wishlist-heart { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; padding: 0; border: 1px solid #ddd; border-radius: 5px; background: #fff; cursor: pointer; }
.product-info .cart .wishlist-heart:hover { border-color: #e02424; }
.product-info .cart .wishlist-heart svg { width: 28px; height: 28px; }
.product-info .cart .wishlist-heart svg path { fill: none; stroke: #e02424; stroke-width: 1.8; stroke-linejoin: round; transition: fill .2s; }
.product-info .cart .wishlist-heart.active svg path { fill: #e02424; }

/* Anotace a tabulka Podrobnosti o knize: vetsi pismo */
#tab-description, #tab-description div, #tab-description p { font-size: 16px; line-height: 26px; }
#tab-description table.attribute td { font-size: 15px; line-height: 22px; }
#tab-description table.attribute thead td { font-size: 16px; font-weight: bold; }
/* Prvni sloupec (nazev parametru) 25 % misto 20 % ze style.css; na mobilu zustava 30 % */
@media (min-width: 768px) {
	.my-template #tab-description table.attribute tbody td:first-child { width: 25%; }
}

/* ---------- Formulare: prihlaseni a registrace ---------- */
#content .biz-form input[type='text'],
#content .biz-form input[type='password'],
#content .biz-form select { display: block; box-sizing: border-box; width: 100%; max-width: 420px; height: 44px; margin: 0; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; background: #fff; box-shadow: none; color: #000; font-size: 15px; line-height: 24px; text-align: left; }
#content .biz-form input[type='text']:focus,
#content .biz-form input[type='password']:focus,
#content .biz-form select:focus { outline: none; border-color: #7AAE37; box-shadow: 0 0 0 3px rgba(122, 174, 55, 0.2); }
#content .biz-form .field { margin-bottom: 16px; }
#content .biz-form .field label { display: block; margin-bottom: 5px; color: #555; font-size: 14px; }
#content .biz-form .error { display: block; margin-top: 4px; color: #c00; font-size: 13px; }
#content .biz-form .forgotten { display: inline-block; margin-top: 10px; font-size: 14px; }
#content .button.primary { display: inline-block; box-sizing: border-box; height: auto; margin: 0; padding: 12px 26px; border: 0; border-radius: 4px; background: #7AAE37 none; box-shadow: none; text-shadow: none; color: #fff; font-size: 16px; font-weight: bold; line-height: 1.3; cursor: pointer; position: static; }
#content .button.primary:hover { background: #6b9930 none; text-decoration: none; }

/* Prihlaseni: dva boxy vedle sebe, na mobilu pod sebou (prihlaseni nahore) */
.login-content .content p { font-size: 14px; line-height: 22px; }
@media (max-width: 767px) {
	.login-content .left, .login-content .right { float: none; width: auto; }
	.login-content .left { margin-bottom: 20px; }
	.login-content .left .content, .login-content .right .content { min-height: 0; }
}

/* Registrace: tabulka label | pole, na mobilu label nad polem */
#content .biz-form table.form td { padding: 6px 4px; vertical-align: middle; font-size: 14px; }
#content .biz-form table.form tr td:first-child { width: 190px; }
#content .biz-form .buttons { padding: 12px; }
@media (max-width: 767px) {
	#content .biz-form table.form, #content .biz-form table.form tbody,
	#content .biz-form table.form tr, #content .biz-form table.form td { display: block; width: auto; }
	#content .biz-form table.form tr td:first-child { width: auto; padding-bottom: 0; }
	#content .biz-form table.form tr[style*='none'] { display: none; }
	#content .biz-form .buttons .right { float: none; text-align: left; }
}

/* ---------- Muj ucet: vetsi odkazy ---------- */
#content .account-links ul { margin: 0; padding: 0; list-style: none; }
#content .account-links li { padding: 7px 0; border-bottom: 1px solid #f0f0f0; }
#content .account-links li:last-child { border-bottom: 0; }
#content .account-links a { font-size: 17px; line-height: 24px; }

/* Registrace: zaver formulare (odhlaseni novinek, souhlas s podminkami) */
#content .biz-form .register-finish { margin-top: 10px; }
#content .biz-form .register-newsletter { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; cursor: pointer; }
#content .biz-form .register-newsletter input[type='checkbox'] { width: 18px; height: 18px; margin: 0; }
#content .biz-form .register-terms { margin: 0 0 16px; font-size: 14px; line-height: 22px; color: #333; }
#content .biz-form .register-terms a { font-size: inherit; }

/* Formulare uctu (upravit ucet, heslo, adresa, reklamace): stejna pole jako registrace */
#content .biz-form textarea { display: block; box-sizing: border-box; width: 100%; max-width: 640px; min-height: 120px; padding: 9px 11px; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 15px; line-height: 22px; font-family: inherit; }
#content .biz-form textarea:focus { outline: none; border-color: #7AAE37; box-shadow: 0 0 0 3px rgba(122, 174, 55, 0.2); }
#content .biz-form .return-product, #content .biz-form .return-detail { font-size: 14px; }
#content .biz-form .return-product input[type='text'], #content .biz-form .return-detail input[type='text'] { margin-bottom: 6px; }
#content .biz-form .content .left, #content .biz-form .content .right { font-size: 14px; }
#content .biz-form .content .left input, #content .biz-form .content .right input { margin-bottom: 4px; }
#content .return-new { margin: 0 0 16px; }
@media (max-width: 767px) {
	#content .biz-form .content .left, #content .biz-form .content .right,
	#content .biz-form .return-name, #content .biz-form .return-model, #content .biz-form .return-quantity,
	#content .biz-form .return-reason, #content .biz-form .return-opened, #content .biz-form .return-captcha { float: none; width: auto; margin-right: 0; margin-bottom: 12px; }
	#content .biz-form .buttons .left { float: none; margin-bottom: 10px; }
}

/* Kontakty: jmeno a e-mail stejne dlouhe jako pole ostatnich formularu */
.my-template #content.contact #contact-form input[name='name'],
.my-template #content.contact #contact-form input[name='email'] { box-sizing: border-box; width: 100%; max-width: 420px; }

/* Detail produktu bez obrazku: zastupna kniha jako ve vypisu (style.less .image-missing), velikost nahledu 210 x 280 */
.my-template .product-info .left .image .image-missing { display: block; width: 210px; height: 280px; margin: 0 auto; border-radius: 5px; background-color: #7AAE37;
	-webkit-mask: url(../../../../../biz/image/book.svg) no-repeat 50% 50%; mask: url(../../../../../biz/image/book.svg) no-repeat 50% 50%; -webkit-mask-size: 80% auto; mask-size: 80% auto; }
