/*
Theme Name: King Eggs
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for King Eggs
Version: 1.0.0.1668417399
Updated: 2025-06-11 09:16:39

*/
html,
body {
    overflow-x: hidden;
}

#head-sticky,
#head-sticky > div  {
    transition: all 0.3s ease-out;
}

#head-sticky.head-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0px 4px 11px 0px rgba(0, 0, 0, 0.24);
}

#head-sticky.head-sticky-active > div {
    padding: 0 !important;
}

#head-sticky .site-logo img {
    transition: all 0.2s ease;
}

#head-sticky.head-sticky-active .site-logo img {
    max-width: 150px !important;
}

.head-contact .elementor-icon {
    border-color: var(--e-global-color-secondary) !important;
}

a.contact-detail {
    display: inline-block;
    color: inherit;
}

.elementor-icon-box-description a {
    color: inherit;
}

.elementor-icon-list-item a {
    color: inherit;
}

.w-100 {
    display: inline-block;
    width: 100%;
}

.home-counter .elementor-counter-number-wrapper {
    align-items: flex-end;
}

.home-counter .elementor-counter-number-suffix {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

.home-counter.sale-total .elementor-counter-number-wrapper {
    justify-content: center;
}

.home-counter.sale-total .elementor-counter-number-prefix {
    flex-grow: unset;
    margin-left: 8px;
}

.home-counter.sale-total .elementor-counter-number-suffix {
    flex-grow: unset;
}

.home-counter.sale-total .elementor-counter-number {
    order: -1;
}

.ti-widget.ti-goog .ti-reviews-container-wrapper .ti-review-item>.ti-inner {
    border-color: var( --e-global-color-primary ) !important;
}

.number-box:not(:last-of-type):before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 100%;
    border-left: 2px dashed #F1CDAA;
    position: absolute;
    top: 30px;
    left: 39px;
}

.elementor-shape.elementor-shape-top .elementor-shape-fill {
    d: path("M 500 97 C 126.7 96.3 0.8 0 0 0 v 100 l 1000 0 V 1 C 1000 0 873.3 97.8 500 97 Z");
}

.eggs-prices-update-title {
    font-size: 22px !important;
    text-align: center;
    margin: 0 0 10px;
}

.eggs-prices-update-latest {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

table.table-eggs-price-latest {
    border-collapse: separate;
    border-spacing: 0;
}

table.table-eggs-price-latest th{
    font-size: 17px;
    border: 0 !important;
    background: var(--e-global-color-secondary);
    padding: 13px 8px !important;
    text-align: center;
}

table.table-eggs-price-latest thead tr th:first-of-type {
    border-radius: 30px 0 0 30px !important;
}

table.table-eggs-price-latest thead tr th:last-of-type {
    border-radius: 0 30px 30px 0 !important;
}

table.table-eggs-price-latest td {
    border: 0;
    background: transparent !important;
    text-align: center;
    padding: 8px !important;
}

table.table-eggs-price-latest tbody tr:not(:last-of-type) td {
    border-bottom: 1px solid #fef2dc !important;
}

table.table-eggs-price-latest .unit{
    color: #B2B2B2
}

#egg-price-table {
    border-collapse: separate;
    border-spacing: 0;
    border-bottom: 0;
}

#egg-price-table th{
    font-size: 16px;
    border: 0 !important;
    background: var(--e-global-color-secondary);
    padding: 15px 10px !important;
    text-align: center;
}

#egg-price-table thead tr th:first-of-type {
    border-radius: 30px !important;
}

#egg-price-table thead tr th:nth-of-type(2) {
    border-radius: 30px 0 0 30px !important;
}

#egg-price-table thead tr th:last-of-type {
    border-radius: 0 30px 30px 0 !important;
}

#egg-price-table tr {
    background: transparent !important;
}

#egg-price-table td {
    border: 0;
    background: transparent !important;
    text-align: center;
    padding: 15px 10px !important;
    box-shadow: unset !important;
}

#egg-price-table td.dtr-control {
    text-align: left;
}

#egg-price-table tbody tr:not(:last-of-type) td {
    border-bottom: 1px solid #fef2dc !important;
}

#egg-price-table .unit{
    color: #B2B2B2
}

.filter-price-group {
    margin: 0px 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.filter-price-group select {
    width: 100px;
    outline: unset;
    border: 1px solid #D9D9D9;
    border-radius: 30px;
    padding: 7px 15px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 10px;
    line-height: 1;
    background: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #000 !important;
    border-color: #fef2dc !important;
}

#egg-price-table_wrapper.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
#egg-price-table_wrapper.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover {
    border-color: var( --e-global-color-primary ) !important;
    background-color: var( --e-global-color-primary ) !important;
    color: #fff !important;
    
}

@media screen and (min-width: 768px) {  
    .filter-price-group {
        float: right;
        justify-content: flex-end;
        width: 300px;
        max-width: 50%;
        margin: -100px 0 30px;
    }
}

@media screen and (min-width: 1200px) {  
    .home-main-video iframe {
        min-height: 463px;
    }
}