/*
Theme Name: Emelia New Look
Theme URI: https://example.com/
Author: Converted from Lovable design
Description: A WordPress landing-page theme based on the Emelia Lovable design. Includes hero, navigation, water, cooler, service, and contact sections.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: emelia-new-look
*/

:root {
  --background: #f7fbfb;
  --foreground: #173045;
  --muted: #5f7280;
  --primary: #0f8fb3;
  --primary-dark: #076986;
  --accent: #20b88f;
  --card: #ffffff;
  --border: rgba(15, 143, 179, .16);
  --shadow: 0 18px 55px rgba(5, 70, 95, .13);
  --shadow-glow: 0 0 35px rgba(32, 184, 143, .28);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.text-gradient {
  background: linear-gradient(135deg, #16a8d2, #20b88f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  padding: 14px 0;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header-inner {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
	padding-top: 8px;
	padding-bottom: 3px;
}
.site-logo img { max-height: 76px; width: auto; display: block; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 600px;
  transition: background .25s ease;
}
.site-nav a:hover { background: rgba(255,255,255,.14); }
.phone-pill, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 600px;
  padding: 13px 20px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  box-shadow: var(--shadow);
}
.site-nav a.portal-link {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  font-weight: 600;
}
.site-nav a.portal-link:hover {
  background: #e9f8fd;
}
.phone-pill { white-space: nowrap; padding: 11px 18px; font-size: 14px; }
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://emelia-new.com/wp-content/uploads/2026/06/background_image_bottom_fade.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: float-bg 20s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(4, 47, 69, .18), rgba(9, 104, 122, .08), rgba(8, 72, 49, .12));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: min(880px, 72vw);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.55));
  margin-bottom: -130px;
}

.hero-slogan-image {
  max-width: 310px;
  width: 70%;
  height: auto;
  display: block;
  margin-top: 0;
  margin-bottom: 55px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(14px);
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 55px;
}

.hero h1 {
  font-family: Georgia, 'Segoe UI', serif;
  margin-top: 0;
  margin-bottom: 55px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-shadow: 0 12px 40px rgba(0,0,0,.48);
}

.hero h1 span {
  background: linear-gradient(90deg, #b8f3ff, #fff, #bff6de);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 920px;
  margin: 24px auto 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
  color: rgba(255,255,255,.92);
}

.hero-actions { margin-top: 55px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  padding: 15px 24px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(14px);
  color: white;
  font-weight: 800;
}

.btn-primary,
.btn-secondary {
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  filter: brightness(1.04);
}
.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
section { padding: 105px 0; }
.section-kicker { color: var(--primary); text-transform: uppercase; font-weight: 900; letter-spacing: .16em; font-size: 13px; }
.section-title { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; margin: 12px 0 18px; letter-spacing: -.035em; }
.section-lead { font-size: 18px; line-height: 1.8; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.stat strong { display:block; font-size: clamp(28px, 4vw, 44px); }
.stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.logo-orb {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(32,184,143,.25), rgba(15,143,179,.08) 55%, transparent 70%);
}
.logo-orb img { width: min(300px, 70%); filter: drop-shadow(0 20px 35px rgba(15,143,179,.2)); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
	text-align: center;
}
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p, .card li { color: var(--muted); line-height: 1.65; }
.card ul { padding-left: 20px; margin-bottom: 0; }
.soft-section { background: linear-gradient(180deg, rgba(15,143,179,.06), rgba(32,184,143,.05)); }
.features { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 38px; }
.feature { background: white; padding: 24px; border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.feature .icon { font-size: 32px; margin-bottom: 12px; }
.contact-card {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: white;
  border-radius: 32px;
  padding: 45px;
  box-shadow: var(--shadow-glow);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.contact-card p { color: rgba(255,255,255,.88); line-height:1.7; }
.contact-list { display:grid; gap: 15px; }
.contact-list a, .contact-list span { display:flex; align-items:center; gap: 10px; font-size: 18px; font-weight: 700; }
.site-footer {
  padding: 36px 0;
  background: #0c2534;
  color: rgba(255,255,255,.78);
  text-align: center;
}
.site-footer img { width: 140px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .site-nav { display:none; }
  .phone-pill { display:none; }
  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .cards, .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 105px; }
  section { padding: 75px 0; }
}
.site-header {
  background: rgba(0, 77, 120, 0.92) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.18);
}

.site-header-inner {
  padding-top: 20px !important;
  padding-bottom: 8px !important;
}

/* Cooler cards: 4 columns on desktop only */
#coolers .cooler-cards {
  grid-template-columns: repeat(4, 1fr);
}

/* Make cooler cards slightly tighter so 4 fit nicely */
#coolers .cooler-cards .card {
  padding: 22px;
}

#coolers .cooler-cards .card h3 {
  font-size: 18px;
  line-height: 1.25;
}

#coolers .cooler-cards .card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 8px 0;
}

#coolers .cooler-cards .cooler-image {
  max-width: 170px;
  height: 190px;
  object-fit: contain;
  margin: 16px auto 20px auto;
}

