
/************************************************************
 KARNAS DESIGN STUDIO
 LUXURY AUTUMN COLOR THEME
 Burgundy | Espresso | Coral | Amethyst | Cream

 Complete replacement stylesheet
 Includes WooCommerce, music player and scrolling banner
************************************************************/

/* ========================================================
  1. FALL COLOR PALETTE
======================================================== */

:root {
  --kds-cream: #FFF5EC;
  --kds-ivory: #FFFCF8;
  --kds-sand: #F0E0D3;
  --kds-brown: #50372F;
  --kds-burgundy: #743448;
  --kds-burgundy-deep: #552438;
  --kds-coral: #D48A78;
  --kds-amethyst: #866797;
  --kds-copper: #AD684E;
  --kds-gold: #B48D61;
  --kds-text: #3F302E;
  --kds-border: #C7A797;
}

/* ========================================================
  2. WEBSITE BACKGROUND AND GENERAL COLORS
======================================================== */

body,
.wp-site-blocks {
  background-color: var(--kds-ivory) !important;
  color: var(--kds-text);
}

/* Standard links */

a {
  color: var(--kds-burgundy) !important;
  transition: color .25s ease !important;
}

a:hover,
a:focus {
  color: var(--kds-amethyst) !important;
}

/* Navigation */

.wp-block-navigation-item__content {
  color: var(--kds-burgundy) !important;
}

.wp-block-navigation-item__content:hover {
  color: var(--kds-amethyst) !important;
}

/* Standard headings without custom text colors */

.wp-block-heading:not(.has-text-color),
.wp-block-post-title:not(.has-text-color) {
  color: var(--kds-brown);
}

/* ========================================================
  3. PRODUCT TITLES
======================================================== */

.woocommerce ul.products li.product
.woocommerce-loop-product__title,
.woocommerce ul.products li.product
h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product
.woocommerce-loop-product__title a {
  color: var(--kds-burgundy) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3em !important;
}

.woocommerce ul.products li.product:hover
.woocommerce-loop-product__title {
  color: var(--kds-amethyst) !important;
}

/* Individual product page title */

.woocommerce div.product .product_title {
  color: var(--kds-burgundy) !important;
  font-size: 26px !important;
  line-height: 1.2em !important;
  font-weight: 600 !important;
  letter-spacing: .3px;
  margin-bottom: 10px !important;
}

/* ========================================================
  4. PRODUCT PRICES
======================================================== */

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.wc-block-components-product-price {
  color: var(--kds-copper) !important;
  font-weight: 600 !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 20px !important;
}

/* Sale prices */

.woocommerce .price ins {
  color: var(--kds-burgundy) !important;
  text-decoration: none !important;
}

.woocommerce .price del {
  color: #927F77 !important;
}

/* ========================================================
  5. LUXURY FALL BUTTONS
======================================================== */

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button {
  background: linear-gradient(
    145deg,
    var(--kds-cream) 0%,
    var(--kds-sand) 50%,
    var(--kds-coral) 100%
  ) !important;

  color: var(--kds-brown) !important;
  border: 1px solid var(--kds-copper) !important;
  border-radius: 7px !important;
  font-weight: 600 !important;

  box-shadow: 0 3px 8px rgba(80,55,47,.13) !important;
  transition: all .25s ease-in-out !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:hover {
  background: linear-gradient(
    145deg,
    var(--kds-sand),
    var(--kds-coral)
  ) !important;

  color: var(--kds-burgundy-deep) !important;
  border-color: var(--kds-burgundy) !important;
  box-shadow: 0 5px 14px rgba(116,52,72,.2) !important;
  transform: translateY(-1px) !important;
}

/* ========================================================
  6. VARIATION SWATCHES
======================================================== */

.woo-variation-swatches .variable-item,
.woo-variation-swatches
.variable-item.button-variable-item {
  background: linear-gradient(
    145deg,
    var(--kds-cream),
    var(--kds-sand)
  ) !important;

  border: 1px solid var(--kds-border) !important;
  border-radius: 6px !important;
  color: var(--kds-brown) !important;
  font-weight: 600 !important;
  transition: all .25s ease-in-out !important;
}

.woo-variation-swatches .variable-item.selected,
.woo-variation-swatches .variable-item:hover {
  border-color: var(--kds-amethyst) !important;
  box-shadow: 0 0 10px rgba(134,103,151,.3) !important;
}

/* ========================================================
  7. SALE BADGES AND SHOP DETAILS
======================================================== */

.woocommerce span.onsale {
  background: var(--kds-burgundy) !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  font-weight: 700 !important;
}

/* Breadcrumbs */

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  color: var(--kds-copper) !important;
}

/* WooCommerce messages */

.woocommerce-message,
.woocommerce-info {
  background: var(--kds-cream) !important;
  color: var(--kds-brown) !important;
  border-top-color: var(--kds-burgundy) !important;
}

/* Form highlights */

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: var(--kds-amethyst) !important;
  outline-color: var(--kds-amethyst) !important;
}

