/** Shopify CDN: Minification failed

Line 905:1 Expected identifier but found "."
Line 923:1 Expected identifier but found "."
Line 928:1 Expected identifier but found "."
Line 950:0 Comments in CSS use "/* ... */" instead of "//"
Line 964:0 Unexpected "/"
Line 972:1 Expected identifier but found "."
Line 997:1 Expected identifier but found "."
Line 1022:1 Expected identifier but found "."
Line 1106:0 Comments in CSS use "/* ... */" instead of "//"
Line 1125:1 Expected identifier but found "."
... and 11 more hidden warnings

**/
/* ============================================================
   Cozy Hub - Account Drawer Styles
============================================================ */

/* Body lock when drawer is open */
.cozy-hub-body-lock {
  overflow: hidden;
}

/* ----------------------------------------------------------
   Main Drawer Container
---------------------------------------------------------- */

.cozy-hub {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  visibility: hidden;
}

.cozy-hub--open {
  pointer-events: auto;
  visibility: visible;
}

/* Backdrop */
.cozy-hub__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cozy-hub--open .cozy-hub__backdrop {
  opacity: 1;
}

/* Panel */
.cozy-hub__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Contain all content */
}

.cozy-hub--open .cozy-hub__panel {
  transform: translateX(0);
}

/* ----------------------------------------------------------
   Header
---------------------------------------------------------- */

.cozy-hub__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #eee;
}

.cozy-hub__greeting {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.cozy-hub__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cozy-hub__cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.cozy-hub__cart-btn:focus {
  outline: none;
  box-shadow: none;
}

.cozy-hub__cart-btn:focus-visible {
  outline: 2px solid #f7c945;
  outline-offset: 2px;
}

.cozy-hub__cart-btn:hover {
  background: #f5f5f5;
  color: #000;
}

.cozy-hub__cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  color: #000;
  background: #f7c945;
  border-radius: 9px;
}

/* Hide badge when count is 0 or empty */
.cozy-hub__cart-badge[data-count="0"],
.cozy-hub__cart-badge:has(.cozy-hub__cart-count:empty) {
  display: none;
}

/* Cart Pulse Animation */
@keyframes cozy-hub-pulse-expand {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: .6;  filter: blur(0); }
  45%  { transform: translate(-50%, -50%) scale(1.4); opacity: .55; filter: blur(0.5px); }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0;   filter: blur(1.2px); }
}

.cozy-hub__pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  border: 2px solid rgba(247, 201, 69, 0.95);
  pointer-events: none;
  opacity: 0;
}

.cozy-hub__pulse-ring.cozy-hub__pulse-on {
  animation: cozy-hub-pulse-expand 1.6s ease-out infinite;
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: reduce) {
  .cozy-hub__pulse-ring.cozy-hub__pulse-on {
    animation: none !important;
    opacity: 0 !important;
  }
}

.cozy-hub__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.cozy-hub__close:focus {
  outline: none;
  box-shadow: none;
}

.cozy-hub__close:focus-visible {
  outline: 2px solid #f7c945;
  outline-offset: 2px;
}

.cozy-hub__close:hover {
  background: #f5f5f5;
  color: #000;
}

/* ----------------------------------------------------------
   Tabs
---------------------------------------------------------- */

.cozy-hub__tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.cozy-hub__tab {
  flex: 1;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-align: center;
}

.cozy-hub__tab:hover {
  color: #000;
}

.cozy-hub__tab--active {
  color: #000;
  border-bottom-color: #000;
}

/* ----------------------------------------------------------
   Content Area
---------------------------------------------------------- */

.cozy-hub__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
}

.cozy-hub__panel-content {
  display: none;
  padding: 16px 20px;
}

.cozy-hub__panel-content--active {
  display: block;
}

/* ----------------------------------------------------------
   Block Base Styles
---------------------------------------------------------- */

.cozy-hub__block {
  margin-bottom: 20px;
}

.cozy-hub__block:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   Store Credit Block
---------------------------------------------------------- */

