/*
Theme Name: Floral Locks Rounded
Theme URI: https://florallocks.com
Author: Floral Locks
Description: Second custom theme option for Floral Locks — professional, attractive, and a little cute. Rose/teal palette, rounded pill components, crochet-heart signature motif. Pairs with the Floral Locks Studio companion plugin for frontend store management.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: floral-locks-rounded
*/

:root{
  --cream:#FFFCF8;
  --white:#FFFFFF;
  --rose:#F2A6B3;
  --rose-deep:#E8829A;
  --peach:#FFD9BF;
  --teal:#3E6E68;
  --teal-deep:#2C514D;
  --ink:#2B2622;
  --muted:#7A6F68;
  --line:#F1E3DC;
  --radius:18px;
  --max-width:1320px;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  background:var(--cream);color:var(--ink);
  font-family:'Inter',sans-serif;font-weight:400;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;height:auto;}
.rounded{font-family:'Baloo 2',sans-serif;}
.eyebrow{
  font-family:'Inter',sans-serif;letter-spacing:.18em;font-size:11px;
  text-transform:uppercase;color:var(--rose-deep);font-weight:700;
}

/* Signature motif: crochet-heart badge divider */
.fl2-heart-divider{width:100%;display:flex;justify-content:center;align-items:center;gap:14px;padding:8px 0;}
.fl2-heart-divider .line{height:1px;width:60px;background:var(--line);}
.fl2-heart-divider svg{width:22px;height:22px;color:var(--rose);}

