@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@700&display=swap');

html {
  scroll-behavior: smooth;
}


* {
  font-family: 'Archivo Narrow', Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  background: rgb(0, 0, 0);
  border: none;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

h6 {
  margin-top: 20px;
  font-size: 12px;
  width: 50%;
  margin: 50px auto 0 auto;
}

.main-header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  position: fixed;
  top: 0;
  width: auto;
  padding-top: 1rem;
  z-index: 90; 
  background: rgba(0, 0, 0, 0); 
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 32px;
  height: 5px;
  background: white;
  border-radius: 2px;
  transition: transform .5s ease;
}

.nav-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.nav-title {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-right: 30px;
  padding-left: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: rgb(138, 0, 0);
}

.main-content {
  display: block;
  justify-content: center;
  min-height: calc(100vh - 60px);
}

.parent-main {
  height: calc(100vh - 60px);
  background-image: url("/static/images/hero/DSC01991_mobile.jpg");
  background-size: cover;
  background-position: center;
}

.logo-image {
  position: fixed;
  top: calc(100vh - 550px);
  left: 5%;
}

.logo-image p {
  font-size: 90px;
}


.album-name {
  position: fixed;
  right: 5%;
  top: calc(100vh - 550px);
  height: auto; 
}

.album-name p {
  font-size: 90px;
}

.out-now-btn {
  position: absolute;
  right: 20vw;
  top: calc(100vh - 430px);
  background: transparent;
  border-color: #fff;
  border-width: 1px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding: 10px;
  transition: border-color 0.3s ease;
}

.out-now-btn:hover {
  border-color: rgb(138, 0, 0);
  color: rgb(138, 0, 0);
}

section {
  padding-top: 30px;
  margin-bottom: 10px;
  width: 100vw;
}

.stream-section {
  display: grid;
  place-items: center;
  width: 100vw;
}

.main-album-content {
  display: grid;
  place-items: center;
}

.top-page-row {
  display: grid;
  place-items: center;
  width: 100%;
}

.album-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  width: 100%;
}

