@charset "utf-8";
/* CSS Document — редизайн 2026-09-01, см. CLAUDE.md раздел про чекаут */

/* "Final step" наследовал общий сайтовый h1 (main.css) — рассчитан на
   белый текст с тенью поверх тёмного hero-фото. На чекауте фона нет,
   заголовок был почти невидим (белый на белом/кремовом). */
.contents h1 {
	font-family: 'PT Serif Caption', serif;
	font-size: 22pt;
	color: #2b2016;
	text-shadow: none;
	text-align: center;
	margin: 40px auto 20px;
	width: auto;
}

#checkout {
	margin: 0 auto;
	background: #fff;
	border: 1px solid rgba(75,30,0,.14);
	border-radius: 4px;
	padding: 30px 20px 20px 10px;
	width: 95%;
	max-width: 420px;
	min-height: 500px;
}
.check1 {
	position: relative;
	width: 270px;
	margin: auto;
	margin-top: 30px;
}
.check2 {
	position: relative;
	width: 270px;
	margin: auto;
}
.check1 p, .check2 p {text-align: center; width: 100%;  margin: 0 auto; padding: 0;}

#checkout .link {
	color: #4B1E00;
	cursor: pointer;
	transition: all .1s;
}

#checkout .link:hover {
	color: #6E645E;
	text-decoration: underline;
	transition: all .1s;
}
#checkout p {
	color: #2b2016;
    font: 11pt 'Roboto', sans-serif;
	font-weight: 600;
    margin-bottom: 5px;
}
.check1 p {margin-left: 5px;}
#checkout input[type="text"],
#checkout input[type="email"],
#checkout input[type="tel"],
#checkout input[type="password"] {
    border: 1px solid rgba(75,30,0,.2);
    background: #faf7f2;
    color: #2b2016;
    font-family: 'Roboto', sans-serif;
    height: 32px;
    margin: 0 5px 8px 5px;
    width: 259px;
    padding: 0 0 0 15px;
}
#checkout input[type="text"]:focus,
#checkout input[type="email"]:focus,
#checkout input[type="tel"]:focus,
#checkout input[type="password"]:focus {
    outline: none;
    border-color: #4B1E00;
}
#checkout input[type="checkbox"] {
    /* css/maingallery.css задаёт global input[type="checkbox"]{display:none} —
       это для лайтбокса галерей (скрытый чекбокс как переключатель состояния),
       но правило ничем не ограничено и утекает на любую другую страницу с
       общим бандлом. Здесь, в чекауте, чекбокс настоящий (согласие GDPR) —
       возвращаем видимость. Побеждаем по специфичности честно (#checkout
       в селекторе даёт вес выше, чем голый input[type=checkbox]), без !important. */
    display: inline-block;
    margin-right: 8px;
    width: auto;
    height: auto;
    vertical-align: middle;
}
.gdpr_checkbox {
    margin: 14px 5px;
    font-size: 10pt;
    line-height: 1.4;
    color: #2b2016;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
.gdpr_checkbox a {
    text-decoration: underline;
    color: #4B1E00;
}
#checkout select {
	border: 1px solid rgba(75,30,0,.2);
	background: #faf7f2;
	color: #2b2016;
	font-family: 'Roboto', sans-serif;
	height: 32px;
	margin:0 0px 15px 5px;
	width: 259px;
	padding: 0 15px;
}
#checkout .as_ready {
	display: inline-block;
	vertical-align: middle;
	height: 25px;
	margin:0 5px 0 5px;
	width: 25px;
	padding: 0;
}
#checkout .checkbox {
	display: inline-block;
	vertical-align: middle;
	height: 25px;
	margin:0 5px 15px 5px;
	width: 25px;
	padding: 0;
}
#checkout label {
	display: inline-block;
	vertical-align: middle;
	margin:0 5px 0 10px;
	font: 11pt 'Roboto', sans-serif;
	pading-bottom: 40px;
	cursor: pointer;
}
#checkout textarea {
    width: 259px;
    resize: none;
    outline: none;
    padding: 15px;
    border: 1px solid rgba(75,30,0,.2);
    background: #faf7f2;
    color: #2b2016;
    font-family: 'Roboto', sans-serif;
    height: 85px;
	margin-left: 5px;
}
#checkout .mini_input {
	position: relative;
	display: inline-block;
		vertical-align: middle;

	width: 125px;
	padding: 0 0 0 15px;
	margin: 0 0px 8px 5px;
}
#checkout .number_input{
	width: 52px;
	padding: 0 0 0 5px;
	font: 14pt 'Roboto', sans-serif;
}
input:invalid+span:after {
  position: relative;
  color: #c0392b;
  content: '✖';
  padding-left: 5px;
}

input:valid+span:after {
  position: absolute;
  /*content: '✓';*/
	content: '';
  padding-left: 5px;
}
.submit_link {
	display: block;
	background: #4B1E00;
	text-decoration: none;
	transition: all .2s;
	color: white;
	font-family: 'Roboto', sans-serif;
	text-transform: uppercase;
	font-size: 12pt;
	font-weight: 600;
	padding: 14px 50px;
	text-align: center;
	margin: 24px auto 15px auto;
}
.submit_link:hover {
	background: #6E645E;
	text-decoration: none;
	transition: all .2s;
}
#checkout span {margin: 0;}
#terms {text-align: center; }
.check2 #total_price_in_cart {font: 20px 'PT Serif Caption', serif; font-weight: 700; color: #2b2016;}
#final_price {font: 30px 'PT Serif Caption', serif; font-weight: 700; color: #2b2016;}

#minimap {margin: 10px;}
