/* ==========================================================================
   Sole Safar - Comprehensive WordPress Minimalist Theme Styles
   Pure Solid White (#FFFFFF) & Pure Black (#000000)
   ========================================================================== */

/* Utility Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Typography Helpers */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Top Bar */
.ss-topbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.625rem 0;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.ss-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ss-topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ss-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  transition: opacity 0.15s;
}

.ss-topbar-contact a:hover {
  opacity: 0.7;
}

.ss-topbar-badge {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
}

/* Header */
.ss-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #ffffff;
  border-bottom: 1px solid #000000;
  transition: box-shadow 0.2s;
}

.ss-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.ss-logo-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.ss-logo-svg {
  height: 3rem;
  width: auto;
  display: block;
}

/* Nav */
.ss-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 900px) {
  .ss-nav {
    display: none;
  }
}

.ss-nav-item {
  position: relative;
}

.ss-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  border-bottom: 2px solid transparent;
}

.ss-nav-link:hover,
.ss-nav-link.active {
  font-weight: 700;
  border-bottom-color: #000000;
}

/* Dropdown */
.ss-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 13rem;
  background-color: #ffffff;
  border: 1px solid #000000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
  z-index: 50;
}

.ss-nav-item:hover .ss-dropdown,
.ss-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ss-dropdown-title {
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.7);
}

.ss-dropdown-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  transition: background-color 0.15s, color 0.15s;
}

.ss-dropdown-link:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Header Right Actions */
.ss-header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ss-search-box {
  display: flex;
  align-items: center;
  border: 1px solid #000000;
  background: #ffffff;
  padding: 0 0.5rem;
  height: 2.5rem;
}

.ss-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.8125rem;
  padding: 0.35rem 0.5rem;
  width: 12rem;
}

@media (max-width: 640px) {
  .ss-search-input {
    width: 6rem;
  }
}

.ss-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-icon-btn:hover {
  background: #000000;
  color: #ffffff;
}

.ss-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}

.ss-cart-btn:hover {
  opacity: 0.88;
}

.ss-badge {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff;
  padding: 0 0.25rem;
}

/* Mobile Hamburger */
.ss-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .ss-mobile-toggle {
    display: inline-flex;
  }
}

/* Hero Section */
.ss-hero {
  border-bottom: 1px solid #000000;
  padding: 3.5rem 0;
  background: #ffffff;
}

.ss-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .ss-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.ss-hero-tagline {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.25rem;
}

.ss-hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .ss-hero-title {
    font-size: 2.25rem;
  }
}

.ss-hero-desc {
  font-size: 1.0625rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.ss-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ss-hero-image-wrap {
  border: 1px solid #000000;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 16/9;
}

.ss-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ss-hero-image-wrap:hover img {
  transform: scale(1.03);
}

/* Buttons */
.ss-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.ss-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

/* Trust Bar */
.ss-trust-bar {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 0;
  background: #ffffff;
}

.ss-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .ss-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .ss-trust-grid {
    grid-template-columns: 1fr;
  }
}

.ss-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ss-trust-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.ss-trust-desc {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.6);
}

/* Category Cards */
.ss-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ss-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.ss-section-title {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ss-section-sub {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.6);
  margin-top: 0.25rem;
}

.ss-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .ss-category-grid {
    grid-template-columns: 1fr;
  }
}

.ss-category-card {
  border: 1px solid #000000;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.ss-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.ss-category-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 1px solid #000000;
}

.ss-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ss-category-card:hover .ss-category-img img {
  transform: scale(1.04);
}

.ss-category-body {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ss-category-name {
  font-size: 1.25rem;
  font-weight: 800;
}

.ss-category-sublist {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.5);
  margin-top: 0.2rem;
}

/* Product Grid */
.ss-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .ss-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ss-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  .ss-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Card */
.ss-product-card {
  border: 1px solid #000000;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ss-product-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.ss-card-wishlist-btn {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border: 1px solid #000000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-card-wishlist-btn:hover,
.ss-card-wishlist-btn.is-active {
  background: #000000;
  color: #ffffff;
}

.ss-product-media {
  aspect-ratio: 1/1;
  border-bottom: 1px solid #000000;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ss-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ss-product-card:hover .ss-product-media img {
  transform: scale(1.04);
}

.ss-product-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ss-product-sub {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.5);
  margin-bottom: 0.25rem;
}

.ss-product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  min-height: 2.5rem;
}

.ss-product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.ss-price-current {
  font-size: 1.125rem;
  font-weight: 900;
}

.ss-price-old {
  font-size: 0.8125rem;
  color: rgba(0,0,0,0.4);
  text-decoration: line-through;
}

/* Size Selector Row */
.ss-size-row {
  margin-bottom: 0.875rem;
}

.ss-size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.ss-size-guide-trigger {
  font-size: 0.6875rem;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: rgba(0,0,0,0.7);
}

.ss-size-guide-trigger:hover {
  color: #000000;
}

.ss-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.ss-size-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(0,0,0,0.3);
  background: #ffffff;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.ss-size-btn:hover {
  border-color: #000000;
}

.ss-size-btn.is-selected {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Card Button Group */
.ss-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  margin-top: auto;
}

.ss-btn-card-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.625rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-btn-card-order:hover {
  background: #ffffff;
  color: #000000;
}

.ss-btn-card-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.625rem 0.5rem;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-btn-card-cart:hover {
  background: #000000;
  color: #ffffff;
}

/* Tab Filters */
.ss-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}

.ss-tab-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.ss-tab-btn:hover {
  border-color: #000000;
}

.ss-tab-btn.is-active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Modals */
.ss-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.ss-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ss-modal-container {
  background: #ffffff;
  border: 1px solid #000000;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.ss-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ss-modal-title {
  font-size: 1.125rem;
  font-weight: 800;
}

.ss-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.25rem;
  line-height: 1;
}

.ss-modal-body {
  padding: 1.5rem;
}

/* Fast Checkout Form */
.ss-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ss-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ss-form-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ss-form-input, .ss-form-textarea {
  border: 1px solid #000000;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
  background: #ffffff;
}

.ss-form-input:focus, .ss-form-textarea:focus {
  box-shadow: 0 0 0 2px #000000;
}

.ss-payment-badge {
  border: 1px solid #000000;
  padding: 0.875rem 1rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Cart Drawer */
.ss-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.ss-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.ss-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 24rem;
  max-width: 90vw;
  background: #ffffff;
  border-left: 1px solid #000000;
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ss-drawer.is-active {
  transform: translateX(0);
}

.ss-drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ss-drawer-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.ss-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #000000;
  background: #ffffff;
}

/* Footer */
.ss-footer {
  border-top: 1px solid #000000;
  background: #ffffff;
  padding: 3.5rem 0 2rem;
}

.ss-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .ss-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .ss-footer-grid {
    grid-template-columns: 1fr;
  }
}

.ss-footer-col-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.ss-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.ss-footer-links a {
  color: rgba(0,0,0,0.7);
  transition: color 0.15s;
}

.ss-footer-links a:hover {
  color: #000000;
}

.ss-footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.6);
}

/* Toast */
.ss-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #000000;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  z-index: 120;
  border: 1px solid #000000;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.2s ease;
}

.ss-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Size Guide Table */
.ss-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 1rem 0;
}

.ss-table th, .ss-table td {
  border: 1px solid #000000;
  padding: 0.625rem;
  text-align: center;
}

.ss-table th {
  background: #000000;
  color: #ffffff;
  font-weight: 700;
}
