/* Bigpapir Products - Frontend Styles */
/* =============================
   Product page layout
   ============================= */
.bigpapir-product-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 20px 60px;
}
.bigpapir-breadcrumb {
	font-size: 13px;
	color: #888888;
	margin-bottom: 24px;
}
.bigpapir-breadcrumb a {
	color: #888888;
	text-decoration: none;
}
.bigpapir-breadcrumb a:hover {
	color: #333333;
}
.bigpapir-breadcrumb span {
	color: #333333;
}
.bigpapir-product-layout {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	margin-bottom: 48px;
}
/* Gallery */
.bigpapir-gallery {
	flex: 0 0 45%;
	position: sticky;
	top: 20px;
}
.bigpapir-gallery-main img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
	border: 1px solid #eeeeee;
}
/* Info column */
.bigpapir-info {
	flex: 1;
	min-width: 0;
}
.bigpapir-product-title {
	font-size: 26px;
	line-height: 1.3;
	margin: 0 0 4px;
}
.bigpapir-model-code {
	font-size: 13px;
	color: #999999;
	margin: 0 0 16px;
	font-family: monospace;
}
.bigpapir-short-desc {
	font-size: 15px;
	color: #555555;
	line-height: 1.6;
	margin-bottom: 20px;
}
/* Price */
.bigpapir-price-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 24px;
}
.bigpapir-price-value {
	font-size: 28px;
	font-weight: 700;
	color: #222222;
}
.bigpapir-price-vat {
	font-size: 13px;
	color: #999999;
}
/* Color swatches */
.bigpapir-field-label {
	font-weight: 600;
	font-size: 14px;
	margin: 0 0 8px;
}
.bigpapir-selected-color-name {
	font-weight: 400;
	color: #555555;
}
.bigpapir-color-section {
	margin-bottom: 20px;
}
.bigpapir-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bigpapir-swatch {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #555555;
	cursor: pointer;
	padding: 0;
	background-size: cover;
	background-position: center;
	transition: border-color .15s, outline .15s;
	outline: 2px solid transparent;
	outline-offset: 2px;
}
.bigpapir-swatch:hover {
	border-color: #999999;
}
.bigpapir-swatch.active {
	border-color: #222222;
	outline: 1px solid #222222;
}
/* Size buttons */
.bigpapir-size-section {
	margin-bottom: 20px;
}
.bigpapir-size-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bigpapir-size-btn {
	padding: 8px 16px;
	min-width: 52px;
	border: 1px solid #dddddd;
	background: #ffffff;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-family: inherit;
	transition: border-color .15s, background .15s, color .15s;
	text-align: center;
}
.bigpapir-size-btn:hover:not(.unavailable) {
	border-color: #222222;
}
.bigpapir-size-btn.active {
	background: #222222;
	color: #ffffff;
	border-color: #222222;
}
.bigpapir-size-btn.unavailable {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}
/* Stock info */
.bigpapir-stock-info {
	font-size: 14px;
	margin-bottom: 20px;
	line-height: 1.6;
}
.bigpapir-stock-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin-right: 6px;
}
.bigpapir-stock-badge.in-stock {
	background: #d4edda;
	color: #155724;
}
.bigpapir-stock-badge.no-stock {
	background: #f8d7da;
	color: #721c24;
}
.bigpapir-stock-text {
	color: #555555;
}
.bigpapir-transit-info {
	font-size: 13px;
	color: #888888;
	margin-top: 4px;
}
/* CTA */
.bigpapir-cta-row {
	margin-top: 24px;
}
.bigpapir-contact-btn {
	display: inline-block;
	background: #222222;
	color: #ffffff;
	padding: 14px 32px;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s;
	letter-spacing: .01em;
}
.bigpapir-contact-btn:hover {
	background: #444444;
	color: #ffffff;
	text-decoration: none;
}
/* Sections below the fold */
.bigpapir-section {
	margin-bottom: 48px;
	padding-top: 32px;
	border-top: 1px solid #eeeeee;
}
.bigpapir-section h2 {
	font-size: 20px;
	margin-bottom: 20px;
}
.bigpapir-description-text {
	font-size: 15px;
	line-height: 1.8;
	color: #444444;
}
/* Stock table */
.bigpapir-stock-table-wrap {
	overflow-x: auto;
}
.bigpapir-stock-grid {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	min-width: 400px;
}
.bigpapir-stock-grid th,
.bigpapir-stock-grid td {
	border: 1px solid #e0e0e0;
	padding: 7px 12px;
	text-align: center;
	white-space: nowrap;
}
.bigpapir-stock-grid thead th {
	background: #f5f5f5;
	font-weight: 600;
}
.bigpapir-stock-grid td:first-child {
	text-align: left;
	font-weight: 500;
	background: #fafafa;
}
.bigpapir-stock-grid td.has-stock {
	color: #1a7a3c;
	font-weight: 600;
}
.bigpapir-stock-grid td.no-stock-cell {
	color: #bbbbbb;
}
/* Sync note */
.bigpapir-sync-note {
	font-size: 11px;
	color: #bbbbbb;
	text-align: right;
	margin-top: 40px;
}
/* =============================
   Category nav shortcode
   ============================= */
