/*
 Theme Name:   Aqua System Theme
 Theme URI:    https://aquasystembih.com/
 Description:  Aqua System child theme for Neve
 Author:       Marko Pezer
 Author URI:   https://kidakstudio.com/
 Template:     neve
 Version:      1.0.0
*/

/* Woocommerce */

.nv-single-product-top .product_title.entry-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.nv-single-product-top .entry-summary .price {
    font-weight: 600;
    font-size: 18px;
}

.nv-single-product-top .entry-summary .price span bdi {
    color: #2baab1 !important;
}

.woocommerce-product-details__short-description p {
    color: #374151;
    font-size: 14px;
    font-weight: 300;
}

.woocommerce-product-details__short-description *:focus-visible,
.woocommerce-product-details__short-description *:focus,
.woocommerce-product-details__short-description *:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description,
.woocommerce-product-details__short-description {
    border: none;
    outline: none;
    box-shadow: none;
}

.nv-single-product-top .entry-summary .cart {
    justify-content: left;
    padding-left: 0px;
    gap: 0px;
    margin-bottom: 15px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #C3C3C3 !important;
}

.nv-single-product-top .entry-summary .cart .single_add_to_cart_button {
    max-width: fit-content !important;
    background-color: #2baab1;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    padding: 6px 18px;
    height: 40px;
}

.nv-single-product-top .entry-summary .cart .single_add_to_cart_button:hover {
    background-color: #2baab1;
}

.product_meta span,
.product_meta span a {
    color: #576171 !important;
}

.nv-single-product-top .entry-summary .cart .quantity input {
    width: 70px;
    text-align: left;
    border: 1px solid #677181;
    font-size: 15px;
    font-weight: 400;
    border-radius: 8px;
    padding: 6px 18px;
    height: 40px;
    padding-right: 6px;
    padding-left: 12px;
    margin-left: 0px;
    margin-right: 6px;
}

.nv-single-product-top .entry-summary .cart .quantity input:focus {
    outline: none;
    box-shadow: none;
}

.woocommerce-message {
    background-color: #f5f7fb !important;
    border: 1px solid #D5D7Db !important;
    border-radius: 10px !important;
    color: #374151 !important;
    box-shadow: none !important;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.woocommerce-message a.button,
.woocommerce-message a.button:hover {
    background-color: #2baab1;
    color: #FFF;
    padding: 6px 18px;
    outline: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
}

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a,
.woocommerce-breadcrumb span {
    color: #576171 !important;
    font-size: 13px;
}

.shop-container .nv-index-posts.nv-shop.col {
    margin-top: 30px !important;
}

/* Image */

.woocommerce-product-gallery__image.flex-active-slide a img {
    border-radius: 20px;
    border: 1px solid #E3E3E3;
}

.flex-control-nav.flex-control-thumbs li img {
    border-radius: 8px;
    border: 1px solid #E3E3E3;
}

.nv-index-posts.nv-shop * {
    box-shadow: none !important;
}

/* Tabs */

.tabs.wc-tabs {
    margin-bottom: 25px !important;
}

.tabs.wc-tabs li a {
    font-weight: 500 !important;
}

.woocommerce-Tabs-panel.woocommerce-Tabs-panel--description p {
    font-size: 14px;
    color: #374151;
    font-weight: 300;
}

table.woocommerce-product-attributes {
    border-top: 1px solid #C3C3C3 !important;
}

table.woocommerce-product-attributes tr th,
table.woocommerce-product-attributes tr td {
    padding: 4px 10px !important;
    border-bottom: 1px solid #C3C3C3 !important;;
}

table.woocommerce-product-attributes tr th {
    font-weight: 500 !important;
}


/* Products grid */

/* product grid */
ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    justify-content: start;
    margin-left: 0;
}

/* remove theme margins */
ul.products li.product {
    margin: 0 !important;
    width: 100%;
}

/* product card */
ul.products li.product {
    background: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    padding: 16px;

    display: flex;
}

ul.products li.product {
    width: auto !important;
}

/* inner wrapper full height */
ul.products li.product .nv-card-content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* push price to bottom */
ul.products li.product .price {
    margin-top: auto;
}

/* Cart button */

.floating-cart-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    background: #325694;
    color: #fff;
    text-decoration: none;

    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);

    min-width: 190px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-cart-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.floating-cart-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.floating-cart-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.floating-cart-count {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
}

.floating-cart-total {
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .floating-cart-btn {
        right: 14px;
        bottom: 14px;
        padding: 10px 14px;
        min-width: auto;
    }

    .floating-cart-count {
        font-size: 12px;
    }

    .floating-cart-total {
        font-size: 14px;
    }
}





/* Shop */

.custom-shop-page {
    padding: 30px 0 60px;
}

.shop-main-cats {
    margin-bottom: 20px;
}

