/* Definitions */
:root {
    --accent-color: #a02c2c;
    --accent-color-light: #f5baba;
    --complementary-color1:#f6aa1c;
    --complementary-color1darker:#eea51d;
    --complementary-color2:#177f75;
    --complementary-color2darker:#15746a;
    --light-background: #f1f1f1;
  }

.checkout-steps {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    margin: 0 0 25px;
    padding: 0;
}
.checkout-steps li {
    color: #999;
    font-size: .95rem;
    font-weight: bold;
}
.checkout-steps li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #ccc;
}
.checkout-steps li.active { color: var(--accent-color); }
.checkout-steps li.done a { color: #444; text-decoration: underline; }
.checkout-steps li.future { color: #ccc; }
/* General Layout */
html {
    height: 100%;
    font-size: 16px; /* Base font for rem units */
}
body {    
    display: grid;
    min-height: 100%;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    grid-gap: 1em;
    grid-template-areas:
     "header"
     "sidebar"
     "content";
    margin: 0px auto;
    background-color: var(--light-background);
  }

#header {
    grid-area: header;
    background-color: white;
    border-bottom: 1px solid var(--accent-color);
} 
#header-content{
    width: 1000px;
    height: 44px;
    margin: 0px auto;
    display: flex;
    justify-content: flex-start;
}
#sidebar {
    grid-area: sidebar;
}

#content,
main#content {
    grid-area: content;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Style */
html{
    font-family: 'Titillium Web',sans-serif;
    
}
h1,h2,h3,h4{
    margin: 0;
    color: var(--accent-color)
}
h4 a {
    text-decoration: none;
    color: var(--accent-color)
}
p {
    margin-bottom: 1em;
    text-align:justify;
}
.center {
	display: block;
	margin: 0 auto;
	text-align:center;
}
ul{
    margin-top:0px;

}
table{
    border-collapse: collapse;
}
th,td{
    border-bottom:1px solid #E1E1E1;
    padding: 12px 15px;
}
th{
    text-align: left;
}
table.compact th,table.compact td{
    padding: 3px 3px;
}

.flex-container {
    display: flex; /* Enable flex container */
  }

.column {
    flex: 1; /* Each column takes equal available space */
    
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
  }

/* Product page */

/* Desktop Styles */
.product-name {
    margin-bottom: 10px;
}


