/*
Theme Name: Art of Tibet Clone
Theme URI: https://example.com/art-of-tibet-clone
Author: Custom Theme
Description: Dynamic WooCommerce-ready WordPress theme converted from the Art Of Tibet static single page.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: art-of-tibet-clone
*/

:root {
      --ink: #050505;
      --soft-ink: #3d3d3d;
      --paper: #ffffff;
      --mist: #f6f6f6;
      --line: #dedede;
      --gold: #c59036;
      --footer: #f8f5ee;
      --max: 1260px;
    }

    * { box-sizing: border-box; }
    html {
      max-width: 100%;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }
    body {
      margin: 0;
      font-family: Inter, Arial, sans-serif;
      color: var(--ink);
      background: var(--paper);
      letter-spacing: 0;
      max-width: 100%;
      overflow-x: hidden;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input { font: inherit; }
    .wrap { width: min(var(--max), calc(100% - 72px)); margin: 0 auto; }

    .topbar {
      height: 43px;
      background: #050505;
      color: #fff;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 0 48px;
      font-size: 13px;
      font-weight: 700;
    }
    .topbar .left, .topbar .right { display: flex; gap: 22px; align-items: center; }
    .topbar .right { justify-content: flex-end; }
    .topbar .sale { text-align: center; letter-spacing: .6px; }

    .nav {
      height: 92px;
      background: #fff;
      border-bottom: 1px solid #eee;
      display: grid;
      grid-template-columns: 220px 1fr 240px;
      align-items: center;
      padding: 0 52px;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    .logo { width: 150px; }
    .navlinks {
      display: flex;
      justify-content: center;
      gap: 44px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }
    .nav-item { height: 92px; display: flex; align-items: center; }
    .nav-link { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
    .nav-link::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 7px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; vertical-align: middle; }
    .nav-link.plain::after { display: none; }
    .mega-menu {
      position: absolute;
      top: 92px;
      left: 0;
      width: 100%;
      background: #fff;
      border-top: 1px solid #ececec;
      border-bottom: 1px solid #dcdcdc;
      box-shadow: 0 18px 34px rgba(0,0,0,.12);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
      z-index: 11;
      white-space: normal;
    }
    .nav-item:hover .mega-menu,
    .nav-item.open .mega-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .mega-inner {
      width: min(1180px, calc(100% - 80px));
      margin: 0 auto;
      padding: 28px 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
    }
    .mega-card {
      display: grid;
      gap: 12px;
      font-size: 13px;
      font-weight: 800;
      text-align: center;
    }
    .mega-card img { width: 100%; aspect-ratio: 1 / .72; object-fit: cover; background: #f1f1f1; }
    .mega-card span { display: block; }
    .actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; font-size: 18px; }
    .currency-wrap { position: relative; }
    .currency { border: 0; background: transparent; font-size: 13px; font-weight: 700; display: flex; gap: 6px; align-items: center; cursor: pointer; padding: 0; }
    .currency::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
    .currency-menu {
      position: absolute;
      top: 29px;
      right: 0;
      width: 150px;
      background: #fff;
      border: 1px solid #ddd;
      box-shadow: 0 12px 24px rgba(0,0,0,.12);
      display: none;
      z-index: 20;
    }
    .currency-menu.open { display: block; }
    .currency-menu button {
      width: 100%;
      border: 0;
      background: #fff;
      text-align: left;
      padding: 10px 13px;
      font-size: 12px;
      cursor: pointer;
    }
    .currency-menu button:hover { background: #f5f5f5; }
    .icon-btn {
      min-width: 24px;
      height: 24px;
      border: 0;
      background: transparent;
      cursor: pointer;
      display: inline-grid;
      place-items: center;
      padding: 0;
    }
    .actions .icon-btn { width: auto; min-width: 42px; font-size: 12px; font-weight: 800; }
    .hamburger { display: none; }

    .shade {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.45);
      z-index: 25;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    .shade.open { opacity: 1; pointer-events: auto; }
    .side-panel {
      position: fixed;
      inset: 0 auto 0 0;
      width: min(360px, 88vw);
      background: #fff;
      z-index: 35;
      transform: translateX(-105%);
      transition: transform .25s ease;
      display: flex;
      flex-direction: column;
      box-shadow: 14px 0 32px rgba(0,0,0,.2);
    }
    .side-panel.open { transform: translateX(0); }
    .panel-head {
      min-height: 58px;
      border-bottom: 1px solid #e5e5e5;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 18px;
      font-size: 14px;
      font-weight: 800;
    }
    .mobile-menu { overflow: auto; padding: 6px 0 18px; }
    .mobile-menu details { border-bottom: 1px solid #ececec; }
    .mobile-menu summary, .mobile-menu a {
      min-height: 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
    }
    .mobile-menu details a { padding-left: 32px; font-weight: 600; color: #333; }
    .cart-panel {
      position: fixed;
      inset: 0 0 0 auto;
      width: min(420px, 92vw);
      background: #fff;
      z-index: 36;
      transform: translateX(105%);
      transition: transform .25s ease;
      display: flex;
      flex-direction: column;
      box-shadow: -14px 0 32px rgba(0,0,0,.2);
    }
    .cart-panel.open { transform: translateX(0); }
    .cart-body { padding: 26px 22px; flex: 1; display: grid; align-content: center; text-align: center; color: #333; }
    .cart-actions { border-top: 1px solid #eee; padding: 18px 22px 24px; display: grid; gap: 10px; }
    .outline-btn {
      border: 1px solid #111;
      background: #fff;
      color: #111;
      min-height: 41px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
    }

    .hero {
      min-height: 805px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      padding: 0 24px 60px;
      text-align: center;
      color: #fff;
      background-image: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18)), url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756");
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .hero-card {
      margin-top: 0;
      text-shadow: 0 2px 12px rgba(0,0,0,.55);
      animation: rise .65s ease both;
    }
    .hero h1 {
      margin: 0;
      font-size: 47px;
      line-height: .98;
      font-weight: 800;
    }
    .hero p {
      margin: 20px 0 23px;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .4px;
    }
    .hero .hero-kicker {
      margin: 0 0 12px;
      color: #f3d37e;
      font-size: 12px;
      text-transform: uppercase;
    }
    .btn {
      border: 0;
      background: #050505;
      color: #fff;
      min-height: 41px;
      padding: 0 27px;
      font-size: 12px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .intro-copy {
      background: #f7f7f7;
      text-align: center;
      padding: 42px 24px 48px;
    }
    .intro-copy h2 {
      margin: 0 0 16px;
      font: 700 19px/1.2 Montserrat, sans-serif;
    }
    .intro-copy p { margin: 0 auto; max-width: 600px; color: #444; font-size: 13px; line-height: 1.65; }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
    .split img { width: 100%; height: 480px; object-fit: cover; }
    .split-copy { padding: 70px min(8vw, 120px); }
    .split-copy h2 {
      margin: 0 0 20px;
      font: 800 30px/1.15 Montserrat, sans-serif;
      letter-spacing: .5px;
    }
    .split-copy p { color: #202020; font-size: 14px; line-height: 1.75; max-width: 520px; }

    .section-title {
      text-align: center;
      padding: 54px 0 24px;
    }
    .section-title h2 {
      margin: 0 0 10px;
      font-size: 22px;
      line-height: 1.2;
      font-weight: 800;
    }
    .section-title p {
      margin: 0 auto;
      max-width: 820px;
      color: #555;
      font-size: 12px;
      line-height: 1.55;
    }
    .line-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      padding-top: 48px;
    }
    .line-title::before, .line-title::after {
      content: "";
      width: 110px;
      height: 2px;
      background: #050505;
    }

    .arts-grid {
      display: grid;
      grid-template-columns: 345px 1fr 345px;
      grid-template-rows: 345px 345px;
      gap: 20px;
      max-width: 1440px;
      margin: 0 auto;
    }
    .tile {
      position: relative;
      overflow: hidden;
      min-height: 220px;
      background: #eee;
    }
    .tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.96);
      transition: transform .5s ease;
    }
    .tile:hover img { transform: scale(1.04); }
    .tile.big { grid-row: 1 / span 2; grid-column: 2; }
    .label {
      position: absolute;
      left: 50%;
      bottom: 34px;
      transform: translateX(-50%);
      background: rgba(255,255,255,.94);
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(0,0,0,.16);
      white-space: nowrap;
    }

    .craft-grid {
      display: grid;
      grid-template-columns: 1fr 1.52fr;
      grid-template-rows: 270px 270px;
      gap: 20px;
      max-width: 1440px;
      margin: 24px auto 0;
    }
    .craft-grid .wide { grid-column: 2; grid-row: 1 / span 2; }

    .intentions {
      padding: 210px 0 148px;
      text-align: center;
      min-height: 620px;
    }
    .intentions h2, .belief h2 {
      margin: 0 0 16px;
      font-size: 30px;
      font-weight: 800;
      line-height: 1.15;
    }
    .intentions p {
      max-width: 590px;
      margin: 0 auto;
      color: #222;
      font-size: 14px;
      line-height: 1.7;
    }
    .belief {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      min-height: 480px;
    }
    .belief .belief-copy { padding-left: max(48px, calc((100vw - var(--max)) / 2)); padding-right: 80px; }
    .belief p { font-size: 14px; line-height: 1.7; max-width: 520px; }
    .belief img { width: 100%; height: 480px; object-fit: cover; object-position: center; }

    .reviews {
      padding: 95px 0 95px;
      text-align: center;
    }
    .reviews h2 { margin: 0 0 7px; font-size: 26px; }
    .stars { font-size: 20px; letter-spacing: 1px; }
    .review-track {
      margin: 48px auto 0;
      max-width: 1100px;
      display: grid;
      grid-template-columns: 42px 1fr 42px;
      align-items: center;
      gap: 28px;
    }
    .arrow {
      border: 0;
      background: transparent;
      font-size: 42px;
      line-height: 1;
      cursor: pointer;
    }
    .review-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
    }
    .review { min-height: 138px; }
    .review strong { display: block; margin: 5px 0 8px; font-size: 13px; }
    .review p { margin: 0 auto 54px; max-width: 430px; font-size: 12px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .review cite { font-style: normal; color: #8b8b8b; font-size: 12px; }

    .blogs {
      background: #f7f7f7;
      padding: 34px 0 60px;
      text-align: center;
    }
    .blogs .section-title { padding-top: 0; }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 36px;
      margin: 30px auto 34px;
      width: min(1180px, calc(100% - 88px));
      text-align: left;
    }
    .blog-card img {
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      background: #efefef;
    }
    .blog-card h3 { font-size: 13px; line-height: 1.45; margin: 18px 0 0; font-weight: 700; }

    .community {
      padding: 78px 24px 66px;
      text-align: center;
    }
    .community h2 { margin: 0 0 25px; font-size: 24px; font-weight: 800; }
    .community p { margin: 0 auto 19px; max-width: 450px; font-size: 12px; line-height: 1.5; }
    .signup {
      margin: 0 auto;
      display: flex;
      justify-content: center;
      max-width: 430px;
    }
    .signup input {
      border: 1px solid #dedede;
      padding: 0 14px;
      height: 40px;
      flex: 1;
      min-width: 0;
      font-size: 13px;
    }

    .service-bar {
      background: #050505;
      color: #fff;
      border-bottom: 1px solid #333;
    }
    .services {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      min-height: 105px;
      align-items: center;
    }
    .service {
      display: grid;
      grid-template-columns: 40px 1fr;
      gap: 18px;
      padding: 0 34px;
      border-right: 1px solid #333;
    }
    .service:last-child { border-right: 0; }
    .service .ico { font-size: 28px; }
    .service strong { display: block; font-size: 13px; margin-bottom: 6px; }
    .service span { display: block; font-size: 12px; line-height: 1.45; color: #e7e7e7; }

    footer {
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%);
      color: #3b2e2a;
      padding: 62px 0 30px;
      border-top: 1px solid #eadfce;
    }
    footer::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 150px;
      pointer-events: none;
      background:
        linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
        linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
        linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%);
      opacity: .85;
    }
    footer > .wrap {
      position: relative;
      z-index: 1;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.65fr repeat(3, 1fr);
      gap: 56px;
      font-size: 12px;
      line-height: 1.65;
    }
    .footer-logo { width: 150px; margin-bottom: 20px; }
    footer h3 {
      color: #4b332f;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 16px;
      font-weight: 500;
      margin: 0 0 16px;
    }
    footer p {
      color: #6f6259;
      max-width: 280px;
    }
    footer ul { padding: 0; margin: 0; list-style: none; }
    footer li { margin: 7px 0; color: #5e514b; }
    footer a {
      color: #5e514b;
      transition: color .2s ease;
    }
    footer a:hover { color: #9a6b45; }
    .copyright {
      margin-top: 42px;
      padding-top: 22px;
      border-top: 1px solid #dfd2c2;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      align-items: center;
      font-size: 11px;
      color: #82756e;
    }
    .cards { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
    .card-dot { width: 24px; height: 14px; background: #fff; border-radius: 2px; border-top: 4px solid var(--c); }

    .chat {
      position: fixed;
      right: 22px;
      bottom: 150px;
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: #050505;
      color: #fff;
      z-index: 9;
      display: grid;
      place-items: center;
      box-shadow: 0 4px 12px rgba(0,0,0,.3);
    }
    .chat::after {
      content: "1";
      position: absolute;
      right: -3px;
      top: -5px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #f7255d;
      display: grid;
      place-items: center;
      font-size: 11px;
      font-weight: 800;
    }

    .search-drawer {
      position: fixed;
      inset: 0 0 auto 0;
      min-height: 222px;
      background: #fff;
      z-index: 40;
      transform: translateY(-105%);
      transition: transform .32s ease;
      box-shadow: 0 16px 36px rgba(0,0,0,.12);
      padding: 46px 24px 32px;
      text-align: center;
    }
    .search-drawer.open { transform: translateY(0); }
    .search-drawer h2 { margin: 0 0 20px; font-size: 22px; }
    .search-row { display: flex; max-width: 620px; margin: 0 auto 18px; }
    .search-row input { flex: 1; height: 43px; border: 1px solid #ddd; padding: 0 14px; }
    .close {
      position: absolute;
      right: 24px;
      top: 18px;
      border: 0;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
    }

    .popup {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      background: rgba(0,0,0,.45);
      z-index: 30;
      padding: 24px;
    }
    .popup.show { display: none; }
    .popup-card {
      width: min(680px, 100%);
      background: #050505;
      color: #fff;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      box-shadow: 0 18px 60px rgba(0,0,0,.35);
    }
    .popup-card .product { height: 430px; object-fit: cover; width: 100%; }
    .popup-content { padding: 54px 40px; text-align: center; display: grid; place-items: center; }
    .popup-logo { width: 170px; margin: 0 auto 18px; }
    .popup-content h2 { font-size: 23px; line-height: 1.25; margin: 0 0 16px; }
    .popup-content p { font-size: 13px; line-height: 1.55; color: #eee; }
    .popup-content input { width: 100%; height: 39px; border: 0; padding: 0 12px; margin: 12px 0; }
    .green { background: #2df04f; color: #000; width: 100%; }

    @keyframes rise {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 900px) {
      .wrap { width: min(100% - 36px, var(--max)); }
      .topbar {
        height: 26px;
        grid-template-columns: 1fr;
        padding: 0 10px;
        font-size: 8px;
      }
      .topbar .left, .topbar .right { display: none; }
      .nav {
        height: 61px;
        grid-template-columns: 46px 1fr 76px;
        padding: 0 12px;
        top: 0;
      }
      .hamburger { display: inline-grid; }
      .navlinks { display: none; }
      .logo { width: 82px; margin: 0 auto; }
      .currency { display: none; }
      .actions { gap: 10px; font-size: 15px; }
      .actions .hide-mobile { display: none; }
      .hero {
        min-height: 355px;
        padding: 0 18px 42px;
        background-image: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.35)), url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756");
      }
      .hero-card { margin-top: 0; max-width: 290px; }
      .hero h1 { font-size: 26px; }
      .hero p { font-size: 9px; margin: 12px 0 14px; }
      .btn { min-height: 34px; padding: 0 18px; font-size: 10px; }
      .intro-copy { padding: 28px 26px; }
      .intro-copy h2 { font-size: 12px; }
      .intro-copy p { font-size: 10px; }
      .split { grid-template-columns: 1fr; }
      .split img { height: 320px; }
      .split-copy { padding: 28px 20px 34px; }
      .split-copy h2 { font-size: 21px; }
      .split-copy p { font-size: 11px; }
      .section-title { padding: 31px 18px 17px; }
      .section-title h2 { font-size: 16px; }
      .section-title p { font-size: 9px; }
      .line-title { gap: 8px; padding-top: 26px; }
      .line-title::before, .line-title::after { width: 42px; height: 1px; }
      .arts-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 300px 180px;
        gap: 12px;
      }
      .tile.big { grid-column: 1 / span 2; grid-row: 2; }
      .label { bottom: 15px; padding: 8px 12px; font-size: 11px; }
      .craft-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 210px);
        gap: 10px;
        margin-top: 12px;
      }
      .craft-grid .wide { grid-column: auto; grid-row: auto; }
      .intentions { padding: 44px 22px 38px; min-height: 0; }
      .intentions h2, .belief h2 { font-size: 16px; }
      .intentions p, .belief p { font-size: 10px; }
      .belief { grid-template-columns: 1fr; min-height: 0; }
      .belief .belief-copy { padding: 55px 30px 50px; }
      .belief img { height: auto; min-height: 150px; }
      .reviews { padding: 56px 0 52px; }
      .reviews h2 { font-size: 17px; }
      .stars { font-size: 15px; }
      .review-track { grid-template-columns: 30px 1fr 30px; gap: 4px; margin-top: 28px; }
      .arrow { font-size: 34px; }
      .review-cards { grid-template-columns: 1fr; gap: 16px; }
      .review-cards .review:first-child { display: none; }
      .review p { max-width: 190px; font-size: 10px; margin-bottom: 42px; }
      .blogs { padding: 25px 0 42px; }
      .blog-grid { width: min(100% - 42px, 420px); grid-template-columns: 1fr; gap: 18px; margin-top: 16px; }
      .blog-grid .blog-card:not(:first-child) { display: none; }
      .blog-card h3 { font-size: 10px; }
      .community { padding: 44px 20px; }
      .community h2 { font-size: 18px; }
      .community p { font-size: 9px; }
      .signup { max-width: 310px; }
      .signup input { height: 36px; font-size: 10px; }
      .services { grid-template-columns: 1fr; padding: 10px 0; }
      .service { min-height: 72px; padding: 12px 18px; border-right: 0; border-bottom: 1px solid #333; }
      .service strong { font-size: 11px; }
      .service span { font-size: 10px; }
      footer { padding: 38px 0 22px; }
      .footer-grid { grid-template-columns: 1fr; gap: 15px; }
      footer h3 { border-top: 1px solid #dfd2c2; padding-top: 12px; margin-bottom: 8px; }
      .footer-logo { width: 100px; }
      .copyright { flex-direction: column; align-items: flex-start; margin-top: 18px; }
      .cards { justify-content: flex-start; }
      .chat { right: 14px; bottom: 42%; width: 43px; height: 43px; }
      .popup { align-items: start; padding-top: 108px; }
      .popup.show { display: grid; }
      .popup-card { width: 286px; grid-template-columns: 1fr; }
      .popup-card .product { display: none; }
      .popup-content { padding: 24px 22px 20px; }
      .popup-logo { width: 110px; }
      .popup-content h2 { font-size: 14px; }
      .popup-content p { font-size: 10px; }
      .craft-grid .wide { order: 3; }
      .craft-grid .tile:last-child { order: 2; }
    }

    /* Homepage WooCommerce product showcase */
    .home-products {
      padding: 76px 24px 88px;
      background: #fff;
    }
    .home-products .section-title {
      padding-top: 0;
      padding-bottom: 28px;
    }
    .product-showcase-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 34px 24px;
      max-width: 1440px;
      margin: 0 auto;
    }
    .product-card {
      display: flex;
      flex-direction: column;
      color: #111;
      text-decoration: none;
      min-width: 0;
    }
    .product-loading { grid-column: 1 / -1; text-align: center; padding: 36px; font-weight: 700; color: #111; }
    .product-card .product-image-wrap {
      position: relative;
      aspect-ratio: 1 / 1;
      background: #f4f1ed;
      overflow: hidden;
    }
    .product-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform .45s ease;
    }
    .product-card:hover img { transform: scale(1.045); }
    .product-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #9b9d00;
      color: #fff;
      font-size: 13px;
      font-weight: 800;
    }
    .product-card h3 {
      min-height: 48px;
      margin: 16px 0 8px;
      color: #d72a63;
      font-size: 15px;
      line-height: 1.32;
      font-weight: 800;
    }
    .product-price {
      display: flex;
      gap: 7px;
      align-items: baseline;
      min-height: 24px;
      font-size: 14px;
      font-weight: 800;
      color: #929700;
    }
    .product-price del {
      color: #999;
      font-weight: 600;
    }
    .product-card .product-action {
      align-self: flex-start;
      margin-top: 14px;
      padding: 11px 18px;
      background: #eeeaf2;
      color: #333;
      font-size: 13px;
      font-weight: 800;
      text-decoration: none;
    }
    .product-card:hover .product-action {
      background: #111;
      color: #fff;
    }
    @media (max-width: 900px) {
      .home-products { padding: 48px 14px 60px; }
      .product-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
      }
      .product-card h3 {
        min-height: auto;
        font-size: 12px;
      }
      .product-price { font-size: 12px; }
      .product-badge {
        width: 42px;
        height: 42px;
        font-size: 11px;
      }
      .product-card .product-action {
        padding: 9px 12px;
        font-size: 11px;
      }
    }


/* WordPress dynamic menu and widget compatibility */
.navlinks .menu { display: flex; justify-content: center; gap: 44px; margin: 0; padding: 0; list-style: none; }
.navlinks .menu > li { height: 92px; display: flex; align-items: center; position: relative; }
.navlinks .menu a { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 800; cursor: pointer; }
.mobile-menu .menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu .menu a { color: inherit; }
.footer-grid .widget { margin: 0; }
.footer-grid .widget-title { margin: 0 0 16px; color: #4b332f; font-size: 16px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.custom-logo { width: 150px; height: auto; }
.text-logo {
  display: inline-flex;
  width: auto;
  min-width: 120px;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* Final footer override: keeps desktop and mobile on the same soft footer style. */
footer.aot-soft-footer,
body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%) !important;
  color: #3b2e2a !important;
  padding: 62px 0 30px !important;
  border-top: 1px solid #eadfce !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 150px !important;
  pointer-events: none !important;
  background:
    linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
    linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
    linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%) !important;
  opacity: .85 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
}

footer.aot-soft-footer h1,
footer.aot-soft-footer h2,
footer.aot-soft-footer h3,
footer.aot-soft-footer h4,
footer.aot-soft-footer .widget-title,
footer.aot-soft-footer strong {
  color: #4b332f !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span {
  color: #5e514b !important;
}

footer.aot-soft-footer a:hover {
  color: #9a6b45 !important;
}

footer.aot-soft-footer .copyright {
  border-top: 1px solid #dfd2c2 !important;
  color: #82756e !important;
}
.site-logo {
  display: inline-flex;
  align-items: center;
}
.aot-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #3b2e2a;
}
.aot-language-switcher ul {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aot-language-switcher li {
  margin: 0;
  line-height: 1;
}
.aot-language-switcher a,
.aot-language-switcher span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #eadfce;
  color: #3b2e2a;
  background: #fffdf8;
}
.aot-language-switcher .current-lang a,
.aot-language-switcher .current-lang span {
  background: #edf3e8;
  border-color: #d3dfcd;
}
.footer-grid .custom-logo {
  max-width: 150px;
  margin-bottom: 18px;
}
.footer-grid h3:first-child {
  color: #4b332f;
  font-size: 20px;
  margin-top: 0;
}
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.aot-page {
  background: #fff;
}
.aot-page-title {
  padding: 54px 0 20px;
  text-align: center;
}
.aot-page-title h1 {
  margin: 0;
  font: 800 34px/1.15 Montserrat, sans-serif;
}
.aot-page-content > .entry-content {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 24px 0 72px;
}
.elementor-page .aot-page-content > .entry-content {
  width: 100%;
  padding: 0;
}

/* Full-screen hero slider */
.hero.hero-slider {
  position: relative;
  min-height: calc(100vh - 135px);
  height: calc(100vh - 135px);
  overflow: hidden;
  background: #111;
  padding-bottom: clamp(60px, 12vh, 120px);
}
.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slide {
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .75s ease, transform 5.5s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.24));
  z-index: 1;
  pointer-events: none;
}
.hero.hero-slider .hero-card {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0 24px;
}
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.is-active {
  background: #fff;
}
@media (max-width: 900px) {
  .hero.hero-slider {
    min-height: 78vh;
    height: 78vh;
    padding-bottom: clamp(42px, 12vh, 74px);
  }
  .hero h1 {
    font-size: 34px;
  }
}

/* Larger editorial image grids, closer to the reference storefront */
.arts-grid {
  width: min(1760px, calc(100% - 56px));
  max-width: none;
  grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.58fr) minmax(260px, .72fr);
  grid-template-rows: minmax(300px, 38vh) minmax(300px, 38vh);
  gap: 22px;
}
.craft-grid {
  width: min(1760px, calc(100% - 56px));
  max-width: none;
  grid-template-columns: minmax(340px, .95fr) minmax(560px, 1.55fr);
  grid-template-rows: minmax(280px, 36vh) minmax(280px, 36vh);
  gap: 22px;
}
.arts-grid .tile,
.craft-grid .tile {
  min-height: 0;
}
@media (min-width: 1400px) {
  .arts-grid {
    grid-template-rows: minmax(360px, 39vh) minmax(360px, 39vh);
  }
  .craft-grid {
    grid-template-rows: minmax(330px, 38vh) minmax(330px, 38vh);
  }
}
@media (max-width: 900px) {
  .arts-grid,
  .craft-grid {
    width: min(100% - 24px, 640px);
    gap: 12px;
  }
  .arts-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 360px 220px;
  }
  .craft-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 260px);
  }
}

