/* ===================================================================
 * Turtle Island Imports — Child Theme Styles
 * Extracted from html-header.twig + base.twig inline styles, cleaned
 * Version: 3.0
 * ===================================================================
 *
 * Table of Contents:
 * 1.  Base / Body / Typography
 * 2.  Header & Logo
 * 3.  Navigation (Desktop)
 * 4.  Sticky Header
 * 5.  Top Bar
 * 6.  Search Container
 * 7.  Mobile Navigation (Off-Canvas)
 * 8.  Content Area / Page Layout
 * 9.  Home Page — Image Boxes
 * 10. Home Page — Parallax / Animation Block
 * 11. Home Page — Slider
 * 12. Product Cards / WooCommerce Grid
 * 13. Footer / Mailing Section / Copyright
 * 14. Login Popup (Magnific)
 * 15. Editor Bar
 * 16. Images (WordPress alignment responsive)
 * 17. Responsive Embeds
 * 18. Skip to Main Content (A11y)
 * 19. Scroll Reveal
 * 20. Page Loader (Entry + Click/Exit)
 * 21. Datepicker / jQuery UI Fixes
 * 22. Mini-Cart / One-Page Checkout Fixes
 * 23. Buttons
 * 24. Misc Utilities
 * 25. Responsive Breakpoints
 * =================================================================== */


/* ===================================================================
 * 1. Base / Body / Typography
 * =================================================================== */

img {
  max-width: 100%;
}

a {
  text-decoration: underline;
}

/* Remove underline from nav, buttons, cards, product grid, header, breadcrumbs */
nav a,
.mainnav a,
.menu a,
.submenu a,
.sub-menu a,
.wh-top-bar a,
.wh-top-nav a,
.mob-nav a,
.mob-nav-row,
.mob-footer a,
.mob-topbar-right a,
.mob-banner-logo,
.wh-logo-header a,
.wh-card-btn,
.wh-atc-main,
li.wh-product a,
li.wh-product .wh-card-btn,
.wh-sale-badge,
.tab-left a,
.tab-right a,
.search-trigger,
.flat-social a,
.wh-subscribe-btn a,
.wh-prod-category a,
.loader-logo,
a.wh-account-nav-link,
.woocommerce-MyAccount-navigation a,
nav.wh-account-nav a,
.wh-card-btn-bag,
.wh-card-btn-info,
.wh-atc-main,
button,
input[type="submit"],
.button,
.btn,
.wh-transparent,
.wh-reverse-button,
.checkout-button,
#place_order,
.single_add_to_cart_button {
  text-decoration: none;
}

body {
  background-color: #ffffff;
  font-size: 15px;
  line-height: 22px;
  font-weight: normal;
  color: #463f2d;
}

h1, h2, h3 {
  color: #004243;
}

p {
  margin-bottom: 14px;
}

h1 {
  font-size: 30px;
  font-weight: normal;
}

h2 {
  font-size: 16px;
  font-weight: bold;
}

input[type="text"],
input[type="email"] {
  color: #000000;
}

figure {
  clear: both;
}

figure.wp-caption {
  float: none;
}

figure.alignright {
  float: right;
  margin-left: 15px;
  margin-bottom: 15px;
}

figure.alignleft {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

img.aligncenter {
  margin: 0 auto;
  text-align: center;
  display: block;
  height: auto;
}

figcaption.wp-caption-text {
  text-align: center;
  font-style: italic;
  font-size: 14px;
}

.wh-caption {
  text-align: center;
}

.admin-bar .navbar-fixed-top {
  top: 32px;
}


/* ===================================================================
 * 2. Header & Logo
 * =================================================================== */

header {
  background-color: #004243;
  background-image: url(../img/wgoods-header4.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 231px;
  border-bottom: 1px solid #ffffff;
}

div#site-header-wrap {
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: all 0.3s;
  background-color: transparent;
}

div#site-header-inner {
  position: relative;
  height: auto;
  padding: 0;
}

.wh-logo-header {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 10px 0 0 0;
}

.wh-logo-header img {
  max-width: 500px;
  transition: all 0.3s;
}

div.nav-wrapper {
  display: block;
  position: relative;
  width: 100%;
  text-align: center;
  top: 0;
  height: 30px;
  overflow: visible;
  margin-bottom: 95px;
  z-index: 999;
  background-image: url(../img/nav-back.png);
  background-position: center center;
  background-repeat: repeat;
}

/* Top corner curves — absolute to header */
div.wh-top-left-curve {
  display: block;
  position: absolute;
  width: 296px;
  height: 121px;
  top: -17px;
  left: -65px;
  background-image: url(../img/top-left-curve.png);
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

div.wh-top-right-curve {
  display: block;
  position: absolute;
  width: 296px;
  height: 121px;
  top: -17px;
  right: -65px;
  background-image: url(../img/top-right-curve.png);
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Store tabs (left = Global Village, right = Worldly Goods) */
.tab-left {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 565px;
  height: 94px;
  background: url(../img/home-tab-left2-back.png) no-repeat center center;
}

.tab-left-button {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 315px;
  height: 94px;
}

.tab-right {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 565px;
  height: 94px;
  background: url(../img/home-tab-right2-back.png) no-repeat center center;
}

.tab-right-button {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 315px;
  height: 94px;
}

/* Mobile hamburger */
.mobile-button {
  position: absolute;
  width: 26px;
  height: 26px;
  top: 50px;
  right: 0;
  margin: 0 20px 0 0;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}


/* ===================================================================
 * 3. Navigation (Desktop)
 * =================================================================== */

nav#mainnav > ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav#mainnav > ul > li {
  position: relative;
}

nav#mainnav > ul > li > a {
  font-weight: 500;
  color: #ffffff;
  font-size: 15px;
  line-height: 30px;
  margin: 0 16.8px;
  display: block;
}

/* Submenu (dropdown) */
#mainnav ul.sub-menu {
  position: absolute;
  top: 150%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 15px 10px;
  z-index: 9999;
  border: none;
  border-top: 3px solid #c1e8e9;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

nav#mainnav > ul > li:hover > ul.sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

#mainnav ul.sub-menu > li > a {
  display: block;
  padding: 0 15px;
  line-height: 30px;
  border-bottom: 1px solid #efefef;
  text-align: left;
  color: #463f2d;
  font-size: 14px;
  white-space: nowrap;
}

/* Submenu hover */
#mainnav ul.sub-menu > li > a:hover {
  background: #004243;
  color: #ffffff;
}


/* ===================================================================
 * 4. Sticky Header (disabled — full header always visible on desktop)
 * =================================================================== */


/* ===================================================================
 * 5. Top Bar
 * =================================================================== */

div.wh-top-bar {
  display: block;
  width: 100%;
  height: 41px;
  background-color: #0c4b4e;
}

.wh-top-bar .wh-top-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-top-bar .wh-top-nav li {
  margin-right: 30px;
  padding-top: 2px;
}

.wh-top-bar .wh-top-nav li:last-child {
  margin-right: 0;
}

.wh-top-bar .wh-top-nav a,
.wh-top-bar .wh-top-nav a:visited {
  color: #ffffff;
  text-decoration: none;
  font-weight: normal;
  padding: 0.5em 0;
  display: block;
  transition: all 300ms;
}