.configurator-step {
    display: flex;
    gap: 12px;
    margin: 0 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #ddd;
}
.step-number { color: var(--accent-color);     font-size: 1.5em; font-weight: bold; min-width: 30px; }
.step-content { flex: 1; }
.step-content h2 { margin-top: 0; }
.step-hint { color: #666; font-size: .9rem; }
.model-grid { align-items: stretch; display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.model-group { display: flex; flex-direction: column; min-width: 0; }
.model-group h3 { margin-bottom: 8px; }
.model-option, .configurator-accessory {
    align-items: center;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    min-height: 54px;
    padding: 8px 10px;
    border-radius: 5px;
}
.model-option {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding: 10px;
    position: relative;
    text-align: center;
    width: 100%;
}
.model-radio {
    appearance: none;
    border: 2px solid #999;
    border-radius: 50%;
    height: 20px;
    margin: 0;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 20px;
    z-index: 2;
}
.model-radio:checked { border-color: var(--accent-color); box-shadow: inset 0 0 0 4px white; background: var(--accent-color); }
.model-title {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.model-option img {
    height: 135px;
    margin-bottom: 6px;
    object-fit: contain;
    width: 100%;
}
.model-dimensions {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-sizing: border-box;
    display: grid;
    gap: 4px 6px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 8px;
    padding: 6px;
    text-align: left;
    width: 100%;
}
.model-dim-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    gap: 5px;
    min-width: 0;
    padding: 3px 5px;
}
.model-dim-item.dim-item-inner {
    background: #fffdf7;
    border-color: #feebc8;
}
.dim-icon-wrapper {
    align-items: center;
    color: #4a5568;
    display: inline-flex;
    flex: 0 0 16px;
    height: 16px;
    justify-content: center;
    position: relative;
    width: 16px;
}
.dim-icon-wrapper.dim-icon-fire {
    color: #dd6b20;
}
.dim-fire-icon {
    font-size: 15px !important;
    line-height: 1;
}
.dim-svg {
    height: 14px;
    width: 14px;
}
.dim-svg-sub {
    background: #fffdf7;
    border-radius: 50%;
    bottom: -3px;
    height: 8px;
    position: absolute;
    right: -3px;
    width: 8px;
}
.dim-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    min-width: 0;
}
.dim-label {
    color: #718096;
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dim-item-inner .dim-label {
    color: #c05621;
}
.dim-value {
    color: #2d3748;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.model-description {
    color: #666;
    display: block;
    font-size: .85rem;
    line-height: 1.35;
    margin-bottom: 8px;
    overflow: hidden;
    text-align: justify;
    width: 100%;
}
.model-price {
    color: var(--complementary-color2);
    display: block;
    font-size: 1.05rem;
    margin-top: auto;
    padding-top: 4px;
}
.model-availability { font-size: .8rem; }
.model-availability[hidden] { display: none; }
.configurator-info-link {
    color: var(--accent-color);
    display: inline-block;
    font-size: .82rem;
    text-decoration: underline;
}
.model-option .model-meta {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding-top: 4px;
    width: 100%;
}
.model-option .model-meta .model-availability {
    flex: none;
    font-size: .8rem;
    grid-column: 1;
    justify-self: start;
    white-space: nowrap;
}
.model-option .model-info-link {
    grid-column: 2;
    justify-self: end;
    margin-left: 0;
    white-space: nowrap;
}
.model-option span small, .configurator-accessory span small { color: #666; font-size: .85rem; white-space: normal; }
.material-option {
    align-items: center;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 5px;
}
.material-option > span:not(.material-help) { flex: 1; text-align: center; }
.configurator .material-option {
    box-sizing: border-box;
    float: none;
    margin: 10px 0 0;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}
.material-help {
    background: #fff;
    color: #555;
    cursor: help;
    flex: 0 0 20px !important;
    height: 20px;
    position: relative;
    text-align: center;
    width: 20px;
}
.material-help .material-icons { font-size: 18px; line-height: 18px; vertical-align: top; }
.material-tooltip {
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    color: #444;
    display: none;
    font-size: .82rem;
    line-height: 1.4;
    padding: 12px 14px;
    position: absolute;
    right: 0;
    text-align: left;
    top: 28px;
    width: 320px;
    z-index: 10;
}
.material-tooltip strong, .material-tooltip span { display: block; }
.material-tooltip strong { color: var(--accent-color); margin-top: 8px; }
.material-tooltip strong:first-child { margin-top: 0; }
.material-help:hover .material-tooltip, .material-help:focus .material-tooltip { display: block; }
.custom-checkbox {
    appearance: none;
    background: white;
    border: 2px solid #999;
    border-radius: 3px;
    flex: 0 0 20px;
    height: 20px;
    margin: 0;
    position: relative;
    width: 20px;
}
.custom-checkbox:checked { background: var(--accent-color); border-color: var(--accent-color); }
.custom-checkbox:checked::after {
    border: solid white;
    border-width: 0 2px 2px 0;
    content: '';
    height: 10px;
    left: 5px;
    position: absolute;
    top: 2px;
    transform: rotate(45deg);
    width: 5px;
}
.model-option:has(input:checked), .configurator-accessory:has(input:checked) {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 1px var(--accent-color);
}
.configurator-accessory span { display: flex; flex: 1; gap: 8px; }
.model-option small, .configurator-accessory small { white-space: nowrap; }
.accessory-options { display: grid; gap: 8px; grid-template-columns: 1fr; width: 100%; }
.accessory-options[hidden], .material-option[hidden] { display: none; }
.configurator-accessory {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    float: none;
    gap: 12px;
    grid-template-columns: 28px 64px 170px minmax(0, 1fr) 110px;
    margin: 0;
    min-height: 86px;
    text-align: left;
    width: 100%;
}
.configurator-accessory .custom-checkbox {
    box-sizing: border-box;
    float: none;
    height: 20px;
    margin: 0;
    width: 20px;
}
.accessory-image {
    flex: 0 0 64px;
    height: 64px;
    object-fit: contain;
    width: 64px;
}
.accessory-name { min-width: 0; }
.accessory-description { display: block; min-width: 0; }
.accessory-description small { color: #666; display: block; font-size: .85rem; line-height: 1.35; white-space: normal; }
.accessory-cost .configurator-info-link { margin-top: 2px; }
.accessory-cost { align-items: flex-end; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.accessory-cost strong { color: var(--complementary-color2); white-space: nowrap; }
.accessory-availability { display: block; white-space: nowrap; }
.btn-configurator-wide {
    align-items: center;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--complementary-color2);
    border: none;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(23, 127, 117, 0.25);
    box-sizing: border-box;
    color: #ffffff !important;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    justify-content: center;
    letter-spacing: 0.5px;
    line-height: normal;
    margin: 0;
    max-width: 440px;
    padding: 13px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    width: 100%;
}
.btn-configurator-wide:hover {
    background-color: var(--complementary-color2darker);
    box-shadow: 0 5px 15px rgba(23, 127, 117, 0.35);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.configurator-submit {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}
.configurator-submit div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.configurator-submit strong {
    font-size: 1.15rem;
}
.configurator-submit span {
    color: #666;
    font-size: .95rem;
}
.configurator-submit .btn-configurator-wide {
    flex-shrink: 0;
    width: auto;
    min-width: 280px;
}
.configurator-link { margin: 10px 0; text-align: center; }
.configurator-total {
    align-items: center;
    border-top: 2px solid var(--accent-color);
    display: flex;
    font-size: 1.2rem;
    justify-content: space-between;
    margin-top: 24px;
    padding: 16px 0;
}

.product-upper {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.product-gallery {
    flex: 0 0 400px;
}

.main-image {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    border-radius: 3px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 3px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap; /* Allow thumbnails to wrap onto multiple rows */
    gap: 0px; /* Adjust gap as needed */
    max-width: 400px; /* Limit the width of the thumbnails container */
    overflow-x: hidden; /* Remove horizontal scrolling */
    white-space: normal; /* Allow thumbnails to wrap */
    padding-bottom: 0px; /* remove unnecessary padding */
}
.thumbnails img {
    width: 78px;
    height: 78px;
    border: 1px solid #eee;
    cursor: pointer;
    object-fit: cover;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
}


.thumbnails img:hover {
    border-color: #333;
}

.product-info {
    flex: 1;
}

.short-description {
    margin-bottom: 5px;
}
.tab-link a{
    font-size: small;
    color: #555;
    
}
.tab-link{
    margin-bottom: 10px;
}

.product-variants a{
    display: inline-block;
    border: solid 1px var(--accent-color);
    margin: 20px 5px;
    border-radius: 3px;
    cursor: pointer;
    padding: 5px 15px;
    text-decoration: none;
    color: black;
    text-align: center;
}
.product-variants a.active{
    color: white;
    background-color:  var(--accent-color);;
}

.product-price {
    align-items: baseline;
    color: var(--complementary-color2);
    display: flex;
    flex-wrap: wrap;
    font-size: medium;
    font-weight: bold;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.recommended-accessories {
    margin-bottom: 20px;
    margin-top: 20px;
}

.add-to-cart-btn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1em;
}

.add-to-cart-btn:hover {
    background-color: #218838;
}

/* Mobile Styles (Default, Overridden by Desktop) */
.mobile-gallery {
    box-sizing: border-box;
    height: 380px;
    margin-bottom: 0.625rem;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.mobile-image-slider {
    display: flex;
    height: 100%;
    width: 100%;
}

.mobile-image-slider img {
    box-sizing: border-box;
    flex: 0 0 100%;
    height: 100%;
    margin-right: 0;
    max-width: 100%;
    object-fit: contain;
    scroll-snap-align: start;
    width: 100%;
}

.dots {
    display: flex;
    justify-content: center; /* Zarovnání teček na střed */
    margin-top: -2.2rem; /* Trocha prostoru mezi galerií a tečkami */
    margin-bottom: 2rem;
}

.dot {
    width: 0.8rem; /* Velikost tečky (10px / 16px) */
    height: 0.8rem; /* Velikost tečky (10px / 16px) */
    background-color: #bbb; /* Výchozí barva tečky */
    border-radius: 50%; /* Udělá z tečky kolečko */
    display: inline-block;
    z-index: 20;
    margin: 0 0.25rem; /* Mezera mezi tečkami (4px / 16px) */
    cursor: pointer; /* Indikace, že na tečku lze kliknout */
}

.dot.active {
    background-color: #717171; /* Barva aktivní tečky */
}

.mobile-actions {
    margin-bottom: 20px;
}

.mobile-actions .short-description { /* Specific short description for mobile*/
    margin-bottom: 10px;
}

.mobile-actions .add-to-cart-btn {
    width: 100%;
}



/* Tabs */
.product-lower {
    border-top: 1px solid #ccc;
    padding-top: 5px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    border-bottom-color: #007bff;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 0px 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.tab-content.active {
    display: block;
}



/* Header */
#header-content {
    font-size: 1.2rem;
}
#header-content a,.left-menu-toggler a {
    display: block;
    color: black;
    text-align: center;
    padding: 9px 12px;
    text-decoration: none;
}
#header-content a:hover{
    color:var(--accent-color);
}
#header-content .logo{
    width:35px;
    height:35px;
    margin: auto 0px auto 5px;
}
#header-content .logo-text{
    color: var(--accent-color);
    font-weight: bold;
    padding: 8px 12px;
}
#header-content .menu-icon{
    display: none;
}
#shopping-cart-link {
    margin-left: auto;
    background-color: var(--light-background);
}
.filled-cart {
	background-color: var(--accent-color) !important;
	color: white !important;
}
#shopping-cart-link i{
	font-size: 1.5rem;
	margin-right: 7px;
    margin-top: 3px;
}
#shopping-cart-link span{
    float:right;
}

