/*Helpers*/
.mb-0{
    margin-bottom:0
}
.pt_0-5{
    padding-top: 0.5em;
}
.text-left{
    text-align: left;
}
.font-weight-800{
    font-weight:800;
}
.flex{
    display: flex;
}
.f-18{
    font-size: 18px;
}
.justify-between{
    justify-content: space-between;
}

/*------------*/
.card-printing h2{
    text-transform: uppercase;
}
#module-reshop-app #footer{
    background: #F1F1F1;
}
#module-reshop-app .breadcrumb-block, #module-reshop-app .shop-bg-grey{
    background-color: #F1F1F1;
}
#module-reshop-app .breadcrumb-block{
    padding: 3em;
    margin-bottom: 0;
}
.card-printing {
    background: white;
    padding: 16px;
    margin-bottom: 24px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); /* Auto-fit with max 4 columns */
    max-width: 100%;
    gap: 16px; /* Spacing between grid items */
    justify-content: center;
    align-items: stretch;
}
.grid-2 {
     display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); /* Exactly 4 items per row */
     gap: 10px;
 }
@media (max-width: 660px) {
    .grid-2 {
        grid-template-columns: repeat(1, minmax(250px, 1fr)); /* 2 per row on smaller screens */
    }
    .grid-2 .dropdown-container {
        padding: 0 8px;
    }
}
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr)); /* Exactly 4 items per row */
    max-width: 100%;
    gap: 16px; /* Spacing between grid items */
    justify-content: center;
    align-items: stretch;
}
/* Responsive adjustments */
@media (max-width: 992px) {
    .product-grid-4 {
        grid-template-columns: repeat(3, minmax(190px, 1fr)); /* 2 per row on smaller screens */
    }
}
@media (max-width: 768px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, minmax(190px, 1fr)); /* 2 per row on smaller screens */
    }
}

@media (max-width: 451px) {
    .product-grid-4 {
        grid-template-columns: repeat(1, minmax(160px, 1fr)); /* 1 per row on mobile */
    }
}
.card-printing input[type="radio"]{
    height: 18px;
}
.card-printing .card-full {
    border-radius: 4px;
    border: 1px solid #E4E4E4;
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
    align-items: center;
    align-content: center;
}
.card-full.selected {
    border: 1.5px solid #1957D1; /* Highlight border */
}
.card-printing .card-body {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.card-printing .main-image{
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.card-printing .img-fluid{
    padding: 16px 24px;
}
.card-title{
    font-size: 14px;
    font-weight: 800;
    margin-top: 16px;
}
.card-text{
    font-size: 12px;
    padding-bottom: 16px;
    font-weight: 400;
}

.dropdown-container {
    padding: 0 50px 0 8px;
}
.dropdown-container label {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}
.dropdown-container select {
    width: 100%;
    padding: 13px 16px;
    appearance: none; /* Hide default arrow */
    border: 1px solid #E4E4E4;
    border-radius: 4px;
    font-size: 14px;
}
.dropdown-wrapper {
    width: 100%;
    position: relative;
}
.dropdown-field{
    display: flex;
    align-items: center;
}
.info-icon {
    margin-left: 10px;
    display: flex;
    cursor: pointer;
    position: relative;
}
/* Tooltip */
body .rign-tooltip{
    left: unset;
    right: 0%;
    transform: unset;
}
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    padding: 6px;
    border-radius: 4px;
    white-space: nowrap;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}
.dropdown-arrow {
    position: absolute;
    right: 10px;
    top: 12px;
    pointer-events: none;
}

.quantity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 16px;
    align-items: center;
    padding: 8px 8px;
}


.quantity-item input {
    border: 1px solid #E4E4E4;
    background: #FCFCFC;
    gap: 10px;
    padding: 13px 16px;
    line-height: 1;
    font-size: 14px;
    font-weight: 300;
}
.quantity-item {
    display: flex;
    flex-direction: column;
}
.quantity-item .text-left{
    font-weight: 800;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 2px;
}
.checkbox-container .info-icon {
    margin-left: 0;
}

.checkbox-label{
    display: flex;
    gap: 2px;
    align-items: center;
}
.title-notice{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.manufacturing .option{
    border-radius: 4px;
    border: 1px solid #E4E4E4;
    background: #FFF;
    padding: 12px 24px;
    margin-bottom: 8px;
}
.manufacturing .text-left{
    display: flex;
    margin-bottom: 0;
}
.manufacturing .deadlines{
    display: flex;
    flex-direction: column;
    padding-left: 16px;
}
.order-info table{
    width: 100%;
    margin-bottom: 32px;
}
.order-info th, .order-info td{
    padding: 8px 0px;
    line-height: 1.1;
}
.order-info td:last-child {
    text-align: end;
}
.order-info tr:not(:last-child) {
    border-bottom: 1px solid #E4E4E4;
    padding: 8px 0px;
}
.order-info .total{
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
}
.manufacturing, .order-info{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.button-style{
    display: flex;
    align-items: center;
    padding: 10px 24px;
    line-height: 1;
    border: 1px solid #000;
    gap: 10px;
    cursor: grab;
}

.black-button{
    background: #000;
    color: #fff;
}

#visualizer {
    border-radius: 4px;
    background: #F0F0F0;
    height: 500px;
    display: flex;
    padding: 24px 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    align-self: stretch;
}