.wh-top-bar .wh-top-nav a:hover,
.wh-top-bar .wh-top-nav a:active {
  color: #c1e8e9;
  text-decoration: none;
  transition: all 300ms;
}

.wh-top-bar .mobile-hide {
  display: inline;
}


/* ===================================================================
 * 6. Search Container
 * =================================================================== */

.search-container {
  position: absolute;
  display: block;
  top: 140px;
  left: 0;
  right: 0;
  width: 300px;
  margin: 0 auto;
  text-align: center;
  z-index: 900;
}

/* Mobile: show trigger button, hide search bar */
.search-trigger {
  display: inline-block;
  background-color: #eeeeee;
  padding: 5px 15px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #111111;
}

.cd-search {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 300px;
  background-color: transparent;
  padding: 0.5em;
  z-index: 999;
}

/* Desktop: hide trigger, show search bar inline */
@media only screen and (min-width: 1092px) {
  .search-trigger {
    display: none;
  }
  .cd-search {
    display: block;
    position: relative;
    top: auto;
    width: 300px;
  }
}

/* FiboSearch plugin styling */
body .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
  background: transparent;
  padding: 10px;
  border-radius: 10px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
  color: #000000;
}


/* ===================================================================
 * 7a. Mobile Top Bar (visible only <= 1092px)
 * =================================================================== */

.mob-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background-color: #004243;
  z-index: 101;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.mob-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mob-topbar-left button {
  background: none;
  border: none;
  color: #d2c5a6;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.mob-topbar-left button:hover {
  color: #ffffff;
}

.mob-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-topbar-account {
  color: #d2c5a6;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
}
.mob-topbar-account:hover {
  color: #ffffff;
}

/* Mobile header banner — textile bg with logo + search icon */
.mob-header-banner {
  display: none;
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  z-index: 100;
  background-image: url(../img/wgoods-header4.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  padding: 12px 20px 10px;
}

.mob-banner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mob-banner-logo img {
  max-width: 260px;
  height: auto;
}

.mob-banner-search-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.2s;
}
.mob-banner-search-btn:hover {
  color: #d2c5a6;
}

/* Search area — hidden by default, expands on tap */
.mob-banner-search-area {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 10px;
}
.mob-banner-search-area.open {
  max-height: 70px;
  padding: 8px 10px 0;
}


/* ===================================================================
 * 7b. Mobile Navigation (Off-Canvas)
 * =================================================================== */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  z-index: 9999;
  background: #004243;
  overflow-y: auto;
  transition: left 0.35s ease;
  display: flex;
  flex-direction: column;
}
.mobile-panel.open {
  left: 0;
}

.mob-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(210, 197, 166, 0.2);
}

.mob-header img {
  max-width: 160px;
}

.mob-close {
  background: none;
  border: none;
  color: #d2c5a6;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

.mob-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.mob-nav-item {
  border-bottom: 1px solid rgba(210, 197, 166, 0.12);
}

.mob-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.mob-nav-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mob-nav-row i {
  font-size: 11px;
  color: #d2c5a6;
  transition: transform 0.3s ease;
}

.mob-nav-item.expanded .mob-nav-row i {
  transform: rotate(90deg);
}

.mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 0, 0, 0.15);
}

.mob-nav-item.expanded .mob-sub {
  max-height: 600px;
}

.mob-sub a {
  display: block;
  padding: 10px 20px 10px 32px;
  color: #d2c5a6;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}

.mob-sub a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile nav — WP menu output (ul.mob-menu) */
ul.mob-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.mob-menu > li {
  border-bottom: 1px solid rgba(210, 197, 166, 0.12);
}

ul.mob-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

ul.mob-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.06);
}

ul.mob-menu > li.menu-item-has-children > a::after {
  content: "\f054";
  font-family: FontAwesome;
  font-size: 11px;
  color: #d2c5a6;
  transition: transform 0.3s ease;
}

ul.mob-menu > li.menu-item-has-children.mob-expanded > a::after {
  transform: rotate(90deg);
}

ul.mob-menu ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 0, 0, 0.15);
}

ul.mob-menu > li.mob-expanded > ul.sub-menu {
  max-height: 600px;
}

ul.mob-menu ul.sub-menu a {
  display: block;
  padding: 10px 20px 10px 32px;
  color: #d2c5a6;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
}

ul.mob-menu ul.sub-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.mob-footer {
  border-top: 1px solid rgba(210, 197, 166, 0.2);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mob-footer a {
  color: #d2c5a6;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.mob-footer a:hover {
  color: #ffffff;
}


/* ===================================================================
 * 8. Content Area / Page Layout
 * =================================================================== */

div.wh-page-content-wrapper {
  padding-top: 232px;
}

.wh-header {
  background-position: left center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 240px;
  max-height: 240px;
  background-color: #004243;
  transition: all 0.3s;
}

.page-title-heading h1.title {
  color: #ffffff;
}

/* Page layout */
.wh-page {
  padding-bottom: 30px;
}

#homecontent .wh-post-content p {
  margin-bottom: 16px !important;
  line-height: 26px !important;
}

#homecontent .wh-post-content h1 {
  padding-top: 20px !important;
  padding-bottom: 10px !important;
  color: #004243 !important;
  font-size: 32px !important;
  line-height: 36px !important;
  font-weight: 400 !important;
  letter-spacing: -0.5px !important;
  border-bottom: none !important;
  margin-bottom: 20px !important;
}

#homecontent .wh-post-content h2 {
  color: #004243 !important;
}

#homecontent .wh-post-content h3 {
  color: #004243 !important;
}

/* Body content links — underlined for ADA */
#homecontent .wh-post-content a:not(.wh-card-btn):not(.wh-card-btn-bag):not(.wh-card-btn-info):not(.wh-atc-main):not(.button):not(.btn):not(.wh-account-nav-link) {
  text-decoration: underline !important;
}

/* Footer links — underlined for ADA */
footer.footer ul.footer-nav li a,
div.wh-copyright-bottom a {
  text-decoration: underline !important;
}

.wh-page h2 {
  font-size: 22px;
  line-height: 26px;
  padding: 5px 0;
  color: #463f2d;
  font-weight: 600;
}

.wh-page h3 {
  font-size: 18px;
  line-height: 22px;
  padding: 5px 0;
  color: #463f2d;
}

.wh-page hr,
hr {
  border: none;
  height: 1px;
  background-color: #d2c5a6;
}

.wh-post-content em {
  font-style: italic !important
}

/* Breadcrumbs */
.breadcrumbs {
  color: #463f2d;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  padding: 10px 0 5px;
}

.breadcrumbs a,
nav.woocommerce-breadcrumb a {
  color: #004243;
  text-decoration: underline !important;
}

.breadcrumbs a:hover,
nav.woocommerce-breadcrumb a:hover {
  text-decoration: underline !important;
}

/* Divider */
div.wh-divider {
  width: 100%;
  height: 1px;
  background-color: #d2c5a6;
  margin: 30px 0 20px;
}

