:root{
  --charcoal: #1A1A1A;
  --royal:   #C41230;
  --ember:   #ED3B4E;
  --soft:    #E3E3E3;
  --gun:     #2D2D2D;
  --white:   #FFFFFF;
  --offwhite:#FAFAFA;
  --max-width: 1200px;
  --radius: 10px;
  --shadow: 0 6px 18px rgba(0,0,0,0.6);
  --glass: rgba(255,255,255,0.03);
}

/* base */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--charcoal);
  color:var(--soft);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.45;
}

/* Layout container */
.container{
  width:90%;
  max-width:var(--max-width);
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.3));
  border-bottom:1px solid rgba(255,255,255,0.03);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  width:64px;
  height:64px;
  object-fit:contain;
  border-radius:6px;
}
.brand-name{
  font-family: 'Exo 2', sans-serif;
  font-weight:800;
  letter-spacing:1px;
  color:var(--soft);
  font-size:16px;
}
.brand-tag{
  font-size:12px;
  color: #bdbdbd;
}

/* Navigation */
.main-nav a{
  color: #dcdcdc;
  margin-left:18px;
  text-decoration:none;
  font-weight:500;
  font-size:14px;
}
.contact-btn{
  padding:8px 12px;
  border-radius:8px;
  background:var(--royal);
  color:var(--white);
  margin-left:18px;
  text-decoration:none;
}

/* HERO */
.hero{
  padding:48px 0;
  border-bottom:1px solid rgba(255,255,255,0.025);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap:30px;
  align-items:center;
}
.hero-title{
  font-family: 'Exo 2', sans-serif;
  font-size:38px;
  margin:0 0 10px 0;
  color:var(--soft);
  letter-spacing:1px;
  line-height:1.05;
}
.hero-sub{
  color:#bdbdbd;
  margin:0 0 20px 0;
  max-width:560px;
}
.hero-actions .btn{margin-right:12px}
.btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:8px;
  border:none;
  cursor:pointer;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.btn.primary{
  background:var(--royal);
  color:var(--white);
}
.btn.ghost{
  background:transparent;
  color:#cfcfcf;
  border:1px solid rgba(255,255,255,0.06);
}
.hero-image{
  width:100%;
  max-width:420px;
  border-radius:12px;
  object-fit:cover;
  box-shadow:var(--shadow);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Collections */
.section-title{
  font-family: 'Exo 2', sans-serif;
  color:var(--soft);
  font-size:20px;
  margin:30px 0 20px 0;
}
.collections-grid{
  display:flex;
  gap:18px;
}
.collection-card{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--gun);
  padding:12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--soft);
  min-width:180px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.collection-card:hover{ transform: translateY(-6px); box-shadow:var(--shadow) }
.collection-img{ font-size:26px; }
.collection-title{ font-weight:600; }

/* Products grid */
.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-bottom:40px;
}
.product-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
  border-radius:12px;
  padding:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.03);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.product-card:hover{ transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow) }
.product-thumb{
  width:100%;
  height:220px;
  border-radius:8px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
}
.product-thumb img{ max-width:100%; max-height:100%; object-fit:contain; transform-origin:center; transition: transform 400ms ease; }
.product-card:hover .product-thumb img{ transform: rotateY(10deg) scale(1.03) }
.product-info{ display:flex; gap:8px; align-items:center; justify-content:space-between; color: #dcdcdc; }
.product-title{ font-weight:700; font-family: 'Exo 2', sans-serif; font-size:15px; }
.product-meta{ font-size:13px; color:#a9a9a9 }

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,0.66);
  z-index:80;
  padding:24px;
}
.modal[aria-hidden="false"]{ display:flex }
.modal-content{
  width:100%;
  max-width:920px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-radius:12px;
  padding:18px;
  color:var(--soft);
  box-shadow:var(--shadow);
}
.modal-close{
  background:transparent;
  border:none;
  color:var(--soft);
  font-size:18px;
  float:right;
  cursor:pointer;
}
.modal-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.modal-image-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  border-radius:10px;
  background:var(--gun);
}
.spin-placeholder{
  width:320px;
  height:320px;
  border-radius:8px;
  background:linear-gradient(180deg, rgba(196,18,48,0.12), rgba(237,59,78,0.06));
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--royal);
  font-weight:700;
  font-size:14px;
}

/* about */
.about{ padding:40px 0; border-top:1px solid rgba(255,255,255,0.02); border-bottom:1px solid rgba(255,255,255,0.02); }
.about-grid{ display:grid; grid-template-columns:1fr 360px; gap:20px; align-items:center; }
.about-image-wrap img{ width:100%; border-radius:10px; }

/* newsletter */
.newsletter{ padding:28px 0; }
.newsletter-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  background:var(--gun);
  padding:18px;
  border-radius:12px;
}
.newsletter-form{ display:flex; gap:8px; align-items:center; }
.newsletter-form input{
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.04);
  background:transparent;
  color:var(--soft);
}

