@charset "UTF-8";
/* Адаптировано из cookie.zip для темы OpenCart Korea */


table.ester {
	width: 100%;
	margin: 25px 0;
}
table.ester th, table.ester td {
    border: 1px solid #a3a3a3;
    padding: 5px 15px;
}
.che{}
.che a{}
.che input{}
.acc{    text-align: right;
    width: 100%;
    margin: 0 0 15px;
    display: block;}
/* --- Баннер cookie --- */
#cookie-notification {
	position: fixed;
	bottom: 15px;
	right: auto;
	left: 15px;
	color: #252525;
	padding: 25px;
	text-align: center;
	z-index: 9999;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
	background: rgba(255,255,255,.96);
	-webkit-box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	-moz-box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	box-shadow: 0px 0px 48px -5px rgba(0,0,0,0.15);
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	width: min(540px, calc(100vw - 30px));
	border-radius: 15px;
}

#cookie-notification[hidden] {
	display: none !important;
}

.cpent {
	display: flex;
	justify-content: space-between;
  /* align-items: center; */
	gap: 20px;
	flex-direction: column;
	width: auto;
}

.cpp {
  /* flex: 0 0 75%; */
	text-align: left;
}

.cpp p {
	margin: 0;
	font-size: 14px;
}

.cpp p a {
	font-size: 14px;
	color: #920000;
	border-bottom: 1px solid;
	text-decoration: none;
}

.cpp p a:hover {
	border-bottom: 1px dashed;
	color: #b10000;
}

.cookie-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.cookie-buttons button {
	color: #b10000;
	border: 1px solid #b10000;
	padding: 10px 25px 8px;
	cursor: pointer;
	font-size: 11px;
	text-transform: uppercase;
	border-radius: 3px;
	transition: background 0.3s, color 0.3s;
	letter-spacing: 1px;
	font-weight: 600;
	background: #fff;
	flex: 1 0 auto;
}

#cookie-accept-all {
	background: #b10000;
	color: #fff;
}

#cookie-accept-all:hover {
	background: #920000;
}

#cookie-customize {
}

#cookie-customize:hover {
}

#cookie-reject-all {
}

#cookie-reject-all:hover {
}

.cookie-buttons button:hover {
	color: #fff;
	background: #b10000;
}

#cookie-necessary {
}

#cookie-necessary:hover {
}




/* --- Модальное окно --- */
.cookie-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.6);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.cookie-modal.is-open {
	display: flex;
}

body.cookie-modal-open {
	overflow: hidden;
}

.cookie-modal-content {
	background: #fff;
	color: #333;
	max-width: 600px;
	width: 90%;
	padding: 30px;
	border-radius: 8px;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.cookie-modal-content h3 {
	margin: 0 0 20px 0;
	font-size: 22px;
	color: #920000;
}

.cookie-category {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
	border-bottom: none;
}

.cookie-category-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.cookie-category-name {
	font-weight: 700;
	font-size: 16px;
	color: #222;
}

.cookie-category-badge {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 7px 15px;
	border-radius: 18px;
	font-weight: 600;
}

.cookie-category-badge.always {
	background: #b10000;
	color: #fff;
	border: 1px solid #b10000;
}

.cookie-category-desc {
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	margin: 0 0 5px 0;
}

.cookie-category-services {
	font-size: 12px;
	color: #888;
	margin: 5px 0 0 0;
	font-style: italic;
}

.cookie-modal-actions {
	text-align: center;
	margin-top: 25px;
}

#cookie-save-preferences {
	background: #b10000;
	color: #fff;
	border: none;
	padding: 12px 40px;
	cursor: pointer;
	font-size: 11px;
	text-transform: uppercase;
	border-radius: 18px;
	transition: background 0.3s;
	letter-spacing: 1px;
	font-weight: 600;
}

#cookie-save-preferences:hover {
	background: #920000;
}

/* --- Toggle switch --- */
.cookie-modal .switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.cookie-modal .switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-modal .slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.3s;
	border-radius: 24px;
}

.cookie-modal .slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
}

.cookie-modal input:checked + .slider {
	background-color: #b10000;
}

.cookie-modal input:focus + .slider {
	box-shadow: 0 0 1px #b10000;
}

.cookie-modal input:checked + .slider:before {
	transform: translateX(20px);
}

@media (max-width: 1280px) {
	#cookie-notification {
		width: 45%;
	}

}
@media (max-width: 1024px) {
		#cookie-notification{
    width: 65%;
	}
}

@media screen and (max-width : 992px) {
	

	#cookie-notification {
		width: auto;
		padding: 15px;
	}

	#cookie-accept {
		font-size: 12px;
		padding: 8px 20px;
	}

	.cpent {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.cookie-buttons {
		justify-content: space-between;
		width: 100%;
	}

	.cpent {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.cpp p {
    /* text-align: center; */
		font-size: 11px;
	}

	.cpp p a {
		font-size: 11px;
	}

	.cookie-buttons button {
		font-size: 10px;
		padding: 10px 10px 8px;
		flex: 1 0 auto;
	}
table.ester th, table.ester td {
       
        padding: 5px;

    }
	.cookie-modal-content {
		padding: 20px;
	}
}
/* Дополнения для изоляции от стилей магазина */
#cookie-notification{bottom:15px;left:15px;right:auto;max-width:calc(100vw - 30px);font-family:Arial, sans-serif;box-sizing:border-box;text-align:left;}
#cookie-notification * ,#cookie-modal *{box-sizing:border-box;}
#cookie-notification .cookie-buttons button,#cookie-modal button{line-height:1.3;white-space:normal;}
#cookie-modal{padding:15px;}
#cookie-modal .cookie-modal-content{position:relative;}
#cookie-modal .cookie-close{position:absolute;right:12px;top:9px;border:0;background:none;color:#555;font-size:27px;line-height:1;cursor:pointer;padding:4px 8px;}
#cookie-modal .cookie-close:hover{color:#b10000;}
.korea-cookie-settings{text-align:center;padding:8px 0 14px;}
.korea-cookie-settings button{background:transparent;border:0;color:inherit;text-decoration:underline;font-size:12px;cursor:pointer;}
@media(max-width:550px){#cookie-notification{bottom:10px;left:10px;max-width:calc(100vw - 20px);width:calc(100vw - 20px);padding:16px;}#cookie-notification .cookie-buttons{display:flex;gap:7px;flex-wrap:wrap;}#cookie-notification .cookie-buttons button{flex:1 1 125px;font-size:11px;padding:10px 8px;}#cookie-modal .cookie-modal-content{max-height:88vh;padding:18px;}}