/* Sidebar */
#sidebar {
    margin-right: 20px;
}
#sidebar img{
    margin: 10px auto;
}
#sidebar ul {
    margin-left: 25px;
    padding: 0;
    margin-top: 10px;
    list-style-type: none;
}
#sidebar ul li {
    padding-bottom: 5px;
    margin-bottom: 5px;
}
#sidebar ul li a {
    color: black;
    text-decoration: none;
}
#sidebar ul li a:hover {
    color: var(--accent-color);
}
.menu-title {
    font-size: 1.2rem;
    font-variant: small-caps;
    border-bottom: solid 1px var(--accent-color);
}
.menu-title a {
    text-decoration: none;
    color: black;
}
/* Content */ 
main#content  {
    position: relative;
    min-height: 90%;
    border-radius: 3px;
	background-color: white;
	padding: 15px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 20px;
    padding-bottom: 25px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.sorter {
	float: right;
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 0 25px 0;
}
.subcategory-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 18px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    min-width: 140px;
    transition: all 0.2s ease-in-out;
}
.subcategory-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
.subcategory-title {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.05rem;
}
.subcategory-desc {
    color: #666;
    font-size: 0.85rem;
    margin-top: 4px;
}

.product-list { /* Container for all product blocks */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.product-block {
    width: 240px;
    min-height: 275px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    display: flex;
    flex-direction: column;
}

.product-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.product-block a {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 14px 14px 12px 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.product-title {
    font-size: 1rem;

    color: #1a202c;
    text-align: left;
    line-height: 1.3;
    margin: 0;
    min-height: 2.6em;
}

.product-block:hover .product-title {
    color: var(--accent-color);
}

.product-image {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
    overflow: hidden;
    min-height: 120px;
}

.product-image img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.product-block:hover .product-image img {
    transform: scale(1.03);
}

.product-list-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.product-price-catalog {
    

    color: #1a202c;
    text-align: left;
    white-space: nowrap;
    line-height: 1.2;
}

.product-stock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    
    line-height: 1.25;
    white-space: nowrap;
}

.product-stocked {
    color: var(--complementary-color2);
    
}

.product-expected {
    color: var(--complementary-color1);

}

.product-not-available,
.product-backorder {
    color: var(--accent-color);

}

.product-leadtime {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.on-stock {
	color: var(--complementary-color2);
	font-weight: bold;
}
.sold-out {
  color: #333333;
}
.price {
	font-weight: bold;
	color: var(--accent-color);
}

a.button,input[type=submit] {
    display: inline-block;
    border: solid 1px var(--complementary-color2);
    background-color: var(--complementary-color2);
    margin: 10px 10px 10px 10px;
    border-radius: 3px;
    cursor: pointer;
    padding: 5px 30px;
    text-decoration: none;
    color: white;
    text-transform:uppercase;  
  }
a.button:hover,input[type=submit]:hover{
    background-color: var(--complementary-color2darker);
}

a.button.warning{
    border: solid 1px var(--complementary-color1);
    background-color: var(--complementary-color1);
}
a.button.warning:hover{
    background-color: var(--complementary-color1darker);
}
i.add, i.remove,i.delete{
    color: var(--accent-color);

}

.caminqa-list {
    list-style-type: none; /* Remove the default bullet */
    padding-left: 5px; /* Remove default left padding */
  }
  
.nolist {
    padding-left: 5px; /* Remove default left padding */
    list-style-type: none; /* Remove the default bullet */
    margin-bottom: 20px;
    margin-top: 5px;
}
.caminqa-list li {
    padding-left: 25px; /* Adjust to create space for the image */
    background-image: url('images/listlogo.png'); /* Replace with your image path */
    background-repeat: no-repeat;
    background-position: 0 5px; /* Adjust vertical alignment of the image */
    background-size: 16px 16px; /* Adjust image size as needed */
    margin-bottom: 5px; /* Optional: Add some spacing between list items */
  }



/* Forms */ 
form label, fieldset label {
	width: 200px;
	margin-top: 10px;
	margin-right: 5px;
	font-weight: normal;
	clear: both;
	float:left;
	text-align: right;
}
input,textarea,select {
    width: 400px;
    margin-top: 10px;
    float: left;
	margin-bottom: 0px;
}
select#sort-select{
    float:none;
    width:auto;
}
input[type=button],input[type=submit] {
	clear: both;
	float:none;	
	width : 400px;	
}
div.checkbox{
	clear:both;
	width: 450px;
	margin:auto;
}
div.checkbox label{
	clear:none;
	float: none;
	padding-top: 5px;
	text-align: left;
	width:auto;
	
}
input[type=checkbox],input[type=radio]{
	display: inline;
	width: auto;
	margin-right: 10px;
}

form .error {
	color: var(--accent-color);
	font-weight: bold;
}
label.required::after {
    content: "*";
		font-weight: bold;
		color: var(--accent-color);
	 }
fieldset {
	margin-bottom: 0px;
	padding-bottom: 0px;
}
legend {
    color: var(--accent-color);
	margin-bottom: 10px;
	font-size: 1.2rem;
	font-weight: normal!important;


}
.centeredrules {
	text-align:center;
	margin-bottom: 15px;
}
.validation-message,.text-help {
	color: darkred;
	clear: both;
	margin: auto;
	text-align: center;
}
input::placeholder{
	color:#888;
	opacity: 0.5;
}
.skryte{
	display: none;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid var(--complementary-color2);
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }




/* Small screen */
@media only screen and (max-width: 1000px)  {
    html{
        font-size: 20px;
    }
    body {  
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto 1fr;
      grid-template-areas:
      "header"
      "sidebar"
      "content";
      -webkit-text-size-adjust:100%;
      overflow-x: hidden;
    }
    .mobile-only,#header-content a.mobile-only,#sidebar.on {
        display:block;
    }
    .screen-only,#header-content a.screen-only,#sidebar.off{
        display:none;
    }
    #header-content {
        width:100%;
        justify-content: flex-start;
    }
    .product-upper, .thumbnails {
        display: none;
    }
    .model-grid, .accessory-options { grid-template-columns: 1fr; }
    .model-option { height: auto; min-height: auto; padding: 12px; }
    .model-option img { height: 130px; width: 100%; }
    .material-tooltip { right: -10px; width: min(320px, calc(100vw - 70px)); }
    .configurator-accessory {
        align-items: center;
        box-sizing: border-box;
        display: grid;
        gap: 6px 12px;
        grid-template-columns: 24px 64px minmax(0, 1fr);
        grid-template-areas:
            "checkbox image name"
            "checkbox image cost"
            "desc     desc  desc";
        min-height: auto;
        padding: 10px 12px;
    }
    .configurator-accessory .custom-checkbox {
        grid-area: checkbox;
        align-self: center;
        flex: 0 0 20px;
        height: 20px !important;
        margin: 0 !important;
        width: 20px !important;
    }
    .configurator .material-option .custom-checkbox {
        flex: 0 0 20px;
        height: 20px !important;
        margin: 0 !important;
        width: 20px !important;
    }
    .accessory-image {
        grid-area: image;
        align-self: center;
        flex: none;
        height: 64px;
        object-fit: contain;
        width: 64px;
    }
    .accessory-name {
        grid-area: name;
        align-self: end;
        font-size: 1rem;
        line-height: 1.25;
        min-width: 0;
    }
    .accessory-cost {
        grid-area: cost;
        align-items: baseline;
        align-self: start;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 12px;
        grid-column: auto;
        grid-row: auto;
        justify-content: flex-start;
        margin-top: 2px;
        min-width: 0;
    }
    .accessory-cost strong {
        color: var(--complementary-color2);
        font-size: 0.95rem;
        white-space: nowrap;
    }
    .accessory-availability {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .accessory-cost .configurator-info-link {
        font-size: 0.82rem;
        margin-top: 0;
        white-space: nowrap;
    }
    .accessory-description {
        border-top: 1px solid #eee;
        display: block;
        grid-area: desc;
        grid-column: 1 / -1;
        margin-top: 4px;
        min-width: 0;
        padding-top: 6px;
        width: 100%;
    }
    .accessory-description small {
        color: #555;
        display: block;
        font-size: 0.85rem;
        line-height: 1.35;
        white-space: normal;
    }
    .configurator-step { gap: 8px; }
    .configurator-submit {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }
    .configurator-submit .btn-configurator-wide {
        max-width: 100%;
        width: 100%;
    }
    h1,h2,h3,h4,h5{
        font-weight: normal;
    }
    
    #header-content a,.left-menu-toggler a {  
        padding: 4px 12px;

    }
    #header-content .logo-text{
        padding: 4px 12px;
    }
    main#content,
    div#content {
        margin-top: -20px;
        padding: 10px;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    form label, fieldset label {
        display: block;
        width:auto;
        float:none;
        text-align:left;
        margin-bottom:0;
        padding-top: 5px;
        /*width: 200px;
        margin-top: 10px;
        margin-right: 5px;
        font-weight: normal;
        clear: both;
        float:left;
        text-align: right;-*/
    }
    input,textarea,select{
        width:100%;
        margin-top: 0;
    }
    div.checkbox label{
        clear:none;
        float: none;
        padding-top: 0px;
        text-align: left;
        width:auto;
        
    }
    input[type=checkbox],input[type=radio]{
        display: inline;
        width: auto;
        margin-top: 10px;
    }
}

