/**
* Theme Name: RX23
* Description: RX23 Custom Theme
* Author: Syrus
* Template: syrus
* Version: 0.0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

:root {
    --rx-23-primary-color: #444b3f;
    --rx-23-secondary-color: #ecefe9;
    --rx-23-grey-color: #6d6d6d;
    --rx-23-gold-rose: #cd9f7a;
}

#topnav *, footer *, header *, body * {
    font-family: Inter;
}

#topnav {
    height: 40px;
    background-color: var(--rx-23-primary-color);
}

#topnav ul.nav {
    font-size: 12px;
}

header {
    /* background-color: var(--rx-23-secondary-color); */
    background-color: white;
}

#main-menu a {
    text-transform: uppercase;
}

section.hero {
    position: relative;
    height: 70dvh;
    overflow: hidden;
}

section.hero.page {
    position: relative;
    height: 35dvh;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

section.hero .image-overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: var(--rx-23-primary-color);
    opacity: .3;
}

section.hero video {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
}

section.hero .video-overlay {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: var(--rx-23-primary-color);
    opacity: .5;
}

section.hero > .container {
    position: relative;
    z-index: 3;
}

section.hero > .container * {
    color: white;
}

footer {
    background-color: var(--rx-23-primary-color);
}

.bg-transparent {
    background-color: transparent !important;
}

section.last-watches h2,
section.last-accessories h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--rx-23-grey-color);
}

section.last-watches a.go-to-page,
section.last-accessories a.go-to-page {
    font-family: 'Merriweather';
    font-style: italic;
    text-decoration: none;
    color: var(--rx-23-gold-rose);
    border: 1px solid transparent;
    transition: all .3s;
    padding: 4px 8px;
}

section.last-watches a.go-to-page:hover,
section.last-accessories a.go-to-page:hover {
    border-color: white;
    background-color: var(--rx-23-gold-rose);
    color: white;
}

.watch-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
}

.watch-card .watch-name {
    font-weight: 600;
    color: var(--rx-23-primary-color)
}

.watch-card .watch-reference {
    font-family: monospace;
}

.watch-card .image-container {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.watch-card .image-container > img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all .5s;
    height: 100%;
}

.watch-card .image-container:hover img {
    transform: scale(1.3);
}

.watch-status-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    z-index: 10;
    color: white;
}

.watch-status-prenotato {
    background-color: #ffa500;
}

.watch-status-venduto {
    background-color: #dc3545;
}

.watch-card .spec * {
    font-size: .9rem;
    font-family: monospace;
}

.watch-show-more {
    display: none;
}

.watch-card-price {
    margin-top: auto;
}

.watch-card:hover .watch-card-price {
    display: none;
}

.watch-card:hover .watch-show-more {
    display: block;
    text-align: end;
    margin-top: auto;
}

button.btn.btn-rx-23 {
    width: 100%;
    text-transform: uppercase;
    background-color: transparent;
    letter-spacing: 1px;
    font-weight: 500;
    border: 1px solid var(--rx-23-primary-color);
    color: var(--rx-23-primary-color);
    transition: all .3s;
    font-size: .9rem;
}

button.btn.btn-rx-23:hover {
    background-color: var(--rx-23-primary-color);
    color: white;
}

.btn-rx-23-white {
    background-color: white !important;
    border: 1px solid black !important;
    font-size: 20px !important;
}

.btn-rx-23-white a {
    font-family: 'Merriweather' !important;
    color: black !important;
    text-decoration: none;
}

.btn-rx-23-white i {
    color: black !important;
}

.btn-rx-23-white:hover a {
    color: white !important;
}

.btn-rx-23-white:hover {
    background-color: black !important;
    color: white !important;
    border-color: black !important;
  }
  
  .btn-rx-23-white:hover i {
    color: white !important;
  }

section.exchange {
    position: relative;
    background-image: url('assets/img/unnamed.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

section.exchange .section-overlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--rx-23-primary-color);
    opacity: .6;
}

section.exchange .container {
    position: relative;
    z-index: 2;
}

section.exchange h2 {
    font-family: 'Merriweather';
}

section.exchange * {
    color: white;
}

