/* ==========================================================================
   MAGAZINE STYLES - BEM METHODOLOGY & BOOTSTRAP 5 TOKENS
   ========================================================================== */

/* Base Variables & Bootstrap Override */
:root {
  /* Bootstrap 5 Custom Tokens */
  --bs-primary: #000000;
  --bs-secondary: #6c757d;
  --bs-dark: #000000;
  --bs-light: #f8f9fa;
  --bs-white: #ffffff;
  --bs-gray-100: #f8f9fa;
  --bs-gray-900: #212529;

  /* Custom Brand Tokens */
  --penthouse-black: #000000;
  --penthouse-white: #ffffff;
  --penthouse-gray: #999999;
  --penthouse-shadow: rgba(0, 0, 0, 0.15);

  --bs-btn-active-bg: var(--bs-primary:);

  /* Typography Tokens */
  --font-primary: 'Roboto', sans-serif;
  --font-serif: 'Prata', serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing Tokens */
  --spacing-xs: 0.25rem;
  /* 4px */
  --spacing-sm: 0.5rem;
  /* 8px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-xxl: 3rem;
  /* 48px */

  /* Border Radius Override */
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
}

::selection {
  background-color: black;
  color: white;
}

/* Para compatibilidad con Firefox */
::-moz-selection {
  background-color: black;
  color: white;
}

/* Global Overrides */
* {
  font-family: var(--font-primary);
}

/* Remove all border radius */
.btn,
.card,
.dropdown-menu,
.form-control,
.nav-tabs .nav-link,
.tab-pane,
.modal-content,
.alert {
  border-radius: 0 !important;
}

/* ==========================================================================
   HEADER COMPONENT - BEM
   ========================================================================== */

body {

  font-size: 16px;
  color: var(--penthouse-black);
  scroll-behavior: smooth;

}

.bg-gray {
  background-color: var(--bs-gray-100);

}

/* Block: header */
.header {
  background-color: var(--penthouse-black);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-xl);
  position: relative;
  position: sticky;
  top: 0;
  z-index: 100;
}

.Playfair {
  font-family: var(--font-display);
}



/* Element: header__section */
.header__section {
  display: flex;
  align-items: center;
  flex: 1;
}

.header__section--left {
  gap: var(--spacing-md);
}

.header__section--center {
  justify-content: center;
}

.header__section--right {
  gap: var(--spacing-lg);
  justify-content: flex-end;
}

/* Element: header__icon */
.header__icon {
  height: 30px;
  width: auto;
}

/* Element: header__logo */
.header__logo {
  color: var(--penthouse-white);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.header__logo:hover {
  color: var(--penthouse-white);
}

.header__logo img {
  height: 55px;
  width: auto;
}

/* ==========================================================================
   BUTTON COMPONENT - BEM
   ========================================================================== */

/* Block: btn-custom */
.btn-custom {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}

.bg-dark {
  background-color: var(--penthouse-black) !important;
}

/* Element & Modifier: btn-custom--icon */
.btn-custom--icon {
  background: none;
  color: var(--penthouse-white);
  font-size: 1.125rem;
  padding: var(--spacing-sm);
}

.btn-custom--icon:hover {
  opacity: 1;
}

/* Element & Modifier: btn-custom--search */
.btn-custom--search {
  color: var(--penthouse-white);
  font-size: 1.25rem;
}

.btn-custom--search:hover {
  opacity: 1;
  color: #fff;
}

/* Element & Modifier: btn-custom--signup */
.btn-custom--signup {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 1px solid var(--penthouse-white);
  font-size: 0.875rem;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: solid 1px transparent;
  outline-offset: 1px;

}

.btn-custom--signup:hover {
  background-color: var(--bs-gray-100);
  color: var(--penthouse-black);
  transition: all 0.2s ease;
  outline: solid 1px white;
  outline-offset: 1px;

}


/* Element & Modifier: btn-custom--login */
.btn-custom--login {
  background-color: transparent;
  color: var(--penthouse-white);
  border: 1px solid transparent;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  padding: var(--spacing-sm) var(--spacing-lg);
  white-space: nowrap;
}

.btn-custom--login:hover {
  background-color: #333;
  border: 1px solid #333;

}

/* Element & Modifier: btn-custom--mobile-menu */
.btn-custom--mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--penthouse-white);
  font-size: 1.5rem;
  padding: var(--spacing-xs);
  width: 30px;
}

.pet-slider {
  background-color: #000;
  background-size: 420px;
  background-position: right top;
  background-repeat: no-repeat;
  height: auto;
  padding: 4rem 0;
}

.pet-slider {
  color: var(--penthouse-white);
}

.pet-slider .magazine-content__title {
  color: var(--penthouse-white);

}

/* ==========================================================================
   LOGIN DROPDOWN COMPONENT - BEM
   ========================================================================== */

/* Block: login-dropdown */
.login-dropdown {
  position: relative;
  display: inline-block;
}