/* Tablet: 2 columns */
@media (max-width: 1000px) {
  #coolers .cooler-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  #coolers .cooler-cards .card {
    padding: 26px;
  }

  #coolers .cooler-cards .card h3 {
    font-size: 20px;
  }

  #coolers .cooler-cards .card p {
    font-size: 15px;
  }

  #coolers .cooler-cards .cooler-image {
    max-width: 210px;
    height: 230px;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  #coolers .cooler-cards {
    grid-template-columns: 1fr;
  }

  #coolers .cooler-cards .card {
    padding: 28px;
  }

  #coolers .cooler-cards .card h3 {
    font-size: 22px;
  }

  #coolers .cooler-cards .card p {
    font-size: 16px;
  }

  #coolers .cooler-cards .cooler-image {
    max-width: 230px;
    height: 250px;
  }
}

.logo-orb {
  position: relative;
  animation: emeliaFloat 4s ease-in-out infinite;
}

.logo-orb {
  position: relative;
  animation: emeliaFloat 5s ease-in-out infinite;
}

.logo-orb::before,
.logo-orb::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(15, 143, 179, 0.42);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transform: scale(0.2);
  animation: waterRipple 4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.logo-orb::after {
  animation-delay: 2s;
}

.logo-orb img {
  position: relative;
  z-index: 2;
  animation: emeliaGlow 4s ease-in-out infinite;
}

@keyframes waterRipple {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }

  12% {
    opacity: 0.65;
  }

  100% {
    transform: scale(4.8);
    opacity: 0;
  }
}

@keyframes emeliaGlow {
  0% {
    filter: drop-shadow(0 12px 24px rgba(15,143,179,.22));
  }

  50% {
    filter: drop-shadow(0 18px 34px rgba(32,184,143,.42));
  }

  100% {
    filter: drop-shadow(0 12px 24px rgba(15,143,179,.22));
  }
}

.phone-icon {
  color: #afdcec;
}

@media (max-width: 640px) {
  .hero {
    padding-top: 150px;
  }

  .hero-logo {
    width: 92vw;
    margin-bottom: -45px;
  }

  .hero-slogan-image {
    max-width: 260px;
    width: 70%;
    margin-bottom: 32px;
  }

  .badge {
    font-size: 11px;
    padding: 10px 14px;
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 52px);
    margin-bottom: 32px;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 32px;
  }
}

.product-subsection {
  margin-top: 58px;
  text-align: center;
}

#products .product-subtitle {
  text-align: center;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.product-mini-cards {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.product-mini-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 10px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 105px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-mini-card img {
  max-width: 140px;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(5, 70, 95, .14);
}

@media (max-width: 1000px) {
  .product-mini-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .product-mini-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-mini-card {
    padding: 16px 10px;
    font-size: 13px;
  }
}

/* WooCommerce store styling */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px;
  box-shadow: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.woocommerce ul.products li.product img {
  height: 180px;
  width:100%
  object-fit: contain;
  margin-bottom: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--foreground);
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.woocommerce ul.products li.product .price {
  color: var(--primary);
  font-weight: 800;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(135deg, #0f8fb3, #20b88f) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  font-weight: 800 !important;
  border: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.page-main {
  padding-top: 150px;
  min-height: 70vh;
  background: var(--background);
}

.logged-in.woocommerce-account .page-main,
.logged-in.woocommerce-shop .page-main,
.logged-in.tax-product_cat .page-main,
.logged-in.single-product .page-main,
.logged-in.woocommerce-cart .page-main,
.logged-in.woocommerce-checkout .page-main {
  padding-top: 36px;
}

.page-container {
  max-width: 1050px;
}

.standard-page {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
}

.page-title {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--foreground);
  text-align: center;
}

.page-content {
  color: var(--foreground);
}

.woocommerce {
  width: 100%;
}

.emelia-shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 28px;
}

.emelia-shop-filters {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  position: sticky;
  top: 145px;
}

.emelia-shop-filters h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.emelia-filter-group h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.emelia-filter-link {
  display: block;
  padding: 11px 13px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 6px;
}

.emelia-filter-link:hover {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: #ffffff;
}

.emelia-shop-results {
  min-width: 0;
}

/* Product grid quantity + add to cart alignment */

.emelia-loop-cart-form {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.emelia-loop-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.emelia-loop-qty label {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}

.emelia-loop-qty .quantity {
  margin: 0 !important;
}

.emelia-loop-qty input.qty {
  width: 64px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  color: var(--foreground);
}

.woocommerce ul.products li.product .button,
.emelia-loop-cart-form .button {
  margin-top: 0 !important;
  min-width: 150px;
}

/* Emelia Portal / WooCommerce account page */

.woocommerce-account .page-main {
  background: linear-gradient(180deg, rgba(15,143,179,.06), rgba(32,184,143,.05));
}

.woocommerce-account .standard-page {
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 18px 55px rgba(5, 70, 95, .13);
}

.woocommerce-account .page-title {
  font-size: clamp(34px, 4vw, 54px);
  color: var(--foreground);
  margin-bottom: 36px;
}

/* Logged-in portal layout */
.woocommerce-account.logged-in .woocommerce {
  display: block !important;
  max-width: 1050px;
  margin: 0 auto;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

/* Logged-out pages: login, register, lost password, set password */
.woocommerce-account:not(.logged-in) .woocommerce {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.woocommerce-account:not(.logged-in) .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2 {
  float: none !important;
  width: auto !important;
}

/* Emelia custom portal top bar */

.emelia-portal-bar {
  padding-top: 130px;
  background: linear-gradient(180deg, rgba(15,143,179,.06), rgba(32,184,143,.03));
}

.emelia-portal-bar-inner {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.emelia-portal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.emelia-portal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border-radius: 999px;
  color: var(--foreground);
  font-weight: 800;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.emelia-portal-nav a:hover {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: #ffffff;
  transform: translateY(-2px);
}

.emelia-portal-nav-item {
  position: relative;
}

.emelia-portal-nav-item > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border-radius: 999px;
  color: var(--foreground);
  font-weight: 800;
}

.emelia-portal-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(5, 70, 95, .16);
  z-index: 99;
}

.emelia-portal-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--foreground);
  font-weight: 800;
  white-space: nowrap;
}

.emelia-portal-dropdown a:hover {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: #ffffff;
}

.emelia-portal-nav-item:hover .emelia-portal-dropdown,
.emelia-portal-nav-item:focus-within .emelia-portal-dropdown {
  display: block;
}

.emelia-portal-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding-left: 10px;
}

