/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.catalog-list {
    min-height: 500px;
}

.catalog-list .catalog-item img {
    width: 100%;
}

.catalog-tool {
    display: flex;
    align-items: center;
    background: #B8AFA1;
    width: fit-content;
    border-radius: 5px;
    padding: 5px;
    position: absolute;
    flex-direction: column;
}

#catalog-showroom-modal .catalog-tool {
    left: 0;
    top: 0;
}

#catalog-showroom-modal .catalog-tool .row {
    margin: 0;
}

#hook_catalog_showrrom .btn-close-popup {
    display: none;
}

.select-slide-page {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #fff;
    padding-bottom: 5px;
}

.select-slide-page .title-search {
    font-size: 10px;
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.select-slide-page input#page-slide {
    width: 26px;
    text-align: center;
    border: none;
    border-radius: 3px;
    font-size: 12px;
}

.btn-full-view:hover,
.btn-close-popup:hover {
    transform: scale(1.2);
    transition: .3s ease all;
}

.catalog-list .btn-full-view .material-icons {
    font-size: 24px;
}

.btn-close-popup {
    padding-top: 2px;
    cursor: pointer;
}

.btn-close-popup .material-icons {
    color: #fff;
    font-weight: 700;
}

.btn-full-view {
    /* background: #B8AFA1; */
    width: fit-content;
    color: #fff;
    /* padding: 5px 10px; */
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.catalog-list .owl-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    display: flex;
}

.catalog-list .owl-nav button {
    background: transparent;
    border: none;
}

.catalog-list .owl-nav button:focus {
    outline: none;
}

.catalog-list .owl-nav button.owl-prev {
    width: 50%;
    text-align: left;
}

.catalog-list .owl-nav button.owl-next {
    width: 50%;
    text-align: right;
}

.catalog-list .owl-nav button span {
    background: transparent;
    font-size: 150px;
    zoom: unset;
    color: #132d52;
    cursor: pointer;
}

#catalog-showroom-modal.fade.in {
    display: block;
    background: rgba(0, 0, 0, 0.6);
    overflow: scroll;
}

#catalog-showroom-modal .modal-dialog {
    max-width: 98%;
}

#catalog-showroom-modal .modal-dialog .btn-full-view {
    display: none;
}

#catalog-showroom-modal .modal-header {
    padding: 0;
    border: none;
    width: fit-content;
    position: absolute;
    top: -20px;
    z-index: 9;
    right: -20px;
}

#catalog-showroom-modal .modal-header .material-icons {
    background: #B8AFA1;
    color: #fff;
    line-height: 1;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
}

div#product-special .elementor-widget-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    display: grid;
}

section#hook_catalog_showrrom .elementor-row {
    flex-wrap: wrap;
}

.catalog-product.js-product-list {}

.catalog-product.js-product-list .ce-products.ce-product-grid.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    display: grid;
}

div#hook_pdf .row.catalog-item {
    margin: 0;
    border-radius: 10px;
    background: #e7e7e7;
    padding: 20px;
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.1607843137254902);
}

.catalog-list .btn-full-view {
    position: relative;
    padding-top: 5px;
    /* position: absolute;
    top: 0;
    padding: 10px; */
}

.catalog-list .owl-nav {
    justify-content: space-between;
}

.catalog-list .owl-nav button.owl-prev {
    width: auto;
    text-align: left;
    background: white;
}

.catalog-list .owl-nav button.owl-next {
    width: auto;
    text-align: right;
    background: white;
}

.catalog-list .owl-nav button {
    padding: 0;
    border-radius: 10px;
}

.catalog-list .owl-nav button span {
    background: transparent;
    font-size: 50px;
    zoom: unset;
    color: #252525;
    cursor: pointer;
    line-height: normal;
}

.catalog-list .owl-nav button span i.material-icons {
    font-size: 32px;
}

section#hook_catalog_showrrom .elementor-container.elementor-column-gap-default>.elementor-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

section#hook_catalog_showrrom .elementor-container.elementor-column-gap-default>.elementor-row>.elementor-element {
    width: calc(50% - 10px);
}

/* #js-product-list .ce-products .js-product:first-child,
#js-product-list .ce-products .js-product:nth-child(2) {
    display: none;
} */

/* Checkout */
#invoice-address .address-invoice-display {
    border: 1px solid #e8e8e8;
    width: fit-content;
    padding: 5px;
    border-radius: 10px;
    min-width: 180px;
    font-size: 12px;
    color: #b8afa1;
    margin-bottom: 30px;
}

#invoice-address .address-invoice-display .address-invoice-title {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 2px;
    margin-bottom: 5px;
    display: flex;
    gap: 5px;
}

#invoice-address .address-invoice-display .address-invoice-detail ul {
    margin-bottom: 0;
}

#invoice-address .address-invoice-display .material-icons {
    font-size: 12px;
}

#invoice-address .address-invoice-display .address-invoice-title .material-icons {
    font-size: 18px;
}

#calendar-delivery-choose {
    padding-top: 30px;
}