/* Element: login-dropdown__menu */
.login-dropdown__menu {
  position: absolute;
  top: 70px;
  right: 0;
  background-color: var(--penthouse-black);
  width: 300px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 20px var(--penthouse-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-radius: 0;
}



/* Element: login-dropdown__title */
.login-dropdown__title {
  color: var(--penthouse-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 2px;
  text-align: center;
  border-bottom: solid 2px var(--penthouse-white);
  padding-bottom: var(--spacing-md);
  text-transform: uppercase;
}

/* Element: login-dropdown__form */
.login-dropdown__form input {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border: none;
  background-color: var(--penthouse-white);
  font-size: 0.875rem;
  outline: none;
  box-sizing: border-box;
  border-radius: 0;
}

.login-dropdown__form input::placeholder {
  color: var(--penthouse-gray);
  font-size: 0.75rem;
}

/* Element: login-dropdown__password-field */
.login-dropdown__password-field {
  position: relative;
}

.login-dropdown__password-field input {
  padding-right: 40px;
}

/* Element: login-dropdown__password-toggle */
.login-dropdown__password-toggle {
  position: absolute;
  right: var(--spacing-sm) var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-top: calc(-1 * var(--spacing-sm));
}

/* Element: login-dropdown__submit */
.login-dropdown__submit {
  width: 100%;
  background-color: transparent;
  color: var(--penthouse-white);
  border: 1px solid var(--penthouse-white);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: var(--spacing-md);
  transition: all 0.3s ease;
  border-radius: 0;
}

.login-dropdown__submit:hover {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
}

/* Element: login-dropdown__links */
.login-dropdown__links {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
}

.login-dropdown__links a {
  color: var(--penthouse-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-dropdown__links a:hover {
  color: var(--penthouse-white);
}

/* ==========================================================================
   MOBILE MENU COMPONENT - BEM
   ========================================================================== */

/* Block: mobile-menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--penthouse-black);
  border-top: 1px solid var(--bs-secondary);
  z-index: 1000;
}

/* Modifier: mobile-menu--active */
.mobile-menu--active {
  display: block;
}

/* Element: mobile-menu__content */
.mobile-menu__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

/* Element: mobile-menu__search */
.mobile-menu__search {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  background-color: var(--penthouse-white);
  font-size: 0.875rem;
  outline: none;
  border-radius: 0;
}

/* Element: mobile-menu__buttons */
.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu__buttons .btn-custom--signup,
.mobile-menu__buttons .btn-custom--login {
  width: 100%;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.75rem;
}

/* Element: mobile-menu__login-section */
.mobile-menu__login-section .login-dropdown__title {
  margin-top: var(--spacing-lg);
  text-transform: uppercase;
}

/* ==========================================================================
   TAB COMPONENT - BEM
   ========================================================================== */

/* Block: magazine-tabs */
.magazine-tabs {
  border: 0;
}

/* Element: magazine-tabs__item */
.magazine-tabs__item {
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__link */
.magazine-tabs__link {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__card */
.magazine-tabs__card {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Element: magazine-tabs__footer */
.magazine-tabs__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

/* Modifier: magazine-tabs__footer--penthouse (default state - inactive) */
.magazine-tabs__footer--penthouse {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

/* Modifier: magazine-tabs__footer--letters (default state - inactive) */
.magazine-tabs__footer--letters {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

/* Active states - Tab activa = fondo negro */
.magazine-tabs__link.active .magazine-tabs__footer--penthouse {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

.magazine-tabs__link.active .magazine-tabs__footer--letters {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* ==========================================================================
   CONTENT SECTION - BEM
   ========================================================================== */

/* Block: magazine-content */
.magazine-content {
  padding: var(--spacing-xxl) 0;
  min-height: 600px;
}

/* Element: magazine-content__header */
.magazine-content__header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

/* Element: magazine-content__title */
.magazine-content__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--spacing-lg);
  color: #000000;
}

/* Element: magazine-content__description */
.magazine-content__description {
  margin: 0 auto;
}

/* ==========================================================================
   FILTERS COMPONENT - BEM
   ========================================================================== */

/* Block: filters */
.filters {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xxl);
}

/* Element: filters__group */
.filters__group {
  display: flex;
  align-items: center;
}

.filters__group--right {
  margin-left: auto;
}

/* Element: filters__label */
.filters__label {
  color: var(--bs-secondary);
  text-transform: uppercase;
  font-weight: 500;
  align-self: center;
  margin-right: var(--spacing-md);
}

/* Element: filters__dropdown */
.filters__dropdown .btn {
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  min-width: 120px;
  border-radius: 0;
}

.filters__dropdown .btn:hover {
  border: 2px solid var(--penthouse-black);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  min-width: 120px;
  border-radius: 0;
  background-color: transparent;
}

.filters__dropdown .btn-check:checked+.btn,
.filters__dropdown .btn.active,
.filters__dropdown .btn.show,
.filters__dropdown .btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: transparent;

}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: #000000;
  border-color: #000000;
}

/* Element: filters__radio */
.filters__radio .btn {
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 1px;
  border-radius: 0;
}

.filters__radio .btn:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

.filters__radio .btn.active {
  background-color: var(--penthouse-black);
  border-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* ==========================================================================
   MAGAZINE GRID COMPONENT - BEM - FIXED WITH GAP
   ========================================================================== */

/* Block: magazine-grid - Added gap support */
.magazine-grid {}

/* Element: magazine-grid__item */
.magazine-grid__item .card {
  border: 0;
  border-radius: 0;
  margin: 0;
  /* Remove any default margins */
  transition: all 0.3s ease;

}

/* Element: magazine-grid__image-container */
.magazine-grid__image-container {
  position: relative;
  transition: all 0.3s ease;

}

.magazine-grid__image-container img {
  border-radius: 0;
  transition: all 0.3s ease;

}



/* Element: magazine-grid__title */
.magazine-grid__title {
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;

}

/* Element: magazine-grid__date */
.magazine-grid__date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: all 0.3s ease;

}

.magazine-grid__image-container {
  overflow: hidden;
  transition: all 0.3s ease;

}

/* Element: magazine-grid__overlay */
.magazine-grid .card .magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;

}


.carousel-item {
  position: relative;
}

#petPlayoffCarousel .magazine-grid__overlay {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  top: 100%;
  transition: all 0.2s ease-in;

}

.carousel-control-prev {
  left: -50px;
}

.carousel-control-next {
  right: -50px;
}

.carousel-indicators {
  top: 108%;
}



.magazine-grid .card {
  min-height: 300px;
  background-color: var(--bs-gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
  border: solid 1px transparent;

}

.magazine-grid .card:hover {
  transform: scale(1.06);
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);

}

.magazine-grid .card:active {
  transform: scale(0.95);
  transition: all 0.3s ease;

}



.magazine-grid .card:hover .magazine-grid__overlay {
  top: calc(100% - 70px);

  opacity: 1;
  transition: all 0.2s ease-out;

}


.fa-eye {
  position: absolute;
  left: -25px;
  top: -7px;
}

.fa-eye-slash {
  position: absolute;
  left: -26px;
  top: -7px;
}

/* ==========================================================================
   RESPONSIVE - BOOTSTRAP 5 BREAKPOINTS
   ========================================================================== /* Large devices (lg - 992px and up) */

/* Large devices (lg - 992px and up) */
@media (max-width: 1400px) {

  .pet-slider {
    background-color: #000;
    background-image: none;
    background-size: auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    height: auto;
    padding: 4rem 0;
  }
}

/* Large devices (lg - 992px and up) */
@media (max-width: 1199.98px) {
  .header {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .carousel-item .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .carousel-control-prev {
    left: 0px;
  }

  .carousel-control-next {
    right: 0px;
  }

  .header__logo {
    font-size: 1.75rem;
    letter-spacing: 4px;
  }

  .header__section--right {
    gap: var(--spacing-md);
  }

  .btn-custom--signup {
    font-size: 0.75rem;
    padding: 6px var(--spacing-md);
  }

  .btn-custom--login {
    font-size: 0.625rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .login-dropdown__menu {
    width: 280px;
    padding: var(--spacing-lg);
  }
}

/* Medium devices (md - 768px and up) */
@media (max-width: 991.98px) {
  .header {
    padding: var(--spacing-md);
    flex-wrap: wrap;
  }


  .header__icon {
    height: 25px;
  }

  .header__logo {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .header__logo img {
    height: 35px;
  }

  /* Hide desktop elements on mobile */

  .btn-custom--signup,
  .login-dropdown {
    display: none;
  }

  /* Show mobile menu button */
  .btn-custom--mobile-menu {
    display: block;
  }

  .login-dropdown__menu {
    width: 260px;
    padding: var(--spacing-md);
    right: -10px;
  }

  .login-dropdown__title {
    font-size: 1.25rem;
    text-transform: uppercase;
  }

  .magazine-tabs__card {
    height: 250px;
  }

  .magazine-tabs__footer {
    font-size: 1rem;
    height: 50px;
  }

  /* Adjust gap for smaller screens */
  .magazine-grid {}
}

/* Small devices (sm - 576px and up) */
@media (max-width: 767.98px) {
  .header {
    padding: var(--spacing-sm);
  }

  .header__section--left {
    gap: var(--spacing-md);
  }

  .header__icon {
    height: 20px;
  }


  .magazine-grid .card:hover .magazine-grid__overlay {
    top: calc(100% - 70px);
    opacity: 1;
    transition: all 0.2s ease-out;

  }

  .header__logo {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }

  .header__logo img {
    height: 30px;
  }

  .header__section--right {
    gap: var(--spacing-md);
  }

  .mobile-menu__content {
    padding: var(--spacing-md);
  }

  .login-dropdown__menu {
    width: 240px;
    right: -20px;
  }

  .magazine-tabs__card {
    height: 200px;
  }



  .filters {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .filters__group--right {
    margin-left: 0;
  }

  /* Further adjust gap for mobile */
  .magazine-grid {}
}

/* Extra small devices (xs - less than 576px) */
@media (max-width: 575.98px) {
  .header__logo {
    font-size: 1.125rem;
    letter-spacing: 1px;
  }

  .header__logo img {
    height: 35px;
  }

  .login-dropdown__menu {
    width: 220px;
    right: -30px;
  }



  .filters__radio .btn {
    font-size: 0.625rem;
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  /* Minimal gap for very small screens */
  .magazine-grid {}
}



/* ==========================================================================
   TAB COMPONENT - BEM - FIXED WITH INVERT FILTER
   ========================================================================== */

/* Block: magazine-tabs */
.magazine-tabs {
  border: 0;
}

/* Element: magazine-tabs__item */
.magazine-tabs__item {
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__link */
.magazine-tabs__link {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* Element: magazine-tabs__card */
.magazine-tabs__card {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Element: magazine-tabs__footer */
.magazine-tabs__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

/* Modifier: magazine-tabs__footer--penthouse (default state - inactive) */
.magazine-tabs__footer--penthouse {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

.magazine-tabs__footer--penthouse img {
  transition: filter 0.3s ease;
  filter: none;
  /* Default state - no filter */
}

/* Modifier: magazine-tabs__footer--letters (default state - inactive) */
.magazine-tabs__footer--letters {
  background: rgba(255, 255, 255, 0.95);
  color: var(--penthouse-black);
}

.magazine-tabs__footer--letters img {
  transition: filter 0.3s ease;
  filter: none;
  /* Default state - no filter */
}

/* Active states - Tab activa = fondo negro + filtro invert */
.magazine-tabs__link.active .magazine-tabs__footer--penthouse {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

.magazine-tabs__link.active .magazine-tabs__footer--penthouse img {
  filter: invert(0);
  /* Invierte los colores cuando está activa */
}

.magazine-tabs__link.active .magazine-tabs__footer--letters img {
  filter: invert(1);
}

.magazine-tabs__link.active .magazine-tabs__footer--letters {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
}

.magazine-tabs__link .magazine-tabs__footer--penthouse img {
  filter: invert(1);
  /* Invierte los colores cuando está activa */
}


/* Block: footer */
.footer {
  background-color: var(--penthouse-white);
  padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
  border-top: solid 2px #000;
}

/* Newsletter styles */
.footer__newsletter-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-sm);
}

.footer__newsletter-description {
  font-size: 0.875rem;
  line-height: 1.4;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
  margin: 0 auto;
}

.footer__newsletter-input {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--penthouse-black) !important;
  border-right: none;
  border-radius: 0;
  font-size: 0.875rem;
  outline: none;
  background-color: var(--penthouse-white);
}

.footer__newsletter-input::placeholder {}

.footer__newsletter-input:focus {
  box-shadow: none;
  border-color: var(--penthouse-black);
}

.footer__newsletter-button {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  white-space: nowrap;
}

.footer__newsletter-button:hover {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
}

.footer__disclaimer {
  font-size: 0.625rem;
  color: var(--penthouse-gray);
  margin-top: var(--spacing-sm);
  line-height: 1.3;
}

.footer__disclaimer input[type="checkbox"] {
  margin-right: var(--spacing-xs);
}

/* Magazine covers */
.footer__magazine-covers {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer__magazine-covers img {
  width: 180px;
  height: auto;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
  position: absolute;
  border: solid 2px #000000;
}

.footer__magazine-covers img:last-child {
  margin-left: 80px;
  margin-top: 80px;
}

.footer__magazine-covers img:hover {
  transform: scale(1.05);
}

/* Buttons */
.footer__button {
  background-color: transparent;
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  text-decoration: none;
  display: block;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.footer__button:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* Navigation styles */
.footer__section-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-list li {
  margin-bottom: var(--spacing-sm);
}

.footer__nav-list a {
  color: var(--penthouse-black);
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer__nav-list a:hover {
  color: var(--penthouse-gray);
}

.footer__nav-list i {
  font-size: 1.125rem;
  width: 20px;
}

/* Sites dropdown */
.footer__sites-dropdown .btn {
  background-color: transparent;
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 0;
  padding: var(--spacing-sm) var(--spacing-md);
  width: 100%;
}

.footer__sites-dropdown .btn:hover,
.footer__sites-dropdown .btn:focus {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border-color: var(--penthouse-black);
  box-shadow: none;
}

.footer__sites-dropdown .dropdown-menu {
  border-radius: 0;
  border: 2px solid var(--penthouse-black);
  margin-top: -2px;
  width: 100%;
}

.display-7 {
  font-size: 2.1rem;
}

.footer__sites-dropdown .dropdown-item {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

.footer__sites-dropdown .dropdown-item:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
}

/* Copyright */
.footer__copyright {
  text-align: center;
  font-size: 0.625rem;
  color: var(--penthouse-gray);
  padding-top: var(--spacing-lg);
  border-top: solid 2px #000;
  margin-top: var(--spacing-xl);
}

/* Responsive */
@media (max-width: 991.98px) {
  .footer {
    padding: var(--spacing-xl) 0;
  }

  .nav-tabs .nav-link {

    border: 0;
  }

  .footer__newsletter-form {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer__newsletter-button {
    width: 100%;
  }

  .footer__magazine-covers {
    justify-content: center;
    margin-bottom: var(--spacing-md);
  }


}

@media (max-width: 1180px) {
  .footer__magazine-covers img {

    position: relative;
    width: 100%;
  }

  .footer__magazine-covers img:last-child {
    margin-left: 0;
    margin-top: 0;
  }

}

@media (max-width: 768px) {
  .footer__magazine-covers {
    display: flex;
    align-content: stretch;
    flex-direction: row !important;
    justify-content: space-between;
  }

  .footer .container-fluid {
    padding: 0 !important;
  }



  .footer__magazine-covers img {

    position: relative;
    width: 48%;
  }

  .footer__magazine-covers img:last-child {
    margin-left: 0;
    margin-top: 0;
  }
}

.breadcrumb {
  font-size: 12px;
}

.breadcrumb a {
  font-size: 12px;
  color: var(--penthouse-black);
  text-decoration: none;
}

.pet-slider .magazine-content__title {
  color: var(--penthouse-white);
}

/* Swiper Container */
.swiper {
  width: 100%;
  height: auto;
  padding-bottom: 80px;
  /* Espacio para pagination */
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Magazine Item Styles */
.magazine-item {
  position: relative;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.magazine-item img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Magazine Grid Overlay - Inicialmente oculto */
.magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

/* Hover effect - Solo overlay aparece */
.magazine-item:hover .magazine-grid__overlay {
  top: calc(100% - 70px);
  opacity: 1;
  transition: all 0.2s ease-out;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

/* Hover effect - Overlay aparece */
.magazine-item:hover .magazine-grid__overlay {
  top: calc(100% - 80px);
  opacity: 1;
  transition: all 0.2s ease-out;
}

.magazine-grid__title {
  font-weight: bold;
  font-size: 1rem;
}

.magazine-grid__date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--penthouse-white);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-top: -25px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive adjustments for buttons */
@media (max-width: 1199.98px) {
  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .pet-slider {


    height: auto;
    max-height: auto !important;

  }
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  margin-top: -50px;
}

@media (max-width: 767.98px) {

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: -50px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px;
  }
}

/* Swiper Pagination */
.swiper-pagination {
  bottom: 20px;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--penthouse-white);
  opacity: 1;
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: var(--penthouse-white);
}

/* Container adjustments */
.pet-slider .container {
  position: relative;
}

/* Responsive padding */
@media (max-width: 767.98px) {
  .pet-slider {
    padding: 2rem 0 8rem;
  }
}


/* ==========================================================================
   BOOTSTRAP 5 DROPDOWN MENU STYLES - MAGAZINE THEME
   ========================================================================== */

/* Dropdown Menu Container */
.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--penthouse-black);
  text-align: left;
  list-style: none;
  background-color: var(--penthouse-white);
  background-clip: padding-box;
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  box-shadow: 0 4px 20px var(--penthouse-shadow);
}

/* Dropdown Menu Show State */
.dropdown-menu.show {
  display: block;
}

/* Dropdown Menu List Items */
.dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Dropdown Menu Items */
.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  clear: both;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--penthouse-black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  transition: all 0.3s ease;
}

/* Dropdown Item Hover State */
.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--penthouse-white);
  background-color: var(--penthouse-black);
  text-decoration: none;
}

/* Dropdown Item Active State */
.dropdown-item.active,
.dropdown-item:active {
  color: var(--penthouse-white);
  background-color: var(--penthouse-black);
  text-decoration: none;
}

/* Dropdown Item Disabled State */
.dropdown-item.disabled,
.dropdown-item:disabled {
  color: var(--bs-gray-400);
  pointer-events: none;
  background-color: transparent;
}

/* Remove focus outline for better visual consistency */
.dropdown-item:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--penthouse-black);
}

/* Dropdown Divider (if needed) */
.dropdown-divider {
  height: 0;
  margin: var(--spacing-xs) 0;
  overflow: hidden;
  border-top: 1px solid var(--bs-gray-200);
}

/* Dropdown Header (if needed) */
.dropdown-header {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: 0;
  font-size: 0.75rem;
  color: var(--bs-gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.petPlayoffSwiper {
  visibility: hidden;
  opacity: 0;
}


.petPlayoffSwiper .swiper-button-next:after,
.petPlayoffSwiper .swiper-button-prev:after {
  display: none;
}

.petPlayoffSwiper .swiper-button-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f061";
  /* chevron-right */
}

.petPlayoffSwiper .swiper-button-prev:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f060";
  /* chevron-left */
}


/* Solo estilos específicos para el layout de magazine */
.magazine-layout {
  min-height: calc(100vh - 60px);
}

/* Desktop styles */
.images-column {
  padding: 0;
  overflow: auto;
  height: 100vh;
  max-height: calc(100vh - 88px);
  ;
}

/* ==========================================================================
   CUSTOM SCROLLBAR STYLES - BLACK & THIN
   ========================================================================== */

/* Webkit Browsers (Chrome, Safari, Edge) */
.images-column::-webkit-scrollbar {
  width: 8px;
  /* Ancho del scrollbar vertical */
  height: 8px;
  /* Alto del scrollbar horizontal */
}

.images-column::-webkit-scrollbar-track {
  background: transparent;
  /* Fondo transparente del track */
  border-radius: 0;
  /* Sin bordes redondeados */
}

.images-column::-webkit-scrollbar-thumb {
  background: #000000;
  /* Color negro del thumb */
  border-radius: 0;
  /* Sin bordes redondeados para mantener estilo magazine */
  border: none;
  /* Sin bordes */
}

.images-column::-webkit-scrollbar-thumb:hover {
  background: #333333;
  /* Color ligeramente más claro al hacer hover */
}

.images-column::-webkit-scrollbar-thumb:active {
  background: #000000;
  /* Vuelve al negro puro cuando está activo */
}

.images-column::-webkit-scrollbar-corner {
  background: transparent;
  /* Esquina transparente */
}

/* Firefox */
.images-column {
  scrollbar-width: thin;
  /* Scrollbar delgado */
  scrollbar-color: #000000 transparent;
  /* Negro con fondo transparente */
}

/* Alternativa extra delgada para webkit (opcional) */
.images-column.scrollbar-extra-thin::-webkit-scrollbar {
  width: 4px;
  /* Aún más delgado */
  height: 4px;
}

/* Scrollbar que aparece solo en hover (opcional) */
.images-column.scrollbar-on-hover {
  scrollbar-width: none;
  /* Oculta en Firefox por defecto */
}

.images-column.scrollbar-on-hover::-webkit-scrollbar {
  width: 0px;
  /* Oculta en webkit por defecto */
}

.images-column.scrollbar-on-hover:hover {
  scrollbar-width: thin;
  /* Muestra en Firefox en hover */
}

.images-column.scrollbar-on-hover:hover::-webkit-scrollbar {
  width: 8px;
  /* Muestra en webkit en hover */
}

/* Variante con borde para mayor contraste (opcional) */
.images-column.scrollbar-bordered::-webkit-scrollbar-thumb {
  background: #000000;
  border: 1px solid #ffffff;
  /* Borde blanco */
  border-radius: 0;
}

/* Scrollbar adaptable al tema (opcional) */
.images-column.scrollbar-adaptive::-webkit-scrollbar-thumb {
  background: var(--penthouse-black, #000000);
}

.images-column.scrollbar-adaptive::-webkit-scrollbar-thumb:hover {
  background: var(--penthouse-gray, #333333);
}

/* Para dark mode (opcional) */
@media (prefers-color-scheme: dark) {
  .images-column.scrollbar-auto::-webkit-scrollbar-thumb {
    background: #ffffff;
    /* Blanco en dark mode */
  }

  .images-column.scrollbar-auto {
    scrollbar-color: #ffffff transparent;
    /* Blanco en Firefox dark mode */
  }
}

.content-column {
  position: inherit;
  top: 88px;
  height: auto;
  display: inline;
  padding: 0rem;
  background-color: #ffffff;
  padding: 3rem;
  padding-top: 5rem;
}

.content-column-breadcrum {
  padding-top: 30px;
  text-align: center;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}



/* Images always full height and vertical */
.image-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  height: 100vh;
  display: inline;
  width: auto;
}



.image-item img {
  width: 100%;
  object-fit: contain;
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 20%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 10;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.magazine-info {
  max-width: 100%;
}

.magazine-subtitle {
  margin-bottom: 0.5rem;
}

.magazine-title {
  font-size: 3rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.cover-info {
  margin-bottom: 1.5rem;
}

.cover-label {
  font-size: 1rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cover-name {
  font-size: 2rem;
  font-weight: 900;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.pet-info {
  font-size: 1.125rem;
  color: #000000;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.magazine-description {
  margin-bottom: 2rem;
  font-size: 20px;
  max-width: 800px;
}

.categories {
  margin-bottom: 2rem;
}

.categories a {
  text-decoration: none;
  margin-right: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #000000;
  padding: 2px 4px;
  transition: all 0.2s ease;



}

.categories a:hover {
  background-color: #000000;
  color: #ffffff;
  transition: all 0.2s ease;

}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-penthouse {
  padding: 12px 24px;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 3.5rem;

}

.btn-penthouse--primary {
  background-color: #000000;
  color: #ffffff;
  padding: 0.5rem 3.5rem;
  outline: solid 1px transparent;
  outline-offset: 1px;
  transition: all 0.2s ease;
  border: 2px solid #000000;


}

.btn-penthouse--primary i {
  left: 0px;
  position: relative;
  transition: all 0.2s ease;

}

.btn-penthouse--primary:hover i {
  left: 5px;
  transition: all 0.2s ease;

}

.btn-penthouse--primary:hover {
  background-color: #000;
  color: #ffffff;
  outline: solid 1px #000;
  outline-offset: 1px;
  transition: all 0.2s ease;

}

.btn-penthouse--secondary {
  background-color: white;
  color: #000000;
  border: 2px solid #000000;
  outline: solid 1px transparent;
  outline-offset: 1px;
}

.btn-penthouse--secondary:hover {
  background-color: #000000;
  color: #ffffff;
  outline: solid 1px #000;
  outline-offset: 1px;
}



/* Responsive: Mobile y Tablet */
@media (max-width: 991.98px) {
  .magazine-layout .row {
    flex-direction: column;
  }

  /* Content column goes first */
  .content-column {
    position: inherit;
    height: auto;
    padding: 2rem 1.5rem;
    order: 1;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Images column goes second */
  .images-column {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Images maintain full height and vertical format */
  .image-item {
    height: 100vh;
    width: 100%;
  }

  .image-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    aspect-ratio: 2/3;
  }

  .scroll-indicator {
    left: 50%;
  }

  .magazine-title {
    font-size: 2.5rem;
  }

  .cover-name {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .content-column {
    padding: 1.5rem 1rem;
  }

  .breadcrumb {
    font-size: 12px;
    position: relative;
    top: -5px;
  }

  .image-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 100vh;
    display: flex;
    width: auto;
    flex-wrap: nowrap;
    align-content: flex-start;
    flex-direction: column;
  }

  .magazine-title {
    font-size: 2rem;
  }

  .cover-name {
    font-size: 1.25rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn-penthouse {
    width: 100%;
    justify-content: center;
  }

  /* Images still maintain full height and vertical format */
  .image-item {
    height: auto;
    width: 100%;
  }

  .image-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }


}

/* Estilos personalizados para tooltips */
.tooltip {
  --bs-tooltip-max-width: 200px;
  --bs-tooltip-opacity: 1;
}

.tooltip .tooltip-inner {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: none;
  width: auto;
}

.tooltip-opacity img {
  opacity: 1 !important;
}

.tooltip .tooltip-inner img {
  width: 180px;
  height: auto;
  min-height: 200px;
  display: block;
  border-radius: 0;
  opacity: 1 !important;

}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--penthouse-black);
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--penthouse-black);
}

/* Variante con borde blanco para fondo oscuro */
.tooltip-white .tooltip-inner {
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-white);
}

.tooltip-white.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--penthouse-white);
}

.tooltip-white.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--penthouse-white);
}


/* Legacy Section Styles */
.legacy-section {
  min-height: 100vh;
}

.legacy-section__header {
  margin-bottom: var(--spacing-xxl);
}

.legacy-section__main-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
  color: rgb(0, 0, 0);
}

.legacy-section__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--penthouse-black);
  margin-bottom: 0;
}



.legacy-section__item {
  margin-bottom: var(--spacing-xxl);
  border-bottom: 2px solid var(--penthouse-black);
  padding-bottom: var(--spacing-lg);
}

.legacy-section__item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legacy-section__item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-md);
  text-transform: none;
}

.legacy-section__item-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--penthouse-black);
  margin-bottom: 0;
  max-width: 90%;
}