.emelia-portal-user img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(15,143,179,.18);
}

.emelia-portal-user span {
  font-weight: 800;
  color: var(--foreground);
  font-size: 14px;
}

.emelia-product-search-wrap {
  width: min(1050px, calc(100% - 40px));
  margin: 18px auto 0 auto;
}

.emelia-product-search {
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
}

.emelia-product-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-size: 15px;
  color: var(--foreground);
  background: transparent;
}

.emelia-product-search button {
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

/* Hide default WooCommerce account menu because we use our own portal bar */
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  display: none !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  width: 100% !important;
  max-width: none !important;
}

/* Portal top navigation */
.woocommerce-MyAccount-navigation {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  margin-bottom: 28px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 0px;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--foreground);
  font-weight: 800;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Right content panel */
.woocommerce-MyAccount-content {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  color: var(--foreground);
}

.woocommerce-MyAccount-content p {
  color: var(--muted);
  line-height: 1.7;
}

/* WooCommerce buttons */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(135deg, #0f8fb3, #20b88f) !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  font-weight: 800 !important;
  border: none !important;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: scale(1.03);
  filter: brightness(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

/* Forms */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(5, 70, 95, .08);
  width: 100%;
  box-sizing: border-box;
}

.woocommerce form .form-row {
  float: none !important;
  width: 100% !important;
  display: block;
  margin-bottom: 18px;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100% !important;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
}

/* Password visibility icon */
.woocommerce form .show-password-input {
  top: 50% !important;
  transform: translateY(-50%);
}

/* Tables */
.woocommerce table.shop_table {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.woocommerce table.shop_table th {
  background: rgba(15,143,179,.08);
  color: var(--foreground);
}

.woocommerce table.shop_table td {
  color: var(--muted);
}

/* Mobile portal layout */
@media (max-width: 800px) {
  .woocommerce-account .standard-page {
    padding: 28px;
  }

  .woocommerce-account:not(.logged-in) .u-columns {
    grid-template-columns: 1fr;
  }

  .woocommerce-MyAccount-navigation {
    border-radius: 24px;
  }

  .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .woocommerce-MyAccount-navigation a {
    text-align: center;
  }

  .woocommerce-MyAccount-navigation a:hover,
  .woocommerce-MyAccount-navigation .is-active a {
    transform: none;
  }
	  .emelia-portal-bar {
    padding-top: 120px;
  }

  .emelia-portal-bar-inner {
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .emelia-portal-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .emelia-portal-nav a {
    text-align: center;
  }

  .emelia-portal-user {
    justify-content: center;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
  }
	
	  .emelia-product-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .emelia-product-search button {
    width: 100%;
  }

  .emelia-portal-dropdown {
    position: static;
    box-shadow: none;
    margin-top: 8px;
    width: 100%;
  }

  .emelia-shop-layout {
    grid-template-columns: 1fr;
  }

  .emelia-shop-filters {
    position: static;
  }
}
/* Mobile hamburger menu */

.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f8fb3, #20b88f);
  box-shadow: 0 10px 28px rgba(5, 70, 95, .18);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .site-header-inner {
    position: relative;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 28px));
    background: rgba(12, 37, 52, .96);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-header:hover .site-nav,
  .site-header:focus-within .site-nav {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 13px 16px;
    text-align: left;
    color: #ffffff;
  }

  .site-nav a.portal-link {
    text-align: center;
    margin-top: 6px;
  }
}