.bigpapir-kategorije-nav {
	width: 100%;
	padding: 0 120px;
	border-top: 1px groove #dddddd;
	border-bottom: 1px groove #dddddd;
	background-color: #b80000;
}
.bigpapir-cat-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-evenly;
}
.bigpapir-cat-item {
	position: relative;
}
.bigpapir-cat-item > a {
	display: block;
	padding: 10px 20px 10px 18px;
	color: #ffffff;
	text-decoration: none;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: 500;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.bigpapir-cat-item > a:hover {
	color: #ffffff;
	background: rgba(0, 0, 0, .06);
}
.bigpapir-cat-count {
	font-weight: 400;
	color: #aaaaaa;
	font-size: 12px;
}
/* Dropdown */
.bigpapir-cat-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	border: 1px solid #dddddd;
	border-top: none;
	min-width: 200px;
	z-index: 999;
	list-style: none;
	padding: 6px 0;
	margin: 0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
	border-radius: 0 0 4px 4px;
}
.bigpapir-cat-item.has-children > a:after {
	content: url("data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"8\" height=\"8\" viewBox=\"0 0 15 15\"><path d=\"M2.1,3.2l5.4,5.4l5.4-5.4L15,4.3l-7.5,7.5L0,4.3L2.1,3.2z\" fill=\"%23ffffff\"/></svg>");
	margin-left: 8px;
	vertical-align: middle;
	position: absolute;
	right: 7px;
}
.bigpapir-cat-item.has-children:hover .bigpapir-cat-dropdown {
	display: block;
}
.bigpapir-cat-dropdown li a {
	display: block;
	padding: 8px 16px;
	color: #333333;
	text-decoration: none;
	font-size: 13px;
	transition: background .15s;
}
.bigpapir-cat-dropdown li a:hover {
	background: #f5f5f5;
	color: #000000;
}
/* =============================
   Responsive
   ============================= */
@media (max-width: 768px) {
	.bigpapir-kategorije-nav {
		padding-left: 0;
		padding-right: 0;
	}
	.bigpapir-product-layout {
		flex-direction: column;
		gap: 24px;
	}
	.bigpapir-gallery {
		position: static;
		flex: none;
		width: 100%;
	}
	.bigpapir-product-title {
		font-size: 20px;
	}
	.bigpapir-cat-list {
		flex-direction: column;
	}
	.bigpapir-cat-item > a {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.bigpapir-cat-dropdown {
		display: none;
		position: static;
		box-shadow: none;
		border: none;
		border-left: 2px solid #eeeeee;
		border-radius: 0;
		padding-left: 10px;
		margin-left: 16px;
	}
	.bigpapir-cat-item.has-children:hover .bigpapir-cat-dropdown {
		display: none;
	}
	.bigpapir-cat-item.has-children.open .bigpapir-cat-dropdown {
		display: block;
	}
}
/* =============================
   Gallery
   ============================= */
.bigpapir-gallery-main {
	border: 1px solid #eeeeee;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 10px;
}
.bigpapir-gallery-main img {
	width: 100%;
	height: auto;
	display: block;
}
.bigpapir-gallery-thumbs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-top: 20px;
}
.bigpapir-thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	background: #f5f5f5;
	transition: border-color .15s;
	flex-shrink: 0;
}
.bigpapir-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bigpapir-thumb.active,
.bigpapir-thumb:hover {
	border-color: #222222;
}
/* =============================
   Specs collapsible
   ============================= */
.bigpapir-specs-section {
	border-top: 1px solid #eeeeee;
	padding-top: 0;
}
.bigpapir-toggle-btn {
	width: 100%;
	text-align: left;
	background: #f8f8f8;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background .15s;
	font-family: inherit;
}
.bigpapir-toggle-btn:hover {
	background: #f0f0f0;
}
.bigpapir-toggle-arrow {
	font-size: 12px;
	color: #ffffff;
}
.bigpapir-specs-body {
	display: block;
	border: 1px solid #e5e5e5;
	border-top: none;
	border-radius: 0 0 4px 4px;
}
.bigpapir-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.bigpapir-specs-table th,
.bigpapir-specs-table td {
	padding: 9px 14px;
	border-bottom: 1px solid #f0f0f0;
	text-align: left;
	vertical-align: top;
}
.bigpapir-specs-table th {
	width: 40%;
	font-weight: 600;
	color: #555555;
	background: #fafafa;
}
.bigpapir-specs-table tr:last-child th,
.bigpapir-specs-table tr:last-child td {
	border-bottom: none;
}
.bigpapir-nav-toggle {
	color: #ffffff;
	display: none;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	justify-content: space-between;
	align-items: center;
}
@media (max-width: 768px) {
	.bigpapir-nav-toggle {
		display: flex;
	}
	.bigpapir-cat-list {
		display: none;
		flex-direction: column;
	}
	.bigpapir-kategorije-nav.open .bigpapir-cat-list {
		display: flex;
	}
}
.bigpapir-cat-toggle {
	display: none;
	background: none;
	border: none;
	padding: 10px 14px;
	cursor: pointer;
	font-size: 12px;
	color: #666666;
	line-height: 1;
}
@media (max-width: 768px) {
	.bigpapir-cat-item.has-children {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.bigpapir-cat-item.has-children > a {
		flex: 1;
	}
	.bigpapir-cat-toggle {
		display: block;
	}
	.bigpapir-cat-dropdown {
		width: 100%;
	}
}