:root {
	--logo-size: 80px;
	
	--c1: #9B6041;
	--c2: #843e24;
	--c3: #a96f47;
	--c4: #626262;
	--c5: #8b8b8b;
	--c6: #9b745a;
	
	--vk-bi: url(/assets/img/vk.svg);
	
    --bs-primary: #3d3c3f;
    --bs-primary-rgb: 61, 60, 63;
	
    --bs-dark: #222123;
    --bs-dark-rgb: 34, 33, 35;
	
    --bs-secondary: #d5d5d5;
    --bs-secondary-rgb: 213, 213, 213;
    
    --bs-success: #423953;
    --bs-success-rgb: 66, 57, 83;
	
	--bs-info-text-emphasis: #333;
	--bs-info-text-emphasis-rgb: 51, 51, 51;
	
	--bs-info-bg-subtle: #dde8ff;
	--bs-info-bg-subtle-rgb: 12, 62, 83;
	
	--bs-info-border-subtle: #8da0bb;
	--bs-info-border-subtle-rgb: 141, 160, 187;
	
	--bs-info-text-emphasis: #423953;
	--bs-info-text-emphasis-rgb: 66, 57, 83;
	
	--bs-btn-active-bg: #151515;
	--bs-btn-active-bg-rgb: 21, 21, 21;
	
	--bs-btn-active-border-color: #141414;
	--bs-btn-active-border-color-rgb: 20, 20, 20;
}

.collapsible-description {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.collapsible-description.expanded {
    max-height: none;
}

.collapsible-description:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), white);
    pointer-events: none;
}

.collapsible-description .col-lg-auto {
	width: 100% !important;
}

.description-toggle {
    display: inline-block;
    margin-top: -45px !important;
    position: relative;
}

.description-toggle.expanded {
    margin-top: 15px !important;
}


.responsive-title {
  font-size: calc(0.5rem + 1.5vw);
}

body {
	padding-top: var(--logo-size);
}

*::first-letter {
	text-transform: capitalize; 
}

.navbar-brand > img {
	height: var(--logo-size);
	translate: 0px -3px;
}

