/* =========================================================
   BLADE4LIFE - STRICT SQUARE UI & BRAND COLORS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

* {
    border-radius: 0 !important; /* Глобальне правило: жодних заокруглень, тільки строгі кути */
}

body {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	color: #444;
	font-size: 13px;
	line-height: 20px;
	width: 100%;
    background-color: #f9f9f9;
}
h1, h2, h3, h4, h5, h6 {
	color: #222;
    font-weight: 600;
}
.fa { font-size: 14px; }
h1 { font-size: 33px; }
h2 { font-size: 27px; }
h3 { font-size: 21px; }
h4 { font-size: 15px; }
h5 { font-size: 13px; }
h6 { font-size: 11px; }

/* Посилання (Зелений бренд) */
a { color: #52753b; transition: all 0.2s ease; }
a:hover { text-decoration: none; color: #3b2313; }

legend { font-size: 18px; padding: 7px 0px; font-weight: 600; border-bottom: 2px solid #52753b; }
label { font-size: 13px; font-weight: 600; }

select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
	font-size: 13px;
    border: 1px solid #ccc;
    box-shadow: none;
}
select.form-control:focus, textarea.form-control:focus, input.form-control:focus {
    border-color: #52753b;
    box-shadow: none;
}

.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover { font-size: 13px; }
.input-group .input-group-addon { font-size: 13px; height: 30px; background-color: #eee; border-color: #ccc; }

span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg { display: inline; }
.nav-tabs { margin-bottom: 15px; border-bottom: 2px solid #ddd; }
.nav-tabs > li > a { font-weight: 600; color: #666; }
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { border: 2px solid #ddd; border-bottom-color: transparent; color: #52753b; }
div.required .control-label:before { content: '* '; color: #F00; font-weight: bold; }

/* Випадаючі меню */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #52753b;
	background-image: none;
}

/* ================== ВЕРХНЯ ПАНЕЛЬ (TOP) ================== */
#top {
	background-color: #3b2313; /* Коричневий */
	border-bottom: 1px solid #2a190d;
	padding: 6px 0px;
	margin: 0 0 20px 0;
	min-height: 40px;
}
#top .container { padding: 0 20px; }
#top #form-currency .currency-select, #top #form-language .language-select { text-align: left; }
#top #form-currency .currency-select:hover, #top #form-language .language-select:hover {
	color: #ffffff;
	background-color: #52753b;
	background-image: none;
}
#top .btn-link, #top-links li, #top-links a {
	color: #e0e0e0;
	text-shadow: none;
	text-decoration: none;
    font-weight: 500;
}
#top .btn-link:hover, #top-links a:hover { color: #fff; }
#top-links .dropdown-menu a { text-shadow: none; color: #333; }
#top-links .dropdown-menu a:hover { color: #FFF; }
#top .btn-link strong { font-size: 14px; line-height: 14px; }
#top-links { padding-top: 6px; }
#top-links a + a { margin-left: 15px; }

#logo { margin: 0 0 10px 0; }

/* ================== ПОШУК (МОНОЛІТ) ================== */
#search { margin-bottom: 10px; }
#search .input-lg {
	height: 44px;
	line-height: 20px;
	padding: 0 15px;
    border: 2px solid #52753b;
    box-shadow: none;
    font-family: 'Montserrat', sans-serif;
}
#search .btn-lg {
	font-size: 16px;
	line-height: 20px;
	padding: 0 30px;
    height: 44px;
	text-shadow: none;
    background-color: #52753b;
    background-image: none;
    border: 2px solid #52753b;
    color: #fff;
    transition: 0.2s;
}
#search .btn-lg:hover {
    background-color: #3b2313;
    border-color: #3b2313;
}

