/* ==========================================================================
   1. CLIENT BRANDBOOK VARIABLES 
   ========================================================================== */
:root {
  --brand-primary: #ff9119;       /* Main brand color (Replaces the default blue) */
  --brand-secondary: #36291f;     /* Hover states & accents */
  --brand-dark: #231f20;          /* Headings, main text */
  --brand-light: #f5eade;         /* Light backgrounds */
  --brand-footer: #36291f;        /* Footer background */
  --brand-infographic-bg: #f5eade; /* Soft milky light orange tint */
  --font-family: 'Gabarito', sans-serif;
  --border-radius: 4px;
}


body {
	font-family: 'Gabarito', sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 14px;
	line-height: 24px;
	width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	color: #444;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 27px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	color: #23a1d1;
}
a:hover {
	text-decoration: none;
}
legend {
	font-size: 18px;
	padding: 7px 0px
}
label {
	font-size: 12px;
	font-weight: normal;
}
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: 12px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
	font-size: 12px;
}
.input-group .input-group-addon {
	font-size: 12px;
	height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

.nav-tabs {
	margin-bottom: 15px;
}
div.required .control-label:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
/* top */
#top {
	background-color: #EEEEEE;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0px 3px 0;
	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 {
	text-shadow: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
#top .btn-link, #top-links li, #top-links a {
	color: #888;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}
#top .btn-link:hover, #top-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#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 */
#logo {
	margin: 0 0 10px 0;
}
/* search */
#search {
	margin-bottom: 10px;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 35px;
	text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
	margin-bottom: 10px;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
	overflow-y: auto;
	max-height: 800px;
	scrollbar-width: thin;
	overflow-x: hidden;
}
@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 */
#menu {
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
	min-height: 40px;
}
#menu .nav > li > a {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	padding: 10px 15px 10px 15px;
	min-height: 15px;
	background-color: transparent;
}
#menu .nav > li > a:hover, #menu .nav > li.open > a {
	background-color: rgba(0, 0, 0, 0.1);
}
#menu .dropdown-menu {
	padding-bottom: 0;
}
#menu .dropdown-inner {
	display: table;
}
#menu .dropdown-inner ul {
	display: table-cell;
}
#menu .dropdown-inner a {
	min-width: 160px;
	display: block;
	padding: 3px 20px;
	clear: both;
	line-height: 20px;
	color: #333333;
	font-size: 12px;
}
#menu .dropdown-inner li a:hover {
	color: #FFFFFF;
}
#menu .see-all {
	display: block;
	margin-top: 0.5em;
	border-top: 1px solid #DDD;
	padding: 3px 20px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 3px 3px;
	font-size: 12px;
}
#menu .see-all:hover, #menu .see-all:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
}
#menu #category {
	float: left;
	padding-left: 15px;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .btn-navbar {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 2px 18px;
	float: right;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
#menu .btn-navbar:hover, #menu .btn-navbar:focus, #menu .btn-navbar:active, #menu .btn-navbar.disabled, #menu .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #229ac8;
}
@media (min-width: 768px) {
	#menu .dropdown:hover .dropdown-menu {
		display: block;
	}
}
@media (max-width: 767px) {
	#menu {
		border-radius: 4px;
	}
	#menu div.dropdown-inner > ul.list-unstyled {
		display: block;
	}
	#menu div.dropdown-menu {
		margin-left: 0 !important;
		padding-bottom: 10px;
		background-color: rgba(0, 0, 0, 0.1);
	}
	#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: rgba(0, 0, 0, 0.1);
	}
	#menu .see-all {
		margin-top: 0;
		border: none;
		border-radius: 0;
		color: #fff;
	}
}
/* content */
#content {
	min-height: 600px;
}
#product-category #content, #product-product #tab-description, #information-information #content {
	font-size: 13px;
}
/* footer */
footer {
	margin-top: 30px;
	padding-top: 30px;
	background-color: #303030;
	border-top: 1px solid #ddd;
	color: #e2e2e2;
}
footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}
footer a {
	color: #ccc;
}
footer a:hover {
	color: #fff;
}
footer h5 {
	font-family: 'Gabarito', sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}