/* Production WooCommerce polish */
.aot-shop-main {
  background: #efeee8;
  min-height: 70vh;
}
.aot-shop-shell {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  padding: 58px 0 86px;
}
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 24px;
  color: #747067;
  font-size: 12px;
}
.woocommerce .woocommerce-breadcrumb a {
  color: #111;
  font-weight: 700;
}
.woocommerce-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
}
.woocommerce-products-header__title,
.woocommerce div.product .product_title {
  margin: 0;
  color: #111;
  font: 800 36px/1.12 Montserrat, sans-serif;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin: 0 0 24px;
  color: #6b675e;
  font-size: 13px;
}
.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid #d4d0c7;
  background: #fff;
  padding: 0 12px;
}
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 26px;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
}
.aot-wc-card,
.product-card {
  position: relative;
}
.product-card {
  transition: transform .22s ease, filter .22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}
.product-card .product-image-wrap {
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
}
.product-main-image,
.product-hover-image {
  display: block;
  transition: opacity .28s ease, transform .55s ease;
}
.product-hover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card:hover .product-main-image {
  opacity: 0;
}
.product-card:hover .product-hover-image {
  opacity: 1;
  transform: scale(1.035);
}
.aot-card-body {
  display: grid;
  gap: 10px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-card h3 {
  color: #c81346;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.woocommerce ul.products li.product .price,
.product-price {
  color: #9aa100;
  font-size: 15px;
  font-weight: 800;
}
.woocommerce ul.products li.product .price del,
.product-price del {
  color: #958f84;
  opacity: 1;
}
.woocommerce span.onsale,
.product-badge {
  background: #9ca000;
  color: #fff;
  font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
  margin: 44px 0 0;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc9bd;
  background: #fff;
  color: #111;
  font-weight: 800;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: #111;
  color: #fff;
}
.aot-product-pagination {
  margin: 42px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.aot-product-pagination a,
.aot-product-pagination span,
.aot-product-pagination button {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #cfc9bd;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  padding: 0 12px;
}
.aot-product-pagination span {
  cursor: default;
}
.aot-product-pagination span.dots {
  border-color: transparent;
  background: transparent;
  min-width: auto;
}
.aot-product-pagination span.current,
.aot-product-pagination a.current,
.aot-product-pagination button.is-active,
.aot-product-pagination a:hover,
.aot-product-pagination button:hover:not(:disabled) {
  background: #111;
  color: #fff;
}
.aot-product-pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 72px;
  align-items: start;
}
.woocommerce div.product div.images,
.woocommerce-page div.product div.images,
.woocommerce div.product div.summary,
.woocommerce-page div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}
.woocommerce div.product div.images {
  background: #f8f6f0;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.woocommerce div.product div.images img {
  width: 100%;
  object-fit: cover;
}
.woocommerce div.product div.summary {
  position: sticky;
  top: 118px;
  background: #fff;
  padding: 46px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #9aa100;
  font-size: 24px;
  font-weight: 800;
  margin: 18px 0 22px;
}
.woocommerce div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 26px 0;
}
.woocommerce .quantity .qty {
  width: 76px;
  min-height: 48px;
  border: 1px solid #d4d0c7;
  background: #fff;
  font-weight: 800;
}
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce input.button,
.woocommerce div.product form.cart .button {
  min-height: 48px;
  border-radius: 0;
  background: #111;
  color: #fff;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  transition: background .2s ease, transform .2s ease;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce div.product form.cart .button:hover {
  background: #9c001f;
  color: #fff;
  transform: translateY(-1px);
}
.aot-product-trust {
  display: grid;
  gap: 12px;
  border-top: 1px solid #ebe6dc;
  margin-top: 28px;
  padding-top: 24px;
}
.aot-product-trust div {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid #9aa100;
}
.aot-product-trust strong {
  font-size: 13px;
  color: #111;
}
.aot-product-trust span {
  color: #6d675d;
  font-size: 12px;
  line-height: 1.45;
}
.woocommerce div.product .product_meta {
  color: #6d675d;
  font-size: 12px;
  border-top: 1px solid #ebe6dc;
  padding-top: 20px;
}
.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  background: #fff;
  padding: 36px 44px;
  box-shadow: 0 14px 32px rgba(0,0,0,.05);
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid #e8e2d8;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 24px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 0 0 14px;
  color: #111;
  font-weight: 800;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: #111;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
