/* =========================================================
   File: ClothingClub-Carousel.css
   ClothingClub.com Carousel System
   Format: ccU
   Supports: Women, Men, Youth, Accessories, Designers, etc.
========================================================= */

/* WRAPPER */
.ccU,
.ccU-clothingclub-designers,
.ccU-women,
.ccU-men,
.ccU-youth,
.ccU-accessories {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 28px 14px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
.ccU-header {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 18px auto;
  text-align: center;
  box-sizing: border-box;
}

.ccU-title {
  margin: 0 0 8px 0;
  padding: 0;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.ccU-subtitle {
  max-width: 860px;
  margin: 0 auto 14px auto;
  color: #303030;
  font-size: 18px;
  line-height: 1.55;
}

/* DOT NAVIGATION */
.ccU-dots {
  width: 100%;
  text-align: center;
  margin: 8px auto 0 auto;
}

.ccU-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7b7b7;
  cursor: pointer;
  vertical-align: middle;
}

.ccU-dot.is-active {
  background: #f28c00;
}

.ccU-dot:focus {
  outline: 2px solid #303030;
  outline-offset: 2px;
}

/* VIEWPORT */
.ccU-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 8px 4px 20px 4px;
}

/* SCROLLBAR */
.ccU-viewport::-webkit-scrollbar {
  height: 8px;
}

.ccU-viewport::-webkit-scrollbar-track {
  background: #e5e5e5;
  border-radius: 8px;
}

.ccU-viewport::-webkit-scrollbar-thumb {
  background: #b6b6b6;
  border-radius: 8px;
}

/* TRACK */
.ccU-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

/* CARD - NARROWER / REDUCED BOTTOM SPACE */
.ccU-card {
  flex: 0 0 255px;
  width: 255px;
  min-height: 380px;
  scroll-snap-align: start;
  background: #ffffff;
  color: #000000;
  border: 1px solid #cccccc;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* IMAGE - SAME RESTRICTED HEIGHT ACROSS ALL CAROUSELS */
.ccU-img,
.ccU-card > img {
  display: block;
  width: 100%;
  height: 145px;
  max-height: 145px;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  flex: 0 0 auto;
}

/* BODY - TIGHTER BOTTOM SPACING */
.ccU-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 10px 16px;
  box-sizing: border-box;
  text-align: center;
}

/* CARD TITLE */
.ccU-card h3 {
  margin: 0 0 7px 0;
  padding: 0;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}