/* Slider on pages — 400px height */
.slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 100%;
}

.slider .slider-background {
  height: 400px;
  min-height: 400px;
}

.slider .slick-list,
.slider .slick-track,
.slider .slick-slide {
  height: 400px;
}

.tii-single-slide .slick-prev,
.tii-single-slide .slick-next {
  display: none;
}

/* Scroll Reveal — JS adds .wh-reveal-ready to body when observer is active */
body.wh-reveal-ready .wh-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body.wh-reveal-ready .wh-reveal.wh-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===================================================================
 * 8b. Info Blocks — Top (card grid)
 * =================================================================== */

.tii-infoblocks-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 1100px;
  margin: 20px auto 30px;
}

a.tii-infoblock-card,
a.tii-infoblock-card:active,
a.tii-infoblock-card:visited,
a.tii-infoblock-card:hover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  width: 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #463f2d;
}

a.tii-infoblock-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  transform: translateY(-5px);
}

.tii-infoblock-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.tii-infoblock-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tii-infoblock-card:hover .tii-infoblock-img-wrap img {
  transform: scale(1.08);
}

.tii-infoblock-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
  pointer-events: none;
}

.tii-infoblock-content {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tii-infoblock-content .tii-infoblock-title {
  font-size: 20px;
  font-weight: 600;
  color: #004243;
  margin: 0 0 10px;
  line-height: 1.25;
}

.tii-infoblock-content .tii-infoblock-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  flex: 1;
}

/* Gallery thumbnails */
#lightgallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

#lightgallery a {
  display: inline-block;
}

#lightgallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  transition: opacity 0.3s;
}

#lightgallery img:hover {
  opacity: 0.8;
}

#lightgallery .smc {
  display: none;
}


/* ===================================================================
 * 9. Home Page — Image Boxes
 * =================================================================== */

.flat-image-box .thumb {
  overflow: hidden;
  position: relative;
}

.flat-image-box .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flat-image-box .inner {
  height: 100%;
}

/* Bottom row — equal height image boxes */
.container-fluid > .row.gutter-10 .col-md-4 .flat-image-box.style-1 .item.data-effect-item {
  height: 350px;
  overflow: hidden;
}

.container-fluid > .row.gutter-10 .col-md-4 .flat-image-box.style-1 .item .inner,
.container-fluid > .row.gutter-10 .col-md-4 .flat-image-box.style-1 .item .thumb {
  height: 100%;
  overflow: hidden;
}

/* Bottom row — match top row's 20px gap when stacked on mobile */
@media only screen and (max-width: 767px) {
  .row.gutter-10 .col-md-4 + .col-md-4 {
    margin-top: 20px;
  }
}

/* Top-right stacked boxes — fixed height per box, image fills */
.row.gutter-10 .col-md-3 .flat-image-box.row2 .item {
  height: 280px;
  overflow: hidden;
}

.row.gutter-10 .col-md-3 .flat-image-box.row2 .item .inner,
.row.gutter-10 .col-md-3 .flat-image-box.row2 .item .thumb {
  height: 100%;
  overflow: hidden;
}

/* Large left block — match the height of the two stacked blocks */
.row.gutter-10 .col-md-6 .flat-image-box.style-2,
.row.gutter-10 .col-md-6 .flat-image-box .owl-carousel,
.row.gutter-10 .col-md-6 .flat-image-box .owl-carousel .item,
.row.gutter-10 .col-md-6 .flat-image-box .owl-carousel .item .inner,
.row.gutter-10 .col-md-6 .flat-image-box .thumb {
  height: 580px;
}

div.thumb .text-wrap-dark {
  padding: 20px 30px;
}

div.thumb .text-wrap-dark .sub-title {
  color: #ffffff;
}

/* Overlay behind text on image boxes */
.flat-image-box .text-wrap {
  background: rgba(0, 0, 0, 0.45) !important;
  color: #ffffff !important;
  padding: 15px 20px !important;
  border-radius: 12px !important;
}

.flat-image-box .text-wrap span,
.flat-image-box .text-wrap h2,
.flat-image-box .text-wrap .text-333,
.flat-image-box .text-wrap .sub-title,
.flat-image-box .text-wrap .font-weight-400,
.flat-image-box .text-wrap .font-weight-600 {
  color: #ffffff !important;
}

div.wh-float-back {
  background-color: #ffffff;
  border: 1px solid #e8e3d7;
}

.wh-btn-wrapper {
  text-align: center;
  padding-top: 0;
}

.wh-btn-wrapper a {
  text-decoration: none;
}