.shop-main-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.shop-main-cat-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 18px;
    border-radius: 12px;
    background: #FFF;
    border: 2px solid #FFF;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
    min-height: auto;
}

.shop-main-cat-card:hover {
    /*background: #F1F3F7;
    border: 2px solid #F1F3F7;*/
}

.shop-main-cat-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-main-cat-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.shop-main-cat-name {
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

.shop-main-cat-card.is-active {
    /*background: #F1F3F7;*/
    border: 2px solid #0098cf;
}

.shop-subcats {
}

.shop-subcats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-subcat-pill {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 999px;
    background: #FFF;
    color: #374151;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.shop-subcat-pill:hover,
.shop-subcat-pill.is-active {
    background: #0098cf;
    color: #fff;
}

.shop-toolbar {
    margin-top: 30px;
    margin-bottom: 25px;
    padding: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
    border-radius: 12px;
    background: #FFF;
}

.shop-toolbar-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-toolbar-left,
.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-toolbar-left {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-toolbar-right {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 20px;
}

.shop-toolbar-search {
    width: 100%;
    max-width: 380px;
}

.shop-toolbar-search input,
.shop-toolbar-sort select {
    width: 100%;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #C5C7CB !important;
    border-radius: 8px !important;
    background: #fff;
    font-size: 14px !important;
    box-sizing: border-box;
}

.shop-toolbar-search input:focus,
.shop-toolbar-sort select:focus {
    box-shadow: none !important;
    border: 1px solid #B5B7BB !important;
}

.shop-toolbar-sort {
    width: fit-content;
}

.shop-toolbar-btn {
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: #0098cf;
    color: #fff;
    font-weight: 600;
    font-size: 14px !important;
    cursor: pointer;
    white-space: nowrap;
}

.shop-toolbar-btn:hover {
    background: #0098cf;
}

.shop-toolbar-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.shop-toolbar-sort-wrap,
.shop-toolbar-sale-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sale-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.shop-sale-toggle input {
    display: none;
}

.shop-sale-toggle-ui {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #D5D7DB;
    position: relative;
    transition: background 0.2s ease;
    flex: 0 0 auto;
}

.shop-sale-toggle-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.shop-sale-toggle input:checked + .shop-sale-toggle-ui {
    background: #0098CF;
}

.shop-sale-toggle input:checked + .shop-sale-toggle-ui::after {
    transform: translateX(20px);
}

.shop-sale-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.shop-sale-toggle input {
    display: none;
}

.shop-sale-toggle-ui {
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #D5D7DB;
    position: relative;
    transition: background 0.2s ease;
    flex: 0 0 auto;
}

.shop-sale-toggle-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.shop-sale-toggle input:checked + .shop-sale-toggle-ui {
    background: #0098CF;
}

.shop-sale-toggle input:checked + .shop-sale-toggle-ui::after {
    transform: translateX(20px);
}

.shop-sale-toggle-text {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px;
    border-radius: 12px;
    background: #FFF;
    overflow: hidden;
}

.shop-product-image-wrap {
    padding: 10px;
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid #E6E6E6;
}

.shop-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-no-image {
    background: #efefef;
}

.shop-sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    padding: 1px 12px;
    border-radius: 999px;
    background: #0098cf;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.shop-product-meta {
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex: 1;
    padding: 10px 15px 18px 15px;
}

.shop-product-brand a {
    color: #0098cf;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.shop-product-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    margin-bottom: 10px;
}

.shop-product-title a {
    color: #111;
    text-decoration: none;
}

.shop-product-taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-tax-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #F1F3F7;
    color: #576171;
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.shop-tax-link:hover {
    color: #576171;
}

.shop-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.shop-price-old {
    color: #8791A1;
    font-size: 13px;
    text-decoration: line-through;
}

.shop-price-current {
    color: #111827;
    color: #0098cf;
    font-size: 16px;
    font-weight: 600;
}

.shop-no-price {
    color: #576171;
    font-size: 16px;
    font-weight: 600;
}

.shop-no-results {
    padding: 15px 0;
    font-size: 15px;
    color: #374151;
}

.shop-pagination {
    margin-top: 36px;
}

.shop-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination .page-numbers li {
    margin: 0;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f3f3f3;
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.shop-pagination .page-numbers .current {
    background: #111;
    color: #fff;
}

@media (max-width: 1400px) {
    .shop-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .shop-main-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .shop-toolbar-form {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .shop-toolbar-search {
        max-width: none;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .shop-main-cats-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .shop-main-cats-grid {
        gap: 10px;
    }
    
    .shop-tax-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0px;
        border-radius: 0px;
        background: #FFF;
        color: #576171;
        text-decoration: none;
        font-size: 11px;
        font-weight: 400;
        line-height: 1.3;
    }
    
    .shop-price-old {
        font-size: 12px;
    }
    
    .shop-no-price {
        font-size: 14px;
    }
    
    .shop-price-current {
        font-size: 14px;
    }

    .shop-toolbar-left,
    .shop-toolbar-right {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-btn,
    .shop-toolbar-sort {
        width: 100%;
    }

    .shop-product-image-wrap {
        aspect-ratio: 1 / 1;
    }
}




/* Single Product */

.custom-single-product-page {
    padding: 30px 15px 70px 15px !important;
}

.custom-single-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    color: #677181;
}

.custom-single-breadcrumbs a {
    color: #677181;
    text-decoration: none;
}

.custom-single-top-notices {
    margin-bottom: 24px;
}

.custom-added-to-cart-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #EAF8EC;
    border: 1px solid #CBECCF;
    border-radius: 14px;
    margin-top: 12px;
}

.custom-added-to-cart-text {
    font-weight: 600;
    color: #1E6A2A;
}

.custom-added-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.custom-single-product-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 45px;
    align-items: start;
    margin-bottom: 50px;
}

.custom-single-product-main-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid #D5D7Db;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.custom-single-product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}

.custom-single-product-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}

.custom-single-thumb-btn {
    border: 1px solid #D5D7Db;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 5px;
}

.custom-single-thumb-btn:hover {
    background: #fff;
    border: 1px solid #B5B7Bb;
}

.custom-single-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.custom-single-thumb-btn.is-active {
    border: 1px solid #B5B7Bb;
}

.custom-single-product-title {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7Eb;
    font-size: 32px;
    line-height: 1.2;
    color: #111827;
}

.custom-single-product-brand {
    margin-bottom: 5px;
}

.custom-single-product-brand a {
    color: #0098cf;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-single-label {
    color: #677181;
    margin-right: 6px;
}

.custom-single-product-price-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.custom-single-price-current {
    font-size: 22px;
    font-weight: 600;
    color: #0098cf;
}

.custom-single-price-old {
    font-size: 18px;
    color: #97A1B1;
    text-decoration: line-through;
}

.custom-single-no-price {
    font-size: 22px;
    font-weight: 600;
    color: #0098cf;
}

.custom-single-attributes-box {
    margin-bottom: 24px;
    background: #f5f7fb;
    border: 1px solid #D5D7Db;
    border-radius: 10px;
    overflow: hidden;
    padding: 0 !important;
}

.custom-single-attributes-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
}

