/* ===== GENERAL LAYOUT ===== */

#asl-storelocator .asl-store-locator { display:flex; }

#asl-storelocator .asl-panel{
  width:36%;
  max-width:420px;
  border-right:1px solid #eee;
  max-height:calc(100vh - 180px);
  overflow-y:auto;
  background:#fafafa;
  position:relative; /* needed for drawer */
}

#asl-storelocator .asl-map{
  width:64%;
  height:calc(100vh - 180px);
}

@media (max-width: 900px){
  #asl-storelocator .asl-store-locator{ flex-direction:column; }
  #asl-storelocator .asl-panel,
  #asl-storelocator .asl-map{
    width:100%;
    max-width:100%;
    height:auto;
    max-height:none;
  }
}

/* ===== HIDE ASL DEFAULT UI ===== */
#asl-storelocator .asl-tabs,
#asl-storelocator .asl-search,
#asl-storelocator .asl-search-panel,
#asl-storelocator .inside.search_filter,
#asl-storelocator .Num_of_store,
#asl-storelocator .top-title{
  display:none !important;
}

/* Remove extra top space */
#asl-storelocator .asl-main-cont,
#asl-storelocator .asl-panel,
#asl-storelocator .asl-panel-inner,
#asl-storelocator .asl-panel-inner .sl-main-cont-box,
#asl-storelocator .asl-panel .sl-list-wrapper,
#asl-storelocator .asl-panel .sl-list{
  padding-top:0 !important;
  margin-top:0 !important;
}

/* Full width container */
#asl-storelocator .asl-wrapper,
#asl-storelocator .asl-cont,
#asl-storelocator .asl-container-fluid,
#asl-storelocator .sl-container-fluid{
  max-width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* ===== ROLEX TOP SEARCH ===== */
.rolex-search-bar{
  width:100%;
  padding:25px 0 10px;
  display:flex;
  justify-content:center;
  background:#a49171;
}

#rolex-search-input{
  width:60%;
  max-width:700px;
  padding:14px 24px;
  border-radius:999px;
  border:none;
  outline:none;
  font-size:16px;
  font-family:post, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:rgba(83,83,89,.4);
  color:#fff;
}

#rolex-search-input::placeholder{ color:rgba(255,255,255,.85); }

/* ===== RESULTS + CATEGORY ===== */
#rolex-results-title{
  padding:20px 40px !important;
  font-family:"Roman", serif;
  font-size:13px;
  letter-spacing:.20em;
  text-transform:uppercase;
  border-bottom:1px solid rgba(243,243,243,.5) !important;
}

#rolex-cat-list{
  list-style:none;
  margin:0 0 8px;
  padding:0 20px 10px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

#rolex-cat-list li{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 0;
  cursor:pointer;
  font-family:post, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#535359;
}

#rolex-cat-list li .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  margin-right:10px;
  border:2px solid rgba(164,145,113,.6);
  background:transparent;
}

#rolex-cat-list li.active .dot{ background:rgb(164,145,113); }

#rolex-cat-list li .label{
  font-family:"Roman", serif;
  font-size:24px;
  color:#535359;
}

#rolex-cat-list li:not(.active) .label{ opacity:.6; }
#rolex-cat-list li.active .label{ font-weight:600; }

/* ===== LIST CARDS ===== */
.asl-rolex-item{
  list-style:none;
  border-bottom:1px solid #eee;
  padding:12px 14px;
}

.rolex-card{
  background:#fff;
  padding:18px 20px;
  border-radius:18px;
  box-shadow:0 8px 22px rgba(0,0,0,.08);
  font-family:post, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#535359;
}

.rolex-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.rolex-title{
  margin:0 0 6px;
  font-family:"Roman", serif;
  font-size:20px;
  line-height:1.3;
  color:#000;
  text-transform:uppercase;
}

.rolex-line{
  margin:0 0 4px;
  font-family:"Post", sans-serif;
  font-size:14px;
  color:#535359;
}

.rolex-toggle{
  border:none;
  background:#f4f4f4;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:18px;
  line-height:34px;
  text-align:center;
  cursor:pointer;
  color:#535359;
}

/* disable inline extra forever */
.rolex-extra{ display:none !important; }

/* selected item like rolex focus */
.asl-rolex-item.is-selected .rolex-card{
  outline:1px solid rgba(164,145,113,.45);
}

/* ===== LEFT DRAWER (ROLEX STYLE) ===== */
#rolex-detail-drawer.rolex-detail-drawer{
  position:absolute;
  inset:0;
  background:#fff;
  z-index:9999;
  transform:translateX(102%);
  transition:transform 260ms ease;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

#asl-storelocator .asl-panel.is-rolex-detail-open{
  overflow:hidden;
}

#asl-storelocator .asl-panel.is-rolex-detail-open #rolex-detail-drawer{
  transform:translateX(0);
}

.rolex-detail-top{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.rolex-detail-back,
.rolex-detail-close{
  width:40px;
  height:40px;
  border-radius:999px;
  border:none;
  background:#f4f4f4;
  color:#535359;
  font-size:22px;
  line-height:40px;
  cursor:pointer;
}

/* Hero uses STORE LOGO -> better contain */
.rolex-detail-hero{
  width:100%;
  height:220px;
  overflow:hidden;
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.rolex-detail-hero img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
  display:block;
}

.rolex-detail-body{
  padding:18px 18px 22px;
  font-family:post, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:#535359;
}

.rolex-detail-pill{
  display:inline-block;
  margin:6px 0 10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(164,145,113,.14);
  color:rgb(164,145,113);
  font-size:11px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.rolex-detail-title{
  margin:0 0 10px;
  font-family:roman, "Times New Roman", serif;
  font-size:26px;
  line-height:1.15;
  color:#000;
  text-transform:uppercase;
}

.rolex-detail-address{
  font-size:14px;
  line-height:1.5;
  margin-bottom:14px;
}

.rolex-detail-block{
  padding:12px 0;
  border-top:1px solid rgba(0,0,0,.06);
}

.rolex-detail-block-title{
  font-family:roman, "Times New Roman", serif;
  font-size:13px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#000;
  margin-bottom:8px;
}

.rolex-detail-block-content{
  font-size:14px;
  line-height:1.6;
}

.rolex-detail-line a{
  color:#000;
  text-decoration:none;
}

.rolex-detail-line a:hover{ text-decoration:underline; }

.rolex-detail-actions{
  display:flex;
  gap:10px;
  margin-top:16px;
}

.rolex-btn{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  cursor:pointer;
}

.rolex-btn-primary{
  background:rgb(164,145,113);
  color:#fff;
  border:1px solid rgb(164,145,113);
}

.rolex-btn-outline{
  background:transparent;
  color:rgb(164,145,113);
  border:1px solid rgb(164,145,113);
}

.rolex-btn.is-disabled{
  opacity:.4;
  pointer-events:none;
}

.rolex-detail-more{
  width:100%;
  margin-top:16px;
  padding:14px 16px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background:#0b3d2e;
  color:#fff;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
