/*
Theme Name: HomeSmart Cabinetry
Theme URI: https://www.glotradeso.com
Author: GLOTRADESO
Description: WooCommerce + Elementor compatible theme converted from the HomeSmart Cabinetry HTML template.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: homesmart-cabinetry
*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  top: 12px;
  left: 12px;
  z-index: 100000;
  background: #fff;
  color: #111;
}

.custom-logo-link,
.web_head .logo a,
.footerWrap .web_footer .top_footer .logo a {
  display: inline-flex;
  align-items: center;
}

.head_search form.search {
  display: flex;
  align-items: center;
  width: 100%;
}

.head_search form.search input[type="search"] {
  flex: 1;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.head_search form.search .sub {
  display: flex;
  align-items: center;
}

.head_search form.search .sub input {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.web_nav ul,
.language_item,
.banner_share,
.share_url_list,
.footerWrap .menu {
  list-style: none;
}

.web_nav ul li.current-menu-item > a,
.web_nav ul li.current-menu-ancestor > a,
.web_nav ul li.current_page_item > a {
  color: #e48b00;
}

.footerWrap .menu {
  margin-top: 20px;
}

.footerWrap .menu li + li {
  margin-top: 10px;
}

.footerWrap .menu li a {
  color: #fff;
  transition: color 0.3s ease;
}

.footerWrap .menu li a:hover {
  color: #e48b00;
}

.site-main {
  padding: 80px 0;
}

.layout.narrow {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.page-main .entry-title,
.single-main .entry-title,
.archive-main .page-title {
  margin: 0 0 24px;
  font-family: "Poppins-SemiBold";
  font-size: clamp(32px, 2.6vw, 48px);
  line-height: 1.1;
}

.single-main .entry-meta {
  margin-bottom: 28px;
  color: #7a7a7a;
  font-size: 15px;
}

.entry-content p,
.entry-summary p {
  margin: 0 0 18px;
  line-height: 1.85;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.entry-card {
  padding: 28px;
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.entry-card .post-thumbnail {
  display: block;
  margin-bottom: 18px;
}

.entry-card .post-thumbnail img {
  width: 100%;
  border-radius: 16px;
}

.entry-card .entry-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.3;
}

.entry-card .entry-meta {
  margin-bottom: 14px;
  color: #888;
  font-size: 14px;
}

.entry-card .more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  padding: 12px 24px;
  margin-top: 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  transition: background 0.3s ease;
}

.entry-card .more-link:hover {
  background: #e48b00;
}

.blogSinglePage .bannerWrapper .this_text .blog-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.blogSinglePage .bannerWrapper .this_text .blog-kicker a {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blogSinglePage .single-main {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(80px, 9vw, 128px);
}

.single-main .entry-shell {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.05);
}

.single-main .entry-header {
  margin-bottom: 28px;
}

.single-main .entry-cats {
  margin-bottom: 18px;
}

.single-main .entry-cats,
.single-main .entry-cats ul.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.single-main .entry-cats ul.post-categories {
  margin: 0;
}

.single-main .entry-cats ul.post-categories li {
  margin: 0;
  list-style: none;
}

.single-main .entry-cats > a,
.single-main .entry-cats ul.post-categories li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f6efe4;
  color: #9b5f00;
  font-size: 14px;
  line-height: 1;
  transition: background 0.3s ease, color 0.3s ease;
}

.single-main .entry-cats > a:hover,
.single-main .entry-cats ul.post-categories li a:hover {
  background: #e48b00;
  color: #fff;
}

.single-main .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 0;
  color: #7a7a7a;
  font-size: 15px;
}

.single-main .entry-excerpt {
  margin: 22px 0 0;
  color: #555;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.8;
}

.single-main .post-thumbnail {
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 24px;
}

.single-main .post-thumbnail img {
  display: block;
  width: 100%;
}

.single-main .entry-content h2,
.single-main .entry-content h3,
.single-main .entry-content h4 {
  margin: 40px 0 16px;
  font-family: "Poppins-SemiBold";
  line-height: 1.25;
}

.single-main .entry-content ul,
.single-main .entry-content ol {
  margin: 0 0 20px 22px;
}

.single-main .entry-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.single-main .entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid #e48b00;
  border-radius: 0 20px 20px 0;
  background: #faf5ec;
  color: #2e2e2e;
}

.single-main .entry-content a {
  color: #e48b00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-main .entry-content img {
  border-radius: 18px;
}

.single-main .entry-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(51, 51, 51, 0.08);
}

.single-main .entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-main .entry-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #111;
  transition: background 0.3s ease, color 0.3s ease;
}

.single-main .entry-tags a:hover {
  background: #111;
  color: #fff;
}

.post-navigation-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.post-navigation-links .nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 24px 26px;
  border: 1px solid rgba(51, 51, 51, 0.08);
  border-radius: 24px;
  background: #fff;
  color: #111;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-navigation-links .nav-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 139, 0, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.post-navigation-links .nav-card-next {
  text-align: right;
}

.post-navigation-links .nav-label {
  color: #7a7a7a;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-navigation-links .nav-title {
  font-family: "Poppins-SemiBold";
  font-size: 22px;
  line-height: 1.35;
}

.related-posts {
  margin-top: 60px;
}

.related-posts .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.related-posts .section-head h2 {
  margin: 0;
  font-family: "Poppins-SemiBold";
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.1;
}

.related-posts .section-link {
  color: #111;
  font-size: 15px;
  transition: color 0.3s ease;
}

.related-posts .section-link:hover {
  color: #e48b00;
}

.homepage-content {
  padding: 70px 0 0;
}

.homepage-content .content-layout {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.listPage .modelWrapper2 .Wrapper .left .this_content > ul > li.current-menu-parent > a,
.listPage .modelWrapper2 .Wrapper .left .this_content > ul > li.current-menu-item > a,
.listPage .modelWrapper2 .Wrapper .left .this_content > ul > li > ul > li.current-menu-item > a {
  color: #ff9e12;
}

.listPage .modelWrapper2 .Wrapper .left .this_content > ul > li > ul > li.current-menu-item::before {
  background-color: #ff9e12;
}

.listPage .modelWrapper2 .Wrapper .right .this_in .this_child .img_b a {
  display: block;
}

.listPage .modelWrapper2 .Wrapper .right .this_in .this_child .img_b img {
  width: 100%;
}

.listPage .modelWrapper2 .Wrapper .right .this_in .this_child .this_content .buttonWrap .this_button {
  text-align: center;
}

.listPage .archive-empty {
  width: 100%;
  padding: 36px 24px;
  background: #f5f5f5;
  text-align: center;
}

.listPage .archive-empty p {
  margin: 0;
}

.listPage .shop-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 40px;
}

.listPage .shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #000;
  color: #000;
  transition: all 0.3s ease;
}

.listPage .shop-pagination .page-numbers.current,
.listPage .shop-pagination .page-numbers:hover {
  background: #000;
  color: #fff;
}

.detailPage .modelWrapper1 .Wrapper .right .this_price h3 .price {
  color: inherit;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart .quantity,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .quantity,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .single_variation,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .woocommerce-variation-description,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .woocommerce-variation-price,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .woocommerce-variation-availability,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .reset_variations,
.detailPage .modelWrapper1 .Wrapper .right .this_btn .homesmart-hidden-variation-controls {
  display: none !important;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .single_variation_wrap,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .woocommerce-variation-add-to-cart {
  display: inline-flex;
  align-items: center;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart .single_add_to_cart_button,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart .this_button,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .single_add_to_cart_button,
.detailPage .modelWrapper1 .Wrapper .right .this_btn > a.this_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 45px;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart .single_add_to_cart_button,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.cart .this_button,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .single_add_to_cart_button {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn .homesmart-secondary-button {
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
}

.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .single_add_to_cart_button.disabled,
.detailPage .modelWrapper1 .Wrapper .right .this_btn form.variations_form .single_add_to_cart_button.wc-variation-selection-needed {
  opacity: 0.65;
  cursor: not-allowed;
}

.detailPage .bestProWrap .Wrap .bestProSwiper .swiper-slide .imgWrap a,
.detailPage .modelWrapper3 .Wrapper .this_in .this_child .img_b a {
  display: block;
}

.detailPage .modelWrapper3 .Wrapper .this_in .this_child .img_b img {
  width: 100%;
}

.newsWrap .Wrap .newsSwiper .swiper-slide .title a,
.bestProWrap .Wrap .bestProSwiper .swiper-slide .title a,
.listProWrap .Wrap .right .listProSwiper .swiper-slide .title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-block .desc p:last-child,
.entry-content p:last-child,
.entry-summary p:last-child {
  margin-bottom: 0;
}

.elementor-page .site-main,
.fullwidth-main {
  padding: 0;
}

.contactPage .homesmart-contact-notice,
.customizationPage .homesmart-contact-notice {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.contactPage .homesmart-contact-notice-success,
.customizationPage .homesmart-contact-notice-success {
  background: #eff9f0;
  border: 1px solid #cfe9d2;
  color: #1d6b36;
}

.contactPage .homesmart-contact-notice-error,
.customizationPage .homesmart-contact-notice-error {
  background: #fff4f1;
  border: 1px solid #f2d0c7;
  color: #9a3d2d;
}

@media (max-width: 1199px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .site-main {
    padding: 56px 0;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .head_search {
    width: 100%;
  }

  .page-main .entry-title,
  .single-main .entry-title,
  .archive-main .page-title {
    margin-bottom: 18px;
  }

  .single-main .entry-shell {
    padding: 24px;
    border-radius: 22px;
  }

  .blogSinglePage .single-main {
    padding-top: 44px;
    padding-bottom: 72px;
  }

  .post-navigation-links {
    grid-template-columns: 1fr;
  }

  .post-navigation-links .nav-card,
  .post-navigation-links .nav-card-next {
    text-align: left;
  }

  .listPage .shop-pagination {
    margin-top: 28px;
  }
}