/* Editable placeholder — used only where a real photo has not been uploaded yet */
.fl2-placeholder{
  position:relative;width:100%;height:100%;
  background:linear-gradient(135deg,#FFF3EC 0%, var(--peach) 100%);
  border:2px dashed var(--rose);border-radius:var(--radius);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:8px;color:var(--rose-deep);
}
.fl2-placeholder span{font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:600;max-width:150px;line-height:1.5;}

/* Announcement */
.fl2-announce{background:var(--teal);color:#fff;text-align:center;font-size:12.5px;letter-spacing:.1em;padding:10px 12px;font-weight:500;}

/* Header */
.fl2-header{position:sticky;top:0;z-index:50;background:rgba(255,252,248,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);}
.fl2-nav-wrap{max-width:var(--max-width);margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:18px 32px;}
.fl2-logo{font-family:'Baloo 2',sans-serif;font-size:26px;font-weight:700;color:var(--teal-deep);display:flex;align-items:center;gap:8px;}
.fl2-logo svg{width:24px;height:24px;color:var(--rose);}
.fl2-nav ul{list-style:none;display:flex;gap:8px;}
.fl2-nav a{font-size:13px;font-weight:600;color:var(--ink);padding:9px 16px;border-radius:999px;transition:all .25s ease;}
.fl2-nav a:hover{background:var(--peach);color:var(--teal-deep);}
.fl2-icons{display:flex;gap:10px;align-items:center;}
.fl2-icon-btn{width:38px;height:38px;border-radius:50%;background:var(--white);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:var(--teal-deep);}
@media (max-width:900px){ .fl2-nav ul{display:none;} }

/* Hero */
.fl2-hero{max-width:var(--max-width);margin:0 auto;padding:56px 32px 40px;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.fl2-hero-text h1{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(36px,4.4vw,54px);line-height:1.12;color:var(--teal-deep);margin-bottom:18px;}
.fl2-hero-text p{font-size:15.5px;line-height:1.8;color:var(--muted);max-width:420px;margin-bottom:30px;}
.fl2-hero-btns{display:flex;gap:14px;flex-wrap:wrap;}
.fl2-hero-img{aspect-ratio:4/5;border-radius:28px;overflow:hidden;box-shadow:0 20px 40px -20px rgba(43,38,34,.25);}
@media (max-width:900px){ .fl2-hero{grid-template-columns:1fr;} .fl2-hero-img{order:-1;aspect-ratio:1/1;} }

/* Buttons */
.fl2-btn{display:inline-flex;align-items:center;gap:6px;padding:14px 28px;font-size:13px;font-weight:700;border-radius:999px;border:2px solid var(--teal-deep);color:var(--teal-deep);transition:all .3s ease;}
.fl2-btn:hover{background:var(--teal-deep);color:#fff;}
.fl2-btn-solid{background:var(--rose);border-color:var(--rose);color:#fff;box-shadow:0 8px 20px -8px rgba(232,130,154,.6);}
.fl2-btn-solid:hover{background:var(--rose-deep);border-color:var(--rose-deep);}

/* Sections */
.fl2-section{padding:76px 32px;max-width:var(--max-width);margin:0 auto;}
.fl2-section-head{text-align:center;max-width:520px;margin:0 auto 44px;}
.fl2-section-head h2{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(26px,3.4vw,38px);color:var(--teal-deep);margin-bottom:10px;}
.fl2-section-head p{color:var(--muted);font-size:14.5px;line-height:1.7;}

/* Category grid */
.fl2-cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.fl2-cat-card{text-align:center;background:var(--white);border-radius:var(--radius);padding:20px 12px;box-shadow:0 6px 18px -12px rgba(43,38,34,.18);transition:transform .25s ease;}
.fl2-cat-card:hover{transform:translateY(-4px);}
.fl2-cat-card .fl2-placeholder{aspect-ratio:1/1;border-radius:50%;margin-bottom:12px;border-width:1.5px;}
.fl2-cat-card p{font-size:12.5px;font-weight:600;color:var(--teal-deep);}
@media (max-width:900px){ .fl2-cat-grid{grid-template-columns:repeat(3,1fr);} }

/* Product grid */
.fl2-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.fl2-product-card{background:var(--white);border-radius:var(--radius);padding:14px;box-shadow:0 6px 18px -12px rgba(43,38,34,.18);transition:transform .25s ease;cursor:pointer;}
.fl2-product-card:hover{transform:translateY(-4px);}
.fl2-product-img{aspect-ratio:1/1;border-radius:12px;overflow:hidden;margin-bottom:12px;}
.fl2-product-name{font-size:14px;font-weight:600;color:var(--ink);margin-bottom:4px;}
.fl2-product-price{font-size:13px;color:var(--rose-deep);font-weight:700;}
@media (max-width:900px){ .fl2-product-grid{grid-template-columns:repeat(2,1fr);gap:16px;} }

/* Story */
.fl2-story{background:var(--white);border-radius:32px;max-width:var(--max-width);margin:0 auto;}
.fl2-story-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding:56px;}
.fl2-story-inner .fl2-placeholder{aspect-ratio:4/5;border-radius:22px;}
.fl2-story-inner h2{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(26px,3.2vw,34px);color:var(--teal-deep);margin:12px 0 16px;}
.fl2-story-inner p{color:var(--muted);line-height:1.85;font-size:15px;margin-bottom:14px;}
@media (max-width:900px){ .fl2-story-inner{grid-template-columns:1fr;gap:28px;padding:32px 24px;} }

/* Custom orders banner */
.fl2-custom-banner{background:linear-gradient(120deg, var(--rose), var(--peach));border-radius:28px;padding:64px 40px;text-align:center;color:var(--teal-deep);}
.fl2-custom-banner h2{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(26px,3.4vw,40px);margin-bottom:12px;}
.fl2-custom-banner p{max-width:440px;margin:0 auto 26px;font-size:14.5px;line-height:1.7;}
.fl2-custom-banner .fl2-btn{background:var(--teal-deep);border-color:var(--teal-deep);color:#fff;}
.fl2-custom-banner .fl2-btn:hover{background:var(--ink);border-color:var(--ink);}

/* Why grid */
.fl2-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.fl2-why-item{background:var(--white);border-radius:var(--radius);padding:36px 22px;text-align:center;box-shadow:0 6px 18px -12px rgba(43,38,34,.18);}
.fl2-why-item .badge{width:48px;height:48px;border-radius:50%;background:var(--peach);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.fl2-why-item svg{width:22px;height:22px;color:var(--teal-deep);}
.fl2-why-item h3{font-family:'Baloo 2',sans-serif;font-size:17px;font-weight:700;color:var(--teal-deep);margin-bottom:6px;}
.fl2-why-item p{font-size:12.5px;color:var(--muted);line-height:1.6;}
@media (max-width:900px){ .fl2-why-grid{grid-template-columns:repeat(2,1fr);} }

/* Gift section */
.fl2-gift{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.fl2-gift .fl2-placeholder{aspect-ratio:5/4;border-radius:22px;}
.fl2-gift h2{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(24px,3vw,34px);color:var(--teal-deep);margin-bottom:14px;}
.fl2-gift p{color:var(--muted);line-height:1.8;font-size:15px;margin-bottom:22px;}
@media (max-width:900px){ .fl2-gift{grid-template-columns:1fr;gap:28px;} }

/* Social grid */
.fl2-social-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
.fl2-social-grid .fl2-placeholder{aspect-ratio:1/1;border-radius:14px;border-width:1.5px;}
@media (max-width:900px){ .fl2-social-grid{grid-template-columns:repeat(3,1fr);} }

/* Newsletter */
.fl2-newsletter{background:var(--teal-deep);color:#fff;text-align:center;padding:80px 32px;border-radius:32px;max-width:var(--max-width);margin:0 auto;}
.fl2-newsletter .eyebrow{color:var(--peach);}
.fl2-newsletter h2{font-family:'Baloo 2',sans-serif;font-weight:700;font-size:clamp(26px,3.6vw,38px);margin:12px 0 10px;}
.fl2-newsletter p{color:#cfe2df;max-width:420px;margin:0 auto 26px;font-size:14.5px;line-height:1.7;}
.fl2-nl-form{display:flex;max-width:380px;margin:0 auto;background:#fff;border-radius:999px;padding:5px;}
.fl2-nl-form input{flex:1;background:transparent;border:none;color:var(--ink);padding:10px 16px;font-family:'Inter';font-size:14px;}
.fl2-nl-form input::placeholder{color:#a99f96;}
.fl2-nl-form button{background:var(--rose);border:none;color:#fff;padding:10px 22px;border-radius:999px;font-weight:700;font-size:12.5px;cursor:pointer;}

/* Footer */
.fl2-footer{padding:64px 32px 28px;}
.fl2-footer-grid{max-width:var(--max-width);margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:50px;}
.fl2-footer-grid h4{font-family:'Baloo 2',sans-serif;font-size:13px;color:var(--teal-deep);margin-bottom:14px;font-weight:700;}
.fl2-footer-grid p{font-size:13.5px;color:var(--muted);line-height:1.8;max-width:270px;}
.fl2-footer-grid ul{list-style:none;}
.fl2-footer-grid li{margin-bottom:10px;}
.fl2-footer-grid a{font-size:13.5px;color:var(--muted);}
.fl2-footer-grid a:hover{color:var(--rose-deep);}
.fl2-footer-bottom{max-width:var(--max-width);margin:0 auto;padding-top:22px;border-top:1px solid var(--line);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:#a99f96;}
@media (max-width:900px){ .fl2-footer-grid{grid-template-columns:1fr 1fr;} }

/* Floating WhatsApp */
.fl2-wa-float{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px -8px rgba(37,211,102,.55);z-index:60;}
.fl2-wa-float svg{width:26px;height:26px;fill:#fff;}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible{ outline:2px solid var(--rose-deep); outline-offset:2px; }
@media (prefers-reduced-motion: reduce){ *{transition:none !important;} }