/* CARD SPIEL */
.ccU-card p {
  margin: 0 0 6px 0;
  color: #303030;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

/* BUTTON - REDUCED BOTTOM GAP */
.ccU-btn {
  display: inline-block;
  margin: 2px auto 0 auto;
  padding: 10px 16px;
  min-width: 155px;
  box-sizing: border-box;
  border-radius: 10px;
  background: linear-gradient(180deg, #f0a93a 0%, #f28c00 100%);
  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
}

.ccU-btn:hover,
.ccU-btn:focus {
  color: #ffffff !important;
  opacity: .94;
  transform: translateY(-1px);
  text-decoration: none;
  background: linear-gradient(180deg, #ffad33 0%, #e27900 100%);
}

.ccU-btn:active {
  transform: translateY(0);
}

/* SECTION COMPATIBILITY */
.section-white .ccU,
.section-light .ccU,
.section-gray .ccU,
.section-charcoal .ccU {
  clear: both;
}

/* LEGACY PAGE PROTECTION */
.ccU,
.ccU * {
  box-sizing: border-box;
}

/* TABLET */
@media screen and (max-width: 932px) {

  .ccU,
  .ccU-clothingclub-designers,
  .ccU-women,
  .ccU-men,
  .ccU-youth,
  .ccU-accessories {
    max-width: 100%;
    padding: 22px 10px;
  }

  .ccU-title {
    font-size: 25px;
  }

  .ccU-subtitle {
    font-size: 14px;
  }

  .ccU-track {
    gap: 16px;
  }

  .ccU-card {
    flex-basis: 240px;
    width: 240px;
    min-height: 370px;
  }

  .ccU-img,
  .ccU-card > img {
    height: 145px;
    max-height: 145px;
    padding: 10px;
  }

  .ccU-body {
    padding: 13px 14px 9px 14px;
  }

  .ccU-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .ccU-card p {
    font-size: 13px;
    line-height: 1.32;
    margin-bottom: 5px;
  }

  .ccU-btn {
    min-width: 145px;
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* MOBILE */
@media screen and (max-width: 640px) {

  .ccU,
  .ccU-clothingclub-designers,
  .ccU-women,
  .ccU-men,
  .ccU-youth,
  .ccU-accessories {
    padding: 18px 8px;
  }

  .ccU-header {
    margin-bottom: 12px;
  }

  .ccU-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .ccU-subtitle {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .ccU-viewport {
    padding-bottom: 16px;
  }

  .ccU-track {
    gap: 14px;
  }

  .ccU-card {
    flex-basis: 225px;
    width: 225px;
    min-height: 360px;
    border-radius: 12px;
  }

  .ccU-img,
  .ccU-card > img {
    height: 145px;
    max-height: 145px;
    padding: 10px;
  }

  .ccU-body {
    padding: 12px 12px 8px 12px;
  }

  .ccU-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .ccU-card p {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 5px;
  }

  .ccU-btn {
    min-width: 135px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* iPHONE PORTRAIT / SMALL MOBILE */
@media screen and (max-width: 480px) {

  .ccU,
  .ccU-clothingclub-designers,
  .ccU-women,
  .ccU-men,
  .ccU-youth,
  .ccU-accessories {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    overflow-x: hidden !important;
  }

  .ccU-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .ccU-track {
    min-width: 100% !important;
  }

  .ccU-card {
    flex-basis: 215px;
    width: 215px;
    min-height: 350px;
  }

  .ccU-img,
  .ccU-card > img {
    height: 145px;
    max-height: 145px;
    padding: 10px;
  }

  .ccU-body {
    padding: 11px 10px 8px 10px;
  }

  .ccU-card h3 {
    font-size: 16px !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
  }

  .ccU-card p {
    font-size: 12px !important;
    line-height: 1.28 !important;
    margin-bottom: 5px !important;
  }

  .ccU-btn {
    font-size: 12px !important;
    min-width: 128px;
    padding: 8px 11px;
  }
}

/* ==========================================
   iPHONE LANDSCAPE SEARCH ADJUSTMENT
   Wider search box / narrower blue button
   Kept here only if this same CSS file controls the search widget
========================================== */

@media screen and (max-width: 932px) and (orientation: landscape) {

  .cc-amazon-affiliate-search {
    max-width: 860px;
    gap: 8px;
    flex-direction: row;
    align-items: stretch;
  }

  .cc-amazon-affiliate-search input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 50px;
  }

  .cc-amazon-affiliate-search button {
    flex: 0 0 155px;
    width: 155px;
    min-width: 155px;
    max-width: 155px;
    min-height: 50px;
    padding: 0 10px;
    border-radius: 20px;
    background: #0066cc;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: normal;
    line-height: 1.15;
  }

  .cc-amazon-affiliate-search button:hover,
  .cc-amazon-affiliate-search button:focus {
    background: #d4af37;
    color: #000000;
  }

}

/* =========================================
   CLOTHINGCLUB NARROW CARD CAROUSEL
========================================= */

.ccU-card-narrow {
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  border-radius: 16px;
}

.ccU-card-narrow .ccU-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}

.ccU-card-narrow .ccU-body {
  padding: 12px 12px 14px;
  text-align: center;
}

.ccU-card-narrow h3 {
  font-size: 1.17em;
  line-height: 1.2;
  margin: 8px 0 8px;
}

.ccU-card-narrow p {
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.ccU-card-narrow .ccU-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #005bbb;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ccU-card-narrow .ccU-btn:hover,
.ccU-card-narrow .ccU-btn:focus {
  background: #ffcc00;
  color: #000000 !important;
  transform: translateY(-1px);
}

/* iPhone / Mobile */
@media screen and (max-width: 480px) {
  .ccU-card-narrow {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
  }

  .ccU-card-narrow .ccU-img {
    height: 135px;
  }

  .ccU-card-narrow p {
    font-size: 12px;
  }
}

/* =========================================
   CLOTHINGCLUB GRAY FLEX-GRID CREATIVE SECTIONS
========================================= */

.section-gray.cc-creative-section,
.section-gray.cc-carousel-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 0;
  box-sizing: border-box;
  text-align: center;
}

.section-gray .flex-grid {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.section-gray .flex-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.section-gray .flex-item {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.cc-creative-box {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 12px;
  box-sizing: border-box;
  text-align: center;
}

.cc-creative-img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 12px;
  border: 0;
}

.cc-creative-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  text-align: center;
}

.cc-creative-icon {
  display: inline-block;
  vertical-align: middle;
}

.cc-creative-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #005bbb;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cc-creative-btn:hover,
.cc-creative-btn:focus {
  background: #ffcc00;
  color: #000000 !important;
  transform: translateY(-1px);
}

/* Mobile */
@media screen and (max-width: 480px) {
  .section-gray.cc-creative-section,
  .section-gray.cc-carousel-section {
    padding: 14px 0;
  }

  .section-gray .flex-grid {
    padding: 0 8px;
  }

  .cc-creative-box {
    padding: 10px 8px;
  }

  .cc-creative-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* =========================================
   CLOTHINGCLUB ccU NARROW CAROUSEL CENTERING FIX
   Use with: <div class="ccU ccU-narrow" data-ccu-carousel>
========================================= */

.ccU.ccU-narrow {
  text-align: center;
}

/* Narrow carousel card sizing */
.ccU.ccU-narrow .ccU-card {
  flex: 0 0 220px;
  width: 220px;
  min-width: 220px;
  max-width: 220px;
  min-height: 350px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;
  padding: 0;
  box-sizing: border-box;
}

/* Center all direct card content */
.ccU.ccU-narrow .ccU-card > * {
  text-align: center;
}

/* Narrow carousel images/icons */
.ccU.ccU-narrow .ccU-card > img,
.ccU.ccU-narrow .ccU-img,
.ccU.ccU-narrow .ccU-icon {
  display: block;
  width: 100%;
  height: 145px;
  max-height: 145px;
  object-fit: contain;

  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;

  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

/* Narrow carousel headings */
.ccU.ccU-narrow .ccU-card h3 {
  width: 100%;
  margin: 10px auto 7px auto;
  padding: 0 10px;
  box-sizing: border-box;

  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

/* Narrow carousel paragraph text */
.ccU.ccU-narrow .ccU-card p {
  width: 100%;
  margin: 0 auto 10px auto;
  padding: 0 12px;
  box-sizing: border-box;

  color: #303030;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;

  flex: 1 1 auto;
}

/* Narrow carousel button */
.ccU.ccU-narrow .ccU-btn {
  display: inline-block;
  margin: auto auto 14px auto;
  padding: 8px 14px;
  min-width: 135px;
  max-width: 180px;

  border-radius: 999px;
  background: #005bbb;
  color: #ffffff !important;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  box-sizing: border-box;
}

.ccU.ccU-narrow .ccU-btn:hover,
.ccU.ccU-narrow .ccU-btn:focus {
  background: #ffcc00;
  color: #000000 !important;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Optional: support cards that also use ccU-card-narrow */
.ccU.ccU-narrow .ccU-card-narrow {
  text-align: center;
  align-items: center;
}

.ccU.ccU-narrow .ccU-card-narrow .ccU-body {
  text-align: center;
  align-items: center;
}

/* iPHONE / SMALL MOBILE */
@media screen and (max-width: 480px) {

  .ccU.ccU-narrow .ccU-card {
    flex-basis: 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    min-height: 335px;
  }

  .ccU.ccU-narrow .ccU-card > img,
  .ccU.ccU-narrow .ccU-img,
  .ccU.ccU-narrow .ccU-icon {
    height: 135px;
    max-height: 135px;
  }

  .ccU.ccU-narrow .ccU-card h3 {
    font-size: 16px !important;
    margin-top: 9px !important;
    margin-bottom: 6px !important;
  }

  .ccU.ccU-narrow .ccU-card p {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 9px !important;
  }

  .ccU.ccU-narrow .ccU-btn {
    min-width: 125px;
    max-width: 165px;
    padding: 8px 11px;
    font-size: 12px !important;
  }
}