.legacy-section__image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.legacy-section__device {
  position: relative;
}

.legacy-section__device--tablet {
  z-index: 2;
}

.legacy-section__device--phone {
  position: absolute;
  right: -20px;
  top: 50px;
  z-index: 3;
  width: 60%;
}

.legacy-section__device img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
  .legacy-section__main-title {}

  .legacy-section__content {
    padding-left: var(--spacing-lg);
  }
}

@media (max-width: 991.98px) {
  .legacy-section {
    padding: var(--spacing-xl) 0;
  }

  .legacy-section__header {
    margin-bottom: var(--spacing-xl);
  }

  .legacy-section__main-title {}

  .legacy-section__content {
    padding-left: 0;
    margin-top: var(--spacing-xl);
  }

  .legacy-section__item-description {
    max-width: 100%;
  }

  .legacy-section__device--phone {
    right: -10px;
    top: 30px;
  }
}

@media (max-width: 767.98px) {
  .legacy-section__main-title {}

  .legacy-section__subtitle {
    font-size: 1.25rem;
  }

  .legacy-section__item-title {
    font-size: 1.5rem;
  }

  .legacy-section__item-description {
    font-size: 1rem;
  }

  .legacy-section__image-container {
    padding: var(--spacing-lg);
  }

  .legacy-section__device--phone {
    width: 55%;
    right: -15px;
    top: 20px;
  }
}