/* Big screen */ 
@media only screen and (min-width: 1000px)   {
      body {
        grid-gap: 10px;
        grid-template-rows: 45px 1fr;
        grid-template-columns: 1fr 200px 800px 1fr;
        grid-template-areas:
        "header  header  header  header"
        "left sidebar content right";
      }
      .screen-only,#sidebar.on,#sidebar.off{
        display:block;
      }
      .mobile-only,#header-content a.mobile-only{
        display: none;
      }
      .mobile-gallery, .mobile-actions {
        display: none;
    }

    .product-upper {
        display: flex;
    }
      
    }

/* Print */ 
@media print {
        #header,#sidebar {
          display: none;
          visibility: hidden;
        }
        #content main {
            min-height: 90%;
            border-radius: 00px;
            background-color: white;
            padding: 0px;
            box-shadow: none;
      }
    }
/* Lightbox */

.gallery {
    margin: 0 auto; /* Centers the div horizontally */
    text-align: center; /* Centers the images inside */
}
.thumbnail {
    max-height: 150px;
    object-fit: cover;
    border-radius: 3px; 
    cursor: pointer;
}

.lightbox-link {
    text-decoration: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    padding: 20px; /* Increase clickable area */
    user-select: none;
}

.lightbox-close { top: 10px; right: 20px; transform: translateY(0);}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover,
.lightbox-close:focus, .lightbox-prev:focus, .lightbox-next:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 18px;
    text-align: center;
    width: 80%; /* Adjust as needed */
}

