/* =========================================================
   GLOBAL DESIGN TOKENS
========================================================= */
:root {
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;

  --color-primary: #cc0000;
  --color-primary-dark: #7e1204;
  --color-bg: #f5f5f5;
  --color-surface: #b7b7b7;
  --color-accent: #1f8ec2;
  --color-text: #333;
  --color-border: #ddd;
  --color-anchor: #000000;
  --color-anchor-hover: #f44336;


  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 6px 24px rgba(0, 0, 0, 0.18);

  --transition: all 0.25s ease;
}

/* =========================================================
   GLOBAL STYLES
========================================================= */

body {
  margin: 0;
  padding: 0;
  font: 14px/1.5 "Inter", Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
}

html {
  overflow-y: scroll;
}

/*h1,
h2,
h3 {
  font-weight: 600;
  color: #222;
}
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  /* Or whatever weight you want normal, e.g., 400, 700 */
}

h1 {
  padding-top: 10px;
  font-size: 1.25rem;
}

h2 {
  font-size: 1rem;
}

h3 {
  font-size: .75rem;
}

h4 {
  font-size: .5rem;
}

a {
  color: var(--color-anchor);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  border-radius: var(--radius-sm);
  /*max-width: 100%;
  height: auto;*/
  border: 1px solid black;
  /*var(--color-border);*/
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-md) 0;
}

/* =========================================================
   LAYOUT
========================================================= */
.main-bg {
  background-color: #ffffff;
  border-radius: var(--radius-md);
}

.sub-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: auto;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  width: 100%;
  background: linear-gradient(180deg, #999, #777);
  border-bottom: 3px solid #000;
  color: #fff;
  padding: var(--space-sm) 0;
}

.logo {
  float: left;
  width: 330px;
}

.search-menu {
  float: right;
  width: 300px;
  text-align: right;
  padding-right: 50px;
}
#OuterContainer{
  max-width:1200px;
}
/* =========================================================
   NAVIGATION MENU
========================================================= */

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: var(--space-md);
  background: #b7b7b7;
  /*var(--color-surface);*/
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: #000;
}

.menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  /*color: #ffffff;*/
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.menu a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* =========================================================
   CARDS
========================================================= */


.bg-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding-top: 10px;
}

.sales-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding-top: 10px;
}

/* Hover: color/shadow only (no movement) */

.bg-card:hover {
  box-shadow: var(--shadow-md);
}

/*
.card-body {
  background-color: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-md);
}
.card-body:hover {
  box-shadow: var(--shadow-md);
}
.card-title{
  padding: 5px;
} */
.poster-title {
  font-weight: 600;
  margin-top: var(--space-sm);
}

.side-thumbs,
.row-thumbs {
  text-align: center;
  margin: var(--space-md) 0;
  font-size: 0.9rem;
  padding: var(--space-sm) 0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

/* Side thumbs: only color change on hover */
.side-thumbs:hover {
  background: #fafafa;
  box-shadow: var(--shadow-sm);
}

.mountboard-card {
  /*transition: transform 0.2s ease, box-shadow 0.2s ease;*/
  /*height: 100%;*/
  border-radius: var(--radius-md);

  background-color: var(--color-surface);
  color: var(--color-text);
  padding: 20px;

}

.mountboard-card:hover {
  /*transform: translateY(-5px);*/
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: #8c8c8c;
  color: #ffffff;
}

.mountboard-card img {
  transition: transform 0.3s ease;
}

.mountboard-card p {
  text-align: center;
  color: #000000;
}

/*.mountboard-card:hover img {
  
  transform: scale(1.05);
}*/

.mountboard-title {
  padding-top: 10px;
}


/* =========================================================
   TABLES & CART
========================================================= */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

th,
td {
  border: 1px solid #000;
  padding: 8px;
  text-align: center;
}

.cart-summary {
  background-color: #f8f8f8;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.cart-summary .total {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-accent);
}

.cart-footer,
.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
}

/* =========================================================
   BUTTONS
========================================================= */

button,
.btn-primary,
.cta-btn {
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary,
.cta-btn {
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.cta-btn:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.delete-btn {
  background-color: #f44336;
}

.delete-btn:hover {
  background-color: #d32f2f;
}

.nav-btn.disabled {
    opacity: 0.5;              /* Makes it look dimmed */
    pointer-events: none;      /* Disables clicks */
    cursor: default;           /* Changes the cursor */
    filter: grayscale(100%);   /* Optional: makes the icon gray */
}

/* =========================================================
   CAROUSEL
========================================================= */

#featuredCarousel .carousel {
  /*height: 230px;*/
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#featuredCarousel .carousel-indicators {
  bottom: -20px;
  border-radius: var(--radius-sm);
}

#featuredCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border: 3px solid white; 
  border-radius: 50%;
  background-color: #bbb;
  transition: var(--transition);
}

#featuredCarousel .carousel-indicators .active {
  background-color: #fff;
}

.carousel-control-prev-icon {
  background-image: url('/arrow-left.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 2rem;
  height: 2rem;
}

.carousel-control-next-icon {
  background-image: url('/arrow-right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 2rem;
  height: 2rem;
}

.product-nav-bar {
  background: rgba(255, 255, 255, 0.95);
  /*backdrop-filter: blur(10px);*/
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
  text-decoration: none;
}

.nav-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #333;
}

.nav-btn:active {
  transform: translateY(0);
}

.nav-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
}

.nav-btn {
  position: relative;
}

.nav-btn[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1000;
}

.nav-btn[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: #333;
  z-index: 1001;
}

.nav-btn:focus-visible {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* =========================================================
   MODALS
========================================================= */

.imageModal .modal-content {
  background-color: #000;
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

        /* Desktop styles */
        @media (min-width: 577px) {
            #imageModal .modal-dialog {
                max-width: 70vw;
            }
        }

        /* Mobile styles */
        @media (max-width: 576px) {
            #imageModal .modal-dialog {
                max-width: 95vw;
                margin-left: auto !important;
                margin-right: auto !important;
            }

            #imageModal .modal-body {
                padding: 0.5rem;
            }
        }

        @media (min-width: 577px) {
            #contactModal .modal-dialog {
                max-width: 70vw;
            }
        }

        /* Mobile styles */
       @media (max-width: 576px) {
            #contactModal .modal-dialog {
                max-width: 95vw;
                margin-left: auto !important;
                margin-right: auto !important;
            }

            #contactModal .modal-body {
                padding: 0.5rem;
            }
        }




/* =========================================================
   FORMS
========================================================= */

.form-select {
  line-height: .75;
}

.form-control {
  line-height: .75;
  font-size: .75rem;
}

.form-select {
  line-height: 1;
  font-size: .75rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .wrapper {
    padding: 0 var(--space-sm);
  }

  .col-md-6,
  .col-md-3 {
    width: 100%;
    margin-bottom: var(--space-md);
  }

  .search-menu {
    width: 100%;
    padding-right: 0;
    text-align: center;
  }
}