/* ========================================================
  8. HIDE STORE NOTICE
  Preserves previous KDS settings
======================================================== */

.woocommerce-store-notice,
.woocommerce-store-notice__notice,
p.demo_store {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ========================================================
  9. HIDE PRODUCT TAGS
  Preserves previous KDS settings
======================================================== */

.single-product .product_meta,
.single-product .product_meta .tagged_as,
.single-product
.product_meta .woocommerce-product-meta__item--tags,
.single-product .wc-block-components-product-metadata,
.single-product
.wc-block-components-product-metadata__tags,
.single-product .wp-block-woocommerce-product-meta,
.single-product
.wp-block-woocommerce-product-meta
.wp-block-woocommerce-product-meta__item--tags {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========================================================
  10. AUTUMN SCROLLING BOTTOM BANNER
  Burgundy | Amethyst | Warm Coral
======================================================== */

.kds-marquee,
.kds-vday-marquee {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  padding: 12px 0 !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  white-space: nowrap !important;

  background: linear-gradient(
    90deg,
    #50372F 0%,
    #743448 35%,
    #866797 65%,
    #D48A78 100%
  ) !important;

  color: #FFFFFF !important;
  border-top: 2px solid rgba(255,245,236,.5) !important;
  box-shadow: 0 -4px 14px rgba(80,55,47,.22) !important;

  animation: kdsHideBanner 20s forwards !important;
}

/* Scrolling movement */

.kds-marquee-content,
.kds-vday-track {
  display: inline-block !important;
  padding-left: 100% !important;
  animation: kdsScrollText 16s linear infinite !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Remove old Valentine decorations */

.kds-marquee::before,
.kds-marquee::after,
.kds-vday-marquee::before,
.kds-vday-marquee::after {
  content: none !important;
  display: none !important;
  background: none !important;
  animation: none !important;
}

/* New fall scrolling message */

.kds-marquee-content,
.kds-vday-track {
  font-size: 0 !important;
}

.kds-marquee-content::before,
.kds-vday-track::before {
  content: "🍂 Fall Into Something Beautiful • Discover Autumn Favorites at Karnas Design Studio • Gift Cards Available • Explore Our Etsy & Amazon Storefronts Through the Links Below 🍁";
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1px 5px rgba(50,25,30,.35);
}

/* Banner animation */

@keyframes kdsScrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes kdsHideBanner {
  0%, 85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Optional existing top-banner classes */

.kds-top-banner,
.kds-top-marquee {
  background: linear-gradient(
    90deg,
    #50372F,
    #743448,
    #866797,
    #D48A78
  ) !important;
  color: #FFFFFF !important;
}

.kds-top-banner a,
.kds-top-marquee a {
  color: #FFFFFF !important;
}

/* ========================================================
  11. LUXURY FALL MUSIC PLAYER
  Amethyst | Burgundy | Coral
======================================================== */

#kds-music-widget {
  position: fixed !important;
  right: 18px !important;
  bottom: 78px !important;
  z-index: 99999999 !important;
  pointer-events: auto !important;

  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;

  font-family: system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif !important;
}

/* Remove unwanted white wrapper decorations */

#kds-music-widget::before,
#kds-music-widget::after,
#kds-music-widget *::before,
#kds-music-widget *::after {
  content: none !important;
  display: none !important;
}

/* Music button */

#kds-music-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;

  background: linear-gradient(
    135deg,
    var(--kds-cream),
    var(--kds-sand),
    var(--kds-coral)
  ) !important;

  border: 2px solid var(--kds-burgundy) !important;

  box-shadow: 0 10px 28px rgba(116,52,72,.22) !important;
  cursor: pointer !important;

  transition: transform .2s ease,
    box-shadow .2s ease !important;
}

/* Music button hover */

#kds-music-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(134,103,151,.35) !important;
}

/* Circular play icon */

#kds-music-icon {
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;

  background: rgba(255,255,255,.96) !important;
  color: var(--kds-amethyst) !important;
  font-weight: 900 !important;
}

/* Music player wording */

#kds-music-text {
  color: var(--kds-brown) !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  font-size: 14px !important;
}

/* Native audio control, if present */

#kds-music-audio {
  height: 34px !important;
  width: 240px !important;
  display: block !important;
}

/* ========================================================
  12. MOBILE ADJUSTMENTS
======================================================== */

@media (max-width: 600px) {

  .kds-marquee,
  .kds-vday-marquee {
    padding: 10px 0 !important;
  }

  .kds-marquee-content::before,
  .kds-vday-track::before {
    font-size: 14px;
  }

  #kds-music-btn {
    padding: 9px 12px !important;
  }

  #kds-music-text {
    font-size: 13px !important;
  }

  #kds-music-widget {
    right: 12px !important;
    bottom: 72px !important;
  }

  .woocommerce div.product .product_title {
    font-size: 23px !important;
  }
}

/************************************************************
 END OF KDS LUXURY AUTUMN THEME
************************************************************/

/* KDS — Hide floating music player */
#kds-music-widget,
#kds-music-btn,
#kds-music-audio {
  display: none !important;
}
