/* =========================================================
   SENA CRAFTED THEME.CSS
   Edit sections by title:
   01 Variables + Fonts
   02 Base / Reset
   03 Header
   04 Hero
   05 Featured Products
   06 Craft / Reviews / CTA
   07 Footer
   08 Pages / Posts / WooCommerce
   09 Elementor Helper Classes
   10 Responsive
========================================================= */


/* =========================================================
   01 VARIABLES + FONTS
========================================================= */

:root {
  --cream: #faf3dc;
  --red: #c8312b;
  --dark: #2c1810;
  --blue-btn: #6b9fbf;
  --tan: #d4a040;
  --brown-quote: #3d1f1a;
  --review-bg: #f5edcc;
  --footer-bg: #f6e7c8;
  --white: #fffdf7;
  --shadow: 0 10px 30px rgba(44, 24, 16, 0.09);
  --radius: 18px;
  --content: 1200px;
  --content-narrow: 820px;
}

@font-face {
  font-family: "Sena Handmade";
  src: url("../fonts/SenaHandwriting-Regular.woff2") format("woff2"),
       url("../fonts/SenaHandwriting-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   02 BASE / RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  min-height: 100vh;
}

.site-main {
  min-height: 40vh;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  background: #fff;
  color: #000;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  z-index: 9999;
}


/* =========================================================
   03 HEADER
   Replace this whole section if you want to redesign header.
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(200, 180, 120, 0.24);
}

/* 
   Header layout:
   left = wordmark
   center = mascot
   right = menu/cart
   Left and right are equal columns so mascot stays truly centered.
*/
.main-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: 18px 28px 16px;
}

.main-nav__brand {
  justify-self: start;
}

.nav-logo {
  display: inline-block;
  font-family: "Sena Handmade", "Rubik Dirt", cursive;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.9;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-mascot {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mascot .custom-logo-link,
.nav-mascot .sena-logo-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-mascot img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 999px;
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: 0;
}

/* Remove list bullets from WordPress menus */
.menu,
.primary-menu,
.footer-links,
.nav-right ul,
.nav-right li,
.primary-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.primary-menu,
.nav-right .menu,
.nav-right .primary-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 30px;
}

.primary-menu a,
.menu a,
.nav-right .menu a,
.nav-right .primary-menu a {
  font-family: "Sena Handmade", "Baloo 2", cursive;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 400;
  color: var(--brown-quote);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.03em;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--red);
}

.nav-cart {
  min-width: 82px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b9d6de;
  color: var(--red);
  border-radius: 8px;
  padding: 0 18px;
  font-family: "Sena Handmade", "Baloo 2", cursive;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.03em;
}

.nav-cart__count {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--dark);
}


/* =========================================================
   04 HERO
========================================================= */

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-gingham,
.craft-section {
  background-size: cover;
  background-position: center;
}

.hero-gingham {
  position: absolute;
  inset: 0;
  background-color: #a8bec8;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 36px, rgba(255, 255, 255, 0.3) 36px, rgba(255, 255, 255, 0.3) 72px),
    repeating-linear-gradient(90deg, transparent, transparent 36px, rgba(255, 255, 255, 0.3) 36px, rgba(255, 255, 255, 0.3) 72px);
}

.hero-gingham__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 860px;
}

.hero-tagline {
  margin: 0 0 2rem;
  color: rgba(246, 231, 200, 0.96);
  font-family: "Mandali", "Nunito", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.55;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.hero-btn,
.btn-black,
.btn-secondary,
.button,
button,
input[type="submit"] {
  border-radius: 10px;
}

.hero-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(250, 243, 220, 0.92);
  color: var(--red);
  font-family: "Sena Handmade", "Rubik Dirt", cursive;
  font-size: 1.15rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-btn:hover {
  background: var(--red);
  color: #fff;
}


/* =========================================================
   05 FEATURED PRODUCTS
========================================================= */

.featured,
.reviews,
.cta-banner,
.content-shell,
.site-footer {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.featured {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

.featured-title,
.about-title,
.page-hero-title {
  font-family: "Sena Handmade", "Rubik Dirt", cursive;
  color: var(--dark);
}

.featured-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 2.2rem;
}

.products-grid,
.post-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.product-card,
.post-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease;
}

.product-card:hover,
.post-card:hover {
  transform: translateY(-4px);
}

.product-img-wrap,
.post-card__thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow);
}