#calendar-delivery-choose h5 {
    color: #252525;
    font-weight: 700;
}

#calendar-delivery-choose input {
    border: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    font-size: 14px;
    width: 100%;
}

#calendar-delivery-choose h5.po_number_title {
    margin-top: 25px;
}

#calendar-delivery-choose .material-icons,
#calendar-delivery-choose .success {
    color: #549650;
    font-size: 12px;
}

#calendar-delivery-choose label.error {
    font-size: 12px;
    color: #f00;
}

#thecheckout-account,
#checkout .checkout-block[class*='num-'] .block-header:before {
    display: none;
}

div#reference-invoice-field {
    margin-top: 15px;
}

.main-flex h5.po_number_title {
    width: auto;
    min-width: max-content;
    color: var(--secondary);
}

input#reference_delivery_field,
input#reference_invoice_field {
    border: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    font-size: 14px;
    width: 100%;
    padding-bottom: 5px;
    padding-left: 10px;
}


input#reference_delivery_field:focus-visible,
input#reference_invoice_field:focus-visible
input#tracking_email_value:focus-visible  {
    outline: none;
}

/* ซ่อนคอลัมน์วันอาทิตย์ (คอลัมน์ที่ 1) */
.ui-datepicker-calendar th:nth-child(1),
.ui-datepicker-calendar td:nth-child(1) {
    display: none;
}

/* ซ่อนคอลัมน์วันเสาร์ (คอลัมน์ที่ 7) */
.ui-datepicker-calendar th:nth-child(7),
.ui-datepicker-calendar td:nth-child(7) {
    display: none;
}

#invoice-address .address-invoice-display {
    display: none;
}

#thecheckout-address-delivery .block-header.address-name-header {
    display: none;
}

div#reference-delivery-field .check-circle.success,
div#reference-invoice-field .check-circle.success,
div#tracking-email-field .check-circle.success {
    display: none;
}

div#reference-delivery-field .check-circle.success.active,
div#reference-invoice-field .check-circle.success.active,
div#tracking-email-field .check-circle.success.active {
    display: flex;
}

.elementor-widget-product-variants .ce-product-variants .ce-product-variants__patterns .ce-product-variants__radio-wrapper .ce-product-variants__pattern {
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
}

#thecheckout-address-invoice .inner-area form#invoice-address {
    height: 0;
    overflow: hidden;
}

.field-password-policy .formpassword.row_password {
    position: relative;
}

#pwdGenerateWrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9;
}

#pwdGenerateWrapper button#btnPwdGenerate {
    background: #b9b0a1;
    border-color: #b9b0a1;
    padding: 15px 20px;
    border-radius: 50px;
}

body#registration .formpassword button[data-action="show-password"]::before{
    right: 120px;
}

h1.type_register.address-title.row.form-group{
    width: 100%;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #e8e8e8;
    padding-top: 40px;
}

section.register-form .form-group.row{
    width: 50%;
}

section.register-form .form-group.row_address1{
    width: 100%;
}

body#registration section.address-add-form,
section.register-form .form-group.row.row_alias,
section.register-form .form-group.row.row_address2,
section.register-form .form-group.row.row_optin,
section.register-form .form-group.row.row_psgdpr,
section.register-form .form-group.row.row_newsletter,
section.register-form .form-group.row.row_customer_privacy
{
    display: none;
}

section.register-form .form-group.row.select-customer-group {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
    padding-left: 15px;
    clear: both;
}

section.register-form .form-group.row.select-customer-group .customer-type-group {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
}

section.register-form form#customer-form .select-customer-group .customer-type-group label {
    padding: 0;
    padding-left: 15px;
    margin: 0;
    font-family: 'Poppins';
}

section.register-form .select-customer-group .custom-checkbox span {
    background-color: var(--primary) !important;
    position: relative;
    background-image: none !important;
    border-color: var(--primary) !important;
    min-width: 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid #666;
    border-radius: 50%;
    top: -2px !important;
}

section.register-form .select-customer-group .custom-checkbox span i{
    display: none !important;
}

section.register-form .select-customer-group .custom-checkbox input[type=checkbox]:checked + span::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

section.register-form form#customer-form .help-block.error-address {
    float: left;
    width: 100%;
}
section.register-form .select-customer-group .custom-checkbox span{
    background: #fff !important;
}
section.register-form .select-customer-group .custom-checkbox input[type=checkbox]:checked + span {
    background: var(--primary) !important;
}

#tracking-email-field i.fa-question-circle {
    color: #b9b0a1;
    font-size: 18px;
    padding-left: 5px;
    cursor: pointer;
}

#modal.js-hint-additional-mail-modal .modal-content {
    padding: 0;
    border-radius: 10px;
}

#modal.js-hint-additional-mail-modal .modal-content .js-modal-content {
    overflow-y: auto;
    max-height: 650px;
}

#modal.js-hint-additional-mail-modal .modal-content button.close {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #fff;
    border-radius: 50px;
    padding: 4px 10px;
}

#modal.js-hint-additional-mail-modal img{
    border-radius: 10px;
}