@media (max-width: 1100px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .woocommerce div.product div.summary {
    position: static;
  }
}
@media (max-width: 700px) {
  .aot-shop-shell {
    width: min(100% - 24px, 520px);
    padding: 32px 0 58px;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .woocommerce div.product div.summary {
    padding: 28px 20px;
  }
  .woocommerce-products-header__title,
  .woocommerce div.product .product_title {
    font-size: 26px;
  }
}

/* 1.0.8 storefront conversion polish */
body,
.site-main,
.intro-copy,
.home-products,
.blogs,
.reviews,
.newsletter,
.aot-shop-main {
  background: #fff;
}

.hero.hero-slider {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.hero.hero-slider .hero-card {
  transform: none;
}
.hero.hero-slider .hero-card .btn {
  margin-top: 10px;
}

.product-card,
.aot-wc-card {
  display: grid;
  align-content: start;
  gap: 14px;
  color: #111;
  text-decoration: none;
}
.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0;
}
.product-card h3 a,
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: inherit;
  text-decoration: none;
}
.product-card .product-image-wrap,
.aot-wc-card .product-image-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f8f5ee;
}
.product-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.product-card-actions .product-action {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 16px;
  background: #f0ecf2;
  color: #111;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.product-card-actions .product-buy-now,
.product-card-actions .product-action:hover {
  background: #111;
  color: #fff;
}
.product-card-actions .product-buy-now:hover {
  background: #9c001f;
  color: #fff;
  transform: translateY(-1px);
}

.purpose-section {
  background: #fff;
  padding: clamp(72px, 8vw, 132px) 0;
}
.purpose-image {
  display: block;
  width: min(1320px, calc(100% - 72px));
  height: clamp(360px, 42vw, 620px);
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}
.purpose-copy-grid {
  width: min(1120px, calc(100% - 72px));
  margin: clamp(34px, 4vw, 58px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}
.purpose-copy-grid article {
  border-top: 2px solid #111;
  padding-top: 22px;
}
.purpose-copy-grid h2 {
  margin: 0 0 16px;
  font: 800 28px/1.2 Montserrat, sans-serif;
  color: #111;
}
.purpose-copy-grid p {
  margin: 0;
  color: #252525;
  font-size: 14px;
  line-height: 1.85;
}

.aot-back-wrap {
  grid-column: 1 / -1;
  margin: 0 0 20px;
}
.aot-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d8d1c5;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}
.aot-back-link::before {
  content: "<";
  font-weight: 900;
}
.aot-back-link:hover {
  background: #111;
  color: #fff;
}

.woocommerce div.product form.cart .aot-buy-now-button {
  background: #9c001f;
}
.woocommerce div.product form.cart .aot-buy-now-button:hover {
  background: #111;
}

.woocommerce-cart .aot-shop-shell {
  width: min(1380px, calc(100% - 64px));
}
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}
.woocommerce-cart table.shop_table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 12px;
  margin: 0;
}
.woocommerce-cart table.shop_table th {
  border: 0;
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.woocommerce-cart table.shop_table td {
  border: 0;
  background: #faf8f3;
  padding: 16px 18px;
  vertical-align: middle;
}
.woocommerce-cart table.cart img {
  width: 92px;
  border: 1px solid #ebe6dc;
  background: #fff;
}
.woocommerce-cart table.cart .product-name a {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}
.woocommerce-cart table.cart .product-remove a.remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: #fff;
  color: #9c001f !important;
}
.woocommerce-cart table.cart td.actions {
  background: #fff;
  padding: 22px 0 0;
}
.woocommerce-cart table.cart td.actions .coupon {
  display: flex;
  gap: 10px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
  min-width: 190px;
  min-height: 48px;
  border: 1px solid #d8d1c5;
  padding: 0 14px;
}
.woocommerce-cart .cart-collaterals {
  margin-top: 30px;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  float: right;
  width: min(520px, 100%);
}
.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  font: 800 24px/1.2 Montserrat, sans-serif;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 58px;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #9c001f;
}

