/*
 Theme Name:   Sayprint Child
 Theme URI:    https://www.sayprint.in
 Description:  Child theme for Sayprint antivirus store — based on Storefront
 Author:       Sayprint
 Author URI:   https://www.sayprint.in
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  sayprint-child
*/

/* =============================================
   SAYPRINT BRAND COLORS & BASE STYLES
   Primary:  #e74c3c (red — trust / antivirus feel)
   Accent:   #2c3e50 (dark navy)
   Light:    #f7f7f7 (background)
============================================= */

:root {
  --sp-red:    #e74c3c;
  --sp-navy:   #2c3e50;
  --sp-light:  #f7f7f7;
  --sp-white:  #ffffff;
  --sp-green:  #27ae60;
  --sp-gold:   #f39c12;
}

/* ---- Global ---- */
body {
  background-color: var(--sp-light);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

a { color: var(--sp-red); }
a:hover { color: var(--sp-navy); }

/* ---- Header / Navbar ---- */
.site-header {
  background-color: var(--sp-navy) !important;
  border-bottom: 3px solid var(--sp-red);
}

.site-title a,
.site-title a:hover {
  color: var(--sp-white) !important;
}

.main-navigation ul li a {
  color: var(--sp-white) !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--sp-gold) !important;
}

/* ---- Hero / Top Banner ---- */
.sp-hero {
  background: linear-gradient(135deg, var(--sp-navy) 0%, #1a252f 100%);
  color: var(--sp-white);
  padding: 60px 20px;
  text-align: center;
}

.sp-hero h1 {
  font-size: 2.4rem;
  color: var(--sp-white);
  margin-bottom: 10px;
}

.sp-hero p {
  font-size: 1.2rem;
  color: var(--sp-gold);
}

.sp-hero .sp-badge {
  display: inline-block;
  background: var(--sp-red);
  color: #fff;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 1px;
}

/* ---- USP Bar ---- */
.sp-usp-bar {
  background: var(--sp-red);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.sp-usp-bar span::before {
  content: "✔ ";
}

/* ---- Product Cards ---- */
ul.products li.product {
  background: var(--sp-white);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

ul.products li.product:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sp-navy);
}

ul.products li.product .price {
  color: var(--sp-red);
  font-size: 1.1rem;
  font-weight: 800;
}

ul.products li.product .button {
  background: var(--sp-red) !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

ul.products li.product .button:hover {
  background: var(--sp-navy) !important;
}

/* ---- Single Product Page ---- */
.single-product .product_title {
  color: var(--sp-navy);
}

.single-product .price {
  color: var(--sp-red);
  font-size: 1.6rem;
  font-weight: 800;
}

.single-product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
  background: var(--sp-green) !important;
  border: none;
  font-size: 1.1rem;
  padding: 14px 30px;
  border-radius: 8px;
}

/* ---- Delivery Badge on Product ---- */
.sp-delivery-badge {
  display: inline-block;
  background: var(--sp-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ---- Brand Logos Section ---- */
.sp-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding: 30px 20px;
  background: #fff;
  border-top: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}

.sp-brands img {
  height: 50px;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s;
}

.sp-brands img:hover {
  filter: grayscale(0%);
}

/* ---- Trust Section ---- */
.sp-trust-bar {
  background: var(--sp-navy);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.sp-trust-bar .sp-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sp-trust-bar .sp-trust-icon {
  font-size: 2rem;
}

.sp-trust-bar .sp-trust-label {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--sp-navy) !important;
  color: #ccc !important;
}

.site-footer a { color: var(--sp-gold) !important; }

/* ---- Mobile Responsive ---- */
@media (max-width: 768px) {
  .sp-hero h1 { font-size: 1.6rem; }
  .sp-usp-bar { flex-direction: column; gap: 8px; text-align: center; }
  .sp-trust-bar { gap: 20px; }
}
/* ---- Dropdown Menu ---- */
.main-navigation ul ul,
.main-navigation ul ul.sub-menu {
    background: var(--sp-navy) !important;
    border: 1px solid var(--sp-gold);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.main-navigation ul ul li {
    background: var(--sp-navy) !important;
}

.main-navigation ul ul li a {
    color: var(--sp-white) !important;
    background: var(--sp-navy) !important;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li.current-menu-item > a {
    background: var(--sp-gold) !important;
    color: var(--sp-navy) !important;
}

/* Dropdown arrow indicator */
.main-navigation ul li.menu-item-has-children > a::after {
    color: var(--sp-gold);
}

/* Nested dropdowns */
.main-navigation ul ul ul {
    background: var(--sp-navy) !important;
}