.product-img-wrap img,
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-name,
.product-price,
.reviews-title,
.cta-title,
.entry-title {
  margin: 0;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.product-price {
  margin-top: 0.3rem;
  font-weight: 800;
  color: var(--red);
}


/* =========================================================
   06 CRAFT / REVIEWS / CTA
========================================================= */

.craft-section {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c8a868;
}

.craft-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 245, 225, 0.16);
}

.craft-quote-box {
  position: relative;
  z-index: 2;
  max-width: 700px;
  background: rgba(250, 243, 220, 0.9);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(100, 70, 30, 0.08);
  padding: 2rem 2.5rem;
}

.craft-quote-text {
  margin: 0;
  text-align: center;
  font-family: "Sena Handmade", "Baloo 2", cursive;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.5;
  color: var(--brown-quote);
}

.reviews {
  background: var(--review-bg);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.reviews-title,
.section-label,
.footer-col-title {
  font-family: "Sena Handmade", "Baloo 2", cursive;
}

.reviews-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1.6rem;
}

.reviews-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card,
.care-card,
.post-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.review-card {
  padding: 1.4rem;
}

.review-quote {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.review-author-name {
  font-weight: 800;
}

.review-author-desc {
  font-size: 0.82rem;
  color: #7f7f7f;
}

.cta-banner {
  background: #D94A3A;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #FFFFFF;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-black,
.btn-secondary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.8rem 1.4rem;
  border: 0;
  cursor: pointer;
  font-family: "Sena Handmade", "Baloo 2", cursive;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-black,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit {
  background: #1a1a1a;
  color: #fff;
}

.btn-secondary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: #d0d0d0;
  color: #303030;
}


/* =========================================================
   07 FOOTER
========================================================= */

.site-footer {
  background: var(--footer-bg);
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-site-name {
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #555;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.site-footer__bottom {
  max-width: 1220px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #666;
  font-size: 0.92rem;
}


/* =========================================================
   08 PAGES / POSTS / WOOCOMMERCE
========================================================= */

.section-label {
  display: inline-block;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.content-shell {
  max-width: var(--content);
  margin: 0 auto;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.content-shell--reading {
  max-width: var(--content-narrow);
}

.page-header {
  margin-bottom: 2rem;
}

.page-hero-title,
.entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.entry-meta {
  color: #8c6e54;
}

.entry-content,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-result-count {
  line-height: 1.75;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.featured-image {
  margin-bottom: 2rem;
}

.featured-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.post-card {
  padding: 1rem;
}

.post-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.post-card__meta {
  color: #8c6e54;
  margin: 0 0 0.75rem;
}

.pagination-wrap {
  margin-top: 2rem;
}

.elementor-page-wrap {
  min-height: 30vh;
}

.elementor-page-wrap > .elementor {
  width: 100%;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb {
  margin-bottom: 1rem;
  color: #8c6e54;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.woocommerce ul.products li.product a img {
  border-radius: 12px;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--red);
  font-weight: 800;
}

.woocommerce div.product div.images img,
.woocommerce div.product div.summary {
  border-radius: 16px;
}

.woocommerce div.product form.cart .button {
  background: var(--red);
  color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 12px;
  box-shadow: none;
}

.woocommerce span.onsale {
  background: var(--red);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  border: 1px solid rgba(44, 24, 16, 0.16);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: #fffdf8;
  font: inherit;
}

.woocommerce .quantity .qty {
  width: 5.5rem;
}


/* =========================================================
   09 ELEMENTOR HELPER CLASSES
========================================================= */

.sena-page-wrap {
  background: var(--cream);
}

.sena-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.sena-section--narrow {
  max-width: 880px;
}

.sena-section--tight {
  padding-top: 40px;
  padding-bottom: 40px;
}

.sena-section--paper,
.sena-card,
.sena-faq-item,
.sena-info-box,
.sena-step-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.sena-section--paper {
  padding: 48px;
}

.sena-card {
  padding: 28px;
}

.sena-divider {
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12px 9px, #e9bd2c 0 3px, transparent 3.6px),
    radial-gradient(circle at 33px 9px, #d4a030 0 4px, transparent 4.6px),
    linear-gradient(90deg, transparent 0 4px, #b8901c 4px 20px, transparent 20px 24px, #b8901c 24px 40px, transparent 40px 44px);
  background-size: 44px 18px;
  background-repeat: repeat-x;
  opacity: 0.92;
}

.sena-hand-title,
.sena-display {
  font-family: "Sena Handmade", "Baloo 2", sans-serif;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.sena-display {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 700;
}

.sena-hand-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
}

.sena-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: "Sena Handmade", "Baloo 2", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sena-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #5b493c;
}

.sena-muted {
  color: #7a6757;
}

.sena-kicker {
  color: var(--mustard, #c9a227);
  font-weight: 800;
}

.sena-soft-bg {
  background: var(--review-bg);
}

.sena-sage-bg {
  background: #eef3eb;
}

.sena-peach-bg {
  background: #f9e4d2;
}

.sena-charcoal-bg {
  background: #2b2b2b;
  color: #fffdf7;
}

.sena-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.sena-button,
.sena-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Sena Handmade", "Baloo 2", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.sena-button {
  background: var(--red);
  color: #fff;
}

.sena-button:hover {
  background: #aa261f;
  color: #fff;
}

.sena-button-secondary {
  background: #fff;
  border: 2px solid rgba(58, 42, 31, 0.16);
  color: var(--dark);
}

.sena-button-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.sena-category-card img,
.sena-image-round img,
.sena-gallery-card img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.sena-category-card .elementor-heading-title,
.sena-faq-item .elementor-heading-title,
.sena-step-card .elementor-heading-title {
  font-family: "Sena Handmade", "Baloo 2", sans-serif;
  color: var(--dark);
}

.sena-note {
  padding: 18px 22px;
  border-left: 4px solid var(--tan);
  background: rgba(255, 253, 245, 0.75);
  border-radius: 0 16px 16px 0;
  color: #624f42;
}

.sena-faq-item {
  padding: 24px;
  margin-bottom: 16px;
}

.sena-step-grid,
.sena-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sena-step-card {
  padding: 24px;
  text-align: center;
}

.sena-product-template ul,
.sena-policy-list ul,
.sena-icon-list ul {
  margin: 0;
  padding-left: 1.2rem;
}

.sena-product-template li,
.sena-policy-list li,
.sena-icon-list li {
  margin-bottom: 0.5rem;
}

.sena-woo-shortcode-wrap {
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.sena-centered {
  text-align: center;
}


/* =========================================================
   10 RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  .products-grid,
  .reviews-grid,
  .footer-grid,
  .post-grid,
  .sena-step-grid,
  .sena-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .main-nav__brand {
    justify-self: start;
  }

  .nav-mascot {
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .nav-right {
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .nav-right.is-open {
    display: flex;
  }

  .primary-menu,
  .nav-right .menu,
  .nav-right .primary-menu {
    flex-direction: column !important;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 460px;
  }

  .craft-section {
    min-height: 420px;
  }

  .cta-banner {
    align-items: flex-start;
  }

  .products-grid,
  .reviews-grid,
  .footer-grid,
  .post-grid,
  .sena-step-grid,
  .sena-icon-grid {
    grid-template-columns: 1fr;
  }
}