.custom-single-attributes-table th,
.custom-single-attributes-table td {
    padding: 8px 14px;
    text-align: left;
    border-bottom: 1px solid #D5D7Db;
    font-size: 14px;
    vertical-align: top;
    line-height: 1.3;
}

.custom-single-attributes-table th {
    width: 38%;
    color: #677181;
    font-weight: 500;
    border-right: 1px solid #D5D7Db;
}

.custom-single-attributes-table td {
    color: #374151;
}

.custom-single-attributes-table tr:last-child th,
.custom-single-attributes-table tr:last-child td {
    border-bottom: 0;
}

.custom-single-cart-box {
    margin-top: 30px;
}

.custom-single-cart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-single-cart-form .quantity {
    margin: 0 !important;
}

.custom-single-cart-form .quantity input.qty {
    width: 80px;
    height: 42px;
    border: 1px solid #D5D7Db;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    background: #fff;
    box-shadow: none !important;
}

.custom-single-add-to-cart-btn {
    height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px !important;
    background: #0098cf !important;
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    width: fit-content !important;
    cursor: pointer;
    flex-grow: unset !important;
}

.custom-single-unavailable {
    padding: 14px;
    border-radius: 10px;
    background: #FDECEC;
    border: 1px solid #F5C2C7;
    color: #842029;
    font-size: 15px;
}

.custom-single-description-section,
.custom-single-similar-section {
    margin-top: 55px;
}

.custom-single-description-section .custom-single-section-title {
    margin: 0 0 15px;
    font-size: 20px;
    line-height: 1.2;
    color: #111827;
    font-weight: 600;
}

.custom-single-similar-section .custom-single-section-title {
    margin: 0 0 30px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: #111827;
    text-align: center;
}

.custom-single-description-section {
    background: #f5f7fb;
    border: 1px solid #D5D7Db;
    border-radius: 10px;
    padding: 20px 25px;
}

.custom-single-description-section .custom-single-section-title {
    
}

.custom-single-description-content {
    color: #374151;
    line-height: 1.4;
    font-size: 15px;
}

.custom-single-description-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .custom-single-product-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 767px) {
    .custom-single-product-title {
        font-size: 28px;
    }

    .custom-single-price-current,
    .custom-single-no-price {
        font-size: 24px;
    }

    .custom-single-product-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .custom-single-cart-row,
    .custom-added-to-cart-box {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-single-add-to-cart-btn,
    .custom-added-to-cart-btn {
        width: 100%;
    }
}