@media (max-width: 900px) {
  .hero.hero-slider .hero-card {
    transform: none;
  }
  .purpose-image,
  .purpose-copy-grid {
    width: min(100% - 28px, 680px);
  }
  .purpose-image {
    height: clamp(260px, 62vw, 420px);
  }
  .purpose-copy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .purpose-copy-grid h2 {
    font-size: 22px;
  }
  .woocommerce-cart form.woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals .cart_totals {
    padding: 18px;
  }
  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
  }
}

/* Free Zi Wei Dou Shu chart page */
.aot-ziwei-page {
  background: #f4f1ea;
  color: #111;
}
.aot-ziwei-shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}
.aot-ziwei-hero {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 78px 0 62px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.56), rgba(0,0,0,.72)),
    url("https://www.artoftibet.com/cdn/shop/files/slide_1_2000x.jpg?v=1767019756") center/cover;
  color: #fff;
}
.aot-ziwei-kicker {
  margin: 0 0 14px;
  color: #d7b56b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.aot-ziwei-hero h1 {
  margin: 0;
  font: 800 44px/1.1 Montserrat, Inter, sans-serif;
}
.aot-ziwei-subtitle {
  margin: 18px auto 0;
  max-width: 680px;
  font-size: 18px;
  font-weight: 700;
}
.aot-ziwei-note {
  margin: 18px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.7;
}
.aot-ziwei-workspace {
  padding: 54px 0 82px;
}
.aot-ziwei-form,
.aot-ziwei-results {
  background: #fff;
  border: 1px solid #e4ded2;
  box-shadow: 0 22px 60px rgba(0,0,0,.08);
}
.aot-ziwei-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
}
.aot-ziwei-alert,
.aot-ziwei-actions {
  grid-column: 1 / -1;
}
.aot-ziwei-alert {
  padding: 14px 16px;
  border-left: 4px solid #9c001f;
  background: #fff2f4;
  color: #7a0018;
  font-size: 13px;
  font-weight: 800;
}
.aot-ziwei-field {
  display: grid;
  gap: 8px;
}
.aot-ziwei-field label {
  font-size: 13px;
  font-weight: 900;
}
.aot-ziwei-field label span {
  color: #9c001f;
  font-size: 11px;
  font-weight: 800;
}
.aot-ziwei-field input,
.aot-ziwei-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8d1c5;
  background: #fff;
  color: #111;
  padding: 0 14px;
  font-size: 14px;
}
.aot-ziwei-field input:focus,
.aot-ziwei-field select:focus {
  outline: 2px solid #c59036;
  outline-offset: 1px;
}
.aot-ziwei-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.aot-ziwei-submit {
  min-width: 180px;
}
.aot-ziwei-submit:disabled {
  opacity: .68;
  cursor: wait;
}
.aot-ziwei-results {
  margin-top: 42px;
  padding: clamp(24px, 4vw, 42px);
}
.aot-ziwei-result-head {
  text-align: center;
  margin-bottom: 28px;
}
.aot-ziwei-result-head p {
  margin: 0 0 8px;
  color: #8d6a28;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-ziwei-result-head h2 {
  margin: 0;
  font: 800 28px/1.2 Montserrat, Inter, sans-serif;
}
.aot-ziwei-result-subtitle {
  margin: 8px 0 0 !important;
  color: #5d564e !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: none !important;
}
.aot-ziwei-field-wide {
  grid-column: 1 / -1;
}
.aot-ziwei-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aot-ziwei-checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
}
.aot-ziwei-checkbox input:disabled,
.aot-ziwei-checkbox input:disabled + span {
  opacity: .62;
  cursor: not-allowed;
}
.aot-ziwei-helper {
  margin: 0;
  color: #695f52;
  font-size: 12px;
  line-height: 1.55;
}
.aot-ziwei-board-wrap {
  overflow-x: auto;
  padding-bottom: 4px;
}
.aot-ziwei-board {
  min-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(224px, auto));
  border: 2px solid #222;
  background: #fff;
}
.aot-ziwei-palace-cell,
.aot-ziwei-center {
  min-width: 0;
  border: 1px solid #555;
  background: #fff;
}
.aot-ziwei-palace-cell {
  position: relative;
  padding: 9px 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.aot-ziwei-palace-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  align-items: start;
}
.aot-ziwei-branch {
  grid-row: span 2;
  justify-self: end;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}