.flash-container {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    padding: 10px 15px;
    text-align: center;
    z-index: 1000; /* Ensure it's above other content */
    display: flex;
    justify-content: right; /* Center the message */
}


.flash {
    position: relative; /* For positioning the close button */
    padding: 10px 50px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    opacity: 1; /* Ensure they are initially fully visible */
    transition: opacity 0.5s ease-in-out; /* Add a transition for the opacity property */
}

.flash.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.flash.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}
.flash.warning {
    background-color: #fff3cd;
    color: #85640a;
    border-color: #ffeeba;
}
.flash.info {
    background-color: #e0f7fa;
    color: #00838f;
    border-color: #b2ebf2;
}
.flash-close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: x-large;
    line-height: 1;
    border: none;
    background: none;
    padding: 0;
    opacity: 0.7;
}

.flash-close-btn:hover {
    opacity: 1;
}



.customer-message{
    padding: 5px;
    border:solid 1px var(--accent-color);
    border-radius: 5px;
    color: black;
    background-color: var(--accent-color-light);
    margin-bottom:20px;
}

/* ==========================================================================
   Product Page & Rich Segments Content Styling
   ========================================================================== */

.product-rich-content {
    color: #333;
    line-height: 1.6;
    margin-top: 20px;
}

.product-rich-content h1,
.product-rich-content h2,
.product-rich-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.product-rich-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 6px;
    margin-top: 0.5rem;
}

