/* ============================================================================
   KKE SKIN TOKENS  (task 5410, "Mid-Sept" stage)
   ----------------------------------------------------------------------------
   Values measured from the Adobe XD prototype in Specs Mode, which the brief
   names as the source of truth:
     green       #599341   calls to action, links, anything clickable
     blue        #264A96   hover, page headers, section and footer backgrounds
     light blue  #BEC9E0   mailing list background, background flowers

   Components read the SEMANTIC tokens (--cta-*, --link*, --accent...), never
   the raw brand colors. That is what makes the Ready-to-Hang exclusion a
   single rule: the RTH scopes below redefine the semantic tokens back to the
   Aloha pink, and every button, link and outline inside them follows without
   a per-component override. It also means the October brand pass is a token
   change, not a hunt through the stylesheets.
   ========================================================================= */
:root {
  --kke-green: #599341;
  --kke-blue: #264A96;
  --kke-light-blue: #BEC9E0;
  --kke-blue-muted: #7D92C0;   /* "STEP n OF 5" labels in the Custom Drapery screens */

  --ad-pink: #BF297A;
  --ad-pink-bright: #ED2593;
  --ad-pink-dark: #9E2166;

  --cta-bg: var(--kke-green);
  --cta-border: var(--kke-green);
  --cta-bg-hover: var(--kke-blue);
  --cta-border-hover: var(--kke-blue);
  --cta-text-hover: #FFFFFF;

  --link: var(--kke-green);
  --link-hover: var(--kke-blue);

  --accent: var(--kke-green);
  --accent-hover: var(--kke-blue);
  --heading-accent: var(--kke-blue);

  /* Flower fill is the prototype's #BEC9E0 at 25%, pre-flattened onto the
     #F9F9F9 page to #EAEDF3, the same way the pink original was flattened. */
  --page-flowers: url("/catalog/view/theme/hiddengears/image/flowers-kke-blue.svg");
}

/* Ready-to-Hang keeps Aloha Drapery branding: the homepage RTH section and the
   RTH product page (product.twig adds .rth-brand for it). These restore the
   pre-5410 values exactly, including the old hover that only greyed the text. */
#page-home-ready-to-hang,
.rth-brand {
  --cta-bg: var(--ad-pink-bright);
  --cta-border: var(--ad-pink);
  --cta-bg-hover: var(--ad-pink-bright);
  --cta-border-hover: var(--ad-pink);
  --cta-text-hover: #CCCCCC;

  --link: var(--ad-pink);
  --link-hover: #231F20;

  --accent: var(--ad-pink);
  --accent-hover: var(--ad-pink);

  --page-flowers: url("/catalog/view/theme/hiddengears/image/Mask Group.svg");
}

.hg-secondary-button {
  box-sizing: border-box;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-family: Amiko;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0;
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: rgba(255, 255, 255, 0.00);
}
.hg-secondary-button:hover {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  text-decoration: none;
}
.hg-primary-button {
  box-sizing: border-box;
  border: 2px solid var(--cta-border);
  border-radius: 8px;
  color: #FFFFFF;
  font-family: Amiko;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0;
  text-align: center;
  padding: 12px 40px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--cta-bg) 0% 0% no-repeat padding-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0px 2px 10px #00000033;
  border-radius: 25px;
}
.hg-primary-button:hover {
  background-color: var(--cta-bg-hover);
  border-color: var(--cta-border-hover);
  color: var(--cta-text-hover);
  text-decoration: none;
}
.hg-tertiary-button {
  box-sizing: border-box;
  border: 2px solid #F9F9F9;
  border-radius: 8px;
  color: #231F20;
  font-family: Amiko;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0;
  text-align: center;
  padding-top: 10px;
  padding-right: 25px;
  padding-left: 25px;
  padding-bottom: 10px;
  text-transform: uppercase;
  background-color: #F9F9F9;
  text-decoration: none;
  white-space: nowrap;
}
.hg-tertiary-button:hover {
  color: #000000;
  text-decoration: none;
}
.hg-circle-image {
  object-fit: cover;
  border-radius: 50%;
}
/* Only used for the "clear results and start over" links (Custom Drapery and
   Custom Pillows review steps) and a Custom Drapery label that has its own
   override, so it takes the link colours. */
.hg-pink-font {
  color: var(--link);
}
a.hg-pink-font:hover {
  color: var(--link-hover);
}
.form-label {
  color: #231F20;
  font-family: "Open Sans";
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 22px;
}
.smaller-font {
  font-size: 16px;
  font-weight: 600;
}
.muted-link {
  color: #231F20;
}
.no-underline-link {
  text-decoration: none !important;
}
.big-lr-padding {
  padding-left: 75px;
  padding-right: 75px;
}
/* Bold text (fabric name, 'OK', 'CANCEL') in the "You've selected..." confirm
   dialog of both Custom Drapery and Custom Pillows: blue per task 5410 req 16
   and the prototype's Fabric Selection Pop Up screens. */
.pink-font {
  color: var(--heading-accent);
}
.account-list-link a {
  color: #231F20 !important;
}
.account-list-link-active a {
  color: #FFFFFF !important;
}
.account-list-link, .account-list-link-active {
  border-bottom: 1px solid #DCDCDC;
}
.rounded-right-edges {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}
.rounded-left-edges {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
/* Selected option card in the Custom Drapery steps. The class name predates
   task 5410; the colour now follows the KKE rule (blue outline, like the
   pillow cards' hover) and stays pink inside the Ready-to-Hang scopes. */
.hg-pink-selection-box {
  border: 2px solid var(--accent-hover);
}
.hg-pink-selection-box .uk-card-title {
  color: var(--accent-hover);
}
.hg-radio {
    height: 30px;
    width: 30px;
    cursor: pointer;
}

@media screen and (max-width:959px) {
  h1 {
    color: #231F20;
    font-family: "Playfair Display";
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.67px;
    line-height: 53px;
  }
  h2 {
    color: #231F20;
    font-family: "Playfair Display";
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 40px;
  }
}