.aot-ziwei-palace-name {
  color: #cc2431;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}
.aot-ziwei-stem-branch {
  color: #333;
  font-size: 12px;
  font-weight: 800;
}
.aot-ziwei-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.aot-ziwei-badges span {
  display: inline-grid;
  place-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 2px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.aot-ziwei-badges .is-life {
  background: #cc2431;
}
.aot-ziwei-badges .is-body {
  background: #7e5ab8;
}
.aot-ziwei-star-section {
  display: grid;
  gap: 3px;
}
.aot-ziwei-star-section > strong {
  color: #6e665c;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-ziwei-star-group {
  display: flex;
  gap: 4px 6px;
  flex-wrap: wrap;
  line-height: 1.15;
}
.aot-ziwei-star {
  color: #1a5f95;
  font-size: 15px;
  font-weight: 900;
}
.aot-ziwei-star-section.is-major .aot-ziwei-star {
  color: #b82932;
  font-size: 17px;
}
.aot-ziwei-star-section.is-adj .aot-ziwei-star {
  color: #268f88;
  font-size: 12px;
  font-weight: 800;
}
.aot-ziwei-star.is-lu { color: #24964b; }
.aot-ziwei-star.is-quan { color: #8a4db4; }
.aot-ziwei-star.is-ke { color: #237bc0; }
.aot-ziwei-star.is-ji { color: #cc2431; }
.aot-ziwei-palace-meta {
  margin-top: auto;
  display: grid;
  gap: 2px;
}
.aot-ziwei-palace-meta p {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 6px;
  margin: 0;
  color: #333;
  font-size: 11px;
  line-height: 1.35;
}
.aot-ziwei-palace-meta strong {
  color: #777;
  font-weight: 800;
}
.aot-ziwei-center {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px 28px;
  text-align: center;
  background:
    linear-gradient(45deg, transparent 49.7%, rgba(120,120,120,.36) 50%, transparent 50.3%),
    linear-gradient(-45deg, transparent 49.7%, rgba(120,120,120,.36) 50%, transparent 50.3%),
    #fff;
}
.aot-ziwei-center h3 {
  margin: 0 0 5px;
  color: #333;
  font-size: 32px;
  font-weight: 900;
}
.aot-ziwei-engine {
  margin: 0 0 15px;
  color: #7e5ab8;
  font-size: 12px;
  font-weight: 900;
}
.aot-ziwei-center p {
  width: 100%;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 10px;
  margin: 3px 0;
  color: #333;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
}
.aot-ziwei-center strong {
  color: #666;
  text-align: right;
}
.aot-ziwei-true-solar-note span {
  color: #9c001f;
  font-size: 12px;
  line-height: 1.45;
}
.aot-ziwei-cycle-table {
  margin-top: 0;
  overflow-x: auto;
}
.aot-ziwei-period-grid {
  min-width: 980px;
  display: grid;
  grid-template-columns: 90px repeat(12, minmax(88px, 1fr));
  border-left: 1px solid #aaa;
  border-top: 1px solid #aaa;
  background: #eee;
}
.aot-ziwei-period-grid > div {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 6px;
  white-space: pre-line;
  text-align: center;
  color: #333;
  font-size: 12px;
  line-height: 1.35;
}
.aot-ziwei-period-label {
  background: #e1e1e1;
  color: #111 !important;
  font-weight: 900;
}
.aot-ziwei-disclaimer {
  margin: 30px 0 0;
  border-top: 1px solid #e2dbcf;
  padding-top: 18px;
  color: #5d564e;
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}
.aot-ziwei-page,
.aot-ziwei-page * {
  overflow-wrap: anywhere;
}
.aot-ziwei-field input,
.aot-ziwei-field select,
.aot-ziwei-submit {
  max-width: 100%;
}
.aot-ziwei-checkbox {
  min-width: 0;
}
.aot-ziwei-actions .btn {
  white-space: normal;
  text-align: center;
}
@media (max-width: 900px) {
  .aot-ziwei-shell {
    width: min(100% - 28px, 640px);
  }
  .aot-ziwei-hero {
    min-height: 300px;
    padding: 54px 0 46px;
  }
  .aot-ziwei-hero h1 {
    font-size: 30px;
  }
  .aot-ziwei-subtitle {
    font-size: 14px;
  }
  .aot-ziwei-form {
    grid-template-columns: 1fr;
  }
  .aot-ziwei-results {
    padding: 14px;
  }
  .aot-ziwei-board {
    min-width: 900px;
    grid-template-rows: repeat(4, minmax(210px, auto));
  }
  .aot-ziwei-center h3 {
    font-size: 25px;
  }
  .aot-ziwei-center p {
    grid-template-columns: 110px 1fr;
    font-size: 13px;
  }
}

.aot-page {
  background: #fff;
}
.aot-page-hero {
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 96px 24px 68px;
  background-color: #161310;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.68)),
    var(--aot-page-hero-bg, none);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.aot-page-hero-inner {
  width: min(760px, 100%);
}
.aot-page-kicker {
  margin: 0 0 12px;
  color: #d7b46a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.aot-page-hero h1 {
  margin: 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 48px;
  line-height: 1.04;
  font-weight: 900;
}
.aot-page-hero p:last-child {
  margin: 18px auto 0;
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.75;
}
.aot-page-container {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
}
.aot-page-section {
  padding: 74px 0;
}
.aot-page-section h2 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}
.aot-page-section p,
.aot-editable-content {
  color: #3e3a35;
  font-size: 15px;
  line-height: 1.85;
}
.aot-page-lead {
  max-width: 800px;
  margin: 0 0 34px;
  font-size: 17px !important;
}
.aot-editable-content {
  margin-top: 26px;
}
.aot-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
}
.aot-contact-list {
  display: grid;
  gap: 18px;
}
.aot-contact-list div {
  border-bottom: 1px solid #e8e1d5;
  padding-bottom: 18px;
}
.aot-contact-list strong,
.aot-contact-list span {
  display: block;
}
.aot-contact-list strong {
  margin-bottom: 6px;
  color: #9c001f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-contact-form-panel {
  border: 1px solid #e8e1d5;
  padding: 34px;
  background: #faf8f4;
}
.aot-faq-list {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}
.aot-faq-list details {
  border: 1px solid #e2dbcf;
  background: #fff;
}
.aot-faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  color: #111;
  font-weight: 900;
}
.aot-faq-list p {
  margin: 0;
  border-top: 1px solid #ece6dc;
  padding: 18px 22px 22px;
}
.aot-about-intro {
  text-align: center;
}
.aot-about-intro p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.aot-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.aot-about-values .aot-page-section,
.aot-page-cta {
  border-top: 1px solid #e8e1d5;
}
.aot-page-cta {
  text-align: center;
}
.aot-policy-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.aot-policy-list h2 {
  margin-top: 20px;
}
.aot-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 74px 0;
}
.aot-blog-card {
  border: 1px solid #e8e1d5;
  background: #fff;
}
.aot-blog-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.aot-blog-card > div {
  padding: 24px;
}
.aot-blog-card h2 {
  margin: 6px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}
.aot-blog-card p {
  color: #4a453f;
  line-height: 1.75;
}
.aot-blog-date {
  margin: 0;
  color: #9c001f !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-text-link {
  color: #9c001f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.aot-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .aot-page-hero {
    min-height: 310px;
    padding: 72px 20px 48px;
  }
  .aot-page-hero h1 {
    font-size: 34px;
  }
  .aot-page-container {
    width: min(100% - 32px, 680px);
  }
  .aot-page-section {
    padding: 48px 0;
  }
  .aot-contact-grid,
  .aot-about-values,
  .aot-blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .aot-contact-form-panel {
    padding: 24px;
  }
}

/* Mobile overflow and product-card stability fixes. */
@media (max-width: 1024px) {
  .wrap,
  .aot-shop-shell,
  .home-products,
  .product-showcase-grid,
  .woocommerce ul.products,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .product-card,
  .aot-wc-card,
  .aot-card-body,
  .nav,
  .navlinks,
  .actions,
  .site-logo,
  .text-logo {
    min-width: 0;
    max-width: 100%;
  }

  .product-card,
  .aot-wc-card,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100%;
    overflow: hidden;
  }

  .product-card img,
  .aot-wc-card img,
  .woocommerce ul.products li.product img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .product-card .product-image-wrap,
  .aot-wc-card .product-image-wrap {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    width: 100%;
  }

  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .topbar {
    display: none;
  }

  .nav {
    width: 100%;
    height: auto;
    min-height: 64px;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    position: sticky;
    top: 0;
  }

  .hamburger {
    display: inline-grid;
    justify-self: start;
  }

  .site-logo {
    justify-self: center;
    overflow: hidden;
  }

  .custom-logo {
    width: auto;
    max-width: 150px;
    max-height: 38px;
  }

  .text-logo {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
  }

  .navlinks {
    display: none;
  }

  .actions {
    justify-self: end;
    gap: 8px;
  }

  .actions .aot-language-switcher {
    display: none;
  }

  .mobile-menu .aot-language-switcher {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eee;
  }

  .mobile-menu .aot-language-switcher ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .actions .hide-mobile,
  .actions [data-open-search] {
    display: none;
  }

  .actions .icon-btn {
    min-width: 40px;
    height: 40px;
    font-size: 11px;
  }

  .home-products {
    padding: 48px 16px 62px;
    overflow: hidden;
  }

  .product-showcase-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 16px !important;
    width: 100%;
    max-width: 100%;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .product-card,
  .aot-wc-card {
    display: grid;
    align-content: start;
    gap: 12px;
  }

  .product-card .product-image-wrap,
  .aot-wc-card .product-image-wrap {
    aspect-ratio: 1 / 1;
  }

  .product-card img,
  .aot-wc-card img,
  .woocommerce ul.products li.product img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0 !important;
    margin: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .product-price,
  .woocommerce ul.products li.product .price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline;
    gap: 5px 8px;
    min-height: 0 !important;
    white-space: normal !important;
  }

  .product-price del,
  .product-price ins,
  .woocommerce ul.products li.product .price del,
  .woocommerce ul.products li.product .price ins {
    display: inline-block;
    line-height: 1.3 !important;
  }

  .product-card-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 2px;
  }

  .product-card-actions .product-action,
  .woocommerce ul.products li.product .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    margin: 0 !important;
  }

  .woocommerce-products-header {
    display: grid;
    gap: 12px;
    align-items: start;
  }

  .woocommerce .woocommerce-ordering {
    justify-self: start;
  }
}

