/*
    general
*/
@media(max-width:380px){
    .padding-col-sm {
        padding-right: 7px !important;
        padding-left: 7px !important;
    }
}
[data-notify="container"].alert {
    left: 10px !important;
    right: 10px !important;
    max-width: 95vw;
}
.lba {
    line-break: anywhere;
}

/* Slider image more height */
.main-slider .slide {
    min-height: 92vh;
}

/* Image rounded border */
.img-border {
    border: 4px solid var(--secondary_background_color);
    border-radius: .25rem !important;
}
.img-border-2 {
    border: 4px solid var(--primary_background_color);
    border-radius: .25rem !important;
}

/* Shopping cart */
.shopping-cart-card .main {
    padding: 1.2vh 0 !important;
}
.cart-total-row {
    margin-right: -30px !important;
}
input.quantity-spinner {
    min-width: 90px;
}
@media(max-width:400px){
    .shopping-cart-card {
        font-size: 85% !important;
    }
}
@media(max-width:560px){
    section.cart-area > div.container:nth-child(1) {
        max-width: 100% !important;
    }
    .cart-name-col {
        min-width: 115px !important;
        max-width: 115px !important;
    }
}
@media(max-width:988px){
    .cart-totals-form {
        max-width: 100%;
        float: unset;
    }
    .apply-coupon-button {
        float: right;
    }
    .cart-total-row {
        margin-right: initial !important;
    }
    .cart-button-box {
        margin: auto !important;
    }
    .cart-button-box > div {
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .cart-button-box > div:nth-child(1) {
        margin-bottom: 20px;
    }
    section.cart-area > div.container:nth-child(1) {
        max-width: 90%;
    }
    .cart-name-col {
        min-width: 115px !important;
        max-width: 265px !important;
    }
}
@media(max-width:754px){
    .cart-button-box .apply-coupon input[type="text"] {
        width: 100%;
    }
    button.btn-one,
    .apply-coupon-button {
        width: 100% !important;
        float: unset;
        margin-bottom: 1rem;
    }
}
.shopping-cart-card .title{
    margin-bottom: 5vh;
}
.shopping-cart-card .card{
    margin: auto;
    max-width: 950px;
    width: 90%;
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 1rem;
    border: transparent;
}
@media(max-width:767px){
    .shopping-cart-card .card{
        margin: 3vh auto;
    }
}
.shopping-cart-card .cart{
    padding: 4vh 5vh;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}
@media(max-width:767px){
    .shopping-cart-card .cart{
        padding: 4vh;
        border-bottom-left-radius: unset;
        border-top-right-radius: 1rem;
    }
}
@media(max-width:1200px){
    .shopping-cart-card .title{
        margin-bottom: 1vh;
    }
    .shopping-cart-card .cart {
        padding: 2vh 2.5vh;
    }
}
@media(max-width:450px){
    .shopping-cart-card .cart{
        padding: 1vh;
        border-bottom-left-radius: unset;
        border-top-right-radius: 0.5rem;
    }
    .shopping-cart-card .title {
        margin: 0;
        padding: 1vh;
    }
}
@media(max-width:875px){
    .shopping-cart-card .cart-totals-form{
        float: unset;
        margin: auto;
    }
}
.shopping-cart-card .row{
    margin: 0;
}
.shopping-cart-card .title b{
    font-size: 1.5rem;
}
.shopping-cart-card .main{
    margin: 0;
    padding: 2vh 0;
    width: 100%;
}
.shopping-cart-card .close{
    margin-left: auto;
    font-size: 1.2rem;
}
.shopping-cart-card h5{
    margin-top: 4vh;
}
.shopping-cart-card hr{
    margin-top: 1.25rem;
}
.shopping-cart-card .cart-totals-form{
    margin-top: 1.25rem;
}

/* Touch spin shoppingcart */
.shopping-cart-card .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-radius: 0;
    float: left;
    border-right: none;
}
.shopping-cart-card  .bootstrap-touchspin .input-group-btn-vertical {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
}
.shopping-cart-card  .bootstrap-touchspin .input-group-btn-vertical .btn {
    position: relative;
    display: block;
    margin-left: 0px;
    background: var(--shopping_cart_btn_background_color);
    color: #1b1b1b;
    cursor: pointer;
    height: 50px;
    width: 30px;
    margin: 0;
    padding: 0;
}
.shopping-cart-card .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    border-radius: 0;
    float: right;
}
.shopping-cart-card  .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
    border-radius: 0;
    float: left;
}
.shopping-cart-card  .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-up:before {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    font-family: FontAwesome;
    content: "\f067";
    color: #848484;
    font-size: 12px;
    padding: 0;
    line-height: 50px;
}
.shopping-cart-card .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-down:before {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    font-family: FontAwesome;
    content: "\f068";
    color: #848484;
    font-size: 12px;
    padding: 0;
    line-height: 50px;
}
.shopping-cart-card input.quantity-spinner {
    height: 50px;
    max-width: 120px;
    text-align: center;
}
.shopping-cart-card .input-group.bootstrap-touchspin {
    width: fit-content;
}


