/*
Theme Name: Samakkee
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.9.1780367075
Updated: 2026-06-02 02:24:35

*/

/***
* class: .sticky-header
*/
.sticky-header {
  --header-height: 150px;
  --shrink-header-to: 0.6;
  --transition: all 0.25s ease-out;
  background-color: transparent;
  margin-bottom: calc(var(--header-height) * -1);
  transition: background-color var(--transition),
              backdrop-filter var(--transition),
              box-shadow var(--transition);
}

.sticky-header.elementor-sticky--effects {
  background-color: rgb(35 31 32 / 85%) !important;
  box-shadow: 0 4px 33px 1px rgba(0,0,0,.07);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.sticky-header > .e-con-inner {
  min-height: var(--header-height);
  transition: min-height var(--transition), padding var(--transition);
}
.sticky-header.elementor-sticky--effects > .e-con-inner {
  min-height: calc(var(--header-height) * var(--shrink-header-to));
  padding-top: 0px !important;
  padding-bottom: 10px !important;
}

.sticky-header .logo img {
  height: auto;
  transition: var(--transition);
}
.sticky-header.elementor-sticky--effects .logo img {
  max-width: 86px !important;
}

@media (max-width: 767px) {
  .sticky-header { --header-height: 70px; }
  .sticky-header.elementor-sticky--effects .logo img { max-width: 60px !important; }
}

@media (min-width: 768px) {
    .translated-ltr .sticky-header {
        --header-height: 200px;
    }
}
.translated-ltr .sticky-header .elementor-nav-menu--main .elementor-nav-menu {
    flex-wrap: wrap;
}
.translated-ltr .sticky-header .elementor-nav-menu .elementor-item {
    font-size: 15px;
    padding-left: 9px;
    padding-right: 9px;
    white-space: nowrap;
}

/* Global Style */
.elementor-lightbox .elementor-lightbox-image {
    border-radius: 0 !important;
    box-shadow: unset !important;
}

.single-post .wp-block-list{
    margin-bottom: 15px;
}


.elementor-widget-post-info .elementor-post-info__terms-list a{
    transition: all 0.3s ease;
}

.elementor-widget-post-info .elementor-post-info__terms-list a:is(:hover, :focus, :active){
    text-decoration: underline;
}

.highlight-title strong {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1em;
}

.elementor-widget-icon-box .elementor-icon-box-description a{
    color: inherit;
    font-weight: inherit;
    transition: color 0.3s ease-in-out;
}

.elementor-widget-icon-box .elementor-icon-box-description a:is(:hover, :focus, :active){
    color: var(--accent);
}

/* Custom GTranslate */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gtranslate Style */
.gtranslate_wrapper, .gtranslate_wrapper .gt_switcher, .gtranslate_wrapper .gt_switcher .gt_selected, .gtranslate_wrapper .gt_switcher .gt_selected a{
    height: 100%;
}

.gtranslate_wrapper .gt_switcher .gt_selected a{
    border: none !important;
}

.gtranslate_wrapper .gt_switcher .gt_selected{
    background: transparent !important;
}

.gt_switcher {
    width: max-content !important;
    font-family: inherit !important;
}

.gt_switcher img {
    border-radius: 50% !important;
    object-fit: cover !important;
}

.gt_switcher .gt_selected a {
    font-family: inherit !important;
    font-weight: bold !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px !important;
    background: transparent !important;
    width: max-content !important;
}

.gt_switcher .gt_selected a::after {
    position: relative !important;
    right: auto !important;
    margin-left: 4px !important;
}

.gt_switcher .gt_option {
    position: absolute !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background-color: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px !important;
    min-width: max-content !important;
    margin-top: 15px !important;
    z-index: 9999 !important;
    animation: slideFadeIn 0.25s ease-out forwards !important;
}

.gt_switcher .gt_option a {
    font-family: inherit !important;
    font-weight: normal !important;
    color: #333333 !important;
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 12px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.gt_switcher .gt_option a:hover {
    background-color: #f5f5f5 !important;
}

/* Custom icon border */
.elementor-widget-icon-box.elementor-view-framed.elementor-shape-square .elementor-icon-box-icon .elementor-icon{
    border-color: #D9D9D9;
}

.elementor-widget-icon.elementor-view-framed.elementor-shape-square .elementor-icon{
    border-color: #D9D9D9;
}

/* Custom contact form */
.elementor-field-type-submit .elementor-button-icon svg *{
  fill: var(--accent) !important;
  transition: fill 0.3s ease;
}

.elementor-field-type-submit:hover .elementor-button-icon svg *{
  fill: var(--primary) !important;
}

.elementor-field-type-upload input[type="file"]::file-selector-button {
  padding: 12px 30px;
  border-radius: 5px;
  border: 1px solid #D9D9D9;
  margin-right: 15px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.8s !important;
  background-color: #F1F2F2;
}

.elementor-field-type-upload input[type="file"]::file-selector-button:is(:hover,:focus,:active) {
  background-color: #d1d1d1
}

/* Custom blog category list */
.custom-cate-widget .widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-cate-widget .list-item {
    border-bottom: 1px solid var(--color-2);
}

.custom-cate-widget .list-item:last-child {
    border-bottom: none;
}

.custom-cate-widget .list-item a {
    display: block;
    padding: 15px 0;
    color: var(--color-3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-cate-widget .list-item a:hover {
    color: var(--primary);
}

.custom-cate-widget .list-item.active a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
}

.blog .elementor-widget-loop-grid .e-atomic-element .e-image-link-base,.single-post .elementor-widget-loop-grid .e-atomic-element .e-image-link-base{
    width: 100%;
    height: 100%;
}

/* Custome list menu */
.custom-list-menu .elementor-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list-menu .elementor-nav-menu .menu-item {
    border-bottom: 1px solid var(--color-2);
}

.custom-list-menu .elementor-nav-menu .menu-item .elementor-item {
    display: block;
    padding: 15px 0;
    color: var(--color-3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-list-menu .elementor-nav-menu .menu-item .elementor-item:hover {
    color: var(--primary);
}

.custom-list-menu .elementor-nav-menu .menu-item.current-menu-item > .elementor-item,
.custom-list-menu .elementor-nav-menu .menu-item > .elementor-item.elementor-item-active {
    color: var(--primary);
    text-decoration: underline;
    font-weight: bold;
}

/* Product Category Filter */
.widget_product_categories ul.product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.widget_product_categories ul.product-categories li {
    list-style: none;
    position: relative;
    padding: 8px 35px 8px 0;
    margin: 0;
}

.widget_product_categories ul.product-categories li a {
    display: inline;
    text-decoration: none;
    color: var(--text);
    vertical-align: baseline;
}

.widget_product_categories ul.product-categories li .count {
    display: inline;
    color: var(--text);
}

.widget_product_categories>ul.product-categories>li>a {
    font-weight: 400;
    color: var(--text);
}

.widget_product_categories>ul.product-categories>li>.count {
    font-weight: 400;
}

.widget_product_categories ul.children li a {
    font-weight: 400;
    color: var(--text);
}

.cat-toggle {
    position: absolute;
    right: 0;
    top: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-toggle::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transition: transform 0.3s ease;
    transform: rotate(45deg);
    margin-bottom: 3px;
}

li.active-expand>.cat-toggle::before {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.widget_product_categories ul.children {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
    margin-right: -35px;
}

.widget_product_categories ul.children li {
    padding: 5px 35px 5px 0;
}

.widget_product_categories li.active-expand>ul.children {
    display: block !important;
}

.widget_product_categories li.current-cat-parent > a,
.widget_product_categories > ul.product-categories > li.current-cat > a {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.widget_product_categories ul.children li.current-cat > a {
    color: var(--primary) !important;
    font-weight: 400 !important;
    text-decoration: underline !important;
}

.widget_product_categories ul.product-categories li a:hover {
    color: var(--primary);
}

.widget_product_categories ul.product-categories li a:hover {
    color: var(--primary);
}

.widget_product_categories li.current-cat > a {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Custom single product style */
.product-template-default .elementor-widget-post-info .elementor-post-info__terms-list a{
    color: #AFAFAF !important;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.product-template-default .elementor-widget-post-info .elementor-post-info__terms-list a:is(:hover, :focus, :active){
    color: var(--primary) !important;
}

.product-template-default .elementor-widget-post-info .elementor-post-info__item-prefix{
    font-weight: 700 !important;
}

/* Custom product tab table */
.product-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: transparent !important;
    border: none !important;
    margin: 0;
}
.product-spec-table tr {
    background: transparent !important;
}
.product-spec-table th,
.product-spec-table td {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--color-2) !important;
    padding: 13px 4px;
    vertical-align: top;
		text-transform: capitalize;
}
.product-spec-table thead th {
    font-weight: 700;
    color: var(--primary);
    border-bottom: 1px solid var(--primary) !important;
		text-transform: capitalize;
}
.product-spec-table thead th:first-child { text-align: left; }
.product-spec-table thead th:last-child  { text-align: right; }
.product-spec-table tbody th {
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    padding-right: 16px;
}
.product-spec-table tbody td {
    text-align: right;
    font-weight: 300;
    color: var(--text);
		text-transform: none !important;
}
.product-spec-table tbody tr:last-child th,
.product-spec-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Custom product gallery */
.custom-spec-gallery {
    column-count: 2;
    column-gap: 15px;
    width: 100%;
    display: block;
}

.custom-spec-gallery .gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 15px;
    display: block;
    width: 100%;
}

.custom-spec-gallery .gallery-item:first-child {
    column-span: all;
    -webkit-column-span: all;
}

.custom-spec-gallery .gallery-item a {
    display: block;
    width: 100%;
}

.custom-spec-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .custom-spec-gallery {
        column-count: 1;
    }
    
    .custom-spec-gallery .gallery-item:first-child {
        column-span: none;
        -webkit-column-span: none;
    }
}