.box-price {
    background: linear-gradient(135deg, #c5b5a9 0%, #a67c5a 100%);
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
}

.box-price h3 {
    font-size: 20px;
}

.box-price::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.title-luxury {
    font-family: 'Merriweather';
    font-weight: 500;
    color: var(--rx-23-gold-rose);
    margin: 0;
    text-shadow: 0 2px 4px rgba(196, 155, 115, 0.3);
    position: relative;
    line-height: 1.2;
}

.title-luxury::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rx-23-gold-rose), transparent);
}

.home-watch-link {
    text-decoration: none;
    color: rgba(77, 77, 77, 0.582);
}

.home-watch-link:hover {
    color: rgb(0, 0, 0);
}

.order-list li, .filter-list li {
    text-decoration: none;
    color: rgba(77, 77, 77, 0.582);
}

.order-list li:hover, .filter-list li:hover {
    color: rgb(0, 0, 0);
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: var(--rx-23-primary-color) !important;
    border-color: var(--rx-23-gold-rose) !important;
}

.form-outline {
    border-color: var(--rx-23-primary-color) !important;
}

footer .copyright,
footer .info {
    background-color: var(--rx-23-primary-color);
}

footer .copyright p {
    font-size: .9rem;
}

footer .copyright a {
    color: var(--rx-23-gold-rose);
    text-decoration: none;
}


/* Range slider */

.range_container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  
  .sliders_control {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
  }
  
  .form_control {
    position: relative;
    display: flex;
    justify-content: space-between;
    color: #635a5a;
  }
  
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
  }
  
  input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;  
  }
  
  input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
  }
  
  input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
  }
  
  input[type="number"]:not(.valutazione) {
    color: #8a8383;
    width: 100%;
    height: 30px;
    border: none;
  }
  
  input[type=number]::-webkit-inner-spin-button, 
  input[type=number]::-webkit-outer-spin-button {  
     opacity: 1;
  }
  
  input[type="range"] {
    -webkit-appearance: none; 
    appearance: none;
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
  }
  
  #fromSlider {
    height: 0;
    z-index: 1;
  }

/* Accessory Slider Styles */
.accessories-slider {
    width: 100%;
    height: 400px;
}

.accessories-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.accessory-slide-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.accessory-slide-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.accessory-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.accessories-slider .swiper-button-next,
.accessories-slider .swiper-button-prev {
    color: var(--rx-23-primary-color);
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.accessories-slider .swiper-button-next::after,
.accessories-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 600;
}

.accessories-slider .swiper-pagination-bullet {
    background-color: var(--rx-23-grey-color);
    opacity: 0.4;
}

.accessories-slider .swiper-pagination-bullet-active {
    background-color: var(--rx-23-primary-color);
    opacity: 1;
}

/* RX23 Custom Pagination */
.rx23-pagination {
    margin: 3rem 0;
}

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

.pagination-number,
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 8px 12px;
    border: 2px solid var(--rx-23-primary-color);
    background-color: transparent;
    color: var(--rx-23-primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.pagination-number:hover,
.pagination-btn:hover {
    background-color: var(--rx-23-primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 75, 63, 0.3);
}

.pagination-current {
    background-color: var(--rx-23-gold-rose);
    border-color: var(--rx-23-gold-rose);
    color: white;
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(205, 159, 122, 0.4);
}

.pagination-btn {
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.pagination-prev i {
    margin-right: 6px;
}

.pagination-next i {
    margin-left: 6px;
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    color: var(--rx-23-grey-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 2px;
}

.pagination-btn:disabled,
.pagination-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: transparent;
    color: var(--rx-23-grey-color);
    border-color: var(--rx-23-grey-color);
}

@media (max-width: 768px) {
    section.hero video {
        width: auto;
        height: 100%;
    }
    
    .accessories-slider {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .accessory-slide-image {
        height: 250px;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .pagination-number,
    .pagination-btn {
        min-width: 40px;
        height: 40px;
        font-size: 0.8rem;
        margin: 0;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .pagination-prev span,
    .pagination-next span {
        display: none;
    }
    
    .rx23-pagination {
        margin: 2rem 0;
    }
}

.magnify > .magnify-lens {
    width: 350px !important;
    height: 350px !important;
}