/**
    Checkout cart
 */
@media(max-width:767px){
    .order-table,
    .order-table .prod-column {
        min-width: unset !important;
    }

    .order-table h3 {
        font-size: 13px !important;
    }

    .order-info-table-box .order-table tbody tr td,
    .order-info-table-box .order-table thead tr th {
        padding: 15px 20px;
    }

    .checkout-area {
        padding: 40px 0px 150px;
    }
}


/**
    Checkout page
 */
@media(max-width:600px){
    .checkout-shipping-method {
        min-width: 340px;
    }
}


/**
    Homepage
 */
.header-sub-title-home p {
    color: inherit !important;
    line-height: 32px !important;
}
.header-sub-title p {
    color: inherit !important;
    line-height: 16px !important;
}
@media only screen and (min-width: 1499px) {
    .choose-image-box {
        left: 2rem;
    }
}
@media only screen and (max-width: 1499px) {
    .choose-content-box .inner {
        max-width: 90%;
        margin: auto;
    }
    section.choose-area {
        padding-bottom: 4rem;
    }
}
@media only screen and (max-width: 1114px) {
    section.slogan-area div.container {
        max-width: 100% !important;
    }
}
@media only screen and (max-width: 700px) {
    section.about-style3-area {
        padding-top: 90px;
        padding-bottom: 130px;
    }
}
section.about-style3-area p {
    color: inherit;
}
section.gallery-area {
    padding-top: 9rem;
    padding-bottom: 9rem;
}
.choose-us-container {
    min-height: 70vh;
}
@media only screen and (max-width: 1499px) {
    .choose-us-container {
        display: flex !important;
        flex-direction: column !important;
    }
    .choose-content-box {
        order: 1 !important;
        flex: 1 !important;
    }
    .choose-image-box {
        order: 2 !important;
        flex: 1 !important;
    }
}


/**
    Homepage about image col
 */
@media(max-width:550px){
    .about-image-col {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}


/**
    Choose area mobile padding top
 */
@media(max-width:1500px){
    .choose-area {
        padding-top: 2rem !important;
    }
}


/**
    Shop page
 */
.btn-link {
    width: 100%;
    text-decoration: none !important;
}
.close,
.shopping-cart-card .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-up:before,
.shopping-cart-card .bootstrap-touchspin .input-group-btn-vertical .btn.bootstrap-touchspin-down:before {
    color: var(--shopping_cart_btn_text_color) !important;
}
input.quantity-spinner {
    background-color: var(--shopping_cart_background_color);
    color: var(--shopping_cart_text_color);
    border: 1px solid var(--shopping_cart_btn_background_color);
}


/**
    Contact page
 */

.contact-page-bg {
    background-image: url(../images/pattern/pattern-3.webp);
    background-size: cover;
}


/**
    Navigation
 */
@media(max-width:600px){
    .header-style3-left {
        max-width: 70%;
    }
}
@media(max-width:450px){
    .header-style3-left {
        max-width: 60%;
    }
}
@media(max-width:330px){
    .header-style3-left {
        max-width: 50%;
        font-size: 80%;
    }
}


/**
    Overview page cards
 */
.overview-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.overview-card-image {
    display: block;
    overflow: hidden;
    height: 250px;
}
.overview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.overview-card:hover .overview-card-image img {
    transform: scale(1.05);
}
.overview-card-body {
    padding: 1.5rem;
    color: var(--primary_button_text_color, #fff);
}
.overview-card-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}
.overview-card-title a {
    text-decoration: none;
    color: inherit !important;
}
.overview-card-title a:hover {
    color: inherit !important;
    opacity: 0.85;
}
.overview-card-date {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0;
}


/**
    Catalog accordion
 */
.catalog-accordion-item {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.catalog-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    color: var(--primary_button_text_color, #fff);
}
.catalog-accordion-header:hover {
    opacity: 0.9;
}
.catalog-accordion-header h4 {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.catalog-accordion-icon {
    transition: transform 0.3s ease;
}
.catalog-accordion-header[aria-expanded="true"] .catalog-accordion-icon {
    transform: rotate(180deg);
}
.catalog-accordion-header.collapsed .catalog-accordion-icon {
    transform: rotate(0deg);
}
.catalog-accordion-body {
    padding: 1.5rem;
}


/**
    Footer opening hours
 */
.footer-opening-hours {
    width: 100%;
    border-collapse: collapse;
}
.footer-opening-hours td {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}
.footer-opening-hours .opening-hours-day {
    padding-right: 1.5rem;
    white-space: nowrap;
}
.footer-opening-hours .opening-hours-time {
    white-space: nowrap;
}
.footer-closed-text {
    font-style: italic;
    font-weight: 600;
    color: var(--accent_title_color, #e74c3c);
}