.wh-reverse-button {
  border: 1px solid #ffffff;
  font-weight: normal;
  padding: 5px 30px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

a.wh-reverse-button {
  color: #ffffff;
}

.wh-reverse-button:hover {
  background-color: #a29061;
  border-color: #d0c7b0;
}

div.flat-image-box h2,
div.flat-image-box .text-333 {
  color: #ffffff;
}

.text-drop {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* ===================================================================
 * 10. Home Page — Parallax / Animation Block
 * =================================================================== */

section#wh-paral {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* ===================================================================
 * 11. Home Page — Slider
 * =================================================================== */

.slider {
  position: relative;
  overflow: hidden;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.wh-slider-title {
  display: block;
  font-size: 42px;
  line-height: 48px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.wh-slider-description {
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  padding: 10px 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.wh-slider-button {
  display: inline-block;
  padding: 8px 30px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  transition: all 0.3s;
}

.wh-slider-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.slider-background {
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.slider-caption-wrapper {
  position: absolute;
  bottom: 12px;
  right: 16px;
  left: auto;
  text-align: right;
  padding: 0;
  z-index: 11;
}

.slider-caption {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 3px;
  color: #ffffff;
  font-size: 12px;
  font-style: italic;
}


/* ===================================================================
 * 12. Product Cards / WooCommerce Grid
 * =================================================================== */

/* --- List wrapper grid (migrated from html-header.twig inline) --- */
ul.listwrapper {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

li.wh-product {
  display: inline-block;
  float: none;
  text-align: center;
  margin: 20px 6px 10px;
  border: 0;
  vertical-align: top;
  border-top: 1px solid #efefef;
}

li.wh-product a {
  text-decoration: none;
}

li.wh-product div.wh-shadow-border {
  display: block;
  box-shadow: -1px -1px 5px 0px #dad9d9;
  padding: 10px;
  transition: all 0.5s;
  border: 1px solid transparent;
  position: relative;
  width: 260px;
  background-color: #ffffff;
}

li.wh-product div.wh-image-wrapper {
  height: 238px;
  width: 238px;
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 10px;
  padding: 5px;
}

li.wh-product img.wh-image {
  vertical-align: middle;
  max-height: 238px;
}

.helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

li.wh-product div.wh-shadow-border:hover {
  transition: all 0.5s;
  border: 1px solid #d2c5a6;
  cursor: pointer;
  box-shadow: 0 0 0 0 #dad9d9;
}

div.wh-shadow-footer {
  background: url(../img/thumb-footer4.png) no-repeat;
  background-size: contain;
  width: 100%;
  height: 16px;
}

li.wh-catproduct div.wh-product-title {
  min-height: 40px;
  font-size: 16px;
}

/* Sale badge */
.wh-sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #cc0000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 10px;
  text-transform: uppercase;
  z-index: 2;
}

/* Price styles */
.wh-price-was {
  text-decoration: line-through;
  color: #999999;
  font-size: 15px;
  margin-right: 4px;
}

.wh-price del {
  color: #999999;
  text-decoration: line-through;
}

.wh-price ins {
  text-decoration: none;
  font-weight: 600;
}

.wh-price-current {
  color: #333333;
  font-weight: 600;
}

/* Card buttons row */
.wh-card-buttons {
  display: flex;
  gap: 6px;
  padding: 8px 0 4px;
}

.wh-card-btn {
  display: inline-block;
  flex: 1;
  padding: 7px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  transition: all 200ms;
  cursor: pointer;
}

.wh-card-btn-bag {
  background: #004243;
  color: #ffffff;
  border: 1px solid #004243;
}

.wh-card-btn-bag:hover {
  background: #ffffff;
  color: #004243;
  text-decoration: none;
}

.wh-card-btn-info {
  background: transparent;
  color: #004243;
  border: 1px solid #004243;
}

.wh-card-btn-info:hover {
  background: #004243;
  color: #ffffff;
  text-decoration: none;
}

li.wh-product div.wh-image-wrapper {
  border: 1px solid #f5f5f5;
}

.wh-in-store-only {
  font-size: 13px;
  color: #999999;
}

.flat-row.main-shop {
  padding: 5px 0 29px;
}

/* Sort bar */
.wh-sort-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 20px;
  flex-wrap: wrap;
}

.wh-sort-label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-right: 4px;
}

.wh-sort-link {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #333;
  transition: all 200ms;
}

.wh-sort-link:hover {
  border-color: #004243;
  color: #004243;
  text-decoration: none;
}

.wh-sort-link.active {
  background: #004243;
  color: #ffffff;
  border-color: #004243;
}

.wh-sale-count {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

/* Pagination */
.wh-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.wh-pagination a,
.wh-pagination span {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #004243;
  transition: all 200ms;
}

.wh-pagination a {
  background: #ffffff;
  color: #004243;
}

.wh-pagination a:hover {
  background: #004243;
  color: #ffffff;
  text-decoration: none;
}

.wh-pagination span.current {
  background: #004243;
  color: #ffffff;
  border-color: #004243;
}

.wh-pagination span.dots {
  border: none;
  background: none;
  color: #666;
  padding: 8px 6px;
}

/* Active category highlight in sidebar */
body.term-sarongs a#whappnav-sarongs,
body.term-clothing a#whappnav-clothing,
body.term-accessories a#whappnav-accessories,
body.term-home-decor a#whappnav-home-decor,
body.term-music-makers a#whappnav-music-makers,
body.term-for-children a#whappnav-for-children,
body.term-hacky-sacks a#whappnav-hacky-sacks {
  background-color: #d2c5a6;
  color: #ffffff;
}

div.wh-product-title {
  font-size: 14px;
  line-height: 18px;
  font-weight: normal;
  color: #333333;
  min-height: 40px;
}

div.wh-product-title-vintage {
  font-size: 20px;
  line-height: 22px;
  font-weight: normal;
  color: #333333;
}

div.product-info {
  padding-top: 10px;
}

div.wh-price {
  padding-top: 10px;
  font-size: 20px;
  line-height: 20px;
  font-weight: normal;
  color: #333333;
}

div.price .wh-amount {
  font-size: 24px;
  line-height: 28px;
  color: #281d17;
}

h1.wh-product-title {
  font-size: 28px;
  line-height: 30px;
  font-weight: normal;
}

.product.style2 .product-item .new {
  font-size: 14px;
  line-height: 26px;
  width: 140px;
  top: 20px;
  left: 20px;
}

.product .product-item .new {
  font-size: 18px;
  line-height: 35px;
  width: 87px;
  text-align: center;
  background-color: #7cc576;
  color: #ffffff;
  display: block;
  position: absolute;
  top: 27px;
  left: 25px;
}

li.product-item {
  border-top: 1px solid #e8e3d7;
}

li.product-item .add-to-cart a {
  font-weight: normal;
}


/* ===================================================================
 * 12b. Single Product — Gallery + Info + Accordion
 * =================================================================== */

/* --- Product Grid (2 columns: gallery | info) --- */
.wh-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 20px 0 40px;
}

/* --- Gallery --- */
.wh-product-gallery {
  position: sticky;
  top: 180px;
}

.wh-gallery-main {
  position: relative;
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
}
.wh-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.wh-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
}
.wh-gallery-thumb {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.wh-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wh-gallery-thumb.active {
  border-color: #004243;
}
.wh-gallery-thumb:hover {
  border-color: #d2c5a6;
}

/* --- Product Info --- */
.wh-prod-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d2c5a6;
  margin-bottom: 6px;
  display: block;
}
.wh-prod-category a {
  color: #d2c5a6;
  text-decoration: none;
}
.wh-prod-category a:hover {
  text-decoration: underline;
}

div.wh-post-content .wh-prod-title {
  font-size: 32px;
  line-height: 36px;
  color: #004243;
  margin-bottom: 0;
  font-weight: normal;
  padding-top: 5px;
  padding-bottom: 5px;
}

.wh-prod-price-block {
  margin-bottom: 20px;
}
.wh-prod-price-block .woocommerce-Price-amount {
  font-size: 26px;
  color: #000000;
}
.wh-prod-price-block del .woocommerce-Price-amount {
  font-size: 20px;
  color: #999999;
}
.wh-prod-price-block ins {
  text-decoration: none;
}

.wh-prod-short-desc {
  font-size: 15px;
  color: #333;
  line-height: 22px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}
.wh-prod-short-desc p:last-child {
  margin-bottom: 0;
}

/* --- Quantity stepper --- */
.wh-prod-field {
  margin-bottom: 16px;
}
.wh-prod-field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
  display: block;
  margin-bottom: 8px;
}
.wh-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wh-qty-stepper {
  display: flex;
  align-items: center;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f5;
}
.wh-qty-btn {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333333;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: #f5f5f5;
}
.wh-qty-btn:hover {
  background: #e8e8e8;
}
.wh-qty-stepper input.wh-qty-val,
input[type="number"].wh-qty-val {
  width: 36px;
  max-width: 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 0;
  height: 44px;
  background: #ffffff;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.wh-qty-val::-webkit-outer-spin-button,
.wh-qty-val::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* --- Add to Bag button --- */
.wh-atc-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 16px;
}
.wh-atc-main,
.wh-atc-main.button.alt,
.wh-atc-main.single_add_to_cart_button {
  flex: 1;
  padding: 15px 24px;
  background: #004243;
  color: #ffffff;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #004243;
  cursor: pointer;
  transition: all 300ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wh-atc-main:hover,
.wh-atc-main:focus,
.wh-atc-main.button:hover,
.wh-atc-main.button:focus,
.wh-atc-main.button.alt:hover,
.wh-atc-main.button.alt:focus,
.wh-atc-main.single_add_to_cart_button:hover,
.wh-atc-main.single_add_to_cart_button:focus,
.wh-product-info .wh-atc-main:hover,
.wh-product-info button.wh-atc-main:hover {
  background-color: #ffffff;
  color: #004243;
  border-color: #004243;
}

.wh-atc-main:disabled,
.wh-atc-main.button.alt:disabled,
.wh-atc-main.single_add_to_cart_button:disabled {
  background-color: #004243;
  color: #ffffff;
  border-color: #004243;
  opacity: 1;
  cursor: not-allowed;
}

.wh-atc-main:disabled:hover,
.wh-atc-main.button.alt:disabled:hover {
  background-color: #004243;
  color: #ffffff;
  border-color: #004243;
}

.wh-out-of-stock {
  padding: 16px 0;
  color: #cc0000;
}

/* --- Variable product form (WooCommerce default output) --- */
.wh-product-info .variations_form .variations {
  width: 100%;
  border: none;
  margin-bottom: 16px;
}

.wh-product-info .variations_form .variations td,
.wh-product-info .variations_form .variations th {
  border: none;
  padding: 8px 0;
  vertical-align: middle;
}

.wh-product-info .variations_form .variations .label label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
}

.wh-product-info .variations_form .variations .value select {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  font-size: 15px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0;
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
  transition: border-color 0.2s;
}

.wh-product-info .variations_form .variations .value select:focus {
  border-color: #004243;
  outline: none;
}

.wh-product-info .variations_form .variations .reset_variations {
  display: inline-block;
  margin-left: 10px;
  font-size: 13px;
  color: #d2c5a6;
  text-decoration: none;
}

.wh-product-info .variations_form .variations .reset_variations:hover {
  text-decoration: underline;
}

.wh-product-info .variations_form .single_variation_wrap .woocommerce-variation {
  margin-bottom: 12px;
}

.wh-product-info .variations_form .single_variation_wrap .woocommerce-variation-price {
  font-size: 22px;
  font-weight: 600;
  color: #000000;
}

.wh-product-info .variations_form .single_variation_wrap .woocommerce-variation-price del {
  color: #aaa;
  font-size: 16px;
  font-weight: 400;
}

.wh-product-info .variations_form .single_variation_wrap .woocommerce-variation-price ins {
  text-decoration: none;
}

.wh-product-info .variations_form .single_variation_wrap .woocommerce-variation-availability p {
  margin: 4px 0 0;
  font-size: 14px;
}

/* Variable product quantity input */
.wh-product-info .variations_form .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.wh-product-info .variations_form .woocommerce-variation-add-to-cart .quantity input.qty {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 0;
  background: #fff;
}

/* Variable product Add to Bag button */
.wh-product-info .variations_form .single_add_to_cart_button,
.wh-product-info .variations_form button.button.alt,
.wh-product-info .variations_form .button.alt {
  flex: 1;
  padding: 15px 24px;
  background: #004243;
  background-color: #004243;
  color: #ffffff;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid #004243;
  cursor: pointer;
  transition: all 300ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  opacity: 1;
}

.wh-product-info .variations_form .single_add_to_cart_button:hover,
.wh-product-info .variations_form button.button.alt:hover {
  background: #ffffff;
  background-color: #ffffff;
  color: #004243;
  border-color: #004243;
}

.wh-product-info .variations_form .single_add_to_cart_button:disabled,
.wh-product-info .variations_form button.button.alt:disabled,
.wh-product-info .variations_form .single_add_to_cart_button.disabled {
  background: #004243;
  background-color: #004243;
  color: #ffffff;
  border-color: #004243;
  opacity: 1;
  cursor: pointer;
}

.wh-prod-meta {
  margin-top: 12px;
  font-size: 13px;
  color: #999999;
}

/* --- Accordion --- */
.wh-accordion {
  border-top: 1px solid #e0e0e0;
  margin-top: 24px;
}
.wh-accordion-item {
  border-bottom: 1px solid #e0e0e0;
}
.wh-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #333333;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s;
}
.wh-accordion-trigger:hover {
  color: #004243;
}
.wh-accordion-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid #dddddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999999;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.wh-accordion-item.open .wh-accordion-icon {
  background: #004243;
  border-color: #004243;
  color: #ffffff;
}
.wh-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.wh-accordion-item.open .wh-accordion-body {
  max-height: 800px;
}
.wh-accordion-content {
  padding: 0 0 20px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 22px;
}
.wh-accordion-content p {
  margin-bottom: 10px;
}
.wh-accordion-content p:last-child {
  margin-bottom: 0;
}

