/*
Theme Name: TOMI BEAUTY
Theme URI: https://tomibeauty.store
Description: Astra child theme for the TOMI BEAUTY WooCommerce store.
Author: TOMI BEAUTY
Template: astra
Version: 1.0.0
Text Domain: tomi-beauty
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap');

:root {
  --tomi-ink: #302923;
  --tomi-brown: #745a4b;
  --tomi-cream: #f7f3ec;
  --tomi-paper: #fffcf8;
  --tomi-blush: #e7d2c8;
  --tomi-line: rgba(48, 41, 35, .15);
}

body, button, input, select, textarea { font-family: "DM Sans", sans-serif; color: var(--tomi-ink); }
body { background: var(--tomi-paper); }
h1, h2, h3, .site-title, .woocommerce-loop-product__title { font-family: "Italiana", serif; font-weight: 400; }
.ast-container { max-width: 1500px; }
.home .site-content > .ast-container { max-width: none; padding: 0; }
.home .site-content .content-area { width: 100%; margin: 0; }
.home .site-content .widget-area, .home .site-footer { display: none; }
.site-header { border-bottom: 1px solid var(--tomi-line); }
.site-title a { letter-spacing: .24em; font-size: 25px; }
.site-description { letter-spacing: .18em; font-size: 8px; text-transform: uppercase; }
.main-header-menu > .menu-item > .menu-link { font-size: 12px; letter-spacing: .04em; }
.ast-site-header-cart .ast-addon-cart-wrap { color: var(--tomi-ink); }

.tomi-announcement {
  min-height: 35px; padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--tomi-ink); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; text-align: center;
}
.tomi-announcement svg { width: 14px; }

.tomi-home { overflow: hidden; }
.tomi-eyebrow { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .19em; margin: 0 0 20px; }
.tomi-hero { position: relative; height: min(760px, calc(100vh - 150px)); min-height: 600px; overflow: hidden; }
.tomi-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tomi-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(45,36,29,.64), rgba(45,36,29,.04) 68%); }
.tomi-hero-copy { position: absolute; z-index: 2; left: 8vw; top: 50%; transform: translateY(-50%); color: #fff; max-width: 600px; }
.tomi-hero h1 { color: #fff; font-size: clamp(4.3rem, 8.4vw, 8rem); line-height: .83; letter-spacing: -.035em; margin: 0 0 32px; }
.tomi-hero h1 em { color: #ead6ca; font-weight: 400; }
.tomi-hero-copy > p:not(.tomi-eyebrow) { max-width: 440px; line-height: 1.7; font-size: 15px; margin-bottom: 34px; }
.tomi-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 50px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  border: 1px solid var(--tomi-ink); border-radius: 0; background: var(--tomi-ink); color: #fff;
  text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 600; transition: .25s;
}
.tomi-button-light { background: #fff; color: var(--tomi-ink); border-color: #fff; }
.tomi-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--tomi-brown); border-color: var(--tomi-brown); color: #fff; }
.tomi-values { min-height: 76px; display: flex; justify-content: space-evenly; align-items: center; border-bottom: 1px solid var(--tomi-line); background: var(--tomi-cream); }
.tomi-values span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.tomi-section { padding: 110px 5vw; }
.tomi-heading { max-width: 1400px; margin: 0 auto 65px; display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 50px; }
.tomi-heading h2, .tomi-story-copy h2, .tomi-community-copy h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.025em; margin: 0; }
.tomi-heading > p { color: #71675f; line-height: 1.8; max-width: 440px; margin: 0; }

.tomi-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 54px 22px; max-width: 1500px; margin: auto; }
.tomi-product-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--tomi-cream); }
.tomi-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tomi-product:hover .tomi-product-image img { transform: scale(1.025); }
.tomi-product-tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 10px; background: rgba(255,255,255,.92); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.tomi-product-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 18px; }
.tomi-product-cat { margin: 0 0 7px; color: #8e8177; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.tomi-product h3 { font-size: 21px; line-height: 1.2; margin: 0; }
.tomi-product .price { color: var(--tomi-ink); font-size: 13px; white-space: nowrap; }
.tomi-product-desc { min-height: 38px; margin: 10px 0 12px; color: #7d736b; font-size: 12px; line-height: 1.55; }
.tomi-product .add_to_cart_button { min-height: auto; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--tomi-ink); background: transparent; color: var(--tomi-ink); font-size: 9px; }
.tomi-product .add_to_cart_button:hover { background: transparent; color: var(--tomi-brown); }
.added_to_cart { margin-left: 10px; font-size: 10px; text-transform: uppercase; }

.tomi-story { display: grid; grid-template-columns: 1.05fr .95fr; background: #e9ded3; }
.tomi-story-image { min-height: 790px; margin: 6vw 0 6vw 6vw; }
.tomi-story-image img { width: 100%; height: 100%; object-fit: cover; }
.tomi-story-copy { align-self: center; max-width: 650px; padding: 90px 8vw; }
.tomi-story-copy h2 em, .tomi-community-copy h2 em { color: var(--tomi-brown); font-weight: 400; }
.tomi-story-copy > p:not(.tomi-eyebrow) { color: #6b6058; font-size: 14px; line-height: 1.9; margin: 28px 0 38px; }
.tomi-points { border-top: 1px solid var(--tomi-line); }
.tomi-points div { display: grid; grid-template-columns: 50px 1fr; padding: 18px 0; border-bottom: 1px solid var(--tomi-line); }
.tomi-points b { font-family: "Italiana", serif; color: var(--tomi-brown); font-weight: 400; }
.tomi-points span { color: #6b6058; font-size: 12px; }
.tomi-points strong { display: block; color: var(--tomi-ink); margin-bottom: 4px; }

.tomi-rewards { background: var(--tomi-brown); color: #fff; }
.tomi-rewards-intro { max-width: 1300px; margin: 0 auto 70px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; }
.tomi-rewards h2 { color: #fff; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .98; margin: 0; }
.tomi-rewards h2 em { color: #ead6ca; font-weight: 400; }
.tomi-rewards-intro > div:last-child > p { color: #eadfd8; font-size: 14px; line-height: 1.8; margin-bottom: 28px; }
.tomi-reward-grid { max-width: 1300px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.25); }
.tomi-reward-grid article { min-height: 255px; padding: 42px; border-right: 1px solid rgba(255,255,255,.25); }
.tomi-reward-grid article:last-child { border: 0; }
.tomi-reward-grid span { color: #ead6ca; font-family: "Italiana", serif; }
.tomi-reward-grid h3 { color: #fff; font-size: 27px; margin: 30px 0 15px; }
.tomi-reward-grid p { color: #eadfd8; font-size: 12px; line-height: 1.75; margin: 0; }
.tomi-rewards-terms { max-width: 1050px; margin: 30px auto 0; color: #d8c9c0; font-size: 10px; line-height: 1.7; text-align: center; }

.tomi-ritual { background: var(--tomi-ink); color: #fff; text-align: center; }
.tomi-ritual h2 { color: #fff; font-size: clamp(2.7rem, 5vw, 4.5rem); }
.tomi-ritual-head { max-width: 720px; margin: 0 auto 65px; }
.tomi-steps { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.16); }
.tomi-step { padding: 55px 8%; border-right: 1px solid rgba(255,255,255,.16); }
.tomi-step:last-child { border: 0; }
.tomi-step b { color: #d5bcb0; font-family: "Italiana", serif; font-weight: 400; }
.tomi-step h3 { color: #fff; font-size: 27px; margin: 28px 0 16px; }
.tomi-step p { color: #c9c2bc; font-size: 12px; line-height: 1.7; margin: 0; }
.tomi-quote { padding: 110px 8vw; background: #e9ded3; text-align: center; }
.tomi-quote blockquote { max-width: 1000px; margin: 0 auto 30px; font-family: "Italiana", serif; font-size: clamp(1.9rem, 3.5vw, 3.7rem); line-height: 1.2; }
.tomi-quote p { font-size: 9px; letter-spacing: .18em; }
.tomi-community { display: grid; grid-template-columns: 1fr 1fr; background: var(--tomi-cream); }
.tomi-community-copy { align-self: center; padding: 90px 9vw; }
.tomi-community-copy > p:not(.tomi-eyebrow) { color: #6d645c; font-size: 14px; line-height: 1.8; margin: 28px 0 35px; }
.tomi-community img { width: 100%; height: 760px; object-fit: cover; }

.tomi-site-footer { background: #29231f; color: #eee6df; }
.tomi-footer { max-width: 1500px; margin: auto; padding: 80px 6vw 55px; display: grid; grid-template-columns: 1.3fr .7fr .8fr 1.3fr; gap: 6vw; }
.tomi-footer h2 { color: #fff; font-size: 30px; letter-spacing: .2em; }
.tomi-footer h3 { color: #fff; font: 600 10px "DM Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.tomi-footer p, .tomi-footer a { display: block; color: #aaa19a; font-size: 12px; line-height: 1.8; }
.tomi-footer form { display: flex; border-bottom: 1px solid #6c625b; }
.tomi-footer input { width: 100%; border: 0; background: transparent; color: #fff; padding: 14px 0; }
.tomi-footer button { border: 0; background: transparent; color: #fff; cursor: pointer; }
.tomi-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 6vw; color: #8d847e; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; text-align: center; }

.woocommerce .woocommerce-breadcrumb { font-size: 11px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--tomi-brown); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--tomi-brown); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--tomi-brown); }

@media (max-width: 1024px) {
  .tomi-products { grid-template-columns: repeat(3, 1fr); }
  .tomi-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .tomi-announcement { font-size: 8px; }
  .tomi-hero { height: 690px; min-height: 0; }
  .tomi-hero > img { object-position: 59% center; }
  .tomi-hero::after { background: linear-gradient(0deg, rgba(38,31,25,.8), rgba(38,31,25,.03) 78%); }
  .tomi-hero-copy { left: 24px; right: 24px; top: auto; bottom: 45px; transform: none; }
  .tomi-hero h1 { font-size: 58px; }
  .tomi-values { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .tomi-values span { font-size: 8px; }
  .tomi-section { padding: 75px 18px; }
  .tomi-heading { display: block; margin-bottom: 40px; }
  .tomi-heading > p { margin-top: 22px; }
  .tomi-products { grid-template-columns: repeat(2, 1fr); gap: 40px 12px; }
  .tomi-product h3 { font-size: 17px; }
  .tomi-product-meta { display: block; }
  .tomi-product-desc { display: none; }
  .tomi-story, .tomi-community { grid-template-columns: 1fr; }
  .tomi-story-image { min-height: 560px; margin: 0; }
  .tomi-story-copy, .tomi-community-copy { padding: 75px 24px; }
  .tomi-rewards-intro { display: block; margin-bottom: 45px; }
  .tomi-rewards-intro > div:last-child { margin-top: 25px; }
  .tomi-reward-grid { grid-template-columns: 1fr; }
  .tomi-reward-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .tomi-steps { grid-template-columns: 1fr; }
  .tomi-step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .tomi-community img { height: 550px; }
  .tomi-footer { grid-template-columns: 1fr 1fr; padding: 60px 24px; }
  .tomi-footer > div:first-child, .tomi-footer > div:last-child { grid-column: 1 / -1; }
}