/* alert */
.alert {
	padding: 8px 14px 8px 14px;
}
.alert > .close {
	position: relative;
	top: -2px;
	right: 0px;
	color: inherit;
}
/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;

}
.pagination {
	margin: 0;
}
/* buttons */
.buttons {
	margin: 1em 0;
}
.btn {
	padding: 7.5px 12px;
	font-size: 12px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-xs {
	font-size: 9px;
}
.btn-sm {
	font-size: 10.2px;
}
.btn-lg {
	padding: 10px 16px;
	font-size: 15px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
	font-size: 12px;
}
.btn-group > .btn-xs {
	font-size: 9px;
}
.btn-group > .btn-sm {
	font-size: 10.2px;
}
.btn-group > .btn-lg {
	font-size: 15px;
}
.btn-default {
	color: #777;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #e7e7e7;
	background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
	background-repeat: repeat-x;
	border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
	background-repeat: repeat-x;
	border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	background-color: #1f90bb;
	background-position: 0 -15px;
}
.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #faa732;
	background-image: linear-gradient(to bottom, #fbb450, #f89406);
	background-repeat: repeat-x;
	border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	background-image: linear-gradient(to bottom, #62c462, #51a351);
	background-repeat: repeat-x;
	border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #df5c39;
	background-image: linear-gradient(to bottom, #e06342, #dc512c);
	background-repeat: repeat-x;
	border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-image: none;
	background-color: #df5c39;
}
.btn-link {
	border-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	color: #23A1D1;
	border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	box-shadow: none;
}
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
	border: 1px solid #DDDDDD;
	color: #888888;
	padding: 8px 12px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #444444;
	background: #eeeeee;
	border: 1px solid #DDDDDD;
	text-shadow: 0 1px 0 #FFF;
}
/* carousel */
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
/* product list */
.product-thumb {
	border: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: auto;
}
.product-thumb .image {
	text-align: center;
}
.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: bold;
}
.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: #999;
	font-size: 15px;
}
.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}
.rating .fa-star + .fa-star-o {
	color: #E69500;
}
h2.price {
	margin: 0;
}
.product-thumb .price {
	color: #444;
}
.product-thumb .price-new {
	font-weight: 600;
}
.product-thumb .price-old {
	color: #999;
	text-decoration: line-through;
	margin-left: 10px;
}
.product-thumb .price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}
.product-thumb .button-group {
	border-top: 1px solid #ddd;
	background-color: #eee;
	overflow: auto;
}
.product-list .product-thumb .button-group {
	border-left: 1px solid #ddd;
}
@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: #eee;
	color: #888;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.product-thumb .button-group button + button {
	width: 20%;
	border-left: 1px solid #ddd;
}
.product-thumb .button-group button:hover {
	color: #444;
	background-color: #ddd;
	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;
}
.thumbnails > li {
	margin-left: 20px;
}
.thumbnails {
	margin-left: -20px;
}
.thumbnails > img {
	width: 100%;
}
.image-additional a {
	margin-bottom: 20px;
	padding: 5px;
	display: block;
	border: 1px solid #ddd;
}
.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;
	}
}

/* fixed colum left + content + right*/
@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%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^=quantity] {
	min-width: 50px;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    background-image: none;
    background-color: #df5c39;
}
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: 5px;
    border-bottom-left-radius: 5px;
}
html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    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;
    }
   
}



/* ==========================================================================
   2. BRAND OVERRIDES - spremembe začetne teme OpenCart
   ========================================================================== */

/* --- Typography & Links --- */
body {
  font-family: var(--font-family);
  color: var(--brand-dark);
}

a, .btn-link {
  color: var(--brand-primary);
}

a:hover {
  color: var(--brand-secondary);
}

/* --- Top Utility Bar (#top) --- */
#top {
  background-color: var(--brand-light);
}

/* --- Main Navigation Bar (#menu) --- */
#menu {
  background-color: var(--brand-primary);
  background-image: none; /* Removes OpenCart's default blue gradient */
  border-color: var(--brand-primary);
  border-radius: var(--border-radius);
}

#menu .see-all:hover, 
#menu .see-all:focus,
#menu .btn-navbar,
.dropdown-menu li > a:hover {
  background-color: var(--brand-secondary);
  background-image: none;
}

/* --- Buttons (.btn-primary) --- */
.btn-primary {
  background-color: var(--brand-primary);
  background-image: none; /* Removes standard gradient */
  border-color: var(--brand-primary);
  border-radius: var(--border-radius);
  color: #ffffff;
}

.btn-primary:hover, 
.btn-primary:active, 
.btn-primary:focus {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

/* --- Cart Button & Dropdown (#cart) --- */
#cart > .btn {
  background-color: var(--brand-primary);
  background-image: none;
  border-color: var(--brand-primary);
}

