/*
Theme Name: Ladies Only
Theme URI: https://ladiesonly.lk
Author: Firows Tech
Description: Elegant, fast, SEO-ready WooCommerce block theme for Ladies Only (ladiesonly.lk).
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ladiesonly
*/

:root {
  --lo-plum: #6b2d4f;
  --lo-plum-dark: #4a1e37;
  --lo-rose: #e8b4b8;
  --lo-blush: #f6e6e4;
  --lo-ivory: #fbf7f4;
  --lo-ink: #2b2024;
  --lo-muted: #7a6a70;
  --lo-line: #ecdcd9;
  --lo-radius: 18px;
  --lo-serif: "Cormorant Garamond", Georgia, serif;
  --lo-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
body { -webkit-font-smoothing: antialiased; }
a { text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.lo-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Announcement bar */
.lo-announce { background: var(--lo-plum-dark); color: #fff; font-size: 13px; letter-spacing: .04em; text-align: center; padding: 9px 16px; }
.lo-announce p { margin: 0; }

/* Header */
.lo-header { background: rgba(251,247,244,.94); backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--lo-line); position: sticky; top: 0; z-index: 50; }
.lo-header-inner { max-width: 1240px; margin: 0 auto; padding: 14px 20px !important; gap: 20px; }
.lo-header .wp-block-site-title { font-family: var(--lo-serif); font-size: 30px; font-weight: 600; letter-spacing: .01em; margin: 0; white-space: nowrap; }
.lo-header .wp-block-site-title a { color: var(--lo-plum); text-decoration: none; }
.lo-nav { font-size: 15px; letter-spacing: .03em; }
.lo-nav .wp-block-navigation-item__content { color: var(--lo-ink); text-decoration: none; padding: 6px 2px; border-bottom: 1.5px solid transparent; }
.lo-nav .wp-block-navigation-item__content:hover { color: var(--lo-plum); border-bottom-color: var(--lo-rose); }
.lo-header-actions { gap: 10px; align-items: center; }
.lo-search { margin: 0; min-width: 230px; }
.lo-search .wp-block-search__inside-wrapper { border: 1px solid var(--lo-line) !important; border-radius: 999px; background: #fff; padding: 2px 4px 2px 14px !important; }
.lo-search .wp-block-search__input { border: 0; background: transparent; font-size: 14px; padding: 8px 0; outline: none; }
.lo-search .wp-block-search__button { background: var(--lo-plum); color: #fff; border-radius: 999px; border: 0; padding: 7px 10px; margin: 0; }
.lo-search .wp-block-search__button svg { fill: #fff; }
.lo-header .wc-block-mini-cart__button, .lo-header .wc-block-customer-account a { color: var(--lo-ink); }
.lo-header .wc-block-mini-cart__badge { background: var(--lo-plum); color: #fff; border: 0; }
@media (max-width: 960px) {
  .lo-search { display: none; }
  .lo-header .wp-block-site-title { font-size: 25px; }
  .lo-mobile-search { display: block !important; }
}
.lo-mobile-search { display: none; background: var(--lo-ivory); padding: 10px 20px 14px; border-bottom: 1px solid var(--lo-line); }
.lo-mobile-search form { display: flex; border: 1px solid var(--lo-line); border-radius: 999px; background: #fff; overflow: hidden; }
.lo-mobile-search input[type=search] { flex: 1; border: 0; padding: 11px 16px; font: inherit; font-size: 15px; outline: none; background: transparent; }
.lo-mobile-search button { border: 0; background: var(--lo-plum); color: #fff; padding: 0 18px; font: inherit; font-size: 14px; }

/* Buttons */
.lo-btn, .wp-element-button, .wc-block-components-button:not(.is-link), .single_add_to_cart_button, .button.alt {
  background: var(--lo-plum) !important; color: #fff !important; border: 0; border-radius: 999px !important;
  padding: 14px 28px; font-family: var(--lo-sans); font-size: 15px; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lo-btn:hover, .wp-element-button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--lo-plum-dark) !important; transform: translateY(-1px); }
.lo-btn-ghost { background: transparent !important; color: var(--lo-plum) !important; box-shadow: inset 0 0 0 1.5px var(--lo-plum); }
.lo-btn-ghost:hover { background: var(--lo-plum) !important; color: #fff !important; }

/* Hero */
.lo-hero { background: radial-gradient(1200px 500px at 85% -10%, #f3d5d6 0%, rgba(243,213,214,0) 60%), linear-gradient(180deg, var(--lo-blush) 0%, var(--lo-ivory) 100%); padding: 72px 0 80px; overflow: hidden; }
.lo-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lo-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12.5px; color: var(--lo-plum); font-weight: 500; margin: 0 0 18px; }
.lo-hero h1 { font-family: var(--lo-serif); font-weight: 500; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; color: var(--lo-ink); margin: 0 0 22px; }
.lo-hero h1 em { color: var(--lo-plum); font-style: italic; }
.lo-lead { font-size: 18px; line-height: 1.65; color: var(--lo-muted); max-width: 520px; margin: 0 0 32px; }
.lo-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.lo-hero-art { position: relative; height: 460px; }
.lo-arch { position: absolute; border-radius: 999px 999px 28px 28px; }
.lo-arch-1 { right: 40px; top: 0; width: 300px; height: 440px; background: linear-gradient(160deg, #e9b9bd 0%, #b9607b 55%, var(--lo-plum) 100%); box-shadow: 0 30px 60px -30px rgba(74,30,55,.55); }
.lo-arch-2 { right: 230px; top: 110px; width: 190px; height: 300px; background: linear-gradient(170deg, #fff 0%, #f4dcdb 100%); box-shadow: 0 24px 50px -28px rgba(74,30,55,.45); }
.lo-arch-1::after { content: ""; position: absolute; inset: 22px; border-radius: inherit; border: 1px solid rgba(255,255,255,.45); }
.lo-arch-2::after { content: "LO"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--lo-serif); font-style: italic; font-size: 76px; color: var(--lo-rose); }
.lo-float { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px -20px rgba(43,32,36,.35); font-size: 14px; line-height: 1.4; display: flex; gap: 12px; align-items: center; }
.lo-float strong { display: block; color: var(--lo-ink); font-weight: 500; }
.lo-float span { color: var(--lo-muted); font-size: 13px; }
.lo-float svg { flex: none; color: var(--lo-plum); }
.lo-float-1 { left: 0; bottom: 70px; }
.lo-float-2 { right: 0; top: 40px; }
@media (max-width: 900px) {
  .lo-hero { padding: 44px 0 52px; }
  .lo-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lo-hero-art { height: 300px; }
  .lo-arch-1 { width: 200px; height: 290px; right: 10%; }
  .lo-arch-2 { width: 130px; height: 200px; right: calc(10% + 150px); top: 80px; }
  .lo-arch-2::after { font-size: 52px; }
  .lo-float-2 { display: none; }
  .lo-float-1 { bottom: 10px; }
}

/* Trust strip */
.lo-trust { background: #fff; border-top: 1px solid var(--lo-line); border-bottom: 1px solid var(--lo-line); }
.lo-trust ul { list-style: none; margin: 0 auto; padding: 26px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1240px; }
.lo-trust li { display: flex; gap: 14px; align-items: center; }
.lo-trust svg { flex: none; color: var(--lo-plum); }
.lo-trust strong { display: block; font-weight: 500; font-size: 15px; color: var(--lo-ink); }
.lo-trust span { font-size: 13.5px; color: var(--lo-muted); }
@media (max-width: 900px) { .lo-trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lo-trust ul { grid-template-columns: 1fr; } }

/* Sections */
.lo-section { padding: 76px 0; }
.lo-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.lo-section h2, .lo-h2 { font-family: var(--lo-serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; margin: 0; color: var(--lo-ink); }
.lo-section-head p { margin: 8px 0 0; color: var(--lo-muted); }
.lo-link { color: var(--lo-plum); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--lo-rose); padding-bottom: 2px; }

/* Category tiles */
.lo-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lo-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 28px; border-radius: var(--lo-radius); text-decoration: none; color: var(--lo-ink); overflow: hidden; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.lo-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lo-tile, var(--lo-blush)); }
.lo-cat::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; top: -80px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.28) 0 30%, rgba(255,255,255,0) 31% 40%, rgba(255,255,255,.22) 41% 42%, rgba(255,255,255,0) 43%); }
.lo-cat:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(74,30,55,.45); }
.lo-cat h3 { font-family: var(--lo-serif); font-style: italic; font-weight: 500; font-size: 34px; margin: 0 0 6px; }
.lo-cat p { margin: 0 0 16px; color: inherit; opacity: .8; font-size: 15px; line-height: 1.5; max-width: 300px; }
.lo-cat .lo-cat-go { font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.lo-cat.is-dark { color: #fff; }
@media (max-width: 900px) { .lo-cats { grid-template-columns: 1fr 1fr; } .lo-cat { min-height: 200px; padding: 22px; } .lo-cat h3 { font-size: 28px; } }
@media (max-width: 520px) { .lo-cats { grid-template-columns: 1fr; } }

/* Fit promo */
.lo-fit { background: var(--lo-plum-dark); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.lo-fit::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); }
.lo-fit h2 { color: #fff; }
.lo-fit p { color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.65; }
.lo-fit ol { margin: 0; padding: 0; list-style: none; counter-reset: fit; display: grid; gap: 14px; position: relative; z-index: 1; }
.lo-fit li { counter-increment: fit; display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.07); border-radius: 14px; padding: 14px 16px; }
.lo-fit li::before { content: counter(fit); font-family: var(--lo-serif); font-size: 26px; line-height: 1; color: var(--lo-rose); }
.lo-fit .lo-btn { background: #fff !important; color: var(--lo-plum-dark) !important; margin-top: 10px; }
@media (max-width: 900px) { .lo-fit { grid-template-columns: 1fr; padding: 34px 24px; } }

/* About / SEO text */
.lo-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.lo-about p { color: var(--lo-muted); font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
@media (max-width: 900px) { .lo-about { grid-template-columns: 1fr; gap: 16px; } }

/* FAQ */
.lo-faq { max-width: 860px; margin: 0 auto; }
.lo-faq details { border-bottom: 1px solid var(--lo-line); padding: 4px 0; }
.lo-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-size: 18px; font-weight: 500; color: var(--lo-ink); position: relative; }
.lo-faq summary::-webkit-details-marker { display: none; }
.lo-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; font-weight: 300; color: var(--lo-plum); transition: transform .2s ease; }
.lo-faq details[open] summary::after { transform: rotate(45deg); }
.lo-faq details p { margin: 0 0 18px; color: var(--lo-muted); line-height: 1.7; }

/* Size guide */
.lo-size h3 { font-family: var(--lo-serif); font-size: 28px; font-weight: 500; margin: 28px 0 10px; }
.lo-table-wrap { overflow-x: auto; border: 1px solid var(--lo-line); border-radius: 14px; background: #fff; }
.lo-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.lo-table th, .lo-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--lo-line); }
.lo-table th { background: var(--lo-blush); font-weight: 500; color: var(--lo-plum-dark); }
.lo-table tr:last-child td { border-bottom: 0; }
.lo-note { font-size: 14px; color: var(--lo-muted); }
.lo-steps { padding-left: 20px; line-height: 1.8; }

/* Product cards (WooCommerce) */
.wc-block-product-template, ul.products { gap: 26px !important; }
.wc-block-product, .lo-products li.product { text-align: left !important; }
.wc-block-components-product-image, .lo-products li.product img { border-radius: 16px; overflow: hidden; background: var(--lo-blush); }
.wc-block-components-product-image img { aspect-ratio: 4/5; object-fit: cover; transition: transform .4s ease; }
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.04); }
.wp-block-post-title a, .woocommerce-loop-product__title { color: var(--lo-ink); text-decoration: none; font-weight: 400; }
.wc-block-components-product-price, .price { color: var(--lo-plum) !important; font-weight: 500; }
.lo-products ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; }
.lo-products ul.products::before, .lo-products ul.products::after { display: none !important; }
.lo-products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.lo-products li.product a { text-decoration: none; }
.lo-products li.product img { aspect-ratio: 4/5; object-fit: cover; width: 100%; margin-bottom: 12px; }
.lo-products .button { margin-top: 10px; padding: 10px 18px !important; font-size: 14px !important; }
@media (max-width: 900px) { .lo-products ul.products { grid-template-columns: 1fr 1fr; gap: 16px !important; } }

/* Product page extras */
.lo-pdp-trust { list-style: none; padding: 16px 18px; margin: 18px 0 0; background: var(--lo-blush); border-radius: 14px; display: grid; gap: 10px; font-size: 14.5px; }
.lo-pdp-trust li { display: flex; gap: 10px; align-items: center; }
.lo-pdp-trust svg { color: var(--lo-plum); flex: none; }
.lo-pdp-trust a { color: var(--lo-plum); }
.lo-ship-note { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: var(--lo-blush); color: var(--lo-plum-dark); font-size: 14.5px; text-align: center; }

/* Pages */
.lo-page-title { font-family: var(--lo-serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 54px); margin: 0 0 12px; }
.lo-page-content { font-size: 17px; line-height: 1.75; }
.lo-page-content h2 { font-family: var(--lo-serif); font-weight: 500; font-size: 30px; margin: 36px 0 10px; }

/* Footer */
.lo-footer { background: #241a1f; color: rgba(255,255,255,.75); margin-top: 0; }
.lo-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 60px 20px 40px; max-width: 1240px; margin: 0 auto; }
.lo-footer .lo-brand { font-family: var(--lo-serif); font-size: 32px; color: #fff; margin: 0 0 12px; }
.lo-footer h4 { font-family: var(--lo-sans); color: #fff; font-weight: 500; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.lo-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lo-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.lo-footer a:hover { color: #fff; }
.lo-footer p { line-height: 1.7; margin: 0 0 12px; font-size: 15px; }
.lo-footer-contact a { display: inline-flex; gap: 8px; align-items: center; }
.lo-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 1240px) { .lo-footer-bottom { margin: 0 20px; } }
@media (max-width: 900px) { .lo-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lo-footer-grid { grid-template-columns: 1fr; } }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--lo-plum); outline-offset: 3px; }
