/*
Theme Name: Piff Giff Exact Clone
Description: Exact pixel-accurate replica of piffgiff.org
*/

@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Wix Madefor Text', sans-serif;
  background: #000000;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== AGE VERIFICATION OVERLAY ===== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.age-gate-modal {
  background: #000000;
  padding: 60px 40px 50px;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-gate-modal .age-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 30px;
}

.age-gate-modal h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.age-gate-modal p {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  letter-spacing: 0.05em;
  margin-bottom: 35px;
  line-height: 1.6;
}

.age-gate-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.age-gate-btn {
  flex: 1;
  max-width: 160px;
  padding: 12px 10px;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-gate-btn:hover {
  background: #ffffff;
  color: #000000;
}

.age-gate-btn.under {
  border-color: #444444;
  color: #444444;
}

.age-gate-btn.under:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #000000;
  text-align: center;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 50px;
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-left .logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.header-left .site-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.header-center {
  display: flex;
  align-items: center;
  gap: 35px;
}

.header-center a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaaaaa;
  transition: color 0.2s;
}

.header-center a:hover {
  color: #ffffff;
}

.header-center a.nav-cta {
  color: #ffffff;
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-right .email-link {
  font-size: 12px;
  font-weight: 400;
  color: #aaaaaa;
  letter-spacing: 0.03em;
}

.header-right .email-link:hover {
  color: #ffffff;
}

.header-right .social-link img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.header-right .social-link:hover img {
  opacity: 1;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: #ffffff;
}

.hero-content .hero-sub {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #cccccc;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  padding: 60px 20px 30px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

/* ===== PRODUCT GRID (HOMEPAGE) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.product-card {
  position: relative;
  background: #000000;
  border: 1px solid #1a1a1a;
  margin: -0.5px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.product-card:hover {
  border-color: #333333;
  z-index: 2;
}

.product-card .prod-link {
  display: block;
}

.product-card .prod-thumb-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0a;
}

.product-card .prod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .prod-thumb {
  transform: scale(1.03);
}

.product-card .prod-info {
  padding: 18px 16px 16px;
}

.product-card .prod-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 4px;
}

.product-card .prod-rating {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #ffffff;
  margin-bottom: 2px;
}

.product-card .prod-price {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.product-card .quick-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 12px 32px;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 5;
}

.product-card:hover .quick-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-card .quick-view:hover {
  background: #ffffff;
  color: #000000;
}

/* ===== INFO / SHIPPING TWO-COLUMN SECTION ===== */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.two-col-section .col-text {
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #1a1a1a;
}

.two-col-section .col-text h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.two-col-section .col-text p {
  font-size: 14px;
  font-weight: 400;
  color: #aaaaaa;
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 10px;
}

.two-col-section .col-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 70px 40px 80px;
  text-align: center;
  border-bottom: 1px solid #1a1a1a;
}

.contact-section h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-section .contact-desc {
  font-size: 13px;
  color: #999999;
  margin-bottom: 18px;
}

.contact-section .contact-email {
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 25px;
}

.contact-section .contact-email:hover {
  text-decoration: underline;
}

.contact-section .contact-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.contact-section .contact-social a img {
  width: 22px;
  height: 22px;
  filter: invert(1);
  opacity: 0.55;
  transition: opacity 0.2s;
}

.contact-section .contact-social a:hover img {
  opacity: 1;
}

.contact-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-wrap .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #222222;
  padding: 14px 16px;
  color: #ffffff;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.3s;
  margin-bottom: 14px;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  border-color: #555555;
}

.contact-form-wrap textarea {
  height: 120px;
  resize: vertical;
}

.contact-form-wrap .submit-btn {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s;
}

.contact-form-wrap .submit-btn:hover {
  background: #222222;
  color: #ffffff;
}

.contact-form-wrap .success-msg {
  text-align: center;
  font-size: 13px;
  color: #999999;
  padding: 15px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #000000;
  padding: 60px 40px 40px;
  text-align: center;
}

.site-footer .footer-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 30px;
}

.footer-subscribe {
  max-width: 380px;
  margin: 0 auto 30px;
  display: flex;
  border: 1px solid #222222;
}

.footer-subscribe input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 13px;
  font-weight: 400;
  outline: none;
}

.footer-subscribe button {
  padding: 12px 24px;
  background: #ffffff;
  color: #000000;
  border: none;
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s;
}

.footer-subscribe button:hover {
  background: #333333;
  color: #ffffff;
}

.footer-subscribe .sub-success {
  display: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

.footer-social a img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.45;
  transition: opacity 0.2s;
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-copyright {
  font-size: 11px;
  font-weight: 400;
  color: #555555;
  letter-spacing: 0.03em;
}

/* ===== WOOCOMMERCE SHOP PAGE OVERRIDE ===== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 20px 60px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: -0.5px !important;
  padding: 0 !important;
  background: #000000 !important;
  border: 1px solid #1a1a1a !important;
  float: none !important;
  clear: none !important;
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product:hover {
  border-color: #333333 !important;
  z-index: 2;
}

.woocommerce ul.products li.product a {
  display: block;
}

.woocommerce ul.products li.product a img {
  margin: 0 !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  padding: 18px 16px 2px !important;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.woocommerce ul.products li.product .star-rating {
  margin: 0 16px 2px !important;
  font-size: 12px !important;
  letter-spacing: 0.2em;
  color: #ffffff !important;
}

.woocommerce ul.products li.product .price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  padding: 0 16px 18px !important;
  display: block;
}

.woocommerce ul.products li.product .button {
  display: none !important;
}

/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination {
  padding: 0 20px 50px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: none !important;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: transparent !important;
  color: #ffffff !important;
  padding: 10px 18px !important;
  border: 1px solid #222 !important;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Wix Madefor Text', sans-serif;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #ffffff !important;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  display: none !important;
}

/* ===== WOOCOMMERCE SINGLE PRODUCT ===== */
.woocommerce div.product {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #ffffff;
}

.woocommerce div.product .product_title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

.woocommerce div.product .single_add_to_cart_button {
  background: #ffffff !important;
  color: #000000 !important;
  font-family: 'Wix Madefor Text', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 14px 30px !important;
  border-radius: 0 !important;
  border: none !important;
}

.woocommerce div.product .single_add_to_cart_button:hover {
  background: #333333 !important;
  color: #ffffff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .products-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .two-col-section {
    grid-template-columns: 1fr;
  }
  .two-col-section .col-text {
    border-right: none;
    border-bottom: 1px solid #1a1a1a;
    padding: 50px 30px;
  }
  .site-header {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  .header-center {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 15px;
    gap: 25px;
  }
  .header-right .email-link {
    display: none;
  }
  .hero-content h1 {
    font-size: 42px;
  }
}

@media (max-width: 550px) {
  .products-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
  }
  .hero-content h1 {
    font-size: 32px;
  }
  .contact-form-wrap .form-row {
    grid-template-columns: 1fr;
  }
  .contact-section {
    padding: 50px 20px 60px;
  }
  .site-footer {
    padding: 40px 20px 30px;
  }
  .age-gate-modal {
    padding: 40px 20px;
  }
}