@media (max-width: 575.98px) {
  .legacy-section__main-title {
    font-size: 1.75rem;
  }

  .legacy-section__item {
    margin-bottom: var(--spacing-xl);
  }
}

.legacy-section .order-1 {
  z-index: 10;
}

.legacy-section .order-2 video {
  position: relative;
  left: -50px;
}


/* COLLECTIONS GRID - SIN HOVER EFFECTS */
.collections-grid {}

.collections-grid__item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.collections-grid__item:hover {
  color: inherit;
  text-decoration: none;
}

.collections-grid__magazine {
  position: relative;
  margin-bottom: var(--spacing-lg);
  border: solid 1px white;
  transition: all 0.3s ease;


}

.collections-grid__magazine:hover {
  transform: scale(1.04);
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

.collections-grid__magazine img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.collections-grid__label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  text-align: center;
  min-width: 120px;
  margin-bottom: 0;
}

/* RESPONSIVE USANDO TUS BREAKPOINTS EXISTENTES */
@media (max-width: 1199.98px) {
  .magazine-content__title {
    font-size: 1.75rem;
    letter-spacing: 2px;
  }

  .collections-grid__label {
    font-size: 1.125rem;
    padding: var(--spacing-xs) var(--spacing-md);
    min-width: 100px;
  }

  .legacy-section .order-2 video {
    width: 100%;
    margin: auto;
    text-align: center;
    left: initial;
  }
}