@media (max-width: 480px) {
  .wrap,
  .aot-shop-shell,
  .purpose-copy-grid,
  .purpose-image {
    width: calc(100% - 28px);
  }

  .home-products {
    padding: 42px 14px 56px;
  }

  .product-showcase-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .product-card,
  .aot-wc-card {
    gap: 14px;
  }

  .product-card h3,
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 20px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .product-price,
  .woocommerce ul.products li.product .price {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
  }

  .product-card-actions {
    gap: 10px;
  }

  .product-card-actions .product-action,
  .woocommerce ul.products li.product .button {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.2;
  }

  .product-badge,
  .woocommerce span.onsale {
    width: 46px;
    height: 46px;
    min-height: 0;
    font-size: 11px;
  }

  .woocommerce div.product form.cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .woocommerce .quantity .qty,
  .woocommerce div.product form.cart .button,
  .woocommerce div.product form.cart .aot-buy-now-button {
    width: 100%;
  }
}


/* Mobile menu accordion and tap stability */
.mobile-menu .menu,
.mobile-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu .menu li {
  position: relative;
  border-bottom: 1px solid #ececec;
}

.mobile-menu .menu li li {
  border-bottom: 0;
}

.mobile-menu .menu a {
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.mobile-menu .menu .sub-menu {
  display: none;
  padding: 0 0 10px;
  background: #fafafa;
}

.mobile-menu .menu li.is-open > .sub-menu {
  display: block;
}

.mobile-menu .menu .sub-menu a {
  min-height: 38px;
  padding-left: 34px;
  padding-right: 18px;
  font-weight: 600;
  color: #333;
}

.mobile-menu .menu .sub-menu .sub-menu a {
  padding-left: 48px;
}

.mobile-menu .menu li.menu-item-has-children > a,
.mobile-menu .menu li.has-submenu > a {
  padding-right: 54px;
}

.mobile-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #111;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu .menu li.is-open > .mobile-submenu-toggle {
  background: #111;
  color: #fff;
}