/* --- Single Product Responsive --- */
@media only screen and (max-width: 900px) {
  .wh-product-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .wh-product-gallery {
    position: static;
  }
}

@media only screen and (max-width: 520px) {
  .wh-atc-row {
    flex-wrap: wrap;
  }
  .wh-atc-main {
    min-width: 100%;
  }
  div.wh-post-content .wh-prod-title {
    font-size: 26px;
  }
}


/* ===================================================================
 * 13. Footer / Mailing Section / Copyright
 * =================================================================== */

section.mail-chimp {
  background-color: #c1e8e9;
}

section.mail-chimp h3 {
  color: #004243;
}

section.mail-chimp .wh-subscribe-btn button.wh-transparent {
  background: none;
  background-color: transparent;
  border: 1px solid #004243;
  color: #004243;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

section.mail-chimp .wh-subscribe-btn button.wh-transparent:hover {
  background: #004243;
  background-color: #004243;
  color: #ffffff;
}

/* Footer — image bg with dark overlay */
footer.footer {
  position: relative;
  background-image: url(../img/worldlygoods-footer4.jpg);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #004243;
  border-top: 0;
  color: #ffffff;
  padding: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 42, 0.75);
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 30px;
}

/* Footer column: logos */
.footer-col-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
  padding-bottom: 20px;
}

/* Footer column: shop */
.footer-col-shop {
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c1e8e9;
  margin-bottom: 12px;
}

/* Footer column: info (right-aligned on large) */
.footer-col-info {
  text-align: left;
  margin-bottom: 20px;
}

/* Footer nav links */
ul.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.footer-nav li {
  margin-bottom: 6px;
}

ul.footer-nav li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  transition: color 0.2s;
}

ul.footer-nav li a:hover {
  color: #c1e8e9;
}

/* Footer social icons */
.footer-social {
  margin-top: 16px;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
}

.footer-social ul li a {
  color: #ffffff;
  font-size: 20px;
  transition: color 0.2s;
}

.footer-social ul li a:hover {
  color: #d2c5a6;
}

.footer-extra-text {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* Copyright bar */
.wh-copyright-bottom {
  display: block;
  background-color: #004243;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 0;
  font-size: 12px;
}

.wh-copyright-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.wh-copyright-left a,
.wh-copyright-right a {
  color: #ffffff;
  transition: color 0.2s;
}

.wh-copyright-left a:hover,
.wh-copyright-right a:hover {
  color: #c1e8e9;
}


/* ===================================================================
 * 14. Login Popup (Magnific)
 * =================================================================== */

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: all 300ms ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 300ms ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.pp-form-container .ppress-form-bottom-links a,
.pp-form-container .ppress-form-bottom-links a:link,
.pp-form-container .ppress-form-bottom-links a:active,
.pp-form-container .ppress-form-bottom-links a:visited,
.pp-form-container .ppress-form-bottom-links a:hover {
  color: #000000;
  text-decoration: underline;
}

.mfp-fade input[type="submit"] {
  transition: all 500ms;
  display: inline-block;
  margin: 0 auto;
}

button.mfp-close,
button.mfp-arrow {
  background: transparent;
}

div#wh-login-popup {
  background-color: #ffffff;
}