@media (max-width: 991.98px) {
  .magazine-content {
    padding: var(--spacing-xl) 0;
  }

  .hero-section__content {
    margin-bottom: var(--spacing-xl);
    padding: 0 !important;
  }

  .collections-grid__label {
    font-size: 1rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 767.98px) {
  .magazine-content__title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .collections-grid__label {
    font-size: 1.2rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    min-width: 80px;
  }

  p.lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* número de líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .licensing-container p.lead {
    display: initial;
    -webkit-line-clamp: initial;
    /* número de líneas */
    -webkit-box-orient: initial;
    overflow: initial;
    text-overflow: initial;
  }

  .hero-section__stats {
    margin-top: 20px !important;
  }
}

@media (max-width: 575.98px) {
  .magazine-content__header {
    margin-bottom: var(--spacing-xl);
    padding: 0;
  }


}


.footer-A {
  background: #000000;
  padding: 40px 0 40px;
  padding-bottom: 0px;
  border-top: 3px solid var(--gold-classic);
}

.gold-classic {
  color: var(--gold-classic);
}

.gold-glow {
  color: var(--gold-glow);
}

.gold-light {
  color: var(--gold-light);
}

.bg-gold-classic {
  background-color: var(--gold-classic);
}

.bg-gold-glow {
  background-color: var(--gold-glow);
}

.bg-gold-light {
  background-color: var(--gold-light);
}

.footer-column h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-left: -5px;
  position: relative;
  left: -5px;
  transition: all 0.3s ease;


}

.footer-column ul li:active {
  transform: scale(0.98);
  transition: all 0.3s ease;


}

.footer-column ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  transition: color 0.3s ease;
  display: block;
  padding: 8px;
  transition: all 0.3s ease;
  border: solid 1px transparent;


}

.footer-column ul li a:hover {
  background-color: rgba(51, 51, 51, 0.5);
  transition: all 0.3s ease;


}

.footer-bottom {
  margin-top: 1rem;
}

.footer-logo {

  font-weight: 400;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 40px;
}

.copyright {
  color: #6b7280;
  font-size: 0.775rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
}