.navbar > .container {
	filter: drop-shadow(6px 2px 5px #111);
}

.index-page-main-block {
	background-image: url(/assets/img/bg.jpg);
	background-size: cover;
    background-position: center;
}
.index-page-main-block h1,
.index-page-main-block p{
	filter: drop-shadow(0px 2px 1px #210);
}

.index-page-main-block .index-page-logo{
	max-height: 200px;
	filter: drop-shadow(0px 5px 2px #210) drop-shadow(0px 0px 40px #aff);
}

.index-page-main-block h2.text-bg-primary {
	background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 0.6)) !important;
}

.index-page-main-block .card {
	background-color: #00000070 !important;
	color: white !important;
}

.big-header-icon > {
	
}

.big-header-icon > .bi{
	font-size: 6em;
    margin: 0.25em auto;
    display: block;
}

@media (max-width: 768px) {
	.navbar-brand > img {
		height: 50px;
	}
	
	.big-header-icon > .bi{
		font-size: 4em;
		margin: 0em auto;
	}
}

.list-group-item {
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
}
.drag-handle {
	cursor: grab;
	color: #6c757d;
	padding: 0 5px;
	font-size: 1.2rem;
	border: solid 1px #ddd;
	border-radius: 5px;
}
.drag-handle:active {
	cursor: grabbing;
}
.form-check-input {
	margin: 4px 20px 4px 4px;
	cursor: pointer;
	border: solid 1px black;
    border-radius: 50%;
    font-size: 1.1em;
}


.yt-video {
	position: relative;
    width: 100%;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
}

.yt-video iframe {
	background: #000;
	position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 141%;
    border: 0;
}

.block-controll {
	user-select: none !important;
	pointer-events: none !important;
}

.t-g {
    color: var(--c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.t-g.svg {
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: initial;
}

.t-g-1 {
    background-image: linear-gradient(0deg, var(--c1), var(--c2), var(--c5));
}


.bi.svg {
	height: 1.5em;
    width: 1.5em;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
}

.bi.svg.bi-vk {
	mask-image: var(--vk-bi);
	-webkit-mask-image: var(--vk-bi); 
}



.image-item {
	width: 120px;
	height: 120px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.2s;
	border: 2px solid transparent;
	transform: scale(1.0);
}

.image-item.selected {
	position: relative;
    transform: scale(1.03);
    border: solid #00c746 5px;
    box-shadow: 0px 2px 3px 0px black;
}

.image-item.selected::after {
	content: '✔';
    position: absolute;
    display: block;
    border: solid #80b5b5 2px;
    color: #00ff00;
    font-size: 1.7em;
    width: 35%;
    height: 35%;
    bottom: 0.1em;
    right: 0.1em;
    text-align: center;
    line-height: 1.3em;
    border-radius: 100%;
    background-color: #0000008c;
}

.image-item > img{
	width: 100%; 
	height: 100%;
	object-fit: cover;
}

.image-item:hover {
	transform: scale(1.05);
}

.image-item.add-item {
	
}

.image-item.add-item::before {
	content: '+';
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--c6);
    color: var(--bs-body-bg);
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 5em;
    line-height: 137%;
    font-weight: bolder;
}








.footer-custom {
  color: #e2e8f0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-custom a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  display: inline-block;
}

.footer-custom a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.footer-heading:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -4px;
  width: calc(100% + 8px);
  height: 2px;
  background: #3b82f6;
  border-radius: 4px;
}

.subheading-footer {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.subheading-footer:first-of-type {
  margin-top: 0;
}

.footer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-list li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-list li i {
  width: 20px;
  font-size: 1rem;
  color: #6c9eff;
}

.footer-link-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-link-list li {
  margin-bottom: 0.5rem;
}

.footer-link-list a {
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link-list a i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-link-list a:hover i {
  opacity: 1;
}

.badge-discount {
  background: rgba(59,130,246,0.15);
  border-left: 3px solid #3b82f6;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.badge-discount i {
  color: #facc15;
  font-size: 1rem;
}

.badge-discount span {
  font-weight: 500;
  color: #e2e8f0;
}

.copyright-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8rem;
  text-align: center;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-custom .row > div {
	margin-bottom: 2rem;
  }
  .footer-custom .row > div:last-child {
	margin-bottom: 0;
  }
  .footer-heading:after {
	width: 30px;
  }
}




.truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.truncate.tr-2 { -webkit-line-clamp: 2; }
.truncate.tr-3 { -webkit-line-clamp: 3; }
.truncate.tr-4 { -webkit-line-clamp: 4; }
.truncate.tr-5 { -webkit-line-clamp: 5; }
.truncate.tr-6 { -webkit-line-clamp: 6; }
.truncate.tr-7 { -webkit-line-clamp: 7; }
.truncate.tr-8 { -webkit-line-clamp: 8; }
.truncate.tr-9 { -webkit-line-clamp: 9; }
.truncate.tr-10 { -webkit-line-clamp: 10; }
.truncate.tr-11 { -webkit-line-clamp: 11; }
.truncate.tr-12 { -webkit-line-clamp: 12; }
.truncate.tr-13 { -webkit-line-clamp: 13; }
.truncate.tr-14 { -webkit-line-clamp: 14; }
.truncate.tr-15 { -webkit-line-clamp: 15; }





.fading-slideshow {
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #000; /* фон на случай прозрачных картинок */
}
.fs-container {
	position: relative;
	width: 100%;
	height: 100%;
}
.fs-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	object-fit: cover;
	will-change: transform, opacity;
	opacity: 1;
}






.metallika-contact-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-color: #A07A50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 1050;
    transition: all 0.3s ease;
}
.metallika-contact-bubble:hover {
    background-color: #5D3A1A;
    transform: scale(1.05);
}
.metallika-contact-bubble i {
    font-size: 42px;
    color: white;
}

.metallika-contact-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 1051;
    display: none;
    overflow: hidden;
    animation: fadeInUp 0.2s ease;
}
.metallika-contact-window.show {
    display: block;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.metallika-contact-header {
    background: #5D3A1A;
    color: #F9F6F0;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.metallika-contact-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.metallika-contact-body {
    padding: 16px;
	font-weight: bold;
}
.metallika-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}
.metallika-contact-item:last-child {
    border-bottom: none;
}
.metallika-contact-item:hover {
    background: #f9f6f0;
}
.metallika-contact-item i {
    width: 24px;
    font-size: 1.2rem;
    color: #A07A50;
}
.metallika-contact-item span {
    font-size: 0.95rem;
}
.metallika-feedback-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: #A07A50;
    color: white;
    border: none;
    border-radius: 40px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.metallika-feedback-btn:hover {
    background: #5D3A1A;
}


 .gallery-thumb {
	cursor: pointer;
	transition: 0.3s;
}
.gallery-thumb:hover {
	opacity: 0.8;
}
.carousel-item img {
	object-fit: contain;
	width: 100%;
	height: 70vh;
}

.gallery-item::before {
	opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: white;
    font-size: 2.6em;
    background-color: #00000087;
	text-shadow: 2px 2px black;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: 0.3s;
}

.gallery-item {
	position: relative;
	display: inline-block;
}

.gallery-item:hover::before {
	opacity: 1;
}


.form-select,
.form-control {
	border: solid 2px #929292;
}