div.wh-login-register-wrapper {
  padding: 20px;
}

.wh-accept-terms a,
.wh-accept-terms a:active,
.wh-accept-terms a:link,
.wh-accept-terms a:visited {
  color: #000000;
  text-decoration: underline;
}

.wh-accept-terms {
  padding: 5px 0 10px 0;
}

div.wh-register-title {
  font-weight: normal;
  font-size: 20px;
  padding: 15px 0;
  text-align: center;
}

div.mfp-content {
  max-width: 340px;
}


/* ===================================================================
 * 15. Editor Bar
 * =================================================================== */

div.wh-editor-bar {
  display: block;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

div.wh-editor-bar a {
  color: #000000;
  text-decoration: none;
  display: inline-block;
  background-color: #cccccc;
  border-radius: 4px;
  padding: 5px 15px;
  margin: 10px;
  transition: all 500ms;
}

div.wh-editor-bar a:hover {
  background-color: #efefef;
  transition: all 500ms;
}


/* ===================================================================
 * 16. Images (WordPress alignment responsive)
 * =================================================================== */

img.alignright {
  clear: both;
  float: right;
  margin-left: 5px;
}

img.alignleft {
  clear: both;
  float: left;
  margin-right: 5px;
}


/* ===================================================================
 * 17. Responsive Embeds
 * =================================================================== */

.hs-responsive-embed {
  position: relative;
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 56.25%;
}

.hs-responsive-embed iframe,
.hs-responsive-embed object,
.hs-responsive-embed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===================================================================
 * 18. Skip to Main Content (A11y)
 * =================================================================== */

a.skip-main {
  left: -999px;
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

a.skip-main:focus,
a.skip-main:active {
  color: #fff;
  background-color: #000;
  left: auto;
  top: auto;
  width: 30%;
  height: auto;
  overflow: auto;
  margin: 10px 35%;
  padding: 5px;
  border-radius: 15px;
  border: 4px solid yellow;
  text-align: center;
  font-size: 1.2em;
  z-index: 999;
}


/* ===================================================================
 * 19. Scroll Reveal
 * =================================================================== */

[data-scroll-reveal] {
  visibility: visible;
}


/* ===================================================================
 * 20. Page Loader (Entry + Click/Exit)
 * Entry loader (#page-loader) styles live INLINE in child-public-header.php
 * so the loader renders before external CSS loads. Do not duplicate here.
 * =================================================================== */

/* Click / exit loader — dark teal bg with animated gold dots */
#click-loader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #004243;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#click-loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.cl-dots {
  display: flex;
  gap: 8px;
}

.cl-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d2c5a6;
  animation: wh-dotB 1.1s infinite ease-in-out;
}

.cl-dots span:nth-child(2) {
  animation-delay: 0.18s;
  background: rgba(210, 197, 166, 0.6);
}

.cl-dots span:nth-child(3) {
  animation-delay: 0.36s;
  background: rgba(210, 197, 166, 0.3);
}

@keyframes wh-dotB {
  0%, 80%, 100% { transform: scale(0.55); opacity: 0.3; }
  40% { transform: scale(1.1); opacity: 1; }
}


/* ===================================================================
 * 21. Datepicker / jQuery UI Fixes
 * =================================================================== */

.ui-datepicker {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.ui-datepicker-header {
  background-color: #dbc1ac;
}

.ui-datepicker-header select {
  background-color: #fff;
  color: #B78458;
  border: 0;
}

.ui-datepicker-month {
  margin: 5px 5px 6px 0;
}

.ui-datepicker-year {
  margin: 5px 0 6px 0;
}

.ui-datepicker-calendar .ui-state-default {
  background: #fff;
}

td.ui-datepicker-unselectable.ui-state-disabled {
  background-color: #eee;
}

.ui-datepicker-calendar .ui-state-active {
  border: 1px solid #dbc1ac;
  box-shadow: none;
  background: #dbc1ac;
  margin: 0;
  text-shadow: none;
  color: #fff;
}

div.gform_body div.ginput_container_time input {
  min-width: 50px;
}

div.gform_body div.ginput_container_time {
  min-width: 60px;
}


/* ===================================================================
 * 22. Mini-Cart / One-Page Checkout Fixes
 * =================================================================== */

p.woocommerce-mini-cart__buttons a.checkout {
  display: none;
}

dl.variation,
dt.variation-Partof {
  display: block;
  clear: both;
  float: none;
  padding-top: 50px;
}

div#wh-opc div.summary {
  float: none;
  width: 100%;
  clear: both;
}

div.wcopc div.woocommerce-info {
  display: none;
}

div#wh-opc div.quantity {
  display: none;
}

/* Progress bar — cart / checkout / order received */
div.progress-complete {
  display: none;
}

div.progress {
  background-color: #cccccc;
  min-height: 28px;
  border-radius: 4px;
  overflow: hidden;
}

body.woocommerce-order-received div.progress-complete {
  display: block;
}

body.woocommerce-order-received div.progress-checkout {
  display: none;
}