.top-album-cover {
  height: 100vh;
  width: 100%;
  background-image: url("/static/images/drunk_driving/drunk_driving_top_pic.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.album-title {
  position: absolute;
  width: 30%;
  bottom: 5%;
  left: 35%;
}

.top-row-album {
  place-items: center;
  margin-bottom: 40px;
  width: 60%;
}

.streams-list {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 60vw;
  height: 100px;
  border-radius: 12px;
  padding: 20px;
}

.album-products-secion {
  display: grid;
  place-items: center;
  width: 100vw;
}

.album-button {
  background: transparent;
  border: none;
  background-color: rgba(31, 31, 31, 0.6);
  padding: 15px;
  border-radius: 5px;
  font-size: 26px;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.album-button:hover {
  background-color: rgba(31, 31, 31, 0.8);
}

.spotify-embbed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.horizontal-line {
  height: .05rem;
  width: 100%;
  border-radius: 100rem;
  background-color: #fff;
}

.album-container h3 {
  text-align: center;
}

.products-title {
  padding-bottom: 20px;
}

.products-title h3 {
  font-size: 44px;
}

.album-cover {
  position: relative;
  border: 2px solid rgba(31, 31, 31, 0.8);
  border-radius: 20px;
  width: 400px;
  height: 400px; 
  margin-bottom: 5px;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-cover .hover-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.album-cover:hover .hover-cover {
  opacity: 1;
}

.product-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 30px;
}

.product-line {
  width: 60%;
}

.the-making-title {
  padding-bottom: 20px;
}

.the-making-title h3 {
  text-align: center;
  font-size: 44px;
}

.the-making-line {
  width: 60%;
}

.main-the-making {
  display: grid;
  place-items: center;
}

.main-paragraph {
  width: 50%;
  padding-top: 40px;
}

.main-paragraph p {
  font-size: 24px;
}

.photos-section {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.photo-row {
  display: flex;
  gap: 2rem;
  height: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 0 15%;
  cursor: grab;
}

.photo-row.dragging {
  cursor: grabbing;
  user-select: none;
}

.photo-row img {
  height: 300px;
  flex-shrink: 0;
  border-radius: 6px;
}


.albums-row {
  display: grid;
  margin-bottom: 100px;
}

.single-row {
  display: grid;
  margin-bottom: 100px;
}

.main-music-content {
  height: auto;
}

.blank-space-music {
  height: 120px;
}

.productions-container {
  display: grid;
}

.title-album {
  width: 60%;
  place-items: center;
  place-self: center;
}

.title-album h3 {
  margin-bottom: 10px;
  font-size: 44px;
  text-align: center;
}

.album-content{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 30px;
  flex-wrap: wrap;
}

.album-content-container {
  height: 300px;
  place-items: center;
}

.album-content-container h3 {
  text-align: center;
}

.album-content-cover {
  height: 100%;
  margin-top: 20px;
  margin-bottom: 10px;
  border: 2px solid rgba(31, 31, 31, 0.8);
  border-radius: 20px;
  position: relative;
}

.album-content-cover img {
  height: 100%;
  border-radius: 20px;
}

.album-content-cover .hover-cover-singles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.album-content-cover:hover .hover-cover-singles {
  opacity: 1;
}

.album-hover-content {
  height: 100%;
  width: 100%;
}

.album-hover-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.video-modal.hidden {
  display: none;
}

.video-modal-content {
  position: relative;
  width: 100vw;
  height: 80%;
  max-width: 1200px;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

#ytPlayer {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 300px; 
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hover-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.yt-play-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 33px;
  height: 23px;
  background: url("/static/images/icon/play-24.ico")
      no-repeat center center;
  background-size: contain;
  cursor: pointer;
  z-index: 10;
  transition: 2s ease;
}

.video-thumbnail .credits-content {
  font-size: 12px !important;
  line-height: 1.3;
}

.video-thumbnail .credits-content h4 {
  font-size: 20px !important;
  margin-bottom: 15px;
}

.video-thumbnail .credits-content p {
  font-size: 20px !important;
  margin: 2px 0;
}

.video-thumbnail:hover .hover-cover {
  opacity: 1;
}

.container-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.video-thumbnail {
  width: 28vw;
  height: 300px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hover-cover-production {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: left;
}

.product-info {
  padding: 20px;
}

.product-price {
  font-size: 36px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 1rem;
}

.stock-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.in-stock {
  background: #2ecc71;
  color: white;
}

.low-stock {
  background: #f39c12;
  color: white;
}

.out-of-stock {
  background: #e74c3c;
  color: white;
}

.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cart-header {
  margin-bottom: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1rem;
}

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

.cart-item-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cart-item-price {
  color: #e74c3c;
  font-weight: bold;
}

.cart-summary {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.total-row {
  font-size: 1.5rem;
  font-weight: bold;
  border-top: 2px solid #eee;
  padding-top: 1rem;
  margin-top: 1rem;
}

.empty-cart {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
}

.continue-shopping {
  display: inline-block;
  margin-top: 1rem;
  color: #3498db;
  text-decoration: none;
}

/* Auth Styles */
.auth-container {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.auth-card {
  background: rgba(31, 31, 31, 0.9);
  padding: 1.8rem;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  height: 90%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
}

.form-group-button {
  margin-bottom: 1rem;
}

.form-group {
  width: 90%;
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
}

.form-control:focus {
  background-color: #000;
  outline: none;
  border-color: rgb(138, 0, 0);
}

.error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

.form-checkbox {
  margin-right: 0.5rem;
}

.form-checkbox-label {
  color: #fff;
  font-size: 0.9rem;
}

.btn-primary {
  background: rgb(138, 0, 0);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background: rgb(168, 0, 0);
}

.auth-links {
  margin-top: 1rem;
  text-align: center;
}

.auth-links a {
  color: rgb(138, 0, 0);
  text-decoration: none;
  font-size: 0.9rem;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-links p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

/* Alert/Flash Messages */
.flash-messages {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9900;
  max-width: 400px;
}

.flash-message {
  padding: 1rem 1.5rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.3s ease;
  font-size: 0.9rem;
}

.flash-success {
  background: #2ecc71;
  color: white;
}

.flash-error, .flash-danger {
  background: #e74c3c;
  color: white;
}

.flash-warning {
  background: #f39c12;
  color: white;
}

.flash-info {
  background: #3498db;
  color: white;
}

.flash-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 1rem;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

/* Cart link in navbar */
.cart-link {
  position: relative;
}

.cart-count {
  background: rgb(138, 0, 0);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

/* Shop Page Styles */
.shop-header {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(31, 31, 31, 0.9);
  margin-bottom: 2rem;
}

.shop-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.shop-header p {
  font-size: 1.2rem;
  color: #aaa;
}


.card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  gap: 2rem;
}

.products-grid {
  gap: 2rem;
  padding: 2rem;
  height: 86.6vh;
  width: 100vw;
  margin: 0 auto;
}

.product-card {
  height: 70%;
  max-width: 400px;
  margin-top: 100px;
  background: none;
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.swiper {
  width: 80%;
  height: 300px;
}

.swiper-slide {
  background: #444;
}

.swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-title {
  font-size: 28px;
  margin-bottom: 0.5rem;
  color: #fff;
}

.product-description {
  color: #aaa;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  min-height: 60px;
}

.add-to-cart-btn {
  background: rgb(31, 31, 31);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.add-to-cart-btn:hover:not(:disabled) {
  background: rgb(168, 0, 0);
}

.add-to-cart-btn:disabled {
  background: #666;
  cursor: not-allowed;
}

/* Cart Page Styles */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cart-header {
  text-align: center;
  margin-bottom: 3rem;
}
.cart-items {
  margin-bottom: 3rem;
}

.cart-item {
  display: flex;
  align-items: center;
  background: rgba(31, 31, 31, 0.8);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1.5rem;
}

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

.cart-item-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.cart-item-price {
  color: rgb(138, 0, 0);
  font-weight: bold;
  font-size: 1.1rem;
}

.price-info-sub span {
  font-size: 24px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background: none;
  color: white;
  border: 2px solid   rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 45px;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quantity-input {
  width: 60px;
  text-align: center;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
}

.remove-btn {
  background: none;
  color: white;
  border: 3px solid rgba(31, 31, 31, 0.6);
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: .5rem;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background: rgba(31, 31, 31, 0.9);
}

.cart-summary {
  background: rgba(31, 31, 31, 0.9);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-functions {
  display: flex;
  height: 90px;
  justify-content: center;
  align-items: center;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #fff;
}

.total-row {
  font-size: 1.5rem;
  font-weight: bold;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 1rem;
  color: #fff;
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(31, 31, 31, 0.8);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-cart p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.continue-shopping {
  display: inline-block;
  background: rgb(138, 0, 0);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.continue-shopping:hover {
  background: rgb(168, 0, 0);
}

/* Checkout Page Styles */
.checkout-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.checkout-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #fff;
}

.order-summary {
  background: rgba(31, 31, 31, 0.9);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.order-summary table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.order-summary th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-weight: normal;
}

.order-summary td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.order-summary .total {
  text-align: right;
  font-size: 1.3rem;
  color: #fff;
  padding-top: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.checkout-info {
  background: rgba(31, 31, 31, 0.9);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-info p {
  margin-bottom: 1rem;
  color: #fff;
}

.checkout-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.checkout-actions button {
  background: rgb(138, 0, 0);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.checkout-actions button:hover {
  background: rgb(168, 0, 0);
}

/* Profile Page */
.profile-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.profile-container h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.profile-card {
  background: rgba(31, 31, 31, 0.9);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info {
  margin-bottom: 2rem;
}

.profile-info p {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.1rem;
}

.profile-info strong {
  color: #aaa;
  margin-right: 0.5rem;
}

.profile-actions {
  display: flex;
  gap: 1rem;
}

.profile-actions .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-primary {
  background: rgb(138, 0, 0);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.btn-primary:hover {
  background: rgb(168, 0, 0);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Cart Sidebar */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.cart-overlay.active {
  display: block;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  width: 500px;
  height: 100%;
  background: #000;
  z-index: 1000;
  overflow-y: scroll;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.cart-sidebar-quantity-btn {
  background: transparent;
  padding: 4px;
  border: 1px solid rgba(31, 31, 31, 0.7); 
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-sidebar-quantity-btn:hover {
  background: rgba(31, 31, 31, 0.9);
}
.cart-sidebar-remove {
  background: transparent;
  border: 1px solid rgba(31, 31, 31, 0.7); 
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cart-sidebar-remove:hover {
  background: rgba(31, 31, 31, 0.9);
}

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-sidebar-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-sidebar-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-right: 15px;
}

.cart-sidebar-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.empty-cart-message {
  text-align: center;
  padding: 3rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.empty-cart-message p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.cart-sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.cart-totals {
  margin-bottom: 1.5rem;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-subtotal span:first-child {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.shipping-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-align: center;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.view-cart-btn,
.checkout-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.view-cart-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-cart-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.checkout-btn {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.6);
  color: white;
  border: none;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 1;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-link {
  cursor: pointer;
  position: relative;
}

.checkout-main {
  height: 90.3vh;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.checkout-section {
  background: #000;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
  font-size: 24px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #fff;
  font-weight: 600;
}
  
.order-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.order-summary-item:last-child {
  border-bottom: none;
}

.item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.item-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.item-details p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.item-price {
  font-weight: 600;
  font-size: 18px;
}

.price-breakdown {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #fff;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 16px;
}

.price-row.total {
  font-size: 20px;
  font-weight: 700;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #fff;
}

/* Form Styles */
.user-info-register {
  display: flex;
  justify-content: center;
}

form p {
  font-size: 18px;
  text-align: center;
}

.user-personal-info {
  width: 100%;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Stripe Elements */
.StripeElement {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}

.StripeElement--focus {
  border-color: #fff;
}

.StripeElement--invalid {
  border-color: #ff3860;
}

.card-errors {
  color: #ff3860;
  font-size: 14px;
  margin-top: 8px;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: rgba(31, 31, 31, 0.8);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 20px;
}

.submit-btn:hover {
  background: #333;
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}


.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255, .8);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart h2 {
  margin-bottom: 20px;
}

.continue-shopping-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 20px;
}

.alert {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.return-to-cart {
  display: inline-block;
  margin-bottom: 20px;
  color: #666;
  text-decoration: none;
}

.return-to-cart:hover {
  text-decoration: underline;
}

.shipping-notice {
  margin-top: 8px;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 14px;
  color: #495057;
}

footer {
  width: 100%;
}

.footer-content {
  display: flex;
  align-items: center;
  background-color: rgba(134,13,2, 0.2);
  padding-top: 10px;
  height: 50px;
}

.footer-content p {
  font-size: 20px;
  padding-left: 10px;
}

.footer-content-inner {
  display: flex;
  justify-content:  end;
  align-items: end;
  flex-grow: 1;
  padding-right: 2%;
}

.socials-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.social-icon:hover {
  animation-duration: .5s;
  animation-name: jump;
}

.blank-space-confirmation {
  height: 200px;
}

.confirmation-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
  height: auto;
  margin-bottom: 50px;
  width: 80vw;
  margin-left: 10vw;
}

.actions {
  display: flex;
  margin-top: 50px;
  justify-content: center;
  width: 100%;
}

.actions a {
  padding: 30px;
}

.shipping-info {
  width: 100%;
  margin-bottom: 30px;
}

.shipping-total {
  margin-top: 10px;
}

.order-details {
  margin-top: 50px;
  width: 100%;
}

.detail-row {
  display: flex;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 40px;
}

.detail-row img {
  height: 200px;
  width: 250px;
  margin-right: 20px;
}

.product-detail {
  display: flex;
  align-items: end;
  gap: 50px;
}

@media screen and (max-width: 800px) {
  .parent-main {
    max-height: calc(100vh - 90px);
  }

  .main-content {
    min-height: calc(100vh - 90px);
  }

  .album-name {
    position: fixed;
    left: calc(100vw - 85vw);
    top: calc(100vh - 40vh);
    height: auto;
  }

  .album-name p {
    font-size: 40px;
  }

  .out-now-btn {
    width: 100px;
    position: absolute;
    left: calc(100vw - 63vw);
    top: calc(100vh - 30vh);
    background: transparent;
    border-color: #fff;
    border-width: 1px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    color: #fff;
    padding: 10px;
    transition: border-color 0.3s ease;
  }

  .logo-image {
    display: none;
  }

  .nav-title {
    display: block;
    position: absolute;
    top: 5%;
    left: 10%;
    width: 50vw;
  }


  .hamburger {
    display: flex;
    position: fixed;
    top: 50px;
    right: 20px;
    z-index: 1100;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
  }

  .nav-content {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: -100vh;
    left: 0;
    backdrop-filter: none;
    background-color: #000;
    transition: top 0.3s ease;
  }

  .nav-content.open {
    top: 0;
  }

  .footer-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: rgba(134,13,2, 0.2);
    padding-top: 10px;
    height: 80px;
  }

  .footer-content p {
    font-size: 12px;
    padding-left: 5px;
  }

  .footer-content-inner {
    display: flex;
    justify-content:  end;
    align-items: end;
    flex-grow: 1;
    padding-right: 2%;
  }

  .socials-content {
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

  .top-album-cover {
    height: 50vh;
  }

  .album-title {
    position: absolute;
    width: 50%;
    bottom: 53%;
    left: 25%;
  }

  .streams-list {
    gap: 10px;
    padding: 0;
  }

  .bandcamp-button {
    display: none;
  }

  .more-button {
    margin-left: -10px;
  }

  .album-button { 
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.5s ease;
  }

  .album-cover {
    position: relative;
    border: 2px solid rgba(31, 31, 31, 0.8);
    border-radius: 20px;
    width: 200px;
    height: 200px; 
    margin-bottom: 5px;
    overflow: hidden;
  }

  .product-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 30px;
  }

  .album-container h3 {
    font-size: 22px;
  }
  .the-making-title h3 {
    text-align: center;
    font-size: 28px;
  }

  .products-title h3 {
    font-size: 28px;
  }

  .main-paragraph {
    width: 70%;
  }

  .spotify-embbed-inner {
    width: 85%;
  }

  .photos-section {
    height: 330px;
  }

  .photo-row {
    gap: 1rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  .photo-row img {
    height: 300px;
    max-width: 500px;
  }

  .title-album h3 {
    font-size: 28px;
  }

  .album-content-container {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .blank-space-music {
    height: 80px;
  }

  .container-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
  }
  .video-thumbnail {
    width: 80vw;
    height: 200px;
  }

  #ytPlayer {
    height: 80%;
  }

  .cart-sidebar {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100%;
  }

  .auth-card h2 {
    font-size: 28px;
  }

  .auth-links p {
    font-size: 22px;
  }

  .auth-links a {
    font-size: 22px;
  }

  .blank-space-music {
    height: 50px;
  }

  .flash-messages {
    max-width: 80vw;
  }

  .blank-space-confirmation {
    height: 100px;
  }

  .card-container {
    flex-direction: column;
    width: 80vw;
  }

  .products-grid {
    gap: 1rem;
    padding: 20px;
    height: auto;
    width: 80%;
    margin: 0 auto;
  }

  .cart-sidebar-item-details p {
    font-size: 22px;
  }

  .quantity-controls {
    gap: 5px;
  }

  .quantity-controls p, button {
    font-size: 22px;
  }

  .remove-btn {
    margin-left: 10px;
  }

  .confirmation-container {
    width: 95vw;
    margin-left: 2.5vw;
  }

  .confirmation-container p, a, h1, h2{
    font-size: 18px;
  }

  .actions {
    width: 100%;
  }

  .actions a {
    font-size: 18px;
  }

  .product-detail {
    flex-direction: column;
  }

  .product-detail p {
    font-size: 18px;
  }

  .detail-row img {
    height: 150px;
    width: 150px;
  }

  .shipping-info h3, p {
    font-size: 18px;
  }
}

@keyframes jump {
  0% {
  }

  50% {
    transform: translateY(-2px);
  }

  100% {
  }
}