.mobile-menu .menu li.is-open > .mobile-submenu-toggle::before {
  content: "−";
}

.mobile-menu .menu li:not(.is-open) > .mobile-submenu-toggle::before {
  content: "+";
}

.mobile-submenu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.side-panel.open {
  visibility: visible;
}

.side-panel:not(.open) {
  visibility: hidden;
}

/* Final cross-device overrides. Keep these last so plugin/admin CSS cannot restore the old dark footer or block mobile header taps. */
.nav.aot-site-nav {
  z-index: 1000 !important;
}

.nav.aot-site-nav .icon-btn,
.nav.aot-site-nav a,
.nav.aot-site-nav button {
  pointer-events: auto !important;
}

.shade {
  z-index: 1990 !important;
}

.side-panel {
  z-index: 2000 !important;
  pointer-events: auto !important;
}

.cart-panel {
  z-index: 2001 !important;
  pointer-events: auto !important;
}

.search-drawer {
  z-index: 2002 !important;
}

footer.aot-soft-footer,
body footer.aot-soft-footer,
html body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 54%, #edf3e8 100%) !important;
  color: #3b2e2a !important;
  padding: 62px 0 30px !important;
  border-top: 1px solid #eadfce !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before,
html body footer.aot-soft-footer::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 150px !important;
  pointer-events: none !important;
  background:
    linear-gradient(165deg, transparent 0 46%, rgba(142, 171, 134, .22) 46.5% 67%, transparent 67.5%),
    linear-gradient(18deg, rgba(195, 169, 124, .2) 0 18%, transparent 18.5%),
    linear-gradient(178deg, transparent 0 38%, rgba(112, 151, 118, .16) 38.5% 60%, transparent 60.5%) !important;
  opacity: .85 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
}

footer.aot-soft-footer h1,
footer.aot-soft-footer h2,
footer.aot-soft-footer h3,
footer.aot-soft-footer h4,
footer.aot-soft-footer .widget-title,
footer.aot-soft-footer strong {
  color: #4b332f !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span {
  color: #5e514b !important;
}

footer.aot-soft-footer a:hover {
  color: #9a6b45 !important;
}

footer.aot-soft-footer .copyright {
  border-top-color: #dfd2c2 !important;
  color: #82756e !important;
}

.aot-footer-menu {
  margin-top: 18px;
}
.aot-footer-menu .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aot-footer-menu a,
footer.aot-soft-footer a,
footer.aot-soft-footer p,
footer.aot-soft-footer li,
.product-card-actions .product-action {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  .aot-footer-menu .menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* v1.3.9 reliable mobile menu fallback: anchor target + class-based open state. */
@media (max-width: 768px) {
  .nav.aot-site-nav .hamburger {
    position: relative !important;
    z-index: 3005 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 44px !important;
    min-width: 60px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.08);
    touch-action: manipulation;
  }

  #aot-mobile-menu-panel.side-panel,
  .side-panel[data-mobile-panel] {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: min(360px, 88vw) !important;
    max-width: 88vw !important;
    background: #fff !important;
    transform: translateX(-105%) !important;
    visibility: hidden !important;
    opacity: 1 !important;
    z-index: 100000 !important;
    pointer-events: auto !important;
    transition: transform .25s ease, visibility .25s ease !important;
  }

  #aot-mobile-menu-panel.side-panel.open,
  #aot-mobile-menu-panel.side-panel:target,
  html.aot-mobile-menu-open #aot-mobile-menu-panel.side-panel,
  body.aot-mobile-menu-open #aot-mobile-menu-panel.side-panel {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  .shade.open,
  html.aot-mobile-menu-open .shade,
  body.aot-mobile-menu-open .shade {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 99990 !important;
    background: rgba(0,0,0,.35) !important;
  }

  /* If JavaScript is blocked or delayed, the :target fallback opens the menu and shows submenus instead of trapping users. */
  #aot-mobile-menu-panel.side-panel:target .mobile-menu .menu .sub-menu {
    display: block !important;
  }

  #aot-mobile-menu-panel.side-panel:target .mobile-submenu-toggle {
    display: none !important;
  }
}


/* v1.4.0: footer artwork redesign and newsletter removal */
body .community,
html body .community {
  display: none !important;
}

