/* ===================================================
   MOODSY GIFTS - LUXURY CSS
   FreeWebStore Compatible - Final Fixes
   =================================================== */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Lato:wght@300;400;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* TEXT SELECTION */
::selection {
  background-color: #C59D4F;
  color: #FFFFFF;
}

::-moz-selection {
  background-color: #C59D4F;
  color: #FFFFFF;
}

/* TYPOGRAPHY - BODY */
body,
p,
li,
td,
th,
.content,
.page-content {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #3A3A3A;
}

/* TYPOGRAPHY - HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2A2A2A;
  font-weight: 500;
}

/* ANNOUNCEMENT BAR */
.hb-content-wrapper,
.hb-content-wrapper p,
.hb-content-wrapper span,
.hb-text-wrapper,
.hb-text-wrapper p,
.hb-text-wrapper span,
.hb-headline-text,
.hb-headline-text p,
.hb-headline-text span {
  color: #FFFFFF;
}

.hb-cta,
.hb-cta-button,
.hb-cta-button .hb-text-holder,
.hb-cta-button .hb-text-holder p {
  background-color: #C59D4F;
  color: #FFFFFF;
  border-radius: 4px;
  font-weight: 600;
}

/* HEADER */
header {
  background-color: #FFFFFF;
}

.header_container .store_name a {
  font-family: 'Playfair Display', Georgia, serif;
  color: #C59D4F;
  font-size: 28px;
  font-weight: 500;
}

/* SEARCH BUTTON */
.search button {
  font-family: 'Lato', sans-serif;
  background-color: #4B2E4C;
  color: #FFFFFF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  border: none;
}

.search button:hover {
  background-color: #C59D4F;
  color: #FFFFFF;
}

/* BASKET BUTTON */
.basket_info {
  font-family: 'Lato', sans-serif;
  background-color: #C59D4F;
  color: #FFFFFF;
  border-radius: 5px;
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.basket_info:hover {
  background-color: #4B2E4C;
  color: #FFFFFF;
}

.basket_info span,
.basket_info a,
.basket_info i {
  color: #FFFFFF;
}

/* NAVIGATION - PARENT CATEGORIES */
.categories_panel {
  background-color: #FFFFFF;
}

.categories_panel > ul > li > a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2A2A2A;
}

.categories_panel > ul > li > a:hover,
.categories_panel > ul > li:hover > a {
  background-color: #4B2E4C;
  color: #FFFFFF;
}

/* NAVIGATION - SUBCATEGORIES */
.subcategories_panel {
  background-color: #FFFFFF;
  border: 1px solid #ebebeb;
  border-top: none;
  border-bottom: 3px solid #C59D4F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.subcategories_panel a {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3A3A3A;
  background-color: transparent;
}

.subcategories_panel a:hover {
  color: #C59D4F;
  background-color: transparent;
}

/* CURRENCY */
.currency_button .currency_button_icon1,
.language_button .language_button_icon1 {
  color: #C59D4F;
}

/* PRODUCT CARDS - CRITICAL FIXES */
.product_name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  color: #2A2A2A;
  text-align: center;
  /* Crop title to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 42px; 
}

/* 1. PRODUCT PRICE BUTTON (CENTERED) */
.product_price {
  font-family: 'Lato', sans-serif;
  background-color: #C59D4F;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 5px;
  border: none;
  
  /* Centering Fix */
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  margin-top: 5px;
  box-sizing: border-box;
}

/* 2. HOVER EFFECT (GOLD TEXT) */
.product_price:hover {
  background-color: #4B2E4C;   /* Purple Background */
  color: #C59D4F !important;   /* Gold Text */
  cursor: pointer;
}

.product_price span {
  color: inherit;
}

/* 3. ADD TO CART BUTTONS */
.product_list_add_to_cart_button,
.product_list_price {
  font-family: 'Lato', sans-serif;
  background-color: #C59D4F;
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
  
  /* Centering Fix */
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

/* 4. HOVER EFFECT (GOLD TEXT) */
.product_list_add_to_cart_button:hover,
.product_list_price:hover {
  background-color: #4B2E4C;   /* Purple Background */
  color: #C59D4F !important;   /* Gold Text */
}

/* PRODUCT DETAILS */
.details_desc h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  color: #2A2A2A;
  font-weight: 500;
}