/* --- Product Cards (.product-thumb) --- */
.product-thumb {
  border-radius: var(--border-radius);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-thumb:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-thumb .price {
  color: var(--brand-primary);
}

/* --- Footer --- */
footer {
  background-color: var(--brand-footer);
}

/* ==========================================================================
   STICKY HEADER & UNIFIED NAVIGATION BAR
   ========================================================================== */

/* 1. Sticky Base */
.sticky-header-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#top {
  margin-bottom: 0 !important;
}

.custom-main-nav {
  background-color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.nav-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo-wrapper { flex: 0 0 auto; }
.nav-logo-img { max-height: 42px; width: auto; display: block; }
.nav-logo-text { font-size: 20px; font-weight: 700; color: var(--brand-dark, #1e293b); text-decoration: none; }

/* 2. Navigation List Styling */
.custom-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-dark, #334155);
  text-decoration: none;
  border-radius: var(--border-radius, 4px);
  background-color: transparent;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.nav-btn:hover {
  color: var(--brand-primary, #1e3a8a);
  background-color: rgba(30, 58, 138, 0.06);
  text-decoration: none;
}

.nav-btn.active {
  color: var(--brand-primary, #1e3a8a);
  border-bottom: 2px solid var(--brand-primary, #1e3a8a);
}

/* "Trgovina" Call-To-Action Button (Desktop Default) */
.nav-btn-cta {
  background-color: var(--brand-primary, #1e3a8a);
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: var(--border-radius, 4px);
  box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
}

.nav-btn-cta:hover {
  background-color: var(--brand-secondary, #0d9488) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* 3. Shopping Cart Button */
.nav-cart-wrapper #cart > .btn {
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--brand-dark, #1e293b);
  border-radius: var(--border-radius, 4px);
  padding: 8px 14px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}
.nav-cart-wrapper #cart > .btn:hover {
  background-color: var(--brand-primary, #1e3a8a);
  border-color: var(--brand-primary, #1e3a8a);
  color: #ffffff;
}

/* 4. Animated Dropdown Arrow for Categories */
#menu .navbar-toggle {
  background: transparent;
  border: none;
}

/* Change Categories Hamburger to Arrow */
#menu .navbar-toggle .fa-bars::before {
  content: "\f078"; /* FontAwesome fa-chevron-down */
  font-family: FontAwesome;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
  font-size: 14px;
}

/* Rotate Arrow 180 degrees when expanded */
#menu .navbar-toggle:not(.collapsed) .fa-bars::before {
  transform: rotate(180deg);
}

/* ==========================================================================
   RESPONSIVE LAYOUT RULES (Final Clean Desktop & Mobile Split)
   ========================================================================== */

.nav-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* DESKTOP (Screens larger than 767px) */
@media (min-width: 768px) {
  .custom-nav-toggle { 
    display: none !important; 
  }
  
  .desktop-nav-area {
    display: flex !important;
    flex: 1;
    justify-content: center;
  }

  .desktop-nav-area .custom-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* STRICTLY HIDE MOBILE NAV ON DESKTOP */
  #master-nav-area .mobile-only-nav {
    display: none !important;
  }

  #master-nav-area {
    display: block !important;
    background-color: transparent;
    padding: 10px 0 0 0;
    border-top: none;
  }

  .oc-categories-wrapper {
    display: block !important;
  }
}

/* MOBILE / TABLET (Screens 767px and smaller) */
@media (max-width: 767px) {
  .desktop-nav-area {
    display: none !important;
  }

  .nav-logo-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }

  .custom-nav-toggle {
    display: block !important;
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 20px;
    color: var(--brand-dark, #1e293b);
    margin: 0 auto;
  }

  .nav-cart-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  #master-nav-area {
    display: none; /* Controlled by jQuery slideToggle */
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 15px;
  }

  /* SHOW MOBILE NAV INSIDE DROPDOWN ON MOBILE */
  #master-nav-area .mobile-only-nav {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
  }

  #master-nav-area .mobile-only-nav .nav-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px 15px;
  }

  /* RESET: Make "Trgovina" look like a normal text link on mobile dropdown */
  #master-nav-area .mobile-only-nav .nav-btn-cta {
    background-color: transparent !important;
    color: var(--brand-dark, #334155) !important;
    box-shadow: none !important;
    border-radius: 0;
  }
  #master-nav-area .mobile-only-nav .nav-btn-cta:hover {
    color: var(--brand-primary, #1e3a8a) !important;
    background-color: rgba(30, 58, 138, 0.06) !important;
  }

  .oc-categories-wrapper {
    display: block !important;
  }

  /* Center OpenCart Categories on Mobile */
  #menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    min-height: auto !important;
  }
  #menu .navbar-header {
    background: transparent !important;
    border: none !important;
    text-align: center;
  }
  #menu #category {
    color: var(--brand-dark, #334155) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-shadow: none !important;
    padding: 10px 0 !important;
    text-align: center;
    display: inline-block;
  }
  #menu .navbar-toggle {
    color: var(--brand-dark, #334155) !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    display: inline-block;
    float: none;
    margin: 0;
  }
  #menu .navbar-collapse {
    text-align: center;
  }
  #menu .nav > li {
    display: block;
    float: none;
  }
  #menu .nav > li > a {
    text-align: center;
    padding: 10px 15px;
  }
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner-wrapper {
  position: relative;
  width: 100vw;
  height: 60vh; /* Adjust how tall you want it (60% of screen height) */
  min-height: 400px;
  
  /* This breaks the banner out of OpenCart's standard boxed container */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 40px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* We use an <img> tag instead of background-image so the client can edit it in OpenCart */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space without stretching */
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 40% black overlay */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* Helps it pop off the background */
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.hero-btn {
  font-size: 16px;
  padding: 12px 35px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .hero-banner-wrapper {
    height: 50vh;
    min-height: 300px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}

/* ==========================================================================
   COMPANY INTRODUCTION SECTION
   ========================================================================== */
.company-intro-section {
  padding: 80px 0;
}

.company-intro-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* Left Image Column */
.company-img-col {
  flex: 1;
}

.rounded-image {
  width: 100%;
  height: auto;
  border-radius: 16px; /* Smooth rounded corners */
  object-fit: cover;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Right Text Column */
.company-text-col {
  flex: 1;
  text-align: center;
}

/* Logo Icon on Top */
.company-logo-icon {
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

.company-logo-icon img {
  max-height: 50px; /* Controls the size of your mini logo icon */
  width: auto;
  display: block; /* Removes inline spacing quirks */
}

/* Title Styling (First word bolder/accented) */
.company-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--brand-dark, #231f20);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the text, tag, and line */
}

/* First Word Styled as the Elegant Sub-badge */
.company-title .first-word {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--brand-primary, #ff9119);
  background-color: transparent;
  padding: 0;
  margin-bottom: 10px;
}

/* Automatically adds the orange line under the title */
.company-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--brand-primary, #ff9119);
  margin: 20px auto 0 auto;
}

/* Paragraph Styling */
.company-paragraph {
  font-size: 18px;
  line-height: 1.7;
  color: #666666;
  margin: 0 auto;
  max-width: 520px;
}

.company-paragraph .bold-accent {
  font-weight: 700;
  color: var(--brand-dark, #231f20);
}

/* Responsive Design (Stacks columns on mobile screens) */
@media (max-width: 767px) {
  .company-intro-section {
    padding: 40px 0;
  }
  
  .company-intro-grid {
    flex-direction: column;
    gap: 30px;
  }
  
  .company-text-col {
    text-align: center; /* Centers text neatly on phones */
  }
  
  .company-logo-icon {
    display: flex;
    justify-content: center;
  }
  
  .company-title {
    font-size: 28px;
  }
  
  .company-paragraph {
    font-size: 15px;
  }
}

/* Bold accent spans inside paragraphs */
.company-paragraph .bold-accent {
  font-weight: 700;
  color: var(--brand-dark, #231f20); /* Change to var(--brand-primary) if you want them highlighted in your brand color instead */
}

/* ==========================================================================
   ELEGANT FEATURES SECTION (White Cards on Orange Background)
   ========================================================================== */

/* 1. Section Container (Full width, light orange background) */
.elegant-features-section {
  background-color: #fff9f2; /* Light orange background */
  width: 100vw; /* Ensures it spans the entire width of the screen */
  margin-left: calc(-50vw + 50%); /* Forces full width even if inside a container */
  padding: 80px 0;
}

/* 2. Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.sub-badge {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--brand-primary, #ff9119);
  margin-bottom: 10px;
}

.elegant-section-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--brand-dark, #231f20);
  margin: 0;
  line-height: 1.25;
}

.title-divider {
  width: 40px;
  height: 2px;
  background-color: var(--brand-primary, #ff9119);
  margin: 20px auto 0 auto;
}

/* 3. The Grid */
.elegant-features-grid {
  display: flex;
  gap: 30px; /* Space between the white cards */
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px; /* Keeps the cards centered nicely on big screens */
  margin: 0 auto;
}

/* 4. The White Square Cards (This is what animates now) */
.elegant-feature-card {
  flex: 1;
  min-width: 320px; 
  background-color: #ffffff; /* Keeps the cards pure white */
  padding: 40px 20px; /* Creates the square/rectangle shape around the circle */
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* Subtle resting shadow */
  
  /* Creates an invisible border on the card that waits for the hover state */
  border: 2px solid transparent; 
  
  /* Premium expand animation for the whole white card */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

/* 5. Card Hover Effects */
.elegant-feature-card:hover {
  transform: scale(1.05); /* The white card grows bigger */
  border-color: var(--brand-primary, #ff9119); /* Orange border applies to the card */
  box-shadow: 0 15px 35px rgba(255, 145, 25, 0.10); /* Orange glowing shadow on the card */
}

/* 6. The 350px Circular Image Container */
.card-icon-wrapper {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1; /* Keeps it a perfect circle */
  margin: 0 auto 25px auto;
  border-radius: 50%; /* Makes the image round inside the square card */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Notice: Border and shadow have been removed from here! */
}

/* 7. The Image Inside the Circle */
.card-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures image fills the circle */
  transition: transform 0.6s ease;
}

/* Inner image still zooms slightly when hovering over the white card */
.elegant-feature-card:hover .card-icon-wrapper img {
  transform: scale(1.08); 
}

/* 8. Typography */
.card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-dark, #231f20);
  margin-top: 0;
  margin-bottom: 12px;
}

.card-text {
  font-size: 16px; 
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* ==========================================================================
   MATERIALS & PRODUCTS SECTION (Expandable Cards)
   ========================================================================== */

/* 1. Section Container */
.materials-section {
  background-color: #e8d8c7; /* The darker, warm tone you requested */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 0;
}

/* 2. Grid Layout */
.materials-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* 3. The White Cards */
.material-card {
  flex: 1;
  min-width: 320px;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 4px; /* Slight softening of the corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left; /* Left align is much cleaner for paragraphs */
  display: flex;
  flex-direction: column;
}

/* 4. Card Typography */
.material-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-dark, #231f20);
  margin-top: 0;
  margin-bottom: 15px;
}

.material-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* 5. The CSS-Only Expand Logic */
.material-toggle {
  display: none; /* Hides the actual checkbox */
}

.material-hidden-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
  margin-top: 0;
}

.material-hidden-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin: 0;
  padding-top: 15px; /* Adds space when it opens */
  border-top: 1px dashed #e0e0e0; /* Subtle line separating excerpt and full text */
}

/* When checkbox is clicked, expand the content */
.material-toggle:checked ~ .material-hidden-content {
  max-height: 500px; /* Gives it enough room to open */
  opacity: 1;
  margin-top: 15px;
}

/* 6. Buttons and Links Area */
.material-actions {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

/* Expand/Collapse Text Button */
.read-more-btn {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.read-more-btn:hover {
  color: var(--brand-primary, #ff9119);
}

/* Shop Link Button */
.shop-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-primary, #ff9119);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.shop-link:hover {
  color: var(--brand-dark, #231f20);
}

/* 7. Swapping "Read More" to "Hide" */
.text-collapse {
  display: none;
}

.material-toggle:checked ~ .material-actions .read-more-btn .text-expand {
  display: none;
}

.material-toggle:checked ~ .material-actions .read-more-btn .text-collapse {
  display: inline;
}

/* ==========================================================================
   CARD TOP IMAGE STYLING
   ========================================================================== */

/* 1. Image Wrapper (Bleeds to the edges of the white card) */
.material-img-wrapper {
  margin: -40px -40px 25px -40px; /* Pulls the image to the top and side borders */
  height: 200px; /* Adjust this height if you want taller or shorter images */
  overflow: hidden;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

/* 2. The Image Itself */
.material-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the space nicely without distortion */
  transition: transform 0.6s ease; /* Prepares the smooth zoom effect */
}

/* 3. Hover Effect (Image zooms in when you hover over the card) */
.material-card:hover .material-img-wrapper img {
  transform: scale(1.08);
}

/* ==========================================================================
   CALL TO ACTION (CONTACT / POVPRAŠEVANJE) SECTION
   ========================================================================== */

.cta-contact-section {
  background-color: #e8d8c7; /* The darker warm tone requested */
  
  /* Forces full screen width and breaks out of the OpenCart container */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  
  padding: 80px 0;
  text-align: center;
  
  /* Pulls the section down to swallow the 30px top margin of the footer, making them touch perfectly */
  margin-bottom: -30px; 
  position: relative;
  z-index: 10;
}

/* Adjustments specific to the paragraph inside the CTA to give the button room to breathe */
.cta-contact-section .cta-paragraph {
  margin-top: 25px;
  margin-bottom: 35px;
}

/* Enhancing the primary button to make it a prominent CTA */
.cta-contact-section .cta-btn {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 145, 25, 0.2); /* Subtle orange glow */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-contact-section .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 145, 25, 0.35); /* Stronger glow on hover */
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .cta-contact-section {
    padding: 50px 20px;
  }
  
  .cta-contact-section .cta-btn {
    width: 100%; /* Makes the button full width on mobile for easier tapping */
    max-width: 300px;
  }
}

/* ==========================================================================
   UNIFIED OPENCART PRODUCT MODULES (Featured, Latest, Bestseller, Special)
   ========================================================================== */

/* 1. Module Container Spacing */
.row .product-layout {
  margin-bottom: 30px;
}

/* 2. The Product Card (Thumb) */
.product-thumb {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  text-align: center;
  padding-bottom: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover effect matching your custom cards */
.product-thumb:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary, #ff9119);
  box-shadow: 0 15px 35px rgba(255, 145, 25, 0.15);
}

/* 3. Product Image Styling */
.product-thumb .image {
  background-color: #fcfcfc;
  padding: 15px;
  overflow: hidden;
}

.product-thumb .image img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.product-thumb:hover .image img {
  transform: scale(1.06); /* Subtle zoom effect */
}

/* 4. Product Content & Typography */
.product-thumb .caption {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left; /* Aligns product name nicely */
}

.product-thumb .caption h4 a {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-dark, #231f20);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-thumb .caption h4 a:hover {
  color: var(--brand-primary, #ff9119);
}

/* Product Description (if enabled) */
.product-thumb .caption p {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
}

/* 5. Pricing */
.product-thumb .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-dark, #231f20);
  margin-top: 10px;
}

.product-thumb .price .price-old {
  color: #999999;
  font-weight: 400;
  font-size: 13px;
  text-decoration: line-through;
  margin-right: 8px;
}

.product-thumb .price .price-new {
  color: var(--brand-primary, #ff9119);
}

/* 6. Action Buttons (Cart, Wishlist, Compare) */
.product-thumb .button-group {
  border-top: 1px solid #f0f0f0;
  background-color: #ffffff;
  padding: 10px 20px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Main "Add to Cart" button styling */
.product-thumb .button-group button {
  background-color: transparent;
  border: 1px solid var(--brand-primary, #ff9119);
  color: var(--brand-primary, #ff9119);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.product-thumb .button-group button:hover {
  background-color: var(--brand-primary, #ff9119);
  color: #ffffff;
}

/* Wishlist and Compare icon buttons */
.product-thumb .button-group button + button {
  width: auto;
  border-color: #ddd;
  color: #666;
}

.product-thumb .button-group button + button:hover {
  border-color: var(--brand-dark, #231f20);
  background-color: var(--brand-dark, #231f20);
  color: #fff;
}

/* Remove text next to the cart icon across all product cards, leaving only the icon */
/*.product-thumb .button-group button span {
    display: none !important;
}*/

/* Completely remove the top utility bar (phone, account, wishlist) */
#top {
    display: none !important;
}

/* Hide Wishlist and Compare buttons on product cards */
.product-thumb .button-group button[onclick*="wishlist.add"],
.product-thumb .button-group button[onclick*="compare.add"] {
    display: none !important;
}

/* Make the remaining cart button stretch to fill the full card width */
.product-thumb .button-group button {
    width: 100% !important;
    float: none !important;
}

/* ==========================================================================
   FOOTER BOTTOM CREDITS
   ========================================================================== */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
}

.footer-bottom p {
  margin: 0;
  color: #ccc;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--brand-primary, #ff9119);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Mobile stacking */
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom .text-left, 
  .footer-bottom .text-right {
    text-align: center;
  }
}

/* ==========================================================================
   FEATURED PRODUCTS MODULE SPACING
   ========================================================================== */

.featured-products-section {
  padding-top: 80px;
  padding-bottom: 50px;
}

/* Ensures heading alignment and bottom margin before the grid starts */
.featured-products-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Mobile responsive padding */
@media (max-width: 767px) {
  .featured-products-section {
    padding-top: 50px;
    padding-bottom: 30px;
  }
}

/* ==========================================================================
   MOBILE 2-COLUMN GRID OPTIMIZATIONS
   ========================================================================== */

@media (max-width: 767px) {
  /* Reduce side padding on mobile containers so cards have room */
  .row .product-layout {
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 12px;
  }

  /* Equalize card heights on mobile */
  .product-thumb {
    padding-bottom: 12px;
  }

  /* Scale down image padding and typography slightly */
  .product-thumb .image {
    padding: 8px;
  }

  .product-thumb .caption {
    padding: 10px 8px;
  }

  .product-thumb .caption h4 a {
    font-size: 13px;
    line-height: 1.3;
  }

  .product-thumb .price {
    font-size: 14px;
    margin-top: 6px;
  }

  /* Adjust button size for mobile touch targets */
  .product-thumb .button-group {
    padding: 8px 8px 0 8px;
  }

  .product-thumb .button-group button {
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* Force 2 columns on mobile in Category Grid View */
@media (max-width: 767px) {
  #content .product-layout.product-grid {
    width: 50% !important;
    float: left !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* ==========================================================================
   CATEGORY MENU - DESKTOP & MOBILE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESKTOP STYLES (Big Screens: 768px and up)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  
  /* Main navigation top-level categories - ALWAYS WHITE */
  #menu .nav > li > a,
  #menu .nav > li > a:hover,
  #menu .nav > li > a:focus,
  #menu .nav > li.open > a,
  .oc-categories-wrapper .nav > li > a {
    color: #ffffff !important;
  }

  /* Sub-categories inside dropdown menu - BLACK when NOT hovering */
  #menu .dropdown-menu a,
  #menu .dropdown-inner a,
  #menu .see-all {
    color: #2c2523 !important;
    background-color: transparent !important;
  }
  
  /* Sub-categories inside dropdown menu - WHITE text on dark background ON HOVER */
  #menu .dropdown-menu a:hover,
  #menu .dropdown-inner a:hover,
  #menu .see-all:hover {
    color: #ffffff !important;
    background-color: #2c2523 !important;
  }
}

/* --------------------------------------------------------------------------
   2. MOBILE STYLES (Small Screens: under 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

  /* Hide duplicate theme arrows on mobile */
  #category i,
  #category svg,
  #category::before,
  #menu .navbar-header span::after,
  #menu .navbar-header span::before {
    content: none !important;
    display: none !important;
  }

  /* Single downward arrow for mobile category button */
  #category::after {
    content: "\f078" !important; /* FontAwesome Chevron-Down */
    font-family: 'FontAwesome' !important;
    display: inline-block !important;
    margin-left: 8px !important;
    font-size: 13px !important;
    color: #2c2523 !important;
    transform: none !important;
  }

  /* Dark text for mobile category titles & accordion links */
  #category,
  .oc-categories-wrapper a,
  .oc-categories-wrapper .nav > li > a,
  .oc-categories-wrapper .dropdown-menu a {
    color: #2c2523 !important;
    font-weight: 600;
  }

  .oc-categories-wrapper a:hover,
  #menu .nav > li > a:hover {
    color: var(--brand-primary, #ff9119) !important;
  }

  /* Subtle background for mobile dropdown items */
  .oc-categories-wrapper .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.03) !important;
    box-shadow: none !important;
    border: none !important;
  }
  
  .oc-categories-wrapper .dropdown-menu a {
    padding: 8px 15px !important;
  }
}

/* ==========================================================================
   ABOUT US SECTION (Najina Zgodba)
   ========================================================================== */

/* 1. Top Section (White Background, Centered Text) */
.about-intro-section {
    background-color: #ffffff; /* White background */
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Full screen width breakout */
    padding: 80px 0 50px 0; /* Less padding at the bottom to connect to the next section */
}

/* Wrapper to keep the intro paragraph narrow and readable */
.about-intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-paragraph {
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 20px;
}

.centered-text {
    text-align: center;
    font-size: 18px; /* Slightly larger for the intro to make it pop */
    margin-bottom: 0;
}

.about-paragraph .bold-accent {
    font-weight: 700;
    color: var(--brand-dark, #231f20);
}

/* 2. Bottom Section (Warm Background, Story & Images) */
.about-content-section {
    background-color: #fff9f2; /* Soft warm background */
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Full screen width breakout */
    padding: 60px 0 80px 0;
}

/* Shared Container constraint for full-width sections */
.about-intro-section .container,
.about-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 3. Two-column Layout for the bottom section */
.about-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text Column */
.about-text-col {
    flex: 1;
    text-align: left;
}

.story-conclusion {
    font-weight: 600;
    color: var(--brand-dark, #231f20);
    border-left: 3px solid var(--brand-primary, #ff9119);
    padding-left: 15px;
    margin-top: 25px;
}

/* 4. Creative 3-Image Column */
.about-images-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Main primary image styling */
.about-image-main {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Sub grid for the two smaller images */
.about-image-sub-grid {
    display: flex;
    gap: 20px;
}

.about-image-card {
    flex: 1;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Zoom & Glow Effects */
.about-image-main:hover, 
.about-image-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary, #ff9119);
    box-shadow: 0 15px 35px rgba(255, 145, 25, 0.15);
}

.about-image-main:hover img, 
.about-image-card:hover img {
    transform: scale(1.06);
}

/* 5. Responsive Adjustments for Mobile */
@media (max-width: 991px) {
    .about-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-images-col {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .about-intro-section {
        padding: 50px 0 30px 0;
    }
    
    .about-content-section {
        padding: 40px 0 50px 0;
    }

    .about-image-main {
        height: 220px;
    }
    
    .about-image-card {
        height: 130px;
    }
    
    .about-paragraph {
        font-size: 15px;
    }

    .centered-text {
        font-size: 16px;
    }
}

/* ==========================================================================
   CONTACT PAGE STYLING
   ========================================================================== */

/* 1. Top Section (White Background) */
.contact-intro-section {
    background-color: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 20px 0 40px 0;
}

/* 2. Bottom Section (Warm Background) */
.contact-content-section {
    background-color: #fff9f2; /* Soft warm background */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 60px 0 80px 0;
}

/* Shared Container constraint */
.contact-intro-section .container,
.contact-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 3. Grid for the Cards */
.contact-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* 4. Elegant Cards */
.contact-card {
    flex: 1;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary, #ff9119);
    box-shadow: 0 15px 35px rgba(255, 145, 25, 0.12);
}

.contact-card .card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-dark, #231f20);
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 15px;
}

/* 5. Store Image (Ensures crisp display & proper sizing) */
.info-card-content .store-image {
    margin-bottom: 25px;
    text-align: center;
}

.info-card-content .store-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* 6. Detail Blocks */
.detail-block {
    margin-bottom: 20px;
}

.detail-block strong {
    color: var(--brand-dark, #231f20);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.detail-block strong i {
    color: var(--brand-primary, #ff9119);
}

.detail-block address, 
.detail-block p {
    color: #666666;
    margin: 0;
    line-height: 1.6;
    font-style: normal;
}

/* 7. Modern Form */
.custom-form-group {
    margin-bottom: 20px;
}

.custom-form-group .control-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark, #231f20);
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.custom-input {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    box-shadow: none !important;
    padding: 12px 15px;
    height: auto;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    border-color: var(--brand-primary, #ff9119);
    outline: none;
}

/* 8. Submit Button */
.full-width-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
}

/* 9. Responsive Adjustments */
@media (max-width: 991px) {
    .contact-grid {
        flex-direction: column;
    }
    .contact-card {
        width: 100% !important; 
    }
}

@media (max-width: 767px) {
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-intro-section {
        padding: 20px 0 30px 0;
    }
    
    .contact-content-section {
        padding: 40px 0 50px 0;
    }
}

/* ======================================================
   MOBILE BURGER MENU: KATEGORIJE PERFECT CENTER & ARROW
   ====================================================== */

@media (max-width: 767px) {
  /* 1. Center the header container */
  #menu .navbar-header {
    text-align: center !important;
    float: none !important;
    width: 100% !important;
    display: block !important;
  }

  /* 2. Flexbox centers the text and arrow flawlessly */
  #menu #category {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    float: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 15px 0 !important;
    cursor: pointer !important;
  }

  /* 3. Style the specific arrow icon */
  #menu #category i.category-arrow {
    display: inline-block !important;
    margin-left: 8px !important;
    font-size: 13px !important;
    transition: transform 0.3s ease !important;
  }

  /* 4. Rotate arrow when active (Uses the Javascript already in your header.twig) */
  #menu #category i.category-arrow.is-active {
    transform: rotate(180deg) !important;
  }

  /* 5. NUKE any ghost pseudo-element arrows generated by default OpenCart */
  #menu #category::after,
  #menu #category::before {
    display: none !important;
    content: none !important;
  }
}

/* ======================================================
   ALIGNMENT FIX: REMOVE DOUBLE-CONTAINER SHIFT
   ====================================================== */

/* 1. Remove the extra padding from the nested container in the menu */
.oc-categories-wrapper .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}

/* 2. Strip any default Bootstrap margins from the navbar that might push it off-center */
.oc-categories-wrapper #menu.navbar {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Hide the Register option on default checkout */
#collapse-checkout-option label[for="input-account-register"],
#collapse-checkout-option input[value="register"] {
    display: none !important;
}