/*
Theme Name: ShoparooX
Theme URI: https://shoparoox.online
Author: ShoparooX
Author URI: https://shoparoox.online
Description: A one-page women's fashion theme for ShoparooX. Mobile-first homepage with about, style categories, and contact. No product catalog or checkout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shoparoox
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --paper: #f6f1eb;
  --paper-deep: #efe4db;
  --white: #fffcf9;
  --ink: #2a211e;
  --muted: #5e554f;
  --rose: #8d4f59;
  --rose-deep: #6a3640;
  --line: #e3d7ce;
  --header-h: 76px;
  --serif: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(42, 33, 30, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

body.admin-bar {
  padding-top: calc(var(--header-h) + 32px);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.section-lead {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--rose-deep);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  background: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(246, 241, 235, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 241, 235, 0.98);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.site-logo span {
  color: var(--rose);
}

.menu-toggle {
  position: relative;
  z-index: 42;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 41;
  width: min(320px, 88vw);
  height: 100vh;
  padding: 104px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.nav-panel.is-open {
  transform: translateX(0);
}

.nav-panel ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel li a {
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-panel li a.is-active {
  color: var(--rose-deep);
}

#home,
#about,
#collections,
#why,
#visit,
#contact {
  scroll-margin-top: 92px;
}

.hero {
  padding: 28px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 5.1rem);
}

.hero-copy p {
  max-width: 34rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--paper-deep);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about {
  background: var(--white);
}

.about-grid,
.contact-wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

.about-copy p,
.feature p,
.style-card p,
.contact-copy p,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.about-copy p {
  margin: 0 0 16px;
}

.about-media,
.style-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper-deep);
}

.about-media img,
.style-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.section-head {
  margin-bottom: 32px;
}

.style-grid,
.feature-grid {
  display: grid;
  gap: 28px;
}

.style-card h3,
.feature h3 {
  margin: 14px 0 8px;
  font-size: 1.8rem;
}

.style-card p,
.feature p {
  margin: 0;
}

.style-card img {
  transition: transform 0.5s ease;
}

.style-card:hover img {
  transform: scale(1.03);
}

.why {
  background: var(--white);
}

.feature {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.feature-index {
  display: block;
  color: var(--rose);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.brand-cta {
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.4), rgba(255, 252, 249, 0)),
    var(--paper-deep);
}

.brand-cta .section-title,
.brand-cta p {
  margin-inline: auto;
}

.brand-cta p {
  max-width: 34rem;
  margin-bottom: 28px;
  color: var(--muted);
}

.contact {
  background: var(--paper);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  padding: 14px 16px;
  font-size: 1rem;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--rose);
  outline: none;
}

.form-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
}

.form-notice.success {
  background: #eef3ea;
  color: #2d4a32;
}

.form-notice.error {
  background: #f8ecec;
  color: #6d3030;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 252, 249, 0.78);
  padding: 40px 0;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--white);
}

.footer-brand span {
  color: #e7b7be;
}

.footer-tagline,
.footer-domain {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  margin: 22px 0 0;
  font-size: 0.92rem;
}

.legal {
  padding: 36px 0 88px;
}

.legal-inner {
  width: min(740px, calc(100% - 2rem));
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 12px;
}

.legal-copy h2 {
  margin: 32px 0 10px;
  font-size: 1.6rem;
}

.legal-copy ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
}

.legal-back {
  margin-top: 28px;
}

.legal-back a,
.legal-copy a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 720px) {
  .style-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 32px;
  }
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .nav-panel ul {
    flex-direction: row;
    gap: 28px;
  }

  .nav-panel li a {
    position: relative;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-panel li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--rose);
    transition: width 0.25s ease;
  }

  .nav-panel li a:hover::after,
  .nav-panel li a.is-active::after {
    width: 100%;
  }

  .section {
    padding: 112px 0;
  }

  .hero {
    padding: 36px 0 96px;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }

  .about-media {
    order: -1;
  }

  .style-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .contact-wrap {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }

  .footer-links {
    flex: 1;
    justify-content: flex-end;
    margin-top: 0;
  }

  .copyright {
    margin-top: 18px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar {
    padding-top: calc(var(--header-h) + 46px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-media {
    animation: rise 0.8s ease both;
  }

  .hero-media {
    animation-delay: 0.12s;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
