/*
Theme Name: EYENEED Elementor
Template: hello-elementor
Version: 1.0.0
Description: Minimal Hello Elementor child theme for the editable EYENEED rebuild.
*/

:root {
  --ey-paper: #f4f1eb;
  --ey-paper-deep: #ebe7df;
  --ey-ink: #17233f;
  --ey-muted: #657086;
  --ey-light: #8aabcc;
  --ey-primary: #6691c0;
  --ey-deep: #53668d;
  --ey-navy: #2a4076;
  --ey-midnight: #14213d;
  --ey-line: rgba(42, 64, 118, .18);
}

html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-gutter: stable; }
body { margin: 0; overflow-x: hidden; background: var(--ey-paper); color: var(--ey-ink); font-family: Inter, Arial, sans-serif; }
.elementor-page .site-main { padding: 0; }
.ey-shell { width: 100%; max-width: none; margin-inline: auto; padding-inline: 64px; }
.ey-section { padding-block: 130px; }
.ey-paper { background: var(--ey-paper); }
.ey-paper-deep { background: var(--ey-paper-deep); }
.ey-white { background: #fff; }
.ey-navy { background: var(--ey-navy); color: #fff; }
.ey-midnight { background: var(--ey-midnight); color: #fff; }
.ey-kicker .elementor-heading-title { color: var(--ey-deep); font: 600 10px/1.4 Inter, Arial, sans-serif; letter-spacing: .32em; text-transform: uppercase; }
.ey-kicker-light .elementor-heading-title { color: var(--ey-light); }
.ey-display .elementor-heading-title,
.ey-heading .elementor-heading-title,
.ey-card-title .elementor-heading-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; }
.ey-display .elementor-heading-title { font-size: clamp(3rem, 6vw, 6.5rem); line-height: .93; }
.ey-heading .elementor-heading-title { font-size: clamp(2.25rem, 4.2vw, 4.8rem); line-height: .98; }
.ey-copy, .ey-copy p { color: var(--ey-muted); font-size: 16px; line-height: 2; }
.ey-copy-light, .ey-copy-light p { color: rgba(255,255,255,.66); }
.ey-button .elementor-button { min-height: 48px; display: inline-flex; align-items: center; border: 1px solid var(--ey-navy); border-radius: 999px; background: var(--ey-navy); color: #fff; padding: 14px 25px; font: 600 11px/1 Inter, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; transition: .3s; }
.ey-button .elementor-button:hover { transform: translateY(-3px); background: var(--ey-primary); }
.ey-button-light .elementor-button { border-color: #fff; background: #fff; color: var(--ey-navy); }
.ey-button-ghost .elementor-button { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }

/* Header / footer are Elementor Library templates rendered by the child theme. */
.ey-header-host { position: fixed; inset: 0 0 auto; z-index: 1000; height: 96px; }
.elementor .ey-header { position: static; width: 100%; background: rgba(12,25,48,.45) !important; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.ey-header-inner { min-height: 96px; display: grid !important; grid-template-columns: 150px 1fr auto; align-items: center; gap: 34px; }
.ey-logo img { width: 95px !important; height: 64px !important; object-fit: contain; filter: brightness(0) invert(1); }
.ey-nav { display: flex !important; flex-direction: row !important; justify-content: center; align-items: center; gap: 26px; }
.ey-nav-item { width: auto !important; }
.ey-nav-item .elementor-button { padding: 10px 0; background: transparent; color: rgba(255,255,255,.72); border: 0; border-radius: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.ey-nav-item .elementor-button:hover { color: #fff; }
.ey-header-actions { display: flex !important; flex-direction: row !important; align-items: center; gap: 18px; }
.ey-mobile-menu, .ey-mobile-panel { display: none !important; }
.ey-language .elementor-button { padding: 8px 0; background: transparent; border: 0; color: rgba(255,255,255,.78); font-size: 10px; letter-spacing: .14em; }
.ey-header-contact .elementor-button { min-height: 42px; padding: 12px 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.65); color: #fff; border-radius: 999px; }
.ey-footer { background: var(--ey-midnight); color: #fff; }
.ey-footer-marquee { padding: 42px 0; border-bottom: 1px solid rgba(255,255,255,.13); overflow: hidden; }
.ey-footer-marquee .elementor-heading-title { white-space: nowrap; color: rgba(255,255,255,.09); font-family: Georgia, serif; font-size: clamp(3.5rem, 8vw, 8.5rem); line-height: .9; }
.ey-footer-grid { display: grid !important; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 50px; padding-block: 80px 42px; }
.ey-footer-title .elementor-heading-title { color: var(--ey-light); font: 600 10px/1.4 Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase; }
.ey-footer-copy, .ey-footer-copy p, .ey-footer-copy a { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.9; }
.ey-footer-copy a:hover { color: #fff; }
.ey-locations { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 55px; padding: 40px 0 55px; border-top: 1px solid rgba(255,255,255,.13); }
.ey-location, .ey-location p { color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.7; }
.ey-location strong { display: block; color: rgba(255,255,255,.75); }
.ey-copyright { padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

/* Heroes */
.ey-hero, .ey-page-hero { position: relative; color: #fff; background-position: center; background-size: cover; overflow: hidden; }
.ey-hero::before, .ey-page-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12,25,48,.96) 0%, rgba(20,33,61,.72) 55%, rgba(20,33,61,.08) 100%); }
.ey-hero > *, .ey-page-hero > * { position: relative; z-index: 1; }
.elementor .ey-hero { min-height: 100vh !important; justify-content: flex-end; padding: 165px 0 90px !important; }
.elementor .ey-page-hero { min-height: 82vh !important; justify-content: flex-end; padding: 165px 0 90px !important; }
.ey-hero-grid { display: grid !important; grid-template-columns: 2fr 1fr; align-items: end; gap: 70px; }
.ey-hero-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px; }

/* Shared editorial layouts */
.ey-section-heading { display: grid !important; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; margin-bottom: 50px; }
.ey-split { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 80px; }
.ey-split-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ey-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ey-image-tall img { aspect-ratio: 4/5; }
.ey-product-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 340px; gap: 16px; }
.ey-product-card { position: relative; min-height: 340px; justify-content: flex-end; padding: 28px; overflow: hidden; background-position: center; background-size: cover; color: #fff; }
.ey-product-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,25,48,.9), transparent 65%); }
.ey-product-card > * { position: relative; z-index: 1; }
.ey-product-card-featured { grid-column: span 2; grid-row: span 2; }
.ey-product-card .elementor-heading-title { color: #fff; font: 400 30px/1.1 Georgia, serif; }
.ey-stats { display: grid !important; grid-template-columns: repeat(4, 1fr); background: var(--ey-deep); color: #fff; padding-block: 65px; }
.ey-stat { text-align: center; border-left: 1px solid rgba(255,255,255,.2); }
.ey-stat:first-child { border-left: 0; }
.ey-stat .elementor-heading-title { color: #fff; font-family: Georgia, serif; font-size: 58px; }
.ey-stat-label .elementor-heading-title { color: rgba(255,255,255,.62); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.ey-factory-grid { display: grid !important; grid-template-columns: 7fr 5fr; gap: 28px; align-items: start; }
.ey-factory-card:last-child { margin-top: 110px; }
.ey-factory-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ey-factory-card:last-child img { aspect-ratio: 4/5; }
.ey-certificates { display: flex !important; flex-direction: row !important; justify-content: center; align-items: end; padding: 50px 7% 70px; }
.ey-certificate { width: 26% !important; margin-left: -5%; transform: rotate(-2deg); border: 9px solid #b6976b; box-shadow: 0 14px 30px rgba(23,35,63,.16); }
.ey-certificate:first-child { margin-left: 0; transform: translateY(35px) rotate(-4deg); }
.ey-certificate:nth-child(3) { width: 30% !important; transform: none; z-index: 3; }
.ey-certificate:nth-child(4) { transform: translateY(28px) rotate(3deg); }
.ey-certificate img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.ey-world { text-align: center; background-color: #1a2949; background-image: radial-gradient(circle at center, rgba(102,145,192,.3) 0 1px, transparent 1px), linear-gradient(rgba(102,145,192,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(102,145,192,.08) 1px, transparent 1px); background-size: 20px 20px, 80px 80px, 80px 80px; color: #fff; }
.ey-global .elementor-heading-title { color: rgba(138,171,204,.2); font-family: Georgia, serif; font-size: clamp(5rem,16vw,14rem); line-height: 1; }
.ey-faq-layout { display: grid !important; grid-template-columns: 1fr 2.35fr; gap: 80px; align-items: start; }
.ey-accordion .elementor-accordion-item { border-color: var(--ey-line) !important; }
.ey-accordion .elementor-tab-title { padding: 26px 12px !important; color: var(--ey-ink) !important; font: 400 clamp(1.3rem,2.5vw,2.4rem)/1.2 Georgia, serif !important; }
.ey-accordion .elementor-tab-content { padding: 0 50px 28px !important; border-color: var(--ey-line) !important; color: var(--ey-muted); line-height: 1.8; }

/* Products */
.ey-category-list { gap: 100px; }
.ey-category-row { display: grid !important; grid-template-columns: 7fr 4fr; align-items: center; gap: 70px; }
.ey-category-row:nth-child(even) { grid-template-columns: 4fr 7fr; }
.ey-category-row:nth-child(even) .ey-category-image { order: 2; }
.ey-category-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ey-category-title .elementor-heading-title { font: 400 clamp(2.7rem,5vw,5rem)/.95 Georgia, serif; }
.ey-series { gap: 22px; margin-bottom: 66px; }
.ey-series-head { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: end; padding-bottom: 14px; border-bottom: 1px solid var(--ey-line); }
.ey-series-title .elementor-heading-title { font: 400 38px/1.1 Georgia, serif; }
.ey-chain-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.ey-chain-card { gap: 13px; }
.ey-chain-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ey-paper-deep); }
.ey-chain-sku .elementor-heading-title { color: var(--ey-primary); font-size: 9px; letter-spacing: .18em; }
.ey-chain-name .elementor-heading-title { font: 400 21px/1.2 Georgia, serif; }
.ey-catalog-grid { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 42px 22px; }
.ey-catalog-category + .ey-catalog-category { margin-top: 85px; }
.ey-catalog-category > .ey-heading { margin-bottom: 28px; }
.ey-catalog-card { align-content: start; gap: 12px; }
.ey-catalog-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; }
.ey-catalog-media > .elementor-widget-image { position: absolute; inset: 0; width: 100% !important; height: 100%; transition: opacity .45s ease, transform .65s ease; }
.ey-catalog-media .elementor-widget-container, .ey-catalog-media a { display: block; width: 100%; height: 100%; }
.ey-catalog-media img { display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; background: #fff; }
.ey-catalog-hover { opacity: 0; }
.ey-catalog-card:hover .ey-catalog-hover, .ey-chain-detail-card:hover .ey-catalog-hover { opacity: 1; }
.ey-catalog-button .elementor-button { min-height: 38px; margin-top: 4px; padding: 11px 17px; font-size: 9px; }

/* Elementor product detail pages */
.ey-product-detail-hero { position: relative; min-height: 72vh !important; justify-content: flex-end; overflow: hidden; padding: 165px 0 80px !important; color: #fff; background-position: center; background-size: cover; }
.ey-product-detail-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12,25,48,.96), rgba(20,33,61,.66) 58%, rgba(20,33,61,.18)); }
.ey-product-detail-hero > * { position: relative; z-index: 1; }
.ey-detail-overview { display: grid !important; grid-template-columns: 7fr 5fr; gap: 70px; align-items: center; }
.ey-detail-overview-media { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px; }
.ey-detail-overview-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ey-paper-deep); }
.ey-detail-heading { max-width: 760px; margin-bottom: 45px; }
.ey-detail-gallery { display: grid !important; width: 100%; max-width: 1200px; min-width: 0; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.ey-detail-image img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; background: #fff; }
.ey-detail-video-wrap { gap: 24px; }
.ey-detail-video video { display: block; width: 100%; height: auto; max-height: 70vh; background: #0c1930; object-fit: contain; }
.ey-detail-empty { max-width: 780px; padding: 55px; border: 1px solid var(--ey-line); background: #fff; }

/* Customization / about / contact */
.ey-intro { display: grid !important; grid-template-columns: 1fr 3fr; gap: 60px; }
.ey-intro-copy .elementor-heading-title { font: 400 clamp(2rem,4vw,4rem)/1.08 Georgia, serif; }
.ey-process { display: grid !important; grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
.ey-process-list { border-top: 1px solid var(--ey-line); }
.ey-process-step { display: grid !important; grid-template-columns: 90px 1fr; min-height: 330px; align-content: center; padding: 38px 0; border-bottom: 1px solid var(--ey-line); }
.ey-step-number .elementor-heading-title { color: rgba(102,145,192,.62); font: 400 44px/1 Georgia, serif; }
.ey-step-title .elementor-heading-title { font: 400 clamp(2rem,4vw,4rem)/1.02 Georgia, serif; }
.ey-list { border-top: 1px solid var(--ey-line); }
.ey-list-row { display: grid !important; grid-template-columns: 55px 1fr; padding: 24px 0; border-bottom: 1px solid var(--ey-line); }
.ey-list-row .elementor-heading-title { font: 400 26px/1.2 Georgia, serif; }
.ey-quality-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.ey-contact-layout { display: grid !important; grid-template-columns: 7fr 4fr; gap: 90px; align-items: start; }
.ey-form form { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 22px; }
.ey-form label { display: block; color: var(--ey-navy); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.ey-form input, .ey-form textarea { width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(42,64,118,.3); border-radius: 0; background: transparent; color: var(--ey-navy); box-shadow: none; }
.ey-form textarea, .ey-form .ey-form-full { grid-column: 1 / -1; }
.ey-form button { justify-self: start; min-height: 48px; padding: 14px 25px; border: 0; border-radius: 999px; background: var(--ey-navy); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ey-navy .ey-form label { color: rgba(255,255,255,.72); }
.ey-navy .ey-form input, .ey-navy .ey-form textarea { border-color: rgba(255,255,255,.28); color: #fff; }
.ey-navy .ey-form input::placeholder, .ey-navy .ey-form textarea::placeholder { color: rgba(255,255,255,.35); }
.ey-navy .ey-form button { background: #fff; color: var(--ey-navy); }
.ey-location-grid { display: grid !important; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ey-line); border-left: 1px solid var(--ey-line); }
.ey-location-card { min-height: 290px; justify-content: center; padding: 34px; border-right: 1px solid var(--ey-line); border-bottom: 1px solid var(--ey-line); transition: .3s; }
.ey-location-card:hover { background: var(--ey-navy); color: #fff; }
.ey-location-title .elementor-heading-title { font: 400 30px/1.15 Georgia, serif; }

@media (max-width: 1024px) {
  .ey-shell { padding-inline: 32px; }
  .ey-section { padding-block: 95px; }
  .ey-header-inner { min-height: 80px; grid-template-columns: 100px 1fr; }
  .ey-header-host { height: 80px; }
  .ey-nav { justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; }
  .ey-header-actions { display: none !important; }
  .ey-product-grid { grid-template-columns: 1fr 1fr; }
  .ey-chain-grid { grid-template-columns: repeat(3,1fr); }
  .ey-catalog-grid { grid-template-columns: repeat(2,1fr); }
  .ey-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .ey-shell { padding-inline: 20px; }
  .ey-section { padding-block: 72px; }
  .ey-header-inner { min-height: 72px; display: grid !important; grid-template-columns: 1fr auto; align-items: center; gap: 15px; padding-block: 6px; }
  .ey-header-host { height: 72px; }
  .ey-logo { justify-self: start; }
  .ey-logo img { width: 68px !important; height: 45px !important; }
  .ey-nav, .ey-header-actions { display: none !important; }
  .ey-mobile-menu { display: block !important; width: auto !important; }
  .ey-mobile-menu .elementor-button { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: transparent; color: #fff; font-size: 20px; }
  .ey-mobile-panel:target { position: fixed; inset: 0; z-index: 1002; display: block !important; width: 100vw !important; height: 100vh !important; min-height: 100vh !important; overflow-y: auto; padding: 75px 24px 30px; background: var(--ey-paper) !important; }
  .ey-mobile-panel:target > .elementor-element { width: 100% !important; max-width: none !important; }
  .ey-mobile-nav-item .elementor-button { width: 100%; justify-content: space-between; padding: 15px 0; border: 0; border-bottom: 1px solid var(--ey-line); border-radius: 0; background: transparent; color: var(--ey-navy); font: 400 30px/1 Georgia, serif; text-align: left; }
  .ey-mobile-close { position: absolute; right: 22px; top: 18px; width: auto !important; }
  .ey-mobile-close .elementor-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--ey-line); border-radius: 999px; background: transparent; color: var(--ey-navy); font-size: 30px; }
  .ey-hero, .ey-page-hero { min-height: 720px; padding: 145px 0 55px; }
  .ey-hero-grid, .ey-section-heading, .ey-split, .ey-split-reverse, .ey-faq-layout, .ey-category-row, .ey-category-row:nth-child(even), .ey-intro, .ey-process, .ey-contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .ey-category-row:nth-child(even) .ey-category-image { order: 0; }
  .ey-display .elementor-heading-title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .ey-product-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .ey-product-card-featured { grid-column: auto; grid-row: auto; }
  .ey-stats { grid-template-columns: 1fr 1fr; gap: 35px 0; }
  .ey-stat:nth-child(3) { border-left: 0; }
  .ey-stat .elementor-heading-title { font-size: 42px; }
  .ey-factory-grid { grid-template-columns: 1fr; }
  .ey-factory-card:last-child { margin-top: 25px; }
  .ey-certificate { border-width: 5px; }
  .ey-chain-grid { grid-template-columns: 1fr; }
  .ey-catalog-grid, .ey-detail-overview, .ey-detail-overview-media { grid-template-columns: 1fr; }
  .ey-detail-gallery { grid-template-columns: 1fr; }
  .ey-product-detail-hero { min-height: 680px !important; padding: 140px 0 55px !important; }
  .ey-detail-empty { padding: 30px 22px; }
  .ey-process-step { grid-template-columns: 58px 1fr; min-height: 260px; }
  .ey-step-number .elementor-heading-title { font-size: 30px; }
  .ey-quality-grid, .ey-form form, .ey-location-grid, .ey-footer-grid, .ey-locations { grid-template-columns: 1fr; }
  .ey-footer-grid { gap: 26px; }
}
