/* 
   L7K OFFICEL - RAW BLACK & WHITE STREETWEAR
   Monochrome, Aggressive, Minimalist. No Red. No Tech.
*/

:root {
  --bg-main: #000000;
  --bg-card: #050505;
  --text-main: #ffffff;
  --text-muted: #999999;
  --accent: #ffffff;
  --border: #1a1a1a;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
  line-height: 1.4;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.85;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.nav-standard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #000;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  flex: 1;
}

.nav-links:first-child {
  justify-content: flex-start;
}

.nav-links:last-child {
  justify-content: flex-end;
}

.brand-logo {
  flex: 0 0 auto;
  text-align: center;
}

.nav-links a {
  font-family: "Bangers", cursive;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item-dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #000;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1000;
  top: 100%;
  left: 0;
  border-bottom: 2px solid #fff;
}

.nav-item-dropdown .dropdown-content a {
  color: #ccc;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 1.1rem; /* Slightly smaller for dropdown items */
  transition: transform 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nav-item-dropdown .dropdown-content a:hover {
  background-color: #111;
  color: #fff;
  transform: translateX(5px); /* Slide right on hover */
}

.nav-item-dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.hero-minimal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  text-align: center;
  padding: 120px 20px 60px;
}

.hero-box {
  width: 100%;
}

.hero-box img.main-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 40px;
}

.hero-title {
  font-size: clamp(3rem, 12vw, 9rem);
  margin-bottom: 0;
  color: #fff;
  font-weight: 950;
}

/* Buttons */
.btn-main {
  display: inline-block;
  padding: 20px 60px;
  background: #fff;
  color: #000;
  font-weight: 950;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-main:hover {
  background: #ccc;
  transform: translateY(-5px);
}

/* Footer */
footer {
  padding: 100px 0;
  background: #000;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-copy {
  font-size: 0.7rem;
  color: #444;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Product Cards */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 15px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px;
  transition: var(--transition);
}

.product-card:hover {
  border-color: #fff;
}

.product-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #000;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 25px 5px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-price {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 950;
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #fff;
  color: #000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

/* Footer */
footer {
  padding: 100px 0;
  background: #000;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  padding: 0 20px;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
}

.social-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: #fff;
}

.social-icon:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.footer-logo-group img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-logo-group a:hover {
  transform: scale(1.1);
}

.brand-logo,
.footer-logo-group {
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

.brand-logo img,
.footer-logo-group img {
  display: block;
  margin: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 5000;
  display: none;
  justify-content: flex-end;
}

.cart-panel {
  width: 100%;
  max-width: 500px;
  height: 100vh;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.4s ease;
  overflow-y: auto;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.cart-header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  font-family: var(--font-body);
}

.cart-close {
  cursor: pointer;
  font-size: 1.5rem;
  opacity: 0.5;
}

.cart-items {
  padding: 20px 30px;
  flex-grow: 1;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
  align-items: center;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-qty {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #888;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: #888;
}

.cart-item-price {
  font-weight: 800;
  font-size: 0.9rem;
}

.cart-item-remove {
  cursor: pointer;
  color: #ccc;
  font-size: 1.2rem;
}

/* Shipping Options */
.shipping-options {
  padding: 20px 30px;
}

.shipping-title {
  font-weight: 800;
  margin-bottom: 15px;
  font-size: 1rem;
}

.shipping-card {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.shipping-option {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.shipping-option:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.shipping-option.active {
  background: #fcfcfc;
}

.shipping-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shipping-option.active .shipping-radio {
  border-color: #000;
}

.shipping-option.active .shipping-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
}

.shipping-label {
  flex-grow: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.shipping-price {
  font-weight: 800;
}

/* Form Styles */
.checkout-form {
  padding: 20px 30px 100px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-label {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-label span {
  color: #ff0000;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
}

.input-icon {
  width: 50px;
  background: #f7f7f7;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ddd;
  color: #555;
}

.input-with-icon input {
  flex-grow: 1;
  border: none;
  padding: 15px;
  font-size: 0.9rem;
  outline: none;
}

/* Summary Box */
.cart-summary {
  background: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.summary-row.total {
  border-top: 2px solid #eee;
  margin-top: 15px;
  padding-top: 15px;
  font-weight: 900;
  font-size: 1.1rem;
}

/* Buy Button Fixed */
.buy-wrapper {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 20px 30px;
  border-top: 1px solid #eee;
  z-index: 10;
}

.btn-checkout {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 20px;
  border: none;
  border-radius: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-checkout:hover {
  background: #222;
}

/* Details Page Urban Patch */
.pd-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: start;
}

#pd-name {
  font-size: 3.5rem;
}

#pd-price {
  font-size: 2.2rem;
  text-shadow: none;
  font-weight: 950;
}

#pd-desc {
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .pd-grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Success Celebration */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.success-content {
  max-width: 600px;
  padding: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  animation: scaleCheck 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleCheck {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.success-title {
  font-family: "Bangers", cursive;
  font-size: 5rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.success-msg {
  color: #888;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 40px;
}

.btn-success {
  background: #fff;
  color: #000;
  padding: 15px 40px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-success:hover {
  background: #ccc;
  transform: translateY(-5px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
  }

  .nav-standard {
    padding: 0 !important;
    height: 60px;
  }

  .container {
    padding: 0 12px;
    width: 100%;
  }

  .nav-inner {
    height: 100%;
    padding: 0 10px;
    gap: 10px;
    display: flex;
    align-items: center;
  }

  .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    height: 100%;
  }

  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1;
    padding: 0 5px;
  }

  .hero-minimal {
    padding: 60px 10px 30px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 5px;
  }

  .product-card {
    padding: 4px;
  }

  .product-info {
    padding: 8px 4px;
  }

  .product-info h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .product-name {
    font-size: 0.8rem;
  }

  .product-price {
    font-size: 1rem;
  }

  .cart-panel {
    max-width: 100%;
  }

  /* PD Mobile Specifics */
  .pd-grid-container {
    gap: 20px;
  }

  #pd-name {
    font-size: 1.8rem !important;
  }

  #pd-price {
    font-size: 1.4rem !important;
    margin-bottom: 20px !important;
  }

  #pd-desc {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }

  #pd-sizes {
    margin-bottom: 25px !important;
  }
}