.product-rich-content h2 {
    font-size: 1.45rem;
    color: #222;
    position: relative;
    padding-left: 14px;
    border-left: 4px solid var(--complementary-color2);
}

.product-rich-content h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.product-rich-content p {
    text-align: justify;
    margin-bottom: 1rem;
    color: #444;
}

.product-lead-claim {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #2b2b2b;
    background: #fdfaf6;
    border: 1px solid #fae6cb;
    border-left: 5px solid var(--complementary-color1);
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
}

/* Product Key Highlights (Civil bullet list with icons) */
.product-key-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 20px 0;
}

.product-key-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #333;
}

.product-key-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--complementary-color2);
    font-weight: bold;
    font-size: 1rem;
}

/* Compact Dimensions Widget on Product Details Page */
.product-compact-dimensions {
    margin: 12px 0 18px 0;
    max-width: 320px;
}

/* Feature Split Section (Image + Text) */
.product-feature-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    margin: 35px 0;
    padding-bottom: 25px;
    border-bottom: 1px solid #edf2f7;
}

.product-feature-split.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.product-feature-split.reverse .split-content {
    order: 2;
}

.product-feature-split.reverse .split-media {
    order: 1;
}

.split-content h2,
.split-content h3 {
    margin-top: 0;
}

.split-content ul {
    padding-left: 20px;
    margin: 12px 0;
}