.cozy-hub-credit__card {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.cozy-hub-credit__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.cozy-hub-credit__icon {
  opacity: 0.8;
}

.cozy-hub-credit__label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.cozy-hub-credit__balance {
  margin-top: 8px;
}

.cozy-hub-credit__amount {
  font-size: 32px;
  font-weight: 700;
  display: block;
  color: #f7c945;
}

.cozy-hub-credit__subtext {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
  display: block;
}

.cozy-hub-credit__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.cozy-hub-credit__link:hover {
  background: #eee;
}

.cozy-hub-credit__link svg {
  flex-shrink: 0;
}

.cozy-hub-credit__redeem {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 16px;
}

.cozy-hub-credit__redeem-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.cozy-hub-credit__redeem-title svg {
  opacity: 0.8;
}

.cozy-hub-credit__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cozy-hub-credit__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cozy-hub-credit__step-num {
  background: #f7c945;
  color: #1a1a1a;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.cozy-hub-credit__step-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ----------------------------------------------------------
   Track Order Block (Full Tracking Panel)
---------------------------------------------------------- */

.cozy-hub-track {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
}

.cozy-hub-track__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.cozy-hub-track__icon {
  width: 24px;
  height: 24px;
  color: #f7c945;
}

.cozy-hub-track__title {
  font-size: 18px;
  font-weight: 600;
  font-family: 'DM Serif Display', serif;
  color: #1a1a1a;
  margin: 0;
}

.cozy-hub-track__order {
  font-size: 13px;
  color: #666;
  margin: 0 0 20px;
}

.cozy-hub-track__order a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Progress Steps */
.cozy-hub-track__progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 20px;
}

.cozy-hub-track__progress::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: #e5e5e5;
  z-index: 0;
}

.cozy-hub-track__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.cozy-hub-track__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.cozy-hub-track__dot svg {
  width: 16px;
  height: 16px;
  color: #e5e5e5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cozy-hub-track__step.is-complete .cozy-hub-track__dot {
  background: #f7c945;
  border-color: #f7c945;
}

.cozy-hub-track__step.is-complete .cozy-hub-track__dot svg {
  color: #1a1a1a;
  opacity: 1;
}

.cozy-hub-track__step.is-active .cozy-hub-track__dot {
  border-color: #f7c945;
  box-shadow: 0 0 0 4px rgba(247, 201, 69, 0.2);
}

.cozy-hub-track__step.is-active .cozy-hub-track__dot::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #f7c945;
  border-radius: 50%;
}

.cozy-hub-track__label {
  font-size: 11px;
  font-weight: 500;
  color: #666;
}

.cozy-hub-track__step.is-complete .cozy-hub-track__label,
.cozy-hub-track__step.is-active .cozy-hub-track__label {
  color: #1a1a1a;
  font-weight: 600;
}

.cozy-hub-track__date {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

/* Order Items */
.cozy-hub-track__items {
  border-top: 1px solid #e5e5e5;
  padding-top: 16px;
  margin-bottom: 16px;
}

.cozy-hub-track__items-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 12px;
}

.cozy-hub-track__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cozy-hub-track__item:last-child {
  margin-bottom: 0;
}

.cozy-hub-track__item-image {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.cozy-hub-track__item-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.cozy-hub-track__item-details {
  flex: 1;
  min-width: 0;
}

.cozy-hub-track__item-title {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cozy-hub-track__item-variant {
  font-size: 12px;
  color: #666;
  margin: 2px 0 0;
}

.cozy-hub-track__item-qty {
  font-size: 13px;
  color: #666;
  flex-shrink: 0;
}

.cozy-hub-track__more {
  font-size: 12px;
  color: #666;
  margin: 8px 0 0;
}

/* Track Button */
.cozy-hub-track__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #f7c945;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.cozy-hub-track__btn:hover {
  background: #e5b936;
}

.cozy-hub-track__btn svg {
  width: 16px;
  height: 16px;
}

.cozy-hub-track__pending {
  text-align: center;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 8px;
}

.cozy-hub-track__pending p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.cozy-hub-track__empty {
  text-align: center;
  padding: 24px 16px;
}

.cozy-hub-track__empty svg {
  width: 40px;
  height: 40px;
  color: #ccc;
  margin: 0 auto 12px;
  display: block;
}

.cozy-hub-track__empty p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   Orders Block
---------------------------------------------------------- */

.cozy-hub-orders__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cozy-hub-orders__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.cozy-hub-orders__view-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.cozy-hub-orders__view-all:hover {
  color: #000;
}

.cozy-hub-orders__carousel {
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}

.cozy-hub-orders__track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
}

.cozy-hub-orders__card {
  flex: 0 0 calc(100% - 12px);
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
}