footer.aot-soft-footer,
body footer.aot-soft-footer,
html body footer.aot-soft-footer {
  position: relative !important;
  overflow: hidden !important;
  min-height: 560px !important;
  padding: 74px 0 36px !important;
  border-top: 1px solid rgba(195, 169, 124, .28) !important;
  background-color: #fffaf0 !important;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 34%, rgba(255,255,255,.72) 56%, rgba(255,255,255,.12) 100%),
    url('assets/images/footer-landscape.png') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center bottom !important;
  background-size: 100% 100%, cover !important;
  color: #2e2520 !important;
}

footer.aot-soft-footer::before,
body footer.aot-soft-footer::before,
html body footer.aot-soft-footer::before {
  content: none !important;
  display: none !important;
}

footer.aot-soft-footer::after,
body footer.aot-soft-footer::after,
html body footer.aot-soft-footer::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,.96) 0 28%, rgba(255,255,255,.68) 56%, rgba(255,255,255,0) 76%),
    linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,255,255,.34) 48%, rgba(255,255,255,0) 100%) !important;
  z-index: 0 !important;
}

footer.aot-soft-footer > .wrap,
body footer.aot-soft-footer > .wrap,
html body footer.aot-soft-footer > .wrap {
  position: relative !important;
  z-index: 1 !important;
  width: min(1320px, calc(100% - 76px)) !important;
}

footer.aot-soft-footer .footer-grid,
body footer.aot-soft-footer .footer-grid,
html body footer.aot-soft-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.45fr 1fr 1fr 1fr !important;
  gap: clamp(34px, 5vw, 88px) !important;
  align-items: start !important;
  padding: 22px 0 120px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

footer.aot-soft-footer .footer-grid > div,
body footer.aot-soft-footer .footer-grid > div,
html body footer.aot-soft-footer .footer-grid > div,
footer.aot-soft-footer .footer-grid .widget,
body footer.aot-soft-footer .footer-grid .widget,
html body footer.aot-soft-footer .footer-grid .widget {
  min-width: 0 !important;
}

footer.aot-soft-footer h3,
footer.aot-soft-footer .widget-title,
body footer.aot-soft-footer h3,
body footer.aot-soft-footer .widget-title,
html body footer.aot-soft-footer h3,
html body footer.aot-soft-footer .widget-title {
  margin: 0 0 20px !important;
  color: #2b211c !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(18px, 1.25vw, 24px) !important;
  font-weight: 500 !important;
  letter-spacing: .02em !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.86) !important;
}

footer.aot-soft-footer p,
footer.aot-soft-footer li,
footer.aot-soft-footer a,
footer.aot-soft-footer span,
body footer.aot-soft-footer p,
body footer.aot-soft-footer li,
body footer.aot-soft-footer a,
body footer.aot-soft-footer span,
html body footer.aot-soft-footer p,
html body footer.aot-soft-footer li,
html body footer.aot-soft-footer a,
html body footer.aot-soft-footer span {
  color: #322821 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.86), 0 0 12px rgba(255,255,255,.56) !important;
}

footer.aot-soft-footer p,
body footer.aot-soft-footer p,
html body footer.aot-soft-footer p {
  max-width: 330px !important;
  margin: 0 !important;
  font-size: 13px !important;
}

footer.aot-soft-footer ul,
body footer.aot-soft-footer ul,
html body footer.aot-soft-footer ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

footer.aot-soft-footer li,
body footer.aot-soft-footer li,
html body footer.aot-soft-footer li {
  margin: 8px 0 !important;
  font-size: 13px !important;
}

footer.aot-soft-footer a,
body footer.aot-soft-footer a,
html body footer.aot-soft-footer a {
  text-decoration: none !important;
}

footer.aot-soft-footer a:hover,
body footer.aot-soft-footer a:hover,
html body footer.aot-soft-footer a:hover {
  color: #8b5c3a !important;
}

footer.aot-soft-footer .copyright,
body footer.aot-soft-footer .copyright,
html body footer.aot-soft-footer .copyright {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  color: rgba(48, 38, 31, .76) !important;
  font-size: 12px !important;
}

footer.aot-soft-footer .cards,
body footer.aot-soft-footer .cards,
html body footer.aot-soft-footer .cards {
  display: none !important;
}

@media (max-width: 900px) {
  footer.aot-soft-footer,
  body footer.aot-soft-footer,
  html body footer.aot-soft-footer {
    min-height: 720px !important;
    padding: 48px 0 34px !important;
    background-size: 100% 100%, auto 58% !important;
    background-position: center top, center bottom !important;
  }
  footer.aot-soft-footer > .wrap,
  body footer.aot-soft-footer > .wrap,
  html body footer.aot-soft-footer > .wrap {
    width: min(100% - 38px, 680px) !important;
  }
  footer.aot-soft-footer .footer-grid,
  body footer.aot-soft-footer .footer-grid,
  html body footer.aot-soft-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 32px !important;
    padding: 0 0 250px !important;
  }
}

@media (max-width: 560px) {
  footer.aot-soft-footer,
  body footer.aot-soft-footer,
  html body footer.aot-soft-footer {
    min-height: 790px !important;
    padding-top: 38px !important;
    background-size: 100% 100%, auto 48% !important;
  }
  footer.aot-soft-footer .footer-grid,
  body footer.aot-soft-footer .footer-grid,
  html body footer.aot-soft-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding-bottom: 280px !important;
    text-align: left !important;
  }
  footer.aot-soft-footer h3,
  footer.aot-soft-footer .widget-title,
  body footer.aot-soft-footer h3,
  body footer.aot-soft-footer .widget-title,
  html body footer.aot-soft-footer h3,
  html body footer.aot-soft-footer .widget-title {
    margin-bottom: 10px !important;
    font-size: 18px !important;
  }
  footer.aot-soft-footer p,
  footer.aot-soft-footer li,
  body footer.aot-soft-footer p,
  body footer.aot-soft-footer li,
  html body footer.aot-soft-footer p,
  html body footer.aot-soft-footer li {
    font-size: 12px !important;
  }
  footer.aot-soft-footer .copyright,
  body footer.aot-soft-footer .copyright,
  html body footer.aot-soft-footer .copyright {
    bottom: 8px !important;
    padding: 0 16px !important;
    font-size: 10px !important;
  }
}


/* v1.4.2 logo size tuning: uploaded logos are larger but still constrained. */
.nav .site-logo,
.site-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 280px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.nav .site-logo {
  height: 92px !important;
}

.site-logo .custom-logo,
.site-logo img.custom-logo,
.site-logo .aot-custom-logo-header {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 240px !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.footer-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 220px !important;
  margin-bottom: 18px !important;
  text-decoration: none !important;
}

.footer-logo-link .custom-logo,
.footer-logo-link img.custom-logo,
.footer-logo-link .aot-custom-logo-footer {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 190px !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .nav .site-logo,
  .site-logo {
    justify-content: center !important;
    justify-self: center !important;
    max-width: 210px !important;
    height: auto !important;
  }

  .site-logo .custom-logo,
  .site-logo img.custom-logo,
  .site-logo .aot-custom-logo-header {
    max-width: 190px !important;
    max-height: 42px !important;
  }

  .footer-logo-link .custom-logo,
  .footer-logo-link img.custom-logo,
  .footer-logo-link .aot-custom-logo-footer {
    max-width: 150px !important;
    max-height: 46px !important;
  }
}

/* v1.4.2 final header logo override: stronger selector than legacy .custom-logo rules. */
body .site-header .site-logo .custom-logo,
body .site-header .site-logo img,
body .nav .site-logo .custom-logo,
body .nav .site-logo img {
  width: auto !important;
  height: auto !important;
  max-width: 240px !important;
  max-height: 58px !important;
}

@media (max-width: 768px) {
  body .site-header .site-logo .custom-logo,
  body .site-header .site-logo img,
  body .nav .site-logo .custom-logo,
  body .nav .site-logo img {
    max-width: 190px !important;
    max-height: 42px !important;
  }
}