.split-content ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.split-media img, .split-media video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: block;
}


.img-placeholder .placeholder-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 4px;
}

.img-placeholder .placeholder-hint {
    display: inline-block;
    font-size: 0.8rem;
    color: #94a3b8;
    background: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid #e2e8f0;
    margin-top: 6px;
}

.img-placeholder-caption {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
    text-align: center;
}

/* Assembly & Shipping Options */
.product-assembly-shipping {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.assembly-card {
    background: #fbfcfc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}

.assembly-card-option {
    background: #f5fbf9;
    border-color: #d1ebe5;
    border-left: 4px solid var(--complementary-color2);
}

.assembly-card-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--complementary-color2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.assembly-card-icon .material-icons {
    font-size: 20px;
}

.assembly-card-content h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: #1a202c;
}

.assembly-card-content p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.4;
    text-align: left;
}

/* Material Comparison Section */
.product-materials-section {
    margin: 40px 0;
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 24px;
}

.product-materials-section > h2,
.product-materials-section > h3 {
    margin-top: 0;
}

.materials-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.material-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}

.material-detail-card.card-steel {
    border-top: 4px solid #4a5568;
}

.material-detail-card.card-stainless {
    border-top: 4px solid var(--complementary-color2);
}

.material-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.material-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #1a202c;
}

