/*
Theme Name: WinSkinCo
Theme URI:  https://winskinco.example/
Author:      Jeffrey Delos Santos
Author URI:  https://winskinco.com
Description: WinSkinCo starter theme — hero slider (Swiper) + product grid + WooCommerce support
Version:     1.3.3
License:     GPL-2.0+
Text Domain: winskinco
*/

:root {
  --accent: #b34f7a;
  --accent-2: #f5c6d6;
  --max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  color: #222;
  background: #fafafa;
  padding-top: 90px; /* offset for sticky header */
}

.site {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}


/* ================================
   Header / Nav / Logo
================================== */
/* Header / nav / logo styles */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 12px 24px;
}

.sticky-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Use grid to keep logo left, menu centered, actions right */
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Logo always left-aligned */
.site-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.site-logo a {
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Menu centered */
.main-nav {
  justify-self: center;
}
.main-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav .menu li a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Actions (cart + toggle) aligned right */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo size consistency */
.site-logo img {
  max-height: 60px;
  height: auto;
  width: auto;
  transition: max-height 0.3s ease, transform 0.3s ease;
}
.sticky-header.scrolled .site-logo img {
  max-height: 50px;
}

/* Mobile view */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #000;
}
.mobile-menu {
  display: none;
  background: #fff;
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Responsive fixes */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-block; }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 768px) {
  .site-logo img {
    max-height: 40px;
  }
}


/* ================================
   Responsive
================================== */
@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-block; }
}

@media (max-width: 768px) {
  .site-logo img { max-height: 40px; }
}

/* Responsive heights */
@media (max-width: 1024px) {
  .swiper-slide { min-height: 400px; }
}

@media (max-width: 768px) {
  .swiper-slide { min-height: 300px; }
}

@media (max-width: 480px) {
  .swiper-slide { min-height: 220px; }
}