.cozy-hub-orders__image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.cozy-hub-orders__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cozy-hub-orders__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}

.cozy-hub-orders__info {
  flex: 1;
  min-width: 0;
}

.cozy-hub-orders__number {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.cozy-hub-orders__meta {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 2px;
}

.cozy-hub-orders__status {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.cozy-hub-orders__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.cozy-hub-orders__status--unfulfilled .cozy-hub-orders__status-dot,
.cozy-hub-orders__status--processing .cozy-hub-orders__status-dot {
  background: #f59e0b;
}

.cozy-hub-orders__status--fulfilled .cozy-hub-orders__status-dot,
.cozy-hub-orders__status--delivered .cozy-hub-orders__status-dot {
  background: #22c55e;
}

.cozy-hub-orders__actions {
  text-align: right;
  flex-shrink: 0;
}

.cozy-hub-orders__total {
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.cozy-hub-orders__link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  display: block;
  margin-top: 4px;
}

.cozy-hub-orders__link:hover {
  color: #000;
  text-decoration: underline;
}

.cozy-hub-orders__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.cozy-hub-orders__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.cozy-hub-orders__nav-btn:hover:not(:disabled) {
  background: #eee;
}

.cozy-hub-orders__nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cozy-hub-orders__empty {
  text-align: center;
  padding: 24px;
  color: #666;
}

.cozy-hub-orders__shop-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

/* ----------------------------------------------------------
   Recently Viewed & Wishlist Blocks (Shared Carousel Styles)
---------------------------------------------------------- */

.cozy-hub-rv__header,
.cozy-hub-deals__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cozy-hub-rv__title,
.cozy-hub-deals__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}.cozy-hub-rv__nav,
.cozy-hub-deals__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cozy-hub-rv__view-all{
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-right: 8px;
}

..cozy-hub-rv__view-all:hover{
  color: #000;
}

.cozy-hub-rv__nav-btn,
.cozy-hub-deals__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

..cozy-hub-rv__nav-btn:hover:not(:disabled),
.cozy-hub-deals__nav-btn:hover:not(:disabled){
  background: #eee;
}

..cozy-hub-rv__nav-btn:disabled,
.cozy-hub-deals__nav-btn:disabled{
  opacity: 0.4;
  cursor: not-allowed;
}

/* Native scroll carousels - match working cart upsell pattern */
.cozy-hub-rv__carousel,
.cozy-hub-deals__carousel {
  /* No overflow restriction - let track handle it */
}

.cozy-hub-rv__track,
.cozy-hub-deals__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

//* Hide scrollbar for Chrome/Safari */
.cozy-hub-rv__track::-webkit-scrollbar,
.cozy-hub-deals__track::-webkit-scrollbar{
  display: none;
}

.cozy-hub-rv__card,
.cozy-hub-deals__card {
  flex: 0 0 200px;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/.cozy-hub-deals__image-wrap{
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #f5f5f5;
}

..cozy-hub-rv__image-wrap a,
.cozy-hub-deals__image-wrap a{
  display: block;
  width: 100%;
  height: 100%;
}

.cozy-hub-rv__image-link,
.cozy-hub-deals__image-link {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.cozy-hub-rv__image,
.cozy-hub-deals__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

..cozy-hub-rv__image-wrap:hover .cozy-hub-rv__image{
  transform: scale(1.05);
}



/* Card info */
.cozy-hub-rv__info,
.cozy-hub-deals__info {
  padding: 10px;
}

.cozy-hub-rv__name,
.cozy-hub-deals__name {
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

..cozy-hub-rv__name:hover,
.cozy-hub-deals__name:hover{
  text-decoration: underline;
}

.cozy-hub-rv__price,
.cozy-hub-deals__price {
  font-size: 13px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cozy-hub__price-regular,
.cozy-hub-deals__price-regular {
  font-weight: 600;
}

.cozy-hub__price-sale,
.cozy-hub-deals__price-sale {
  font-weight: 600;
  color: #dc2626;
}

.cozy-hub__price-compare,
.cozy-hub-deals__price-compare {
  text-decoration: line-through;
  color: #999;
}/* Empty states */
.cozy-hub-rv__empty,
.cozy-hub-deals__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  color: #666;
  background: #f8f8f8;
  border-radius: 10px;
  min-height: 120px;
}

.cozy-hub-rv__shop-btn,
.cozy-hub-deals__shop-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #f7c945;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}

/* ----------------------------------------------------------
   Shoppable Card Elements (Swatches, Sizes, ATC)
---------------------------------------------------------- */

/* Swatches Container */
.cozy-hub-rv__swatches{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 8px;
}

.cozy-hub-rv__swatches-row{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.cozy-hub-rv__swatch-container{
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
}

//* Allow wrapping when expanded */
.cozy-hub-rv__swatches[data-expanded="true"] .cozy-hub-rv__swatch-container{
  flex-wrap: wrap;
}

/* Individual Swatch */
.cozy-hub-rv__swatch{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
  padding: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

..cozy-hub-rv__swatch:hover{
  transform: scale(1.1);
}

..cozy-hub-rv__swatch.active{
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #282e37;
}

/* Hidden swatches (expandable) */
.cozy-hub-rv__swatch--hidden{
  display: none;
}

..cozy-hub-rv__swatches[data-expanded="true"] .cozy-hub-rv__swatch--hidden{
  display: block;
}

/* Swatch toggle button - "View more" inline, "Hide" at bottom */
.cozy-hub-rv__swatch-toggle{
  font-size: 11px;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  white-space: nowrap;
  text-decoration: underline;
}

..cozy-hub-rv__swatch-toggle:hover{
  color: #000;
}

/* Hide toggle (at bottom when expanded) */
.cozy-hub-rv__swatch-hide{
  display: none;
  font-size: 11px;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
  white-space: nowrap;
  text-decoration: underline;
}

..cozy-hub-rv__swatch-hide:hover{
  color: #000;
}

..cozy-hub-rv__swatches[data-expanded="true"] .cozy-hub-rv__swatch-toggle{
  display: none;
}

..cozy-hub-rv__swatches[data-expanded="true"] .cozy-hub-rv__swatch-hide{
  display: block;
}

/* Size Buttons */
.cozy-hub-rv__sizes{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.cozy-hub-rv__size{
  font-size: 10px;
  padding: 4px 8px;
  border: 1px solid #D1D5DB;
  border-radius: 12px;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

..cozy-hub-rv__size:hover:not(.disabled):not(.active){
  background: #fff;
  color: #000;
  border-color: #000;
}

..cozy-hub-rv__size.active{
  background: #282e37;
  color: #fff;
  border-color: #282e37;
  font-weight: 600;
}

..cozy-hub-rv__size.disabled{
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Add to Cart Button */
.cozy-hub-rv__atc{
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 6px;
  background: #F7C945;
  color: #000;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

..cozy-hub-rv__atc:hover:not(:disabled){
  background: #282e37;
  color: #fff;
}

..cozy-hub-rv__atc:disabled{
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* Price styles for RV and Wishlist */
.cozy-hub-rv__price-regular{
  font-weight: 600;
}

.cozy-hub-rv__price-sale{
  font-weight: 600;
  color: #dc2626;
}

.cozy-hub-rv__price-compare{
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}

/* ----------------------------------------------------------
   Featured Block
---------------------------------------------------------- */

.cozy-hub__featured {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.cozy-hub__featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.cozy-hub__featured-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.cozy-hub__featured-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  color: #fff;
}

/* ----------------------------------------------------------
   Text Block
---------------------------------------------------------- */

.cozy-hub__text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 10px;
  text-decoration: none;
  color: #000;
  transition: background 0.2s;
}

.cozy-hub__text-link:hover {
  background: #eee;
}

.cozy-hub__text-title {
  font-size: 15px;
  font-weight: 500;
}

.cozy-hub__text-arrow {
  color: #666;
}

/* ----------------------------------------------------------
   Login Prompt Block
---------------------------------------------------------- */

.cozy-hub__login-prompt {
  text-align: center;
  padding: 32px 20px;
  background: #f9f9f9;
  border-radius: 12px;
}

.cozy-hub__login-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.cozy-hub__login-text {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
}

.cozy-hub__login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cozy-hub__login-btn {
  display: block;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.cozy-hub__login-btn--primary {
  background: #f7c945;
  color: #000;
}

.cozy-hub__login-btn--primary:hover {
  background: #e5b93e;
}

.cozy-hub__login-btn--secondary {
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
}

.cozy-hub__login-btn--secondary:hover {
  background: #f5f5f5;
}

/* ----------------------------------------------------------
   Footer
---------------------------------------------------------- */

.cozy-hub__footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.cozy-hub__footer-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.cozy-hub__footer-link:hover {
  color: #000;
  text-decoration: underline;
}

.cozy-hub__footer-link--logout {
  color: #dc2626;
}

.cozy-hub__footer-link--logout:hover {
  color: #b91c1c;
}

/* ----------------------------------------------------------
   Recently Viewed Block
---------------------------------------------------------- */

.cozy-hub-rv__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cozy-hub-rv__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.cozy-hub-rv__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cozy-hub-rv__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.cozy-hub-rv__arrow:hover:not(:disabled) {
  background: #e5e5e5;
}

.cozy-hub-rv__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cozy-hub-rv__loading {
  text-align: center;
  padding: 40px 20px;
}

.cozy-hub-rv__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #eee;
  border-top-color: #000;
  border-radius: 50%;
  animation: cozy-spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes cozy-spin {
  to { transform: rotate(360deg); }
}

.cozy-hub-rv__carousel {
  overflow: hidden;
  margin: 0 -20px;
  padding: 0 20px;
}

.cozy-hub-rv__track {
  display: inline-flex;
  gap: 12px;
  transition: transform 0.3s ease;
}

.cozy-hub-rv__track::after {
  content: '';
  display: block;
  min-width: 20px;
  flex-shrink: 0;
}

.cozy-hub-rv__card {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.cozy-hub-rv__image-wrap {
  display: block;
  aspect-ratio: 1;
  background: #f8f8f8;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
}

.cozy-hub-rv__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.cozy-hub-rv__card:hover .cozy-hub-rv__image {
  transform: scale(1.03);
}

.cozy-hub-rv__image-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}.cozy-hub-rv__info {
  padding: 10px;
}

.cozy-hub-rv__name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cozy-hub-rv__name:hover {
  text-decoration: underline;
}

.cozy-hub-rv__price {
  font-size: 13px;
  font-weight: 600;
}

.cozy-hub-rv__price-sale {
  color: #dc2626;
  margin-right: 6px;
}

.cozy-hub-rv__price-compare {
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 12px;
}

.cozy-hub-rv__empty {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 10px;
}

.cozy-hub-rv__empty p {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.cozy-hub-rv__shop-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #f7c945;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.cozy-hub-rv__shop-btn:hover {
  background: #282e37;
  color: #fff;
}

/* ----------------------------------------------------------
   Orders List Styles (non-carousel)
---------------------------------------------------------- */

.cozy-hub-orders__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cozy-hub-orders__list .cozy-hub-orders__card {
  flex: none;
  text-decoration: none;
}

.cozy-hub-orders__right {
  text-align: right;
  flex-shrink: 0;
}

.cozy-hub-orders__total {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.cozy-hub-orders__link {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 4px;
}

.cozy-hub-orders__card:hover .cozy-hub-orders__link {
  color: #000;
}

.cozy-hub-orders__empty {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 10px;
}

.cozy-hub-orders__empty p {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.cozy-hub-orders__shop-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.cozy-hub-orders__shop-btn:hover {
  background: #333;
}

/* ----------------------------------------------------------
   Exclusive Deals Block
---------------------------------------------------------- */

.cozy-hub-deals__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cozy-hub-deals__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.cozy-hub-deals__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cozy-hub-deals__view-all {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  margin-right: 8px;
}

.cozy-hub-deals__view-all:hover {
  color: #000;
}

.cozy-hub-deals__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.cozy-hub-deals__arrow:hover:not(:disabled) {
  background: #e5e5e5;
}

.cozy-hub-deals__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cozy-hub-deals__card {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.cozy-hub-deals__image-wrap {
  display: block;
  aspect-ratio: 1;
  background: #f8f8f8;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0 0;
}

.cozy-hub-deals__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.cozy-hub-deals__card:hover .cozy-hub-deals__image {
  transform: scale(1.03);
}

.cozy-hub-deals__image-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.cozy-hub-deals__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  background: #f7c945;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  z-index: 2;
}.cozy-hub-deals__info {
  padding: 10px;
}

.cozy-hub-deals__name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cozy-hub-deals__name:hover {
  text-decoration: underline;
}

.cozy-hub-deals__price {
  font-size: 13px;
  font-weight: 600;
}

.cozy-hub-deals__price-sale {
  color: #dc2626;
  margin-right: 6px;
}

.cozy-hub-deals__price-compare {
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 12px;
}

.cozy-hub-deals__empty {
  text-align: center;
  padding: 30px 20px;
  background: #f8f8f8;
  border-radius: 10px;
}

.cozy-hub-deals__empty p {
  margin: 0 0 12px;
  color: #666;
  font-size: 14px;
}

.cozy-hub-deals__shop-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.cozy-hub-deals__shop-btn:hover {
  background: #333;
}

/* ----------------------------------------------------------
   Stacked Deals Layout (Horizontal Cards)
---------------------------------------------------------- */

.cozy-hub-deals--stacked .cozy-hub-deals__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cozy-hub-deals--stacked .cozy-hub-deals__card {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px;
  transition: box-shadow 0.2s;
}

.cozy-hub-deals--stacked .cozy-hub-deals__card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cozy-hub-deals--stacked .cozy-hub-deals__card-image {
  position: relative;
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
}

.cozy-hub-deals--stacked .cozy-hub-deals__card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.cozy-hub-deals--stacked .cozy-hub-deals__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cozy-hub-deals--stacked .cozy-hub-deals__placeholder {
  width: 100%;
  height: 100%;
  background: #eee;
}

/* Badges for stacked layout */
.cozy-hub-deals--stacked .cozy-hub-deals__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 2;
}

.cozy-hub-deals--stacked .cozy-hub-deals__badge--buyagain {
  background: #f7c945;
  color: #1a1a1a;
}

.cozy-hub-deals--stacked .cozy-hub-deals__badge--featured {
  background: #f7c945;
  color: #1a1a1a;
}

.cozy-hub-deals--stacked .cozy-hub-deals__badge--hot {
  background: #ff6b35;
  color: #fff;
}

.cozy-hub-deals--stacked .cozy-hub-deals__badge--timer {
  background: #1a1a1a;
  color: #fff;
}

.cozy-hub-deals--stacked .cozy-hub-deals__badge--custom {
  background: #6366f1;
  color: #fff;
}/* Card content for stacked layout */
.cozy-hub-deals--stacked .cozy-hub-deals__card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cozy-hub-deals--stacked .cozy-hub-deals__name {
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cozy-hub-deals--stacked .cozy-hub-deals__name:hover {
  text-decoration: underline;
}

.cozy-hub-deals--stacked .cozy-hub-deals__price {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 4px;
}

.cozy-hub-deals--stacked .cozy-hub-deals__price-sale,
.cozy-hub-deals--stacked .cozy-hub-deals__price-regular {
  font-weight: 600;
}

.cozy-hub-deals--stacked .cozy-hub-deals__price-sale {
  color: #dc2626;
}

.cozy-hub-deals--stacked .cozy-hub-deals__price-compare {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.cozy-hub-deals--stacked .cozy-hub-deals__vip-savings {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #16a34a;
  font-weight: 500;
  margin-bottom: 8px;
}

.cozy-hub-deals--stacked .cozy-hub-deals__add-btn {
  margin-top: auto;
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.cozy-hub-deals--stacked .cozy-hub-deals__add-btn:hover:not(:disabled) {
  background: #333;
}

.cozy-hub-deals--stacked .cozy-hub-deals__add-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.cozy-hub-deals--stacked .cozy-hub-deals__add-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.cozy-hub-deals--stacked .cozy-hub-deals__view-all {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.cozy-hub-deals--stacked .cozy-hub-deals__view-all:hover {
  color: #000;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Mobile Responsive
---------------------------------------------------------- */

@media (max-width: 480px) {
  .cozy-hub__panel {
    max-width: 100%;
  }
  
  .cozy-hub__header {
    padding: 16px;
  }
  
  .cozy-hub__greeting {
    font-size: 20px;
  }
  
  .cozy-hub__tabs {
    padding: 0 16px;
  }
  
  .cozy-hub__tab {
    padding: 12px 8px;
    font-size: 13px;
  }
  
  .cozy-hub__panel-content {
    padding: 16px;
  }
  
  .cozy-hub__content {
    padding: 0;
  }
  
  .cozy-hub-rv__card,
    .cozy-hub-deals__card {
    flex: 0 0 200px;
  }
  
  .cozy-hub-credit__amount {
    font-size: 28px;
  }
}