.material-tag {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.material-tag.tag-steel {
    background: #edf2f7;
    color: #4a5568;
}

.material-tag.tag-stainless {
    background: #e6f6f4;
    color: var(--complementary-color2darker);
}

.material-detail-card ul {
    padding-left: 18px;
    margin: 12px 0;
    flex: 1;
}

.material-detail-card ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.material-for-who {
    background: #f8fafc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #475569;
    border-left: 3px solid #cbd5e1;
    margin-top: 10px;
}

/* Callout Banner Box */
.product-callout-box {
    background: linear-gradient(135deg, #177f75 0%, #15746a 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 26px 30px;
    margin: 35px 0;
    box-shadow: 0 6px 18px rgba(23, 127, 117, 0.25);
}

.product-callout-box h2,
.product-callout-box h3 {
    color: #ffffff !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 10px;
}

.product-callout-box p {
    color: #e6f7f5;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-callout-box p:last-child {
    margin-bottom: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
    margin: 35px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.caminqa-compare-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.caminqa-compare-table th,
.caminqa-compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
}

.caminqa-compare-table th:first-child,
.caminqa-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    background: #f8fafc;
    width: 38%;
}

.caminqa-compare-table thead th {
    background: #edf2f7;
    color: #1a202c;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 2px solid #cbd5e1;
}

.caminqa-compare-table thead th.col-highlight,
.caminqa-compare-table tbody td.col-highlight {
    background: #eef7f6;
    color: #135e56;
    font-weight: 700;
}

.caminqa-compare-table tbody tr:hover td {
    background-color: #f1f5f9;
}

.caminqa-compare-table tbody tr:hover td.col-highlight {
    background-color: #e2f0ee;
}

.caminqa-compare-table .check-yes {
    color: var(--complementary-color2);
    font-weight: bold;
    font-size: 1.15rem;
}

.caminqa-compare-table .check-no {
    color: #a0aec0;
    font-weight: normal;
}

/* Dynamic Model Column Highlighting via parent class (product-model-*) */
.current-model-badge {
    display: none;
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--complementary-color2darker);
}

.product-model-cubique .col-cubique,
.product-model-jardin .col-jardin,
.product-model-terre .col-terre {
    background-color: #eef7f6 !important;
    color: #135e56;
    font-weight: 700;
}

.product-model-cubique thead .col-cubique .current-model-badge,
.product-model-jardin thead .col-jardin .current-model-badge,
.product-model-terre thead .col-terre .current-model-badge {
    display: inline;
}

.product-model-cubique tbody tr:hover .col-cubique,
.product-model-jardin tbody tr:hover .col-jardin,
.product-model-terre tbody tr:hover .col-terre {
    background-color: #e2f0ee !important;
}

/* Responsive adjustments for Product Rich Content */
@media only screen and (max-width: 1000px) {
    .product-feature-split,
    .product-feature-split.reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .product-feature-split.reverse .split-content {
        order: 1;
    }
    .product-feature-split.reverse .split-media {
        order: 2;
    }
    .materials-comparison-grid {
        grid-template-columns: 1fr;
    }
    .product-assembly-shipping {
        grid-template-columns: 1fr;
    }
    .caminqa-compare-table {
        font-size: 0.88rem;
    }
    .caminqa-compare-table th,
    .caminqa-compare-table td {
        padding: 10px 12px;
    }
}