/*
Theme Name: Letter Vibe
Theme URI: https://lettervibe.co.in/
Author: Letter Vibe
Description: Custom Letter Vibe storefront theme based on the approved Letter Vibe HTML design. WooCommerce-ready foundation.
Version: 1.0.0
Text Domain: letter-vibe
*/


:root {
  --cream:#fcf8f3;
  --paper:#fffdf9;
  --blush:#f8e8e7;
  --blush-2:#f4d8dc;
  --rose:#cf7087;
  --rose-dark:#b95770;
  --ink:#2f2927;
  --muted:#756b66;
  --line:#eadeda;
  --serif:'Cormorant Garamond', Georgia, serif;
  --sans:'DM Sans', Arial, sans-serif;
  --script:'Satisfy', cursive;
  --max:1240px;
  --shadow:0 18px 50px rgba(75,48,43,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.6}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}

.announcement{height:34px;background:var(--blush-2);display:flex;align-items:center;justify-content:center;font-size:12px;letter-spacing:.03em;color:#5f4a48}
.announcement span{display:inline-flex;gap:8px;align-items:center}

header{position:sticky;top:0;z-index:50;background:rgba(255,253,249,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(234,222,218,.75)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{font-family:var(--script);font-size:34px;line-height:1;color:var(--ink);white-space:nowrap}
.logo b{color:var(--rose);font-family:var(--serif);font-size:30px;margin-left:3px}
.navlinks{display:flex;align-items:center;gap:38px;margin-left:auto;margin-right:24px}
.navlinks a{font-size:14px;color:#403735;position:relative;padding:28px 0}
.navlinks a:hover,.navlinks a.active{color:var(--rose-dark)}
.navlinks a.active:after{content:"";position:absolute;left:50%;bottom:17px;transform:translateX(-50%);width:22px;height:1px;background:var(--rose)}
.navicons{display:flex;align-items:center;gap:17px}
.iconbtn{border:0;background:none;padding:5px;cursor:pointer;color:var(--ink);position:relative}
.iconbtn svg{width:21px;height:21px;display:block;stroke:currentColor}
.cart-count{position:absolute;right:-6px;top:-5px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:var(--rose);color:white;font-size:9px;display:flex;align-items:center;justify-content:center}
.menu-btn{display:none}

.hero{min-height:530px;display:grid;grid-template-columns:42% 58%;background:#f8f1eb;overflow:hidden}
.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:72px 48px 72px max(48px,calc((100vw - var(--max))/2 + 12px));position:relative;z-index:2}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:var(--rose-dark);margin:0 0 20px}
.hero h1{font-family:var(--serif);font-size:68px;line-height:.9;font-weight:600;letter-spacing:-.025em;margin:0;max-width:510px}
.hero h1 em{font-style:normal;color:var(--rose-dark)}
.spark{display:block;color:var(--rose);font-size:21px;line-height:1;margin:17px 0 9px}
.hero-copy p{max-width:430px;color:#625854;margin:0 0 28px;font-size:15px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:11px 22px;border:1px solid transparent;cursor:pointer;font-size:13px;font-weight:600;transition:.2s ease}
.btn-rose{background:var(--rose);color:#fff}
.btn-rose:hover{background:var(--rose-dark);transform:translateY(-1px)}
.btn-outline{border-color:#d79aaa;color:var(--rose-dark);background:transparent}
.hero-visual{position:relative;min-height:530px;display:flex;align-items:center;justify-content:center;background:linear-gradient(115deg,#f5ede6,#fffaf6 58%,#f4e8df)}
.hero-visual:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:#f2ded8;right:8%;top:50%;transform:translateY(-50%);opacity:.72}
.hero-photo{position:relative;width:min(470px,76%);height:450px;object-fit:cover;object-position:center;border:11px solid #fffdf9;box-shadow:0 28px 55px rgba(69,49,43,.18);transform:rotate(2deg)}
.hero-heart{position:absolute;z-index:3;bottom:56px;left:17%;color:var(--rose);font-size:22px}

.category-strip{background:#fffdf9;border-bottom:1px solid var(--line);border-top:1px solid var(--line)}
.categories{display:grid;grid-template-columns:repeat(6,1fr);min-height:105px}
.category{display:flex;align-items:center;justify-content:center;gap:11px;border-right:1px solid var(--line);font-size:13px;transition:.2s}
.category:first-child{border-left:1px solid var(--line)}
.category:hover{background:#fcf1ef;color:var(--rose-dark)}
.category svg{width:25px;height:25px;stroke:#a96c78;stroke-width:1.4;fill:none}

.section{padding:78px 0}
.section-head{text-align:center;margin-bottom:34px}
.section-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.18em;color:var(--rose-dark);margin-bottom:7px}
.section-head h2{font-family:var(--serif);font-weight:600;font-size:48px;line-height:1;margin:0}
.section-head h2:after{content:"";display:block;width:34px;height:1px;background:var(--rose);margin:15px auto 0}
.section-head p{color:var(--muted);max-width:590px;margin:14px auto 0;font-size:14px}

.favourites{background:#fffdf9}
.fav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product-card{background:#fff;border:1px solid #eadfdb;transition:.22s;min-width:0}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-image{aspect-ratio:1/1.08;background:#f5eee8;overflow:hidden;display:flex;align-items:center;justify-content:center}
.product-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-info{padding:17px 17px 19px}
.product-name{font-family:var(--serif);font-size:20px;line-height:1.1;margin:0 0 5px}
.product-type{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#9a817a;margin-bottom:7px}
.product-price{font-size:13px;color:var(--ink);font-weight:600}
.product-action{margin-top:13px;color:var(--rose-dark);font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.fav-cta{text-align:center;margin-top:31px}

.shop-section{background:#fdf8f4;border-top:1px solid #f0e4df}
.tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:25px auto 38px}
.tab{border:1px solid var(--line);background:#fffdf9;color:#655954;border-radius:999px;padding:8px 17px;font-size:12px;cursor:pointer}
.tab.active,.tab:hover{background:var(--rose);border-color:var(--rose);color:#fff}
.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.shop-grid .product-card .product-image{aspect-ratio:1/1.08}
.shop-grid .product-action{display:inline-block}
.empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:50px}

.letters{background:#f8e9e8;padding:76px 0}
.letter-wrap{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;width:min(1080px,calc(100% - 48px));margin:auto}
.letter-image-wrap{position:relative;padding:12px 24px 20px 12px}
.letter-image-wrap:before{content:"";position:absolute;inset:24px 2px 0 36px;background:#efd6d5;transform:rotate(-2.5deg)}
.letter-image{position:relative;width:100%;aspect-ratio:1/1;object-fit:cover;box-shadow:0 18px 35px rgba(86,56,51,.12);transform:rotate(-2.5deg);background:#fff}
.letter-copy .spark{margin:13px 0 10px}
.letter-copy h2{font-family:var(--serif);font-size:52px;line-height:.95;font-weight:600;margin:0}
.letter-copy p{max-width:500px;color:#5f5350;margin:18px 0 12px}
.letter-copy p + p{margin-top:8px}
.email{display:flex;gap:9px;align-items:center;margin-top:17px;color:#665652;font-size:13px}
.email svg{width:18px;stroke:var(--rose-dark)}

.contact{padding:74px 0 80px;background:#fffdf9;text-align:center}
.contact h2{font-family:var(--serif);font-size:46px;margin:0}
.contact p{color:var(--muted);max-width:570px;margin:12px auto 24px}
.contact-links{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.contact-link{border:1px solid var(--line);padding:10px 17px;border-radius:999px;font-size:12px;background:#fff}

footer{border-top:1px solid var(--line);background:#fffdf9;padding:50px 0 20px}
.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:35px}
.footer-logo{font-family:var(--script);font-size:32px}
.footer-logo b{font-family:var(--serif);color:var(--rose);font-size:28px}
.footer-desc{font-size:12px;color:var(--muted);max-width:270px;margin:8px 0 15px}
.footer-title{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#8c7770;margin-bottom:11px}
.footer-links{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#5f5450}
.footer-links a:hover{color:var(--rose-dark)}
.footer-bottom{border-top:1px solid var(--line);margin-top:36px;padding-top:18px;display:flex;justify-content:space-between;font-size:11px;color:#8b7b76}

.overlay{display:none;position:fixed;inset:0;background:rgba(40,25,22,.25);z-index:70}
.drawer{position:fixed;right:-430px;top:0;width:min(430px,100%);height:100%;background:#fffdf9;z-index:80;box-shadow:-20px 0 50px rgba(50,30,25,.15);transition:right .25s;display:flex;flex-direction:column}
.drawer.open{right:0}
.overlay.open{display:block}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:23px;border-bottom:1px solid var(--line)}
.drawer-head h3{font-family:var(--serif);font-size:29px;margin:0}
.drawer-close{border:0;background:none;font-size:20px;cursor:pointer}
.drawer-items{padding:18px 23px;overflow:auto;flex:1}
.drawer-item{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.drawer-item img{width:70px;height:70px;object-fit:cover;background:#f4ece7}
.drawer-name{font-family:var(--serif);font-size:17px;line-height:1.1}
.drawer-sub{font-size:11px;color:var(--muted);margin-top:4px}
.drawer-remove{border:0;background:none;color:var(--rose-dark);font-size:11px;cursor:pointer}
.drawer-foot{border-top:1px solid var(--line);padding:18px 23px}
.drawer-note{font-size:11px;color:var(--muted);margin-top:8px}
.empty-cart{text-align:center;color:var(--muted);padding:60px 10px}

@media (max-width:900px){
  .navlinks{gap:20px}
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:58px 30px 30px;align-items:center;text-align:center}
  .hero-copy p{max-width:560px}
  .hero-visual{min-height:430px}
  .categories{grid-template-columns:repeat(3,1fr)}
  .category:nth-child(4),.category:nth-child(5),.category:nth-child(6){border-top:1px solid var(--line)}
  .fav-grid,.shop-grid{grid-template-columns:repeat(2,1fr)}
  .letter-wrap{grid-template-columns:1fr;gap:35px}
  .letter-copy{text-align:center}
  .letter-copy p{margin-left:auto;margin-right:auto}
  .email{justify-content:center}
  .footer-top{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .container{width:min(100% - 30px,var(--max))}
  .announcement{font-size:10px}
  .nav{height:68px}
  .logo{font-size:30px}
  .navlinks{display:none}
  .menu-btn{display:block}
  .hero h1{font-size:52px}
  .hero-visual{min-height:330px}
  .hero-photo{height:285px;width:72%}
  .section{padding:57px 0}
  .section-head h2,.letter-copy h2{font-size:40px}
  .categories{grid-template-columns:repeat(2,1fr)}
  .category:nth-child(3){border-top:1px solid var(--line)}
  .fav-grid,.shop-grid{grid-template-columns:1fr 1fr;gap:12px}
  .product-info{padding:12px}
  .product-name{font-size:17px}
  .product-action{font-size:9px}
  .footer-top{grid-template-columns:1fr 1fr;gap:28px}
  .footer-top > :first-child{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:6px}
}