.copyright a {
  border-right: 1px solid #6b7280;
  padding-right: 0.5rem;
  color: #6b7280;
}

.copyright a:last-child {
  border-right: 0px solid #6b7280;
  padding-right: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  border-radius: 50%;
  text-decoration: none;
  margin-left: 0.75rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(51, 51, 51, 0.5);
  color: #374151;
}

.authorized {
  font-size: 0.675rem;
  color: #6b7280;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .footer-column ul li {
    position: relative;
    margin-left: 0px;
    position: relative;
    left: 0px;
  }

  .footer-column ul li a {
    padding: 12px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .row>div {
    margin-bottom: 1.5rem;
  }

  .footer-column {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .1);
    padding: 20px;
    border-radius: 10px;
    border: solid 1px #d7d7d7;
  }

  .social-links {
    justify-content: center;
  }


}

@media screen and (max-width: 768px) {
  .copyright {
    color: #6b7280;
    font-size: 0.775rem;
    margin: 0;
    display: block;
    gap: 0.5rem;
    height: auto;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 2.5rem;
  }

  .copyright a {
    border-right: 0;
    padding-right: 0;
    margin-bottom: 1rem;
    display: block;
  }
}

.gdpr-label {
  font-size: 0.675rem;
}

.form-nl {
  max-width: 500px;
  margin: 0 auto;
}



/* SEARCH MODAL STYLES */
.search-modal {
  border-radius: 0;
}

.search-modal .modal-dialog {
  max-width: 100%;
  width: 100%;
  height: 100vh;
  margin: 0;
}

.search-modal .modal-content {
  background-color: var(--bs-gray-100);
  border: none;
  border-radius: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  box-shadow: none;
  position: relative;
}

.search-modal__header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 1);
  z-index: 10;
  padding: var(--spacing-xxl);
  text-align: center;
  padding-bottom: 10px;
}

.search-modal__close {
  position: fixed;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--penthouse-black);
  cursor: pointer;
  padding: var(--spacing-sm);
  transition: all 0.3s ease;
  z-index: 1050;
}

.search-modal__close:hover {
  opacity: 0.7;
}

.search-modal__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}



.search-modal__subtitle {
  margin-bottom: var(--spacing-xl);
}

.search-modal__input-container {
  position: relative;
  margin: 0 auto var(--spacing-xl);
  max-width: 1000px;
}

.search-modal__input {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-xl);
  border: 2px solid var(--penthouse-black);
  background-color: var(--penthouse-white);
  font-size: 1.125rem;
  outline: none;
  border-radius: 0;
  padding-right: 60px;
}

.search-modal__input:focus {
  box-shadow: none;
  border-color: var(--penthouse-black);
}

.search-modal__input::placeholder {
  color: var(--penthouse-gray);
  font-style: italic;
}

.search-modal__search-icon {
  position: absolute;
  right: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--penthouse-black);
}

/* CONTENT SECTIONS */
.search-modal__content {
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: var(--spacing-xxl);
  padding-top: 30px;

}

.search-modal__content .card {
  min-height: 260px;
  width: auto;
  min-width: 220px;
}

.search-modal__section {
  margin-bottom: var(--spacing-xxl);
}

.search-modal__section:last-child {
  margin-bottom: 0;
}

.search-modal__section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
}

/* USANDO TU MAGAZINE-GRID EXACTO */
.magazine-grid {}

.magazine-grid__item .card {
  border: 0;
  border-radius: 0;
  margin: 0;
  transition: all 0.3s ease;
}

.magazine-grid__image-container {
  position: relative;
  transition: all 0.3s ease;
}

.magazine-grid__image-container img {
  border-radius: 0;
  transition: all 0.3s ease;
}