.details_desc_title {
  display: none;
}

.details_desc p {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #3A3A3A;
}

.details_price .price_inc_tax,
.details_price .price_ex_tax {
  font-family: 'Lato', sans-serif;
  font-weight: bold;
  color: #C59D4F;
}

.details_atc a {
  background-color: #C59D4F;
  color: #FFFFFF;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 5px;
  border: none;
}

.details_atc a:hover {
  background-color: #4B2E4C;
  color: #FFFFFF;
}

.details_info_header div.selected {
  color: #C59D4F;
}

/* FORCE LATO ON INLINE STYLES - CATEGORY DESCRIPTION */
.category_header_description,
.category_header_description p,
.category_header_description span,
.category_header_description div,
.category_header_description strong,
.category_header_description em,
.category_header_description pre {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #3A3A3A;
}

/* FORCE LATO ON INLINE STYLES - PRODUCT DESCRIPTION */
.details_desc span,
.details_desc div,
.details_desc pre,
.details_desc em,
.details_desc li {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #3A3A3A;
}

.details_desc strong,
.details_desc b,
.category_header_description strong,
.category_header_description b {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 17px;
  color: #C59D4F;
  font-weight: 700;
}

.details_desc pre,
.category_header_description pre {
  font-family: 'Lato', Arial, sans-serif;
  white-space: pre-wrap;
  word-wrap: break-word;
  background: transparent;
  border: none;
  padding: 0;
}

/* BLOG */
.featured_blog_name {
  font-family: 'Playfair Display', Georgia, serif;
  color: #4a5a3d;
  font-size: 16px;
  font-weight: 500;
}

.featured_blog_more {
  font-family: 'Lato', sans-serif;
  color: #C59D4F;
  font-weight: bold;
  text-transform: uppercase;
}

.blog_view_title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #C59D4F;
  font-size: 28px;
  font-weight: 500;
}

.blog_comments_submit {
  font-family: 'Lato', sans-serif;
  background-color: #4B2E4C;
  color: #FFFFFF;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
}

.blog_comments_submit:hover {
  background-color: #C59D4F;
}

/* FORMS */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  border: 1px solid #E6E6E6;
  background-color: #FFFFFF;
  color: #3A3A3A;
  border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #C59D4F;
  outline: none;
}

label {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2A2A2A;
}

/* BUTTONS */
button,
.btn,
.button,
input[type="submit"] {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #C59D4F;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover,
.btn:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: #4B2E4C;
  color: #FFFFFF;
}

/* LINKS */
a {
  color: #2A2A2A;
  text-decoration: none;
}

a:hover {
  color: #C59D4F;
}

/* BLOCKQUOTES */
blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #2A2A2A;
  border-left: 3px solid #C59D4F;
  padding-left: 24px;
}

/* SOCIAL MEDIA */
.social_media li {
  background-color: #ebebeb;
  border-radius: 5px;
}

.social_media li:hover {
  background-color: #C59D4F;
}

.social_media li a {
  color: #2A2A2A;
}

.social_media li:hover a {
  color: #FFFFFF;
}

/* FOOTER */
footer,
.footer {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
}

footer h4,
.footer h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #C59D4F;
  font-size: 18px;
  font-weight: 500;
}

footer p,
.footer p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #3A3A3A;
}

footer a {
  color: #3A3A3A;
}

footer a:hover {
  color: #C59D4F;
}

.footer_contact i {
  color: #C59D4F;
}

.footer2 .categories_container a {
  font-family: 'Lato', sans-serif;
  color: #C59D4F;
}

.footer2 .categories_container a:hover {
  color: #4B2E4C;
}

/* HIDE SORTING */
.results_sortby_container {
  display: none;
}

/* MOBILE */
@media (max-width: 768px) {
  body, p {
    font-size: 15px;
  }
  
  .details_desc span,
  .details_desc li,
  .details_desc pre,
  .category_header_description span {
    font-size: 15px;
  }
}

/* UTILITY CLASSES */
.text-gold { color: #C59D4F; }
.text-purple { color: #4B2E4C; }
.bg-gold { background-color: #C59D4F; }
.bg-purple { background-color: #4B2E4C; }

/* ===================================================
   END - MOODSY GIFTS CSS
   =================================================== */