/* ================== КОШИК ================== */
#cart { margin-bottom: 10px; }
#cart > .btn {
	font-size: 13px;
	line-height: 18px;
	color: #FFF;
    background-color: #3b2313;
    background-image: none;
    border: none;
    text-shadow: none;
    font-weight: 600;
    padding: 13px 15px;
}
#cart > .btn:hover { background-color: #52753b; }
#cart.open > .btn {
	background-color: #fff;
	border: 1px solid #ccc;
	color: #333;
}
#cart .dropdown-menu { background: #fff; z-index: 1001; min-width: 100%; max-height: 800px; overflow-y: auto; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
@media (max-width: 478px) { #cart .dropdown-menu { width: 100%; } }
#cart .dropdown-menu table { margin-bottom: 10px; }
#cart .dropdown-menu li > div { min-width: 427px; padding: 0 10px; }
@media (max-width: 478px) { #cart .dropdown-menu li > div { min-width: 100%; } }
#cart .dropdown-menu li p { margin: 20px 0; }

/* ================== ГОЛОВНЕ МЕНЮ ================== */
#menu {
	background-color: #52753b;
	background-image: none;
	border: none;
    border-bottom: 4px solid #3b2313;
	min-height: 50px;
}
#menu .nav > li > a {
	color: #fff;
	text-shadow: none;
	padding: 15px 20px;
	min-height: 15px;
	background-color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#menu .nav > li > a:hover, #menu .nav > li.open > a { background-color: #3b2313; }
#menu .dropdown-menu { padding-bottom: 0; background-color: #3b2313; border: none; }
#menu .dropdown-inner { display: table; }
#menu .dropdown-inner ul { display: table-cell; }
#menu .dropdown-inner a {
	min-width: 160px;
	display: block;
	padding: 8px 20px;
	clear: both;
	line-height: 20px;
	color: #eee;
	font-size: 13px;
    font-weight: 500;
}
#menu .dropdown-inner li a:hover { color: #FFF; background-color: #52753b; }
#menu .see-all {
	display: block;
	margin-top: 0;
	border-top: 1px solid #2a190d;
	padding: 10px 20px;
	font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}
#menu .see-all:hover, #menu .see-all:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: #52753b;
	background-image: none;
}
#menu #category { float: left; padding-left: 15px; font-size: 16px; font-weight: 700; line-height: 50px; color: #fff; text-shadow: none; text-transform: uppercase; }
#menu .btn-navbar {
	font-size: 15px;
	color: #FFF;
	padding: 6px 18px;
	float: right;
	background-color: #3b2313;
	background-image: none;
	border: none;
    margin-top: 8px;
}
#menu .btn-navbar:hover { background-color: #2a190d; }

