/*
Theme Name: SleeveLess World v2
Theme URI: https://sleeveless.world
Author: Rumple & ChatGPT
Description: Story-driven WooCommerce theme for SleeveLess – framed record sleeves with narrative product pages.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sleeveless-world-v2
*/

/* Basic reset & typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #14151e 0, #05060a 40%, #020207 100%);
  color: #f4efe5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #e5c27a;
  text-decoration: none;
}
a:hover {
  color: #f5a95c;
}

/* Layout shell */
.site-header {
  background: rgba(5,6,12,0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-title {
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.2rem;
}
.site-title a { color: #f4efe5; }

.primary-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}
.primary-nav a {
  color: #f4efe5;
  opacity: 0.82;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  opacity: 1;
  color: #e5c27a;
}

.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: #9a9490;
}

/* Hero block for the home page */
.sw-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.sw-hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.sw-hero p {
  max-width: 34rem;
  color: #d2cbc2;
}
.sw-hero-panel {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at top, #2b293d 0, #121320 40%, #05060a 100%);
  padding: 1.3rem 1.4rem 1.2rem;
  font-size: 0.9rem;
  color: #ddd5cb;
}
.sw-hero-meta {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #9a9490;
}
.sw-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.sw-btn-primary,
.sw-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.sw-btn-primary {
  background: linear-gradient(135deg, #e18b4b, #f2c879);
  color: #1a1009;
  border-color: rgba(0,0,0,0.15);
}
.sw-btn-primary:hover {
  background: linear-gradient(135deg, #f29d5e, #f2d38a);
}
.sw-btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: #f4efe5;
}
.sw-btn-secondary:hover {
  border-color: #e5c27a;
}

/* Generic content */
.entry-content {
  max-width: 42rem;
  font-size: 0.96rem;
  color: #ddd5cb;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: "Georgia", "Times New Roman", serif;
}

/* WooCommerce basics – DO NOT override columns; let Woo settings handle it */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border-radius: 18px;
  background: radial-gradient(circle at top, #262538, #11121a);
  padding: 0.85rem 0.95rem 1.2rem;
  position: relative;
  box-shadow: 0 0 18px rgba(0,0,0,0.45);
}

.woocommerce ul.products li.product a img {
  border-radius: 12px;
  margin-bottom: 0.65rem;
  width: 100%;
  aspect-ratio: 1 / 1;      /* square tiles */
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}
.woocommerce ul.products li.product .price {
  color: #e5c27a;
  font-weight: 500;
}
.woocommerce ul.products li.product .button {
  margin-top: 0.45rem;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.4rem 0.95rem;
}

/* Tier badges */
.sw-tier-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.9rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.6);
  z-index: 5;
}

.sw-tier-badge.sw-tier-mvp {
  background: linear-gradient(135deg, #e18b4b, #7f4a14);
}
.sw-tier-badge.sw-tier-tier-1 {
  background: linear-gradient(135deg, #d4af37, #7f6a1a);
}
.sw-tier-badge.sw-tier-tier-2 {
  background: linear-gradient(135deg, #c0c0c0, #6e6e6e);
}
.sw-tier-badge.sw-tier-tier-3 {
  background: linear-gradient(135deg, #cd7f32, #7c4520);
}

/* Current Drop section on the home page */
.sw-drop-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0 0.9rem;
}
.sw-drop-section-header h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
}
.sw-drop-section-sub {
  font-size: 0.9rem;
  max-width: 26rem;
  color: #c8c1b7;
}

/* Footer center text */
.site-footer-inner {
  text-align: center;
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */

.sw-single-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.sw-product-gallery {
  position: relative;
  align-self: start;
}

.sw-product-gallery .woocommerce-product-gallery {
  width: 100% !important;
}

.sw-product-gallery .woocommerce-product-gallery__image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

.sw-product-summary {
  padding: 0;
}

.sw-product-summary .product_title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.sw-product-summary .price {
  font-size: 1.4rem;
  color: #e5c27a;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.sw-product-summary .woocommerce-product-details__short-description {
  color: #d2cbc2;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.sw-product-summary .single_add_to_cart_button {
  background: linear-gradient(135deg, #e18b4b, #f2c879);
  color: #1a1009;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sw-product-summary .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #f29d5e, #f2d38a);
  transform: translateY(-1px);
}

.sw-product-summary .product_meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: #9a9490;
}

.sw-product-summary .product_meta > span {
  display: block;
  margin-bottom: 0.4rem;
}

.sw-product-summary .product_meta a {
  color: #e5c27a;
}

/* Full-width story section below */
.sw-product-story {
  grid-column: 1 / -1;
  margin-top: 2rem;
}

.sw-product-story .woocommerce-tabs {
  background: radial-gradient(circle at top, #1a1928, #0d0e14);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
}

.sw-product-story .woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1rem;
}

.sw-product-story .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
}

.sw-product-story .woocommerce-tabs ul.tabs li a {
  color: #9a9490;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  display: block;
}

.sw-product-story .woocommerce-tabs ul.tabs li.active a {
  color: #e5c27a;
  border-bottom: 2px solid #e5c27a;
}

.sw-product-story .woocommerce-tabs .panel {
  color: #d2cbc2;
  font-size: 0.95rem;
  line-height: 1.75;
}

.sw-product-story .woocommerce-tabs .panel h2 {
  display: none; /* Hide redundant "Description" heading */
}

/* Related products */
.sw-product-story .related.products {
  margin-top: 3rem;
}

.sw-product-story .related.products > h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  .sw-single-product {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sw-product-gallery {
    position: static;
  }

  .sw-hero {
    grid-template-columns: 1fr;
  }

  .sw-hero h1 {
    font-size: 1.8rem;
  }
}