/* footer */
.site-footer{ padding:28px 0; color:#bdbdbd; border-top:1px solid rgba(255,255,255,0.02) }
.footer-inner{ display:flex; justify-content:space-between; gap:18px; align-items:flex-start; padding-bottom:12px; }
.footer-logo{ width:100px; height:auto; object-fit:contain; }

.copyright{
  text-align:center;
  padding:12px 0;
  color:#8f8f8f;
  font-size:13px;
}

/* responsive */
@media (max-width:980px){
  .hero-grid{ grid-template-columns: 1fr; text-align:center }
  .hero-image{ margin:20px auto 0 auto; max-width:320px }
  .about-grid{ grid-template-columns:1fr; }
  .header-inner{ flex-direction:column; gap:10px; align-items:flex-start; }
  .main-nav{ display:flex; flex-wrap:wrap; gap:8px; }
}
.product-slider { width:100%; height:360px; display:block; position:relative; overflow:hidden; background:#111; border-radius:8px; }
.product-slider .slide{ display:none; width:100%; height:100%; text-align:center; padding:18px; }
.product-slider img{ max-width:100%; max-height:100%; object-fit:contain; display:inline-block; margin:auto; }

.floating-cart { position: fixed; top: 16px; right: 18px; z-index:9999; }
#floating-cart button { background:var(--royal); color:white; border:none; padding:10px 12px; border-radius:10px; font-weight:700; cursor:pointer; }
#floating-cart #cart-count { background:#fff; color:#000; padding:2px 6px; border-radius:999px; margin-left:6px; font-weight:700; }
.floating-cart-panel { display:none; width:320px; background:var(--gun); border-radius:10px; box-shadow:var(--shadow); padding:12px; margin-top:8px; right:0; }
.floating-cart-panel[aria-hidden="false"]{ display:block; }
.site-banner { background: #C41230; color:white; padding:8px 0; position:sticky; top:0; z-index:9998; }
.site-banner .container{ display:flex; justify-content:space-between; align-items:center; }


/* === Banner === */
.site-banner {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: #C41230;
  color: #fff;
  font-family: 'Exo 2', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  animation: banner-pulse 2.4s infinite;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}
#banner-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
@keyframes banner-pulse {
  0% { box-shadow: 0 0 0 0 rgba(196,18,48,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(196,18,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,18,48,0); }
}

/* === Floating cart drawer === */
.floating-cart {
  position: fixed;
  top: 72px;
  right: 18px;
  z-index: 9500;
}
#floating-cart-toggle {
  background: #C41230;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
#floating-cart-toggle span#cart-count {
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.floating-cart-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 320px;
  height: 100vh;
  background: #141414;
  box-shadow: -12px 0 30px rgba(0,0,0,0.6);
  padding: 16px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: right 0.28s ease-out;
}
.floating-cart-drawer.open {
  right: 0;
}
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.cart-drawer-header h4 {
  font-size: 1.1rem;
  letter-spacing: .04em;
}
#cart-close {
  background: none;
  border: none;
  color: #eee;
  cursor: pointer;
  font-size: 20px;
}
.cart-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}
.cart-item-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item-row button {
  border: none;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  font-size: 12px;
}
.cart-item-row button:hover {
  color: #fff;
}
.cart-drawer-footer {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* General polish */
.product-card {
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}
.btn {
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}


.modal-gallery { width:100%; height:100%; position:relative; }
.modal-slider { width:100%; height:100%; position:relative; }
.modal-slide { width:100%; display:none; border-radius:10px; }
.modal-slider-controls {
  position:absolute; bottom:10px; width:100%;
  display:flex; justify-content:space-between;
}
.modal-slider-controls button {
  background:rgba(0,0,0,0.5); border:none; color:white;
  font-size:24px; padding:4px 12px; border-radius:6px; cursor:pointer;
}

/* === Upgraded Slider CSS === */
.modal-dots {
  position:absolute;
  bottom:50px;
  width:100%;
  display:flex;
  justify-content:center;
  gap:8px;
}
.modal-dot {
  width:10px;
  height:10px;
  background:#999;
  border-radius:50%;
  cursor:pointer;
  transition:0.3s;
}
.modal-dot.active {
  background:#C41230;
  transform:scale(1.2);
}
.modal-slide.zoomed {
  z-index:10;
  transition:transform 0.3s ease;
}

/* === Style D Red Arrow Buttons === */

.modal-arrow-red {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #C41230;
  border: none;
  color: white;
  font-size: 32px;
  padding: 10px 16px;
  border-radius: 14px;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: 0.2s ease;
}

#modal-arrow-left {
  left: 10px;
}
#modal-arrow-right {
  right: 10px;
}

.modal-arrow-red:hover {
  background: #d61634;
  transform: translateY(-50%) scale(1.1);
}