@media (min-width: 768px) { #menu .dropdown:hover .dropdown-menu { display: block; } }
@media (max-width: 767px) {
	#menu div.dropdown-inner > ul.list-unstyled { display: block; }
	#menu div.dropdown-menu { margin-left: 0 !important; padding-bottom: 10px; background-color: #3b2313; }
	#menu .dropdown-inner { display: block; }
	#menu .dropdown-inner a { width: 100%; color: #fff; }
	#menu .dropdown-menu a:hover, #menu .dropdown-menu ul li a:hover { background: #52753b; }
	#menu .see-all { margin-top: 0; border: none; color: #fff; }
}

#content { min-height: 600px; padding-bottom: 40px; }
#product-category #content, #product-product #tab-description, #information-information #content { font-size: 14px; }

/* ================== ФУТЕР ================== */
footer {
	margin-top: 40px;
	padding-top: 40px;
	background-color: #2a190d;
	border-top: 5px solid #52753b;
	color: #bbb;
}
footer hr { border-top: none; border-bottom: 1px solid #4a2d18; margin: 30px 0; }
footer a { color: #bbb; }
footer a:hover { color: #52753b; }
footer h5 {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.alert { padding: 12px 14px; border: none; }
.alert > .close { position: relative; top: -2px; right: 0px; color: inherit; }

/* ================== ХЛІБНІ КРИХТИ ================== */
.breadcrumb { margin: 0 0 20px 0; padding: 12px 0; border: none; background: transparent; border-bottom: 1px solid #ddd; }
.breadcrumb i { font-size: 15px; }
.breadcrumb > li { text-shadow: none; padding: 0 20px; position: relative; white-space: nowrap; font-weight: 500; }
.breadcrumb > li + li:before { content: ''; padding: 0; }
.breadcrumb > li:after {
	content: ''; display: block; position: absolute; top: -1px; right: -5px; width: 22px; height: 22px;
	border-right: 1px solid #999; border-bottom: 1px solid #999;
	-webkit-transform: rotate(-45deg); transform: rotate(-45deg);
}

.pagination { margin: 0; }

/* ================== КНОПКИ (ПЛОСКИЙ СТИЛЬ) ================== */
.buttons { margin: 1em 0; }
.btn {
	padding: 10px 16px;
	font-size: 13px;
	border: none;
	box-shadow: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s;
}
.btn-xs { font-size: 10px; padding: 4px 8px;}
.btn-sm { font-size: 11px; padding: 6px 12px;}
.btn-lg { padding: 12px 20px; font-size: 15px; }

.btn-default { color: #333; background-color: #e7e7e7; background-image: none; border: 1px solid #ccc; text-shadow: none; }
.btn-default:hover { background-color: #d4d4d4; }

.btn-primary {
	color: #ffffff;
	text-shadow: none;
	background-color: #52753b;
	background-image: none;
	border: 1px solid #52753b;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active { background-color: #3b2313; border-color: #3b2313; }

.btn-warning { color: #fff; background-color: #f0ad4e; background-image: none; border: none; text-shadow: none; }
.btn-danger { color: #fff; background-color: #d9534f; background-image: none; border: none; text-shadow: none; }
.btn-success { color: #fff; background-color: #52753b; background-image: none; border: none; text-shadow: none; }
.btn-info { color: #fff; background-color: #3b2313; background-image: none; border: none; text-shadow: none; }
.btn-info:hover { background-color: #2a190d; }

.btn-link { border-color: transparent; cursor: pointer; color: #52753b; border-radius: 0; }
.btn-link:hover { color: #3b2313; text-decoration: none; }

.btn-inverse { color: #ffffff; background-color: #363636; background-image: none; border: none; text-shadow: none; }
.btn-inverse:hover { background-color: #222222; }

/* Списки */
.list-group a { border: 1px solid #DDDDDD; color: #666; padding: 10px 15px; font-weight: 500; }
.list-group a.active, .list-group a.active:hover, .list-group a:hover { color: #fff; background: #52753b; border: 1px solid #52753b; text-shadow: none; }

.carousel-caption { color: #FFFFFF; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }

/* ================== КАРТКА ТОВАРУ ================== */
.product-thumb { border: 1px solid #eee; margin-bottom: 20px; overflow: auto; background: #fff; transition: 0.3s; }
.product-thumb:hover { border-color: #52753b; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.product-thumb .image { text-align: center; padding: 10px; }
.product-thumb .image a { display: block; }
.product-thumb .image a:hover { opacity: 0.8; }
.product-thumb .image img { margin-left: auto; margin-right: auto; }
.product-grid .product-thumb .image { float: none; }
@media (min-width: 767px) { .product-list .product-thumb .image { float: left; padding: 0 15px; } }

.product-thumb h4 { font-weight: 700; margin-top: 15px; }
.product-thumb h4 a { color: #222; }
.product-thumb h4 a:hover { color: #52753b; }
.product-thumb .caption { padding: 0 20px; min-height: 180px; }
.product-list .product-thumb .caption { margin-left: 230px; }
@media (max-width: 1200px) { .product-grid .product-thumb .caption { min-height: 210px; padding: 0 10px; } }
@media (max-width: 767px) { .product-list .product-thumb .caption { min-height: 0; margin-left: 0; padding: 0 10px; } .product-grid .product-thumb .caption { min-height: 0; } }

.product-thumb .rating { padding-bottom: 10px; }
.rating .fa-stack { font-size: 8px; }
.rating .fa-star-o { color: #ccc; font-size: 14px; }
.rating .fa-star { color: #52753b; font-size: 14px; }
.rating .fa-star + .fa-star-o { color: #52753b; }

h2.price { margin: 0; font-weight: 700; color: #3b2313; }
.product-thumb .price { color: #3b2313; font-size: 16px; font-weight: 700; margin-top: 10px; }
.product-thumb .price-new { font-weight: 700; color: #d9534f; }
.product-thumb .price-old { color: #999; text-decoration: line-through; margin-left: 10px; font-weight: normal; font-size: 14px; }
.product-thumb .price-tax { color: #999; font-size: 12px; display: block; font-weight: normal; margin-top: 5px; }

.product-thumb .button-group { border-top: 1px solid #eee; background-color: #f9f9f9; overflow: auto; }
.product-list .product-thumb .button-group { border-left: 1px solid #eee; }
@media (max-width: 768px) { .product-list .product-thumb .button-group { border-left: none; } }
.product-thumb .button-group button {
	width: 60%; border: none; display: inline-block; float: left;
	background-color: #f9f9f9; color: #444; line-height: 38px;
	font-weight: 700; text-align: center; text-transform: uppercase; font-size: 12px; transition: 0.2s;
}
.product-thumb .button-group button + button { width: 20%; border-left: 1px solid #eee; }
.product-thumb .button-group button:hover { color: #fff; background-color: #52753b; text-decoration: none; cursor: pointer; }
@media (max-width: 1200px) { .product-thumb .button-group button, .product-thumb .button-group button + button { width: 33.33%; } }
@media (max-width: 767px) { .product-thumb .button-group button, .product-thumb .button-group button + button { width: 33.33%; } }

.thumbnails { overflow: auto; clear: both; list-style: none; padding: 0; margin: 0; margin-left: -20px; }
.thumbnails > li { margin-left: 20px; }
.thumbnails > img { width: 100%; }
.image-additional a { margin-bottom: 20px; padding: 5px; display: block; border: 1px solid #eee; transition: 0.2s; }
.image-additional a:hover { border-color: #52753b; }
.image-additional { max-width: 78px; }
.thumbnails .image-additional { float: left; margin-left: 20px; }

@media (min-width: 1200px) { #content .col-lg-2:nth-child(6n+1), #content .col-lg-3:nth-child(4n+1), #content .col-lg-4:nth-child(3n+1), #content .col-lg-6:nth-child(2n+1) { clear:left; } }
@media (min-width: 992px) and (max-width: 1199px) { #content .col-md-2:nth-child(6n+1), #content .col-md-3:nth-child(4n+1), #content .col-md-4:nth-child(3n+1), #content .col-md-6:nth-child(2n+1) { clear:left; } }
@media (min-width: 768px) and (max-width: 991px) { #content .col-sm-2:nth-child(6n+1), #content .col-sm-3:nth-child(4n+1), #content .col-sm-4:nth-child(3n+1), #content .col-sm-6:nth-child(2n+1) { clear:left; } }

@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 { width: 100%; }
	#column-left + #content .product-layout .col-md-3 { width: 50%; }
	#column-left + #content + #column-right .product-layout .col-md-3 { width: 100%; }
    #content + #column-right .product-layout .col-md-3 { width: 100%; }
}

#column-left .product-layout, #column-right .product-layout { width: 100%; }
.input-group .form-control[name^=quantity] { min-width: 50px; }

/* RTL Fixes */
html[dir=rtl] .checkbox input[type="checkbox"], html[dir=rtl] .checkbox-inline input[type="checkbox"], html[dir=rtl] .radio input[type="radio"], html[dir=rtl] .radio-inline input[type="radio"] { position: absolute; margin-top: 4px\9; margin-right: -20px; margin-left: unset; }
html[dir=rtl] .input-group-btn:last-child > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
html[dir=rtl] .input-group .form-control:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: unset; border-bottom-left-radius: unset; }
html[dir=rtl] .container .row:first-child  .col-sm-4, html[dir=rtl] .container .row:first-child  .col-sm-5 { float: right; }
html[dir=rtl] #cart .dropdown-menu { left: 0; right: auto; }
@media (min-width: 768px) { html[dir=rtl] .navbar-nav { float: right; margin: 0; } html[dir=rtl] .navbar-nav > li { float: right; } }
/* Брендові кнопки на головній (Масивні) */
.custom-brand-buttons {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 10px 0 40px 0; /* Зменшено верхній відступ до 10px, щоб підтягнути до банера */
}
.btn-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 25px 20px;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 3px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

/* Налаштування самих іконок */
.btn-brand i {
    font-size: 30px; /* Робимо іконку більшою */
    margin-right: 15px; /* Додаємо простір між іконкою та текстом */
}

.btn-shop {
    background-color: #4a773c;
    border: 2px solid #4a773c;
}
.btn-shop:hover {
    background-color: #3b2314;
    border-color: #3b2314;
}
.btn-knowledge {
    background-color: #3b2314;
    border: 2px solid #3b2314;
}
.btn-knowledge:hover {
    background-color: #4a773c;
    border-color: #4a773c;
}

/* Адаптивність для телефонів */
@media (max-width: 768px) {
    .custom-brand-buttons {
        flex-direction: column;
        gap: 15px;
        margin: 15px 0 30px 0;
    }
    .btn-brand {
        width: 100%;
        padding: 20px;
        font-size: 18px;
    }
    .btn-brand i {
        font-size: 24px;
        margin-right: 10px;
    }
}
/* Базовий стиль для всіх плашок стану */
.status-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* 1. MINT / NOS (Новий / Колекційний) - Золотий преміум */
.badge-mint, .badge-nos { background-color: #d4af37; } 

/* 2. NEAR-MINT (Майже новий) - Бронзовий/Темне золото */
.badge-near-mint { background-color: #b87333; } 

/* 3. EXC (Відмінний) - Світла сталь */
.badge-exc { background-color: #7f8c8d; } 

/* 4. VG (Робочий стан) - Темна сталь / Патина */
.badge-vg { background-color: #5d6d7e; } 

/* 5. RESTORED (Професійна реставрація) - Глибокий синій (фірмовий колір відродження) */
.badge-restored { background-color: #2c3e50; } 

/* 6. FAIR / PROJECT (Під відновлення) - Приглушений бордовий */
.badge-fair, .badge-project { background-color: #78281f; }