.magazine-grid__title {
  margin-bottom: 0;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.magazine-grid__date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.magazine-grid .card {
  min-height: 300px;
  background-color: var(--bs-gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
  border: solid 1px transparent;
}

.main-content .magazine-grid .card {
  min-height: 380px;
  background-color: var(--bs-gray-200);
  transition: all 0.3s ease;
  cursor: pointer;
  border: solid 1px transparent;
}

.magazine-grid .card:hover {
  transform: scale(1.06);
  transition: all 0.3s ease;
  border: solid 1px var(--penthouse-black);
}

.magazine-grid .card:active {
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.magazine-grid .card .magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

.magazine-grid .card:hover .magazine-grid__overlay {
  top: calc(100% - 70px);
  opacity: 1;
  transition: all 0.2s ease-out;
}

/* RESPONSIVE - TUS BREAKPOINTS EXACTOS */
@media (max-width: 1199.98px) {
  .search-modal__title {}

}

@media (max-width: 991.98px) {
  .search-modal__content {
    max-width: 100%;
    padding-bottom: var(--spacing-xl);
  }

  .hero-section__stats {
    display: none;
  }

  .hero-section__magazines {
    padding: 0 !important;
  }

  .magazine-grid .card {
    min-height: 350px;
    background-color: var(--bs-gray-200);
    transition: all 0.3s ease;
    cursor: pointer;
    border: solid 1px transparent;
  }

  .search-modal__section {
    padding: 0 var(--spacing-lg);
  }

  .search-modal__header {
    padding: var(--spacing-xl);
  }

  .search-modal__title {}

  .magazine-grid .card {
    min-height: 200px;
  }

  .search-modal__input-container {
    max-width: 100%;
    width: 100%;
  }

  .search-modal__close {
    top: var(--spacing-lg);
    right: var(--spacing-lg);
  }


}

@media (max-width: 767.98px) {
  .search-modal .modal-content {
    width: 100%;
    height: 100vh;
  }

  .search-modal__title {}

  .search-modal__input {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
  }

  .search-modal__input-container {
    max-width: 100%;
    width: 100%;
  }

  .magazine-grid .card {
    min-height: 180px;
  }

  .search-modal__close {
    font-size: 1.75rem;
    top: var(--spacing-md);
    right: var(--spacing-md);
  }

  .search-modal__header {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 575.98px) {
  .search-modal__content {
    max-width: 100%;
    padding-bottom: var(--spacing-lg);
  }

  .search-modal__section {
    padding: 0 var(--spacing-md);
  }

  .search-modal__header {
    padding: var(--spacing-md);
  }

  .search-modal__title {}

  .search-modal__section-title {
    font-size: 1.25rem;
  }

  .search-modal__input-container {
    max-width: 100%;
    width: 100%;
  }

  .search-modal__close {
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 1.5rem;
  }
}


/* FLOATING SIGNUP BUTTON - MATERIAL M3 STYLE */
.floating-signup {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.floating-signup--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-signup__button {
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  border: none;
  border-radius: 28px;
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.floating-signup__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--penthouse-white);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px;
}

.floating-signup__button:hover {
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.16),
    0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.floating-signup__button:hover::before {
  opacity: 0.08;
}

.floating-signup__button:active {
  transform: translateY(0);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 4px 8px rgba(0, 0, 0, 0.08);
}

.floating-signup__text {
  position: relative;
  z-index: 2;
}

.floating-signup__icon {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-signup__button:hover .floating-signup__icon {
  transform: translateX(2px) translateY(-2px);
}

/* RESPONSIVE - SOLO MÓVIL */
@media (min-width: 992px) {
  .floating-signup {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .floating-signup {
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
  }

  .floating-signup__button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 1.2rem;
    min-height: 48px;
    border-radius: 24px;
  }
}

@media (max-width: 575.98px) {
  .floating-signup {
    bottom: var(--spacing-md);
    right: var(--spacing-md);
  }

  .floating-signup__button {
    padding: var(--spacing-sm) var(--spacing-md);
    gap: var(--spacing-xs);
  }
}

.scroll-hint {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

/* SCROLL INDICATOR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--bs-gray-200);
  z-index: 999;
}

.scroll-progress__bar {
  height: 100%;
  background: var(--penthouse-black);
  width: 0%;
  transition: width 0.1s ease;
}


.swiper-wrapper .card {
  min-height: 300px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  border: solid 1px var(--penthouse-black);

}

.swiper-wrapper .card .magazine-grid__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--penthouse-black);
  color: var(--penthouse-white);
  padding: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  top: 100%;
  transition: all 0.2s ease-in;
}

.swiper-wrapper .card:hover {

  border: solid 1px var(--penthouse-black);
}

.swiper-wrapper .card:hover .magazine-grid__overlay {
  top: calc(100% - 70px);
  opacity: 1;
  transition: all 0.2s ease-out;
}



/* HERO ESPECÍFICO */
.hero-section {
  background: linear-gradient(90deg, var(--bs-gray-100) 50%, #ffffff 50%);
  height: calc(100vh - 87px);
  min-height: calc(100vh - 87px);
  overflow: hidden;
  width: 100%;

}

.hero-section__stat-link {
  text-decoration: none;
  color: var(--penthouse-black);
  padding: 10px;
  aspect-ratio: 1;
  border: solid 1px var(--penthouse-black);
  text-transform: uppercase;
  width: 100%;
  background-color: var(--penthouse-white);
  transition: all 0.2s ease;

}



.hero-section__stat-link:hover {
  color: var(--penthouse-black);
  border: solid 1px var(--penthouse-black);
  background-color: var(--penthouse-white);
  transform: scale(1.04);
  transition: all 0.2s ease;
}

.hero-section__content {
  padding-right: var(--spacing-xl);
  padding-left: var(--spacing-xl);
  position: relative;
  text-align: center;
}

.hero-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
}

.hero-section__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--penthouse-gray);
  margin-bottom: var(--spacing-xxl);
  max-width: 500px;
}

.hero-section .action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin: auto;
  align-items: center;
  justify-content: center;
}

/* STATS USANDO TU ESTRUCTURA */
.hero-section__stats {
  margin-top: var(--spacing-xxl);
}

.hero-section__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
  text-align: center;
  display: none;

}

.hero-section__stat-label {
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  position: relative;
  background-color: #fff;
  margin: auto;
  width: max-content;
  padding-top: 10px;
  transition: all 0.2s ease;
  display: none;
}


.hero-section a:active {
  background-color: transparent !important;
  transform: scale(0.98);
  transition: all 0.2s ease;
  color: var(--penthouse-black) !important;


}

/* RESPONSIVE USANDO TUS BREAKPOINTS EXACTOS */
@media (max-width: 1440px) {


  .hero-section__stat-label {
    display: none;
  }
}


/* IMAGES SECTION USANDO TU GRID */
.hero-section__magazines {
  padding: var(--spacing-lg);
}

/* RESPONSIVE USANDO TUS BREAKPOINTS EXACTOS */
@media (max-width: 1024px) {
  .hero-section__title {
    font-size: 3.5rem;
  }

  .hero-section,
  .hero-flex {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-section__stat-label {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding: var(--spacing-xl) 0;
  }

  .slider-category {
    padding-bottom: 0px;
  }

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

  .hero-section__content {
    margin-bottom: 30px;
    text-align: center;
  }

  .hero-section__description {
    max-width: 100%;
  }

  .action-buttons {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hero-section__title {
    font-size: 2.5rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-penthouse {
    width: 100%;
    justify-content: center;
  }

  .hero-section__stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: var(--spacing-lg) 0;
  }

  .hero-section__title {
    font-size: 2rem;
  }

  .hero-section__description {
    font-size: 1rem;
  }

  .hero-section__stat-number {
    font-size: 2rem;
  }
}




.hero-flex {
  height: calc(100vh - 87px);
  display: flex;
  align-items: center;
}

/* MAGAZINE SWIPER STYLES */
.magazine-swiper {
  background: transparent;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}

.magazine-swiper .swiper-slide {
  height: auto;
  background: transparent;
}

/* Ocultar todos los controles de Swiper */
.magazine-swiper .swiper-pagination,
.magazine-swiper .swiper-button-next,
.magazine-swiper .swiper-button-prev,
.magazine-swiper .swiper-scrollbar {
  display: none !important;
}



/* Block: pagination-magazine */
.pagination-magazine {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: var(--spacing-xl) 0;
  padding: 0;
}

/* Element: pagination-magazine__item */
.pagination-magazine__item {
  margin: 0;
  list-style: none;
}

/* Element: pagination-magazine__link */
.pagination-magazine__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--penthouse-white);
  color: var(--penthouse-black);
  border: 2px solid var(--penthouse-black);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-right: none;
}

/* Last item keeps right border */
.pagination-magazine__item:last-child .pagination-magazine__link {
  border-right: 2px solid var(--penthouse-black);
}

/* Hover state */
.pagination-magazine__link:hover {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  text-decoration: none;
  box-shadow: 0 4px 8px var(--penthouse-shadow);
  z-index: 2;
  position: relative;
}

/* Active state */
.pagination-magazine__link--active {
  background-color: var(--penthouse-black);
  color: var(--penthouse-white);
  border-color: var(--penthouse-black);
}

/* Disabled state */
.pagination-magazine__link--disabled {
  background-color: #f8f9fa;
  color: var(--penthouse-gray);
  border-color: #dee2e6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Icons for prev/next */
.pagination-magazine__icon {
  font-size: 0.875rem;
}

/* Modifier: pagination-magazine--centered */
.pagination-magazine--centered {
  justify-content: center;
}

/* Modifier: pagination-magazine--left */
.pagination-magazine--left {
  justify-content: flex-start;
}

/* Modifier: pagination-magazine--right */
.pagination-magazine--right {
  justify-content: flex-end;
}

/* Modifier: pagination-magazine--large */
.pagination-magazine--large .pagination-magazine__link {
  min-width: 56px;
  min-height: 56px;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 1rem;
}

/* Modifier: pagination-magazine--small */
.pagination-magazine--small .pagination-magazine__link {
  min-width: 40px;
  min-height: 40px;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991.98px) {
  .pagination-magazine__link {
    min-width: 44px;
    min-height: 44px;
    padding: var(--spacing-sm);
    font-size: 0.75rem;
  }

  .search-modal__content .card {
    min-height: auto;
    width: auto;
    min-width: auto;
  }
}

@media (max-width: 767.98px) {
  .pagination-magazine {
    gap: 0;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: var(--spacing-sm);
  }

  .pagination-magazine__link {

    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* Hide some page numbers on mobile */
  .pagination-magazine__item.d-none.d-md-block {
    display: none !important;
  }
}

@media (max-width: 575.98px) {
  .pagination-magazine__link {

    padding: var(--spacing-xs);
    font-size: 0.625rem;
  }
}

/* Demo styles */
.demo-section {
  margin-bottom: var(--spacing-xxl);
  padding: var(--spacing-xl);
  background: white;
  border: 2px solid var(--penthouse-black);
}

.demo-title {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 1px;
}


/* ==========================================================================
           SUBSCRIPTION SECTION - BEM METHODOLOGY & MAGAZINE THEME
           ========================================================================== */

/* Block: subscription-section */
.subscription-section {
  height: calc(100vh - 120px);
  padding: var(--spacing-lg) 0;
  padding-bottom: 0;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}

.subscription-section .form-control {
  padding: 1rem;
}


.subscription-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Element: subscription-section__image */
.subscription-section__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 100vh;
  object-fit: initial;
  object-position: right 100px;
  opacity: 1;
  z-index: 1;
}

.subscription-section__content {
  position: relative;
  z-index: 2;
}

/* Element: subscription-section__header */
.subscription-section__header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.subscription-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

/* Element: subscription-section__form-row */
.subscription-section__form-row {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* Element: subscription-section__input */
.subscription-section__input {
  background: #000;
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  color: var(--penthouse-white);
  font-size: 1rem;
  min-width: 280px;
  outline: none;
  transition: all 0.3s ease;
}

.subscription-section__input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.subscription-section__input:focus {
  background: rgba(108, 117, 125, 0.9);
}

/* Element: subscription-section__plans-title */
.subscription-section__plans-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

/* Element: subscription-section__plans-grid */
.subscription-section__plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Block: subscription-plan */
.subscription-plan {
  background: var(--penthouse-white);
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.subscription-plan:hover {
  border-color: var(--penthouse-black);
}

.subscription-plan--selected {
  border-color: var(--penthouse-black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.subscription-plan__selector {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 24px;
  height: 24px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.subscription-plan--selected .subscription-plan__selector {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

/* Element: subscription-plan__header */
.subscription-plan__header {
  padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  margin-top: 20px;
}

.subscription-plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--penthouse-black);
  margin-bottom: var(--spacing-xs);
  line-height: 1;
}

.subscription-plan__period {
  color: var(--penthouse-gray);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.subscription-plan__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--penthouse-black);
  margin-bottom: 0;
  text-transform: none;
}

/* Element: subscription-plan__features */
.subscription-plan__features {
  padding: var(--spacing-sm);
  min-height: 120px;
}

.subscription-plan__feature {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
}

.subscription-plan__feature:last-child {
  margin-bottom: 0;
}

.subscription-plan__feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.subscription-plan__feature-icon--active {
  background: transparent;
}

.subscription-plan__feature-icon--inactive {
  background: #dee2e6;
}

.subscription-plan__feature-icon i {
  font-size: 0.75rem;
  color: #28a745;

}

.saved {
  color: #28a745;

}

.subscription-plan__feature-text {
  flex: 1;
  color: var(--penthouse-black);
  font-weight: 500;
}

.subscription-plan__feature-text--inactive {
  color: var(--penthouse-gray);
}

.subscription-plan__savings {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  left: 50%;
  margin-left: -36px;
  margin-top: -30px;
  z-index: 99;
}

/* Element: subscription-plan__button */
.subscription-plan__info {
  background: transparent;
  color: var(--penthouse-gray);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin: 0;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

/* Element: subscription-section__payment-title */
.subscription-section__payment-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--penthouse-black);
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: none;
  letter-spacing: -1px;
}

/* Element: subscription-section__payment-methods */
.subscription-section__payment-methods {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

/* Block: payment-method */
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--penthouse-white);
  border: 2px solid #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: flex-start;
  position: relative;
}

.payment-method:hover {
  border-color: var(--penthouse-black);
}

.payment-method--selected {
  border-color: var(--penthouse-black);
  background: #f8f9fa;
}

.payment-method__selector {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.payment-method--selected .payment-method__selector {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.payment-method__icon {
  font-size: 1.5rem;
  color: var(--penthouse-black);
}

.payment-method__text {
  font-weight: 600;
  color: var(--penthouse-black);
  font-size: 0.95rem;
}

/* Element: subscription-section__final-button */
.subscription-section__final-button {
  display: block;
  margin: 0 auto;
  background: #28a745;
  color: var(--penthouse-white);
  border: 2px solid #28a745;
  padding: var(--spacing-md) 4rem;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
  outline: solid 1px transparent;
  outline-offset: 1px;
}

.subscription-section__final-button:hover {
  background: #28a745;
  color: var(--penthouse-white);
  outline: solid 1px #28a745;
  outline-offset: 1px;
  transition: all 0.2s ease;
}

/* RESPONSIVE DESIGN - SOLO MÓVIL */
@media (max-width: 767.98px) {
  .subscription-section {
    height: auto;
    min-height: 100vh;
    padding: var(--spacing-md) 0;
  }

  .subscription-section__image {
    display: none;
  }

  .subscription-section__container {
    padding: 0 var(--spacing-md);
  }

  .subscription-section__title,
  .subscription-section__plans-title,
  .subscription-section__payment-title {}

  .subscription-plan__price {
    font-size: 1.5rem;
  }

  .subscription-section__form-row {
    flex-direction: column;
    align-items: center;

  }

  .subscription-section__input {
    min-width: 100%;
    max-width: 400px;

  }

  .subscription-section__plans-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .subscription-section__payment-methods {
    flex-direction: column;
    align-items: center;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-method {
    width: 100%;
    justify-content: center;
  }

  .subscription-section__final-button {
    padding: var(--spacing-md) 2rem;
    font-size: 0.8rem;
    width: 100%;
  }
}


@media (max-width: 767.98px) {
  .subscription-section__plans-grid {
    grid-template-columns: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Quita el encoger en active para la grid (sobre todo móvil) */
  .magazine-grid .card:active {
    transform: none !important;
  }

  /* En vez de escalar la .card, escalamos SOLO la imagen */
  .magazine-grid .card {
    transform: none !important;
  }

  .magazine-grid__image-container {
    overflow: hidden;
    will-change: transform;
    contain: paint;
    /* aisla repintados */
  }

  .magazine-grid__image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .3s ease;
  }

  .magazine-grid .card:hover .magazine-grid__image-container img {}

  /* Overlay estable: no depende del scale del contenedor */
  .magazine-grid__overlay {
    transform: translateZ(0);
    will-change: opacity, transform;
  }

  /* Evita highlight azul/gris y pequeños “saltos” en tap móvil */
  .magazine-grid a {
    -webkit-tap-highlight-color: transparent;
  }

  .content-column {
    padding-top: 0;
  }

  .breadcrumb {
    margin-bottom: 0;
  }

}


/* Element: subscription-section__payment-methods */
.subscription-section__payment-methods {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

/* Block: payment-method */
.payment-method {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--penthouse-white);
  border: 2px solid #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  justify-content: flex-start;
  position: relative;
}

.payment-method:hover {
  border-color: var(--penthouse-black);
}

.payment-method--selected {
  border-color: var(--penthouse-black);
  background: #f8f9fa;
}

.payment-method__selector {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.payment-method--selected .payment-method__selector {
  border-color: #28a745;
  background: #28a745;
  color: white;
}

.payment-method__icon {
  font-size: 1.5rem;
  color: var(--penthouse-black);
}

.payment-method__text {
  font-weight: 600;
  color: var(--penthouse-black);
  font-size: 0.95rem;
}

.subscription-section__payment-methods .payment-method {
  aspect-ratio: initial;
}


.form-control {
  border: 2px solid #dee2e6;
  border-radius: 0;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--penthouse-white);
}

.form-control:focus {
  border-color: var(--penthouse-black);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  background-color: var(--penthouse-white);
}


.magazines-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.magazine-item img {
  width: 100%;
  height: auto;
  opacity: 1;
}

.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.login-container {
  position: relative;
  z-index: 3;
  min-height: 100vh;
}

.login-card {
  max-width: 540px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .4);
  top: -15%;
}

/* Fixed login card size */
.login-card {
  background: white;
  margin: 0 auto;
}


.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: #6c757d;
}

.form-control-icon {
  padding-left: 45px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  z-index: 5;
}