.progress-bar-success {
  background-color: #004243;
  min-height: 28px;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.5px;
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

p.backtocart {
  margin-top: 8px;
  font-size: 14px;
}

p.backtocart a {
  color: #004243;
  text-decoration: underline;
}

/* My Account — layout: sidebar nav + content */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 220px;
  margin-right: 30px;
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-content {
  overflow: hidden;
}

nav.wh-account-nav {
  display: flex;
  flex-direction: column;
  background: #004243;
  border-radius: 4px;
  overflow: hidden;
  width: 220px;
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

a.wh-account-nav-link {
  display: block;
  padding: 11px 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 200ms;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

a.wh-account-nav-link:last-child {
  border-bottom: none;
}

a.wh-account-nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #c1e8e9;
  text-decoration: none !important;
  padding-left: 22px;
}

a.wh-account-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  color: #c1e8e9;
}

/* My Account — address page fix */
.woocommerce-account .woocommerce-Addresses {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  flex: 1;
  min-width: 250px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address header,
.woocommerce-account .woocommerce-Addresses header {
  background: none !important;
  background-image: none !important;
  background-color: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  border: none !important;
  position: static !important;
}

.woocommerce-account .woocommerce-Addresses header h2,
.woocommerce-account .woocommerce-Addresses header h3 {
  color: #004243 !important;
  font-size: 20px !important;
  background: none !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
}

.woocommerce-account .woocommerce-Addresses header a {
  font-size: 13px;
}

@media only screen and (max-width: 992px) {
  nav.wh-account-nav {
    float: none;
    width: 100%;
    margin-right: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  a.wh-account-nav-link {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* WooCommerce info/message/error boxes — site-wide */
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error,
.woocommerce-page .woocommerce-Message {
  background-color: #e8f5f5;
  border-top: 3px solid #004243;
  box-shadow: none;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 14px 48px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  margin: 0 0 22px 0;
  list-style: none;
  position: relative;
}

.woocommerce-page .woocommerce-error {
  border-top-color: #c0392b;
  background-color: #fdf0ef;
}

.woocommerce-page .woocommerce-message {
  border-top-color: #27ae60;
  background-color: #eafaf1;
}

.woocommerce-page .woocommerce-message::before,
.woocommerce-page .woocommerce-info::before,
.woocommerce-page .woocommerce-error::before {
  font-family: "FontAwesome";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.woocommerce-page .woocommerce-info::before {
  content: "\f05a";
  color: #004243;
}

.woocommerce-page .woocommerce-message::before {
  content: "\f058";
  color: #27ae60;
}

.woocommerce-page .woocommerce-error::before {
  content: "\f06a";
  color: #c0392b;
}

.woocommerce-page .woocommerce-message a,
.woocommerce-page .woocommerce-info a,
.woocommerce-page .woocommerce-error a {
  color: #004243;
  font-weight: 600;
}

.woocommerce-page .woocommerce-message .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-Message .button,
.woocommerce-page .woocommerce-Message a.button,
.woocommerce-page .woocommerce-Message a.woocommerce-Button {
  background: #004243;
  color: #ffffff;
  border: 1px solid #004243;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: all 200ms;
  display: inline-block;
}

.woocommerce-page .woocommerce-message .button:hover,
.woocommerce-page .woocommerce-info .button:hover,
.woocommerce-page .woocommerce-error .button:hover,
.woocommerce-page .woocommerce-Message .button:hover,
.woocommerce-page .woocommerce-Message a.button:hover,
.woocommerce-page .woocommerce-Message a.woocommerce-Button:hover {
  background: #ffffff;
  color: #004243;
  border-color: #004243;
}

/* My Account — Login / Register forms */
.woocommerce-account .u-columns,
.woocommerce-account #customer_login {
  display: flex !important;
  flex-wrap: wrap;
  gap: 40px;
  width: 100% !important;
  max-width: 100% !important;
}

.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2,
.woocommerce-account .u-columns .col-1,
.woocommerce-account .u-columns .col-2 {
  flex: 1;
  min-width: 300px;
  max-width: calc(50% - 20px);
}

@media only screen and (max-width: 768px) {
  .woocommerce-account .u-columns .u-column1,
  .woocommerce-account .u-columns .u-column2,
  .woocommerce-account .u-columns .col-1,
  .woocommerce-account .u-columns .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }
}


.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  border: 1px solid #ddd;
  padding: 30px;
  border-radius: 4px;
}

.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.woocommerce-account .woocommerce-form-login .form-row label,
.woocommerce-account .woocommerce-form-register .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce-account .woocommerce-form-login .form-row input.input-text,
.woocommerce-account .woocommerce-form-register .form-row input.input-text {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.woocommerce-account .woocommerce-form-login .woocommerce-button,
.woocommerce-account .woocommerce-form-register .woocommerce-button {
  background: #004243;
  color: #ffffff;
  border: 1px solid #004243;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 200ms;
}

.woocommerce-account .woocommerce-form-login .woocommerce-button:hover,
.woocommerce-account .woocommerce-form-register .woocommerce-button:hover {
  background: #ffffff;
  color: #004243;
}

/* My Account forms — labels above fields */
.woocommerce-account .woocommerce-MyAccount-content .form-row,
.woocommerce-account .woocommerce-EditAccountForm .form-row,
.woocommerce-account .woocommerce-address-fields .form-row {
  display: flex;
  flex-direction: column;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row label,
.woocommerce-account .woocommerce-EditAccountForm .form-row label,
.woocommerce-account .woocommerce-address-fields .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row .input-text,
.woocommerce-account .woocommerce-MyAccount-content .form-row select,
.woocommerce-account .woocommerce-address-fields .form-row .input-text,
.woocommerce-account .woocommerce-address-fields .form-row select {
  width: 100%;
}

/* =============================================================
 * MODERN CHECKOUT
 * ============================================================= */

/* --- Section cards --- */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 28px 28px 12px;
  margin-bottom: 24px;
}

/* --- Section headings --- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  font-size: 18px;
  font-weight: 700;
  color: #004243;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 0 14px 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #004243;
}

/* Order review heading sits outside the card — pull into flow */
.woocommerce-checkout #order_review_heading {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-bottom: 2px solid #004243;
  border-radius: 6px 6px 0 0;
  padding: 20px 28px;
  margin-bottom: 0;
}

.woocommerce-checkout #order_review {
  border-radius: 0 0 6px 6px;
  border-top: none;
  padding-top: 0;
}

/* --- Form rows — labels above fields --- */
.woocommerce-checkout .woocommerce-billing-fields .form-row,
.woocommerce-checkout .woocommerce-shipping-fields .form-row,
.woocommerce-checkout .woocommerce-additional-fields .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row label,
.woocommerce-checkout .woocommerce-shipping-fields .form-row label,
.woocommerce-checkout .woocommerce-additional-fields .form-row label {
  width: 100%;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Modern input fields --- */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100%;
  background: #fafafa;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  color: #333;
  transition: border-color 200ms, box-shadow 200ms;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #004243;
  box-shadow: 0 0 0 2px rgba(0, 66, 67, 0.12);
  background: #fff;
  outline: none;
}

/* Select2 dropdowns */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border-radius: 4px;
  height: 46px;
  line-height: 46px;
  background: #fafafa;
  border: 1px solid #d0d0d0;
  transition: border-color 200ms, box-shadow 200ms;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #004243;
  box-shadow: 0 0 0 2px rgba(0, 66, 67, 0.12);
}

/* --- Order review table --- */
.woocommerce-checkout-review-order table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.woocommerce-checkout-review-order table th {
  background: #f8f8f8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  padding: 12px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce-checkout-review-order table td {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
}

.woocommerce-checkout-review-order table .cart_item td {
  vertical-align: middle;
}

.woocommerce-checkout-review-order table .order-total th,
.woocommerce-checkout-review-order table .order-total td {
  background: #e8f5f5;
  font-size: 18px;
  font-weight: 700;
  color: #004243;
  padding: 16px 20px;
  border-bottom: none;
}

/* --- Notes textarea --- */
.woocommerce-checkout #order_comments {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fafafa;
  transition: border-color 200ms, box-shadow 200ms;
}

.woocommerce-checkout #order_comments:focus {
  border-color: #004243;
  box-shadow: 0 0 0 2px rgba(0, 66, 67, 0.12);
  background: #fff;
  outline: none;
}

/* --- Login + coupon toggle notices on checkout --- */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  justify-content: flex-start;
  gap: 6px;
  font-size: 15px;
}

/* --- Ship to different address checkbox --- */
.woocommerce-checkout #ship-to-different-address label {
  font-weight: 600;
  cursor: pointer;
}

/* --- Responsive: stack on mobile --- */
@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review {
    padding: 20px 16px 8px;
  }

  .woocommerce-checkout #order_review_heading {
    padding: 16px;
  }
}


/* ===================================================================
 * 23. Buttons
 * =================================================================== */

/* WooCommerce — PayPal / Venmo / GPay button spacing (cart + checkout) */
.ppc-button-wrapper {
  padding: 16px 0;
  margin: 16px 0 0 0;
  border-top: 1px solid #e0e0e0;
}

.ppc-button-wrapper:first-child {
  margin-top: 0;
  border-top: none;
}

#ppc-button-ppcp-gateway {
  margin-bottom: 8px;
}

.ppcp-button-apm {
  margin-top: 10px;
}

/* WooCommerce checkout — payment section */
.woocommerce-checkout #payment {
  background: #f7f7f7;
  border-radius: 0;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #e0e0e0;
}

.woocommerce-checkout #payment div.payment_box {
  background-color: #e8f5f5;
  color: #333;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #e8f5f5;
}

/* WooCommerce cart & checkout buttons — dark teal */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
.woocommerce #place_order,
.woocommerce-page #payment #place_order,
#payment #place_order,
#place_order,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce a.button.alt,
.woocommerce .button.alt,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover {
  background: #004243;
  background-color: #004243;
  color: #ffffff;
  border: 1px solid #004243;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 30px;
  transition: all 300ms;
  opacity: 1;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #place_order:hover,
.woocommerce-page #payment #place_order:hover,
#payment #place_order:hover,
#place_order:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: #ffffff;
  background-color: #ffffff;
  color: #004243;
  border-color: #004243;
  opacity: 1;
}

/* Update cart / coupon buttons — outlined style */
.woocommerce .cart .coupon .button,
.woocommerce .cart button[name="update_cart"],
.woocommerce button.button:not(.alt) {
  background: transparent;
  background-color: transparent;
  color: #004243;
  border: 1px solid #004243;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 300ms;
}

.woocommerce .cart .coupon .button:hover,
.woocommerce .cart button[name="update_cart"]:hover,
.woocommerce button.button:not(.alt):hover {
  background: #004243;
  background-color: #004243;
  color: #ffffff;
}

input[type="file"],
input[type="checkbox"],
input[type="radio"],
select {
  margin: 0 0 1rem 0;
}

/* Shipping calculator — force state dropdown full width */
#calc_shipping_state_field,
#calc_shipping_state_field > span {
  display: block;
  width: 100%;
}

.shipping-calculator-form select,
.shipping-calculator-form input,
.shipping-calculator-form .select2-container {
  width: 100% !important;
  box-sizing: border-box;
}

.shipping-calculator-form .select2-container .select2-selection--single {
  height: 45px;
  padding-right: 30px;
}

.shipping-calculator-form .select2-container .select2-selection__rendered {
  line-height: 45px;
  padding-right: 10px;
}

.shipping-calculator-form .select2-container .select2-selection__arrow {
  height: 45px;
  right: 8px;
}

/* Select2 open dropdown panel — min width for state list */
.select2-container--open .select2-dropdown {
  min-width: 250px;
}


/* ===================================================================
 * 24. Misc Utilities
 * =================================================================== */

.switch.round {
  border-radius: 1000px;
}

.switch {
  padding: 0;
  border: none;
  position: relative;
  outline: 0;
  user-select: none;
}

.switch input:checked + label {
  background: #008CBA;
}


/* ===================================================================
 * 26. Blog Listing (page-blog.php)
 * =================================================================== */

.tii-blog-title {
  font-size: 28px;
  font-weight: 600;
  color: #004243;
  margin: 10px 0 15px;
  text-align: center;
}

/* Category filter nav */
.tii-blog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
}

.tii-blog-cat-link {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #004243;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 200ms;
}

.tii-blog-cat-link:hover {
  background: #004243;
  color: #fff;
  border-color: #004243;
  text-decoration: none;
}

.tii-blog-cat-link.active {
  background: #004243;
  color: #fff;
  border-color: #004243;
}

/* Blog card grid */
.tii-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 24px 0;
}

.tii-blog-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 300ms, transform 300ms;
}

.tii-blog-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.tii-blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tii-blog-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.tii-blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}

.tii-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms;
}

.tii-blog-card:hover .tii-blog-card-img img {
  transform: scale(1.04);
}

.tii-blog-card-body {
  padding: 18px 20px 22px;
}

.tii-blog-card-cats {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.tii-blog-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #004243;
  margin: 0 0 10px;
  line-height: 1.35;
}

.tii-blog-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 12px;
}

.tii-blog-card-more {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #004243;
  text-decoration: underline;
}

.tii-blog-card:hover .tii-blog-card-more {
  color: #006566;
}

.tii-blog-empty {
  text-align: center;
  font-size: 16px;
  color: #666;
  padding: 40px 0;
}

/* Blog single post */
.tii-single-post-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.tii-single-post-cats {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.tii-single-post-title {
  font-size: 30px;
  font-weight: 600;
  color: #004243;
  margin: 0 0 20px;
  line-height: 1.3;
}

.tii-single-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

.tii-single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.tii-blog-back-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #004243;
}

/* Blog grid responsive */
@media (max-width: 991px) {
  .tii-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .tii-blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tii-blog-title {
    font-size: 24px;
  }

  .tii-single-post-title {
    font-size: 24px;
  }

  .tii-blog-cat-nav {
    gap: 5px;
  }

  .tii-blog-cat-link {
    padding: 5px 12px;
    font-size: 12px;
  }
}


/* ===================================================================
 * 27. Responsive Breakpoints
 * =================================================================== */

/* Footer columns alignment on large */
@media only screen and (min-width: 992px) {
  .footer-col-info {
    text-align: right;
  }
  .footer-col-info .footer-social ul {
    justify-content: flex-end;
  }
}

/* No logo shrink at 1400px — full header stays intact above 1092px */

@media only screen and (max-width: 1092px) {
  /* Hide the entire desktop header */
  header#header {
    display: none;
  }

  div#site-header-wrap {
    height: auto;
  }

  /* Show mobile top bar + banner */
  .mob-topbar {
    display: flex;
  }

  .mob-header-banner {
    display: block;
  }

  /* Adjust content for mobile top bar (48px) + banner (~80px) */
  div.wh-page-content-wrapper {
    padding-top: 105px;
  }
}

@media only screen and (max-width: 768px) {
  /* Mobile top bar logo slightly smaller on phones */
  .mob-topbar-logo img {
    max-width: 130px;
  }

  /* Mini cart on mobile */
  .woocommerce-cart-tab-container {
    display: block;
  }

  /* Mobile register form */
  .woocommerce form .form-row-first,
  .woocommerce-page form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-last {
    float: none;
    display: block;
    width: 100%;
  }

  /* Home image boxes mobile */
  img.alignright,
  img.alignleft {
    float: none;
    display: block;
    margin: 0 auto;
  }

  div.thumb .text-wrap-dark {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 988px) {
  .wp-caption {
    width: 100%;
    display: block;
    text-align: center;
  }

  div#content .wp-caption a img {
    max-width: 99%;
    height: auto;
  }
}
