/*
 Theme Name: Flatsome Child
 Template: flatsome
 Version: 1.0.0
 Description: Rose Organic Việt Nam — Sản phẩm thảo mộc thiên nhiên
 Author: Rose Organic Việt Nam
 Text Domain: flatsome-child
*/

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Nunito+Sans:wght@400;600;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --rose-primary: #e91e8c;
  --rose-secondary: #ff6bb5;
  --rose-light: #fce4f3;
  --rose-dark: #c2185b;
  --rose-gradient: linear-gradient(135deg, #e91e8c 0%, #ff6bb5 50%, #f48fb1 100%);
  --rose-gradient-soft: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
  --gold-accent: #d4a853;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --bg-cream: #fefaf8;
  --bg-white: #ffffff;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
}

/* ===== Global ===== */
body {
  font-family: var(--font-body) !important;
  color: var(--text-dark);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title, .box-text h3, .box-text h2 {
  font-family: var(--font-heading) !important;
  color: var(--text-dark);
}

a {
  color: var(--rose-primary);
  transition: all 0.3s ease;
}
a:hover {
  color: var(--rose-dark);
}

/* ===== Top Bar ===== */
.header-top {
  background: var(--rose-gradient) !important;
  color: #fff !important;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.header-top a,
.header-top .nav > li > a {
  color: #fff !important;
}
.header-top a:hover,
.header-top .nav > li > a:hover {
  color: var(--rose-light) !important;
}

/* ===== Header ===== */
.header-main {
  background: var(--bg-white) !important;
  box-shadow: 0 2px 20px rgba(233, 30, 140, 0.08);
}
#logo img {
  transition: transform 0.3s ease;
}
#logo:hover img {
  transform: scale(1.03);
}

/* ===== Navigation ===== */
.nav > li > a {
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--text-dark) !important;
  position: relative;
}
.nav > li > a:hover,
.nav > li.active > a,
.nav > li.current > a {
  color: var(--rose-primary) !important;
}
.nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--rose-gradient);
  transition: width 0.3s ease;
}
.nav > li > a:hover::after,
.nav > li.active > a::after {
  width: 70%;
}

/* ===== Dropdown Menu ===== */
.nav-dropdown {
  border-top: 3px solid var(--rose-primary) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}
.nav-dropdown li a:hover {
  background: var(--rose-light) !important;
  color: var(--rose-primary) !important;
}

/* ===== Buttons ===== */
.button.primary,
button.primary,
.button.primary:not(.is-outline),
a.button.primary {
  background: var(--rose-gradient) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 25px !important;
  padding: 12px 30px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  transition: all 0.3s ease;
}
.button.primary:hover,
a.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 140, 0.4) !important;
}

.button.secondary,
a.button.secondary {
  background: transparent !important;
  border: 2px solid var(--rose-primary) !important;
  color: var(--rose-primary) !important;
  border-radius: 25px !important;
}
.button.secondary:hover,
a.button.secondary:hover {
  background: var(--rose-gradient) !important;
  color: #fff !important;
}

/* ===== Section Titles ===== */
.section-title {
  position: relative;
  padding-bottom: 15px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--rose-gradient);
  border-radius: 3px;
}

/* ===== Product Cards ===== */
.product-small,
.product-small .box-image {
  border-radius: 12px;
  overflow: hidden;
}
.product-small .box-text {
  padding: 15px;
  text-align: center;
}
.product-small .box-text .product-title {
  font-family: var(--font-body) !important;
  font-weight: 600;
}
.product-small:hover {
  box-shadow: 0 8px 30px rgba(233, 30, 140, 0.12);
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

/* ===== Banner/Slider ===== */
.banner {
  border-radius: 0;
  overflow: hidden;
}
.banner .overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%) !important;
}

/* ===== Newsletter Section ===== */
.rose-newsletter {
  background: var(--rose-gradient);
  padding: 50px 30px;
  border-radius: 16px;
  text-align: center;
  color: #fff;
}
.rose-newsletter input[type="text"],
.rose-newsletter input[type="email"] {
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  width: 100%;
  margin-bottom: 10px;
}
.rose-newsletter .btn-submit {
  background: #fff;
  color: var(--rose-primary);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rose-newsletter .btn-submit:hover {
  background: var(--gold-accent);
  color: #fff;
}

/* ===== Footer ===== */
.footer-wrapper,
.absolute-footer {
  background: #1a1a2e !important;
  color: #ccc !important;
}
.footer-wrapper h3,
.footer-wrapper .widget-title {
  color: #fff !important;
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.footer-wrapper h3::after,
.footer-wrapper .widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--rose-gradient);
}
.footer-wrapper a {
  color: #bbb !important;
  transition: all 0.3s ease;
}
.footer-wrapper a:hover {
  color: var(--rose-secondary) !important;
  padding-left: 5px;
}
.absolute-footer {
  background: #12121f !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

/* ===== Floating CTA Buttons ===== */
.ptk-float-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ptk-float-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  animation: pulse-cta 2s infinite;
}
.ptk-float-cta a:hover {
  transform: scale(1.15);
}
.ptk-float-cta .cta-phone {
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
}
.ptk-float-cta .cta-zalo {
  background: linear-gradient(135deg, #0068ff, #0099ff);
}
.ptk-float-cta .cta-messenger {
  background: linear-gradient(135deg, #0078FF, #00C6FF);
}

@keyframes pulse-cta {
  0% { box-shadow: 0 0 0 0 rgba(233,30,140,0.4); }
  70% { box-shadow: 0 0 0 12px rgba(233,30,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(233,30,140,0); }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--rose-light);
}
::-webkit-scrollbar-thumb {
  background: var(--rose-gradient);
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .ptk-float-cta a {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* ===== Rose Organic Specific ===== */
.rose-badge {
  display: inline-block;
  background: var(--rose-gradient);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Selection ===== */
::selection {
  background: var(--rose-light);
  color: var(--rose-dark);
}
