/*
Theme Name: nsbeauty
Theme URI: https://edencos.co.kr/
Author: Antigravity
Author URI: https://edencos.co.kr/
Description: NS Beauty - Premium Cosmetics OEM/ODM Manufacturer WordPress Theme inspired by EdenCos. Clean, modern, responsive with full mega menu, kinetic typography, dynamic portfolio filter, and quote inquiry system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: nsbeauty
Tags: cosmetics, oem-odm, manufacturing, beauty, modern, responsive-layout, custom-menu, featured-images, translation-ready
*/

/* Reset & WP Core Classes */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 13px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* Custom Lightbox Modal for Products */
.prod-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.prod-modal.active {
  opacity: 1;
  visibility: visible;
}
.prod-modal-in {
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  text-align: center;
  animation: modalPop 0.3s ease-out;
}
@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.prod-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f3f4f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  color: #1f2937;
  transition: background 0.2s;
}
.prod-modal-close:hover {
  background: #e5e7eb;
}
.prod-modal img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 8px;
}
.prod-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #111827;
}
.prod-modal p {
  color: #6b7280;
  font-size: 0.95rem;
}

/* Flash message / alert styling for forms */
.ns-alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-weight: 500;
}
.ns-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.ns-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
