/* Custom fallback CSS — provides layout when original skt-fruits theme CSS is unavailable.
   Targets the class structure present in index.html: header_wrap, topmenu-bar, elementor-*, footercols4, etc. */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d3a017; text-decoration: none; }
a:hover { color: #b8890e; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; line-height: 1.25; color: #2b2b2b; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p  { margin: 0 0 1em; }

/* Cursive display font used for hero titles */
.pattaya, .home-title, .featured_area h1, .featured_area h2 {
  font-family: 'Pattaya', cursive;
  font-weight: 400;
  color: #222;
}

/* ---------- Layout wrappers ---------- */
.center, .layer_wrapper { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.clear { clear: both; }

/* ---------- Header ---------- */
.header_wrap { background: #fff; border-bottom: 1px solid #eee; }
.header { position: relative; }
.header.type2 .topmenu-bar { padding: 15px 0; }
.header.type2 .topmenu-bar > .center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo .logoimga {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: url('/wp-content/uploads/2021/10/cropped-Untitled-Design-180x180.png') center/contain no-repeat;
}
.logo .desc { font-size: 12px; color: #777; max-width: 180px; }

/* Navigation menu */
.header-menu { flex: 1; display: flex; justify-content: center; }
#topmenu { position: relative; }
#menu-main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
#menu-main-menu > li { position: relative; }
#menu-main-menu > li > a {
  display: block;
  padding: 14px 18px;
  color: #2b2b2b;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
#menu-main-menu > li > a:hover,
#menu-main-menu > li.current-menu-item > a { color: #fed201; }

/* Sub-menu (dropdown) */
#menu-main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 220px;
  background: #262626;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 999;
}
#menu-main-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#menu-main-menu .sub-menu li a {
  display: block;
  padding: 8px 18px;
  color: #eee;
  font-size: 14px;
}
#menu-main-menu .sub-menu li a:hover { background: #fed201; color: #222; }

/* Mobile menu icon (hidden on desktop) */
#simple-menu { display: none; font-size: 22px; color: #333; padding: 6px 10px; }

/* Cart */
.header-extras {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-extras li { list-style: none; display: flex; align-items: center; gap: 6px; }
.header-extras a { color: #2b2b2b; }
.header-extras .cart-customlocation { position: relative; padding-right: 4px; }
.header-extras .custom-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #fed201;
  color: #222;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  text-align: center;
  line-height: 18px;
  padding: 0 4px;
}

/* ---------- Slider (fallback: hide raw markup) ---------- */
#slidera { position: relative; overflow: hidden; }
#slidera > script { display: none; }

/* ---------- Elementor grid (columns) ---------- */
.elementor-section,
.elementor-inner-section { padding: 40px 0; }
.elementor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.elementor-column { flex: 1 1 100%; min-width: 0; }
.elementor-col-50 { flex: 1 1 calc(50% - 12px); }
.elementor-col-33 { flex: 1 1 calc(33.333% - 16px); }
.elementor-col-25 { flex: 1 1 calc(25% - 18px); }
.elementor-widget-wrap { display: flex; flex-direction: column; gap: 16px; }
.elementor-widget-container { }
.elementor-widget { margin-bottom: 12px; }

/* Heading widget */
.elementor-heading-title {
  margin: 0 0 .4em;
  font-family: 'Playfair Display', 'Pattaya', serif;
  color: #222;
}

/* Image widget */
.elementor-widget-image img { display: block; }

/* Button widget */
.elementor-button, .sktmore, .wpcf7-form-control.wpcf7-submit {
  display: inline-block;
  padding: 12px 26px;
  background: #fed201;
  color: #222;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .18s, transform .18s;
  font-size: 14px;
}
.elementor-button:hover, .sktmore:hover, .wpcf7-form-control.wpcf7-submit:hover {
  background: #e6bd00;
  color: #222;
  transform: translateY(-1px);
}
.elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 8px; }
.elementor-button-wrapper { margin: 12px 0; }

/* Section variants */
.skt-fruits-section2-box, .skt-fruits-section5-right-box {
  background: #fff;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  text-align: center;
}
.skt-fruits-section2-box img { margin: 0 auto 12px; }

.featured_area, .featured_area_bg {
  background-color: #f2f2f2;
  padding: 60px 0;
}
.featured_block {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}
.featured_block img { height: 70px; width: 70px; margin: 0 auto 10px; }

/* ---------- Order Now link ---------- */
a[href="/"]:has-text("Order Now"),
p a { color: #d3a017; }

/* ---------- Footer ---------- */
.footer_wrap { background: #262626; color: #ccc; padding: 60px 0 20px; }
.footer_wrap .center { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.footer-wave { height: 30px; background: linear-gradient(180deg, #fed201, transparent); }

.footer-infobox {
  background: #333;
  padding: 24px;
  border-radius: 6px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-infobox-left { flex: 1 1 40%; }
.footer-infobox-right { flex: 1 1 55%; }
.footer-infobox h4 { color: #fff; margin: 0; }
.footer-infobox h4 span { color: #fed201; display: block; font-size: 22px; }

/* Footer columns */
#footer .center > div:not(.footer-infobox):not(.footer-wave) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footercols4 h3 {
  color: #fed201;
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footercols4 p, .footercols4 a { color: #bbb; font-size: 14px; }
.footercols4 a:hover { color: #fed201; }
.footmenu { list-style: none; margin: 0; padding: 0; }
.footmenu li { padding: 4px 0; }
.footmenu li a { color: #bbb; }
.footmenu li a:hover { color: #fed201; }

.social-icons { margin-top: 12px; display: flex; gap: 10px; }
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: #444;
  color: #fed201;
  border-radius: 50%;
  transition: background .18s;
}
.social-icons a:hover { background: #fed201; color: #262626; }

.footer-copyright, .footer_bottom {
  text-align: center;
  padding: 18px 0;
  border-top: 1px solid #444;
  color: #999;
  font-size: 13px;
}

/* ---------- Utility ---------- */
.spacecode { display: block; }
.wpcf7-form { display: flex; gap: 8px; flex-wrap: wrap; }
.wpcf7-form input[type=email], .wpcf7-form input[type=text] {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: 1px solid #555;
  background: #262626;
  color: #fff;
  border-radius: 4px;
}
.woocommerce-Price-amount { font-weight: 600; }

/* ---------- Sections spacing on default page structure ---------- */
.elementor, .elementor-page {
  overflow-x: hidden;
}
.elementor-section-boxed .elementor-container {
  max-width: 1170px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  #menu-main-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; box-shadow: 0 8px 20px rgba(0,0,0,.1); }
  #menu-main-menu.active { display: flex; }
  #menu-main-menu > li > a { padding: 12px 18px; border-bottom: 1px solid #eee; }
  #menu-main-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: #f7f7f7; }
  #menu-main-menu .sub-menu li a { color: #333; }
  #simple-menu { display: inline-block; }
  .elementor-col-50, .elementor-col-33, .elementor-col-25 { flex: 1 1 100%; }
  #footer .center > div:not(.footer-infobox):not(.footer-wave) { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
}
