/*
Theme Name: Noteify Craft
Theme URI: https://noteify.pk/
Author: OpenAI
Author URI: https://openai.com/
Description: A soft stationery and gifts WooCommerce theme for Noteify, built for Hostinger and WordPress. Screenshot-inspired layout with editable Customizer settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: noteify-craft
*/

:root{
  --bg:#f8f6f4;
  --card:#fff7f7;
  --text:#4b3a33;
  --muted:#8a776f;
  --accent:#efb5bd;
  --accent-dark:#d98f9a;
  --line:#eaded8;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius:24px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.site-announcement{
  background:#f4d1d6;
  color:#684f4a;
  text-align:center;
  padding:8px 12px;
  font-size:13px;
}
.site-header{
  background:transparent;
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(10px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
}
.branding a{
  font-size:34px;
  font-weight:800;
  letter-spacing:.04em;
  color:#e6a4ad;
}
.branding small{display:block;font-size:11px;color:var(--muted);margin-top:-6px;text-align:center}
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:24px;
  align-items:center;
}
.main-nav a{
  color:var(--text);
  font-size:15px;
}
.header-icons{
  display:flex;
  gap:14px;
  align-items:center;
}
.header-icons a, .header-icons span{
  border:1px solid var(--line);
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.65);
}
.hero{
  padding:18px 0 42px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:30px;
  align-items:center;
}
.hero-card{
  background:#fff2f4;
  border-radius:28px;
  padding:48px 36px;
  box-shadow:var(--shadow);
}
.hero-card h1{
  font-size:46px;
  line-height:1.02;
  margin:0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
}
.hero-card p{
  color:var(--muted);
  margin:0 0 24px;
  font-size:16px;
}
.btn{
  display:inline-block;
  padding:13px 24px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-weight:700;
  border:none;
}
.btn-outline{
  display:inline-block;
  padding:12px 22px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
}
.hero-image{
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:500px;
  background:linear-gradient(135deg,#f9d7df 0%, #f7f0ef 35%, #edd9c5 100%);
}
.hero-image .mock{
  width:100%;
  min-height:500px;
  position:relative;
  overflow:hidden;
}
.mock .note{
  position:absolute;
  background:#fff;
  border-radius:14px;
  box-shadow:var(--shadow);
}
.mock .n1{width:34%;height:44%;left:7%;top:7%;transform:rotate(-5deg);background:linear-gradient(145deg,#ffe0ec,#fff)}
.mock .n2{width:36%;height:60%;left:34%;top:16%;transform:rotate(9deg);background:linear-gradient(145deg,#ff8db0,#ffcccf)}
.mock .n3{width:34%;height:48%;right:8%;top:18%;transform:rotate(-6deg);background:linear-gradient(145deg,#fff,#ffdce6)}
.mock .n4{width:26%;height:24%;left:16%;bottom:9%;transform:rotate(6deg);background:linear-gradient(145deg,#f4cde3,#fff)}
.mock .n5{width:33%;height:26%;right:18%;bottom:11%;transform:rotate(-10deg);background:linear-gradient(145deg,#fff0c7,#fff)}
.section{
  padding:34px 0 20px;
}
.section h2{
  font-size:52px;
  line-height:1.05;
  margin:0 0 24px;
  font-family: Georgia, 'Times New Roman', serif;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.cat-card{
  display:block;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.cat-image{
  aspect-ratio:1/1;
  background:linear-gradient(135deg,#d9b58b,#e8d6c2 35%,#d6b48a 100%);
  position:relative;
}
.cat-image::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:18px;
  background:linear-gradient(145deg, rgba(255,255,255,.65), rgba(255,255,255,.15));
}
.cat-label{
  padding:14px 18px 18px;
  font-size:20px;
  font-weight:700;
  display:flex;
  justify-content:space-between;
  gap:10px;
}
.products-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.product-card{
  background:#fff;
  border-radius:22px;
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.product-thumb{
  aspect-ratio:1/1;
  background:linear-gradient(135deg,#d7b387,#ead6b9 38%,#c9a06a 100%);
}
.product-info{padding:16px}
.product-title{font-size:17px;font-weight:700;margin:0 0 4px}
.price{font-weight:700}
.old-price{text-decoration:line-through;color:#9c8a84;font-size:14px;margin-left:8px}
.sale-badge{
  position:absolute;
  left:14px;top:14px;
  background:#fff;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  box-shadow:var(--shadow);
}
.cart-btn{
  display:block;
  margin-top:14px;
  text-align:center;
  border:1px solid var(--line);
  padding:12px 14px;
  border-radius:999px;
  font-weight:700;
}
.subscribe{
  text-align:center;
  padding:76px 0 46px;
}
.subscribe p{color:var(--muted)}
.subscribe-form{
  max-width:520px;
  margin:20px auto 0;
  display:flex;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  overflow:hidden;
}
.subscribe-form input{
  flex:1;
  border:none;
  outline:none;
  padding:16px 20px;
  background:transparent;
}
.subscribe-form button{
  border:none;
  background:var(--accent);
  color:#fff;
  padding:0 22px;
  font-weight:700;
}
.insta-bar{
  background:#efb5bd;
  color:#fff;
  text-align:center;
  padding:16px 10px;
  border-radius:16px;
  margin-bottom:26px;
}
.site-footer{
  padding:16px 0 40px;
  color:var(--muted);
  font-size:14px;
}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.woo-products .products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.woo-products ul.products li.product{
  width:auto !important;
  margin:0 !important;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
  padding:0 0 16px !important;
}
.woo-products ul.products li.product img{
  margin:0 0 14px !important;
}
.woo-products ul.products li.product .button{
  margin:10px 16px 0 !important;
  display:block !important;
  text-align:center;
  border-radius:999px !important;
  border:1px solid var(--line) !important;
  background:#fff !important;
  color:var(--text) !important;
}
.site-simple-page{
  padding:50px 0;
  min-height:55vh;
}
@media (max-width: 1024px){
  .hero-grid{grid-template-columns:1fr}
  .products-row,.woo-products .products{grid-template-columns:repeat(2,1fr) !important}
}
@media (max-width: 720px){
  .main-nav{display:none}
  .header-inner{padding:14px 0}
  .branding a{font-size:26px}
  .hero-card h1{font-size:34px}
  .section h2{font-size:38px}
  .category-grid,.products-row,.woo-products .products{grid-template-columns:1fr !important}
  .hero-image .mock{min-height:330px}
  .hero-image{min-height:330px}
}
