/*!
Theme Name: Botiga
Theme URI: https://athemes.com/theme/botiga/
Author: aThemes
Author URI: https://athemes.com
Description: Botiga is a fast, lightweight WooCommerce theme for building modern online stores and eCommerce websites. It works with both Elementor and the WordPress block editor to assemble pages quickly. A clean, modern design with deep customization keeps your shop, product, cart, and checkout pages on brand. Built from the ground up with clean code for strong performance and Core Web Vitals, Botiga is fully responsive, mobile-optimized, translation- and RTL-ready, and SEO-friendly, with dedicated WooCommerce styling and layout options to help you sell more. Trusted by 10,000+ stores with a 4.9-star rating. Start fast by importing a ready-made store demo: https://athemes.com/theme/botiga/#demos
Version: 2.5.1
Tested up to: 7.1
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botiga
Tags: e-commerce, custom-menu, custom-logo, grid-layout, featured-images, right-sidebar, left-sidebar, custom-colors, editor-style, theme-options, threaded-comments, translation-ready, blog, one-column, two-columns, rtl-language-support, custom-background, custom-header, footer-widgets, post-formats, wide-blocks, full-width-template

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Botiga is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ============================================================
   StyloNest brand styling - maroon / gold / cream
   Added 2026-10-06. The Customizer (customize.php) currently
   fails with a PHP fatal error, so these brand rules are added
   here as a fallback. They can be moved to Customizer >
   Additional CSS once the Customizer works again.
   Palette: maroon #7A1E2B (primary), gold #C9A227 (accent),
   cream #FAF5EC (background - also set via Appearance > Background).
   ============================================================ */

body {
  background-color: #FAF5EC;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.woocommerce-products-header__title {
  color: #7A1E2B;
}

/* Links */
.site-main a:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.added_to_cart),
.entry-content a:not(.button):not(.wp-block-button__link):not(.wp-element-button),
.comment-content a {
  color: #7A1E2B;
}
.site-main a:not(.button):hover,
.site-main a:not(.button):focus,
.entry-content a:not(.button):hover {
  color: #5A1620;
}

/* Header: maroon background (desktop + mobile) */
.bhfb.bhfb-header .bhfb-row-wrapper.bhfb-main_header_row {
  background-color: #7A1E2B;
}

/* Site title in gold, tagline in cream */
.site-branding .site-title a {
  color: #C9A227;
}
.site-branding .site-title a:hover,
.site-branding .site-title a:focus {
  color: #E4C65E;
}
.site-branding .site-description {
  color: #FAF5EC;
}

/* Header navigation links: cream, gold on hover */
.bhfb-header .botiga-dropdown-link {
  color: #FAF5EC;
}
.bhfb-header .botiga-dropdown-link:hover,
.bhfb-header .botiga-dropdown-link:focus,
.bhfb-header .current-menu-item > .botiga-dropdown-link,
.bhfb-header .current_page_item > .botiga-dropdown-link {
  color: #C9A227;
}

/* Header icons (search, account, cart, hamburger) */
.bhfb-header .ws-svg-icon svg {
  fill: #FAF5EC;
}
.bhfb-header a:hover .ws-svg-icon svg,
.bhfb-header a:focus .ws-svg-icon svg {
  fill: #C9A227;
}

/* Header search form */
.bhfb-header .header-search-form {
  background-color: #7A1E2B;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.bhfb-header .header-search-form .search-field {
  background-color: #FAF5EC;
  border-color: #C9A227;
  color: #212121;
}

/* Buttons: gold background, dark text (incl. WooCommerce "Buy Now") */
.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.woocommerce a.added_to_cart,
.loop-button-wrap .button,
.product_type_external {
  background-color: #C9A227;
  border-color: #C9A227;
  color: #212121;/* StyloNest homepage hero */
.sn-hero{background:linear-gradient(135deg,#7A1E2B 0%,#5C1420 60%,#3d0d16 100%);color:#FAF5EC;text-align:center;padding:56px 20px}
.sn-hero h2{color:#C9A227;font-size:clamp(30px,5vw,48px);letter-spacing:1px;margin:0 0 12px}
.sn-hero p{font-size:clamp(15px,2.4vw,18px);opacity:.93;max-width:640px;margin:0 auto 8px}
.sn-hero .sn-hero-stats{display:flex;gap:26px;justify-content:center;flex-wrap:wrap;margin:18px 0 6px;font-size:14px}
.sn-hero .sn-hero-stats b{color:#C9A227}
.sn-hero-btn{display:inline-block;margin-top:20px;background:linear-gradient(135deg,#C9A227 0%,#E8830C 100%);color:#212121;font-weight:800;font-size:17px;padding:13px 48px;border-radius:50px;text-decoration:none}
/* fixed brand + hero CSS */
/* StyloNest brand styling - maroon / gold / cream (fixed copy 2026-10-06) */
body {
  background-color: #FAF5EC;
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.woocommerce-products-header__title {
  color: #7A1E2B;
}
.site-main a:not(.button):not(.wp-block-button__link):not(.wp-element-button):not(.added_to_cart),
.entry-content a:not(.button):not(.wp-block-button__link):not(.wp-element-button),
.comment-content a {
  color: #7A1E2B;
}
.site-main a:not(.button):hover,
.site-main a:not(.button):focus,
.entry-content a:not(.button):hover {
  color: #5A1620;
}
.bhfb.bhfb-header .bhfb-row-wrapper.bhfb-main_header_row {
  background-color: #7A1E2B;
}
.site-branding .site-title a {
  color: #C9A227;
}
.site-branding .site-title a:hover,
.site-branding .site-title a:focus {
  color: #E4C65E;
}
.site-branding .site-description {
  color: #FAF5EC;
}
.bhfb-header .botiga-dropdown-link {
  color: #FAF5EC;
}
.bhfb-header .botiga-dropdown-link:hover,
.bhfb-header .botiga-dropdown-link:focus,
.bhfb-header .current-menu-item > .botiga-dropdown-link,
.bhfb-header .current_page_item > .botiga-dropdown-link {
  color: #C9A227;
}
.bhfb-header .ws-svg-icon svg {
  fill: #FAF5EC;
}
.bhfb-header a:hover .ws-svg-icon svg,
.bhfb-header a:focus .ws-svg-icon svg {
  fill: #C9A227;
}
.bhfb-header .header-search-form {
  background-color: #7A1E2B;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.bhfb-header .header-search-form .search-field {
  background-color: #FAF5EC;
  border-color: #C9A227;
  color: #212121;
}
.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .single_add_to_cart_button,
.woocommerce a.added_to_cart,
.loop-button-wrap .button,
.product_type_external {
  background-color: #C9A227;
  border-color: #C9A227;
  color: #212121;
}
.button:hover, .button:focus,
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus,
.woocommerce a.button:hover, .woocommerce a.button:focus,
.woocommerce button.button:hover, .woocommerce button.button:focus,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:focus,
.loop-button-wrap .button:hover,
.product_type_external:hover, .product_type_external:focus {
  background-color: #A8861F;
  border-color: #A8861F;
  color: #212121;
}
.onsale,
.woocommerce span.onsale {
  background-color: #C9A227;
  color: #212121;
}
.price,
.woocommerce .price,
.woocommerce .price .amount {
  color: #7A1E2B;
}
/* StyloNest homepage hero */
.sn-hero{background:linear-gradient(135deg,#7A1E2B 0%,#5C1420 60%,#3d0d16 100%);color:#FAF5EC;text-align:center;padding:56px 20px}
.sn-hero h2{color:#C9A227;font-size:clamp(30px,5vw,48px);letter-spacing:1px;margin:0 0 12px}
.sn-hero p{font-size:clamp(15px,2.4vw,18px);opacity:.93;max-width:640px;margin:0 auto 8px}
.sn-hero .sn-hero-stats{display:flex;gap:26px;justify-content:center;flex-wrap:wrap;margin:18px 0 6px;font-size:14px}
.sn-hero .sn-hero-stats b{color:#C9A227}
.sn-hero-btn{display:inline-block;margin-top:20px;background:linear-gradient(135deg,#C9A227 0%,#E8830C 100%);color:#212121;font-weight:800;font-size:17px;padding:13px 48px;border-radius:50px;text-decoration:none}
.button:hover, .button:focus,
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus,
.woocommerce a.button:hover, .woocommerce a.button:focus,
.woocommerce button.button:hover, .woocommerce button.button:focus,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:focus,
.loop-button-wrap .button:hover,
.product_type_external:hover, .product_type_external:focus {
  background-color: #A8861F;
  border-color: #A8861F;
  color: #212121;
}

/* Sale badges: gold */
.onsale,
.woocommerce span.onsale {
  background-color: #C9A227;
  color: #212121;
}

/* Prices in maroon */
.price,
.woocommerce .price,
.woocommerce .price .amount {
  color: #7A1E2B;
}



/* ==========================================================================
   StyloNest — Homepage Rebuild (2026-10-06)
   Old-Blogger look rebuilt for WordPress/Botiga.
   Brand: maroon #7A1E2B | gold #C9A227 | cream #FAF5EC
   ========================================================================== */
html{scroll-behavior:smooth}

/* Hide the page title on the static front page only */
body.home .entry-title,
body.home .entry-header,
body.home .page-header,
body.home .post-title{display:none!important}

/* ---- Text logo (no image logo) ---- */
.site-branding .custom-logo-link,
.site-header .custom-logo,
.wp-custom-logo .site-header .custom-logo-link{display:none!important}
.site-branding .site-title a,
.site-header .site-title a{color:#C9A227!important;font-weight:800;letter-spacing:1.5px;text-decoration:none}

/* ---- Homepage wrapper ---- */
.sn-home{color:#2B2B2B}
.sn-section-title{color:#7A1E2B;font-size:22px;margin:6px 0 14px;padding-bottom:8px;border-bottom:3px solid #C9A227}
.sn-section-sub{color:#666;font-size:14px;margin:-6px 0 16px}

/* ---- Hero ---- */
.sn-hero{background:linear-gradient(135deg,#7A1E2B 0%,#5C1420 55%,#3d0d16 100%);color:#FAF5EC;text-align:center;padding:60px 20px 54px;border-radius:16px;margin:0 0 6px}
.sn-hero h1{font-size:clamp(32px,6vw,54px);color:#C9A227;letter-spacing:1px;margin:0 0 10px}
.sn-hero p{font-size:clamp(15px,2.5vw,19px);opacity:.92;max-width:640px;margin:0 auto}
.sn-hero-cta{display:inline-block;margin-top:24px;background:linear-gradient(135deg,#C9A227 0%,#E8830C 100%);color:#2B2B2B;font-weight:800;font-size:18px;padding:14px 52px;border-radius:50px;box-shadow:0 6px 22px rgba(232,131,12,.45);text-decoration:none}
.sn-hero-cta:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(232,131,12,.6);color:#2B2B2B}
.sn-hero-stats{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-top:22px;font-size:14px;font-weight:600}
.sn-hero-stats span{color:#FAF5EC;opacity:.9}
.sn-hero-stats b{color:#C9A227}

/* ---- Winter Sale banner ---- */
.sn-sale{background:linear-gradient(135deg,#7A1E2B 0%,#3d0d16 100%);border-radius:16px;overflow:hidden;margin:20px 0 0}
.sn-sale-inner{display:flex;align-items:center;gap:18px;padding:26px 28px;flex-wrap:wrap}
.sn-sale-emoji{font-size:52px;line-height:1}
.sn-sale-text{flex:1 1 220px}
.sn-sale-text h2{color:#C9A227;font-size:clamp(22px,4vw,30px);margin:0 0 4px}
.sn-sale-text p{color:#FAF5EC;opacity:.9;font-size:15px;margin:0}
.sn-sale-btn{background:linear-gradient(135deg,#C9A227 0%,#E8830C 100%);color:#2B2B2B;font-weight:800;padding:13px 38px;border-radius:50px;font-size:16px;box-shadow:0 4px 16px rgba(232,131,12,.4);white-space:nowrap;text-decoration:none}
.sn-sale-btn:hover{transform:translateY(-2px);color:#2B2B2B}

/* ---- Category tiles ---- */
.sn-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:26px 0 8px}
@media(min-width:768px){.sn-tiles{grid-template-columns:repeat(6,1fr)}}
.sn-tile{background:#fff;border:2px solid #e8dcc3;border-radius:14px;text-align:center;padding:20px 8px;text-decoration:none;display:block;transition:transform .15s,border-color .15s,box-shadow .15s}
.sn-tile:hover{transform:translateY(-3px);border-color:#C9A227;box-shadow:0 8px 20px rgba(122,30,43,.12)}
.sn-tile-icon{font-size:34px;display:block;margin-bottom:8px}
.sn-tile-name{font-weight:700;color:#7A1E2B;font-size:14px}

/* ---- Budget chips ---- */
.sn-chips{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;padding:14px 0 4px}
.sn-chips a{border:2px solid #7A1E2B;color:#7A1E2B;border-radius:26px;padding:9px 22px;font-weight:700;font-size:14px;background:#fff;text-decoration:none;transition:all .15s}
.sn-chips a:hover{background:#7A1E2B;color:#FAF5EC}

/* ---- Per-category product rows ---- */
.sn-catrows{padding:8px 0 0}
.sn-cat-row{margin-bottom:26px}
.sn-cat-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}
.sn-cat-head h3{color:#7A1E2B;font-size:20px;margin:0}
.sn-cat-head a{font-weight:700;font-size:14px;white-space:nowrap;color:#7A1E2B;text-decoration:none}
.sn-cat-row .woocommerce-no-products-found{display:none!important}
.sn-coming-soon{display:none;text-align:center;color:#8a7a5c;font-size:14px;padding:22px;background:#fff;border:1px dashed #e8dcc3;border-radius:12px;margin:0}
.sn-cat-row:has(.woocommerce-no-products-found) .sn-coming-soon{display:block}

/* ---- Trending highlights ---- */
.sn-trending{padding:26px 0 0}
.sn-trend-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:768px){.sn-trend-grid{grid-template-columns:repeat(3,1fr)}}
.sn-trend-card{background:#fff;border:2px solid #e8dcc3;border-radius:14px;padding:20px;display:flex;gap:14px;align-items:center;text-decoration:none;transition:transform .15s,border-color .15s}
.sn-trend-card:hover{transform:translateY(-3px);border-color:#C9A227}
.sn-trend-icon{font-size:38px;flex-shrink:0}
.sn-trend-card h3{color:#7A1E2B;font-size:17px;margin:0 0 4px}
.sn-trend-card p{font-size:13px;color:#666;margin:0}
.sn-trend-tag{display:inline-block;background:#7A1E2B;color:#FAF5EC;font-size:11px;font-weight:700;padding:3px 12px;border-radius:12px;margin-bottom:6px}

/* ---- Latest products ---- */
.sn-latest{padding:26px 0 0}

/* ---- Reviews ---- */
.sn-reviews{padding:26px 0 0}
.sn-reviews-grid{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px}
@media(min-width:768px){.sn-reviews-grid{grid-template-columns:repeat(3,1fr)}}
.sn-review-card{background:#fff;border:1px solid #ece2cd;border-radius:14px;padding:20px;display:flex;flex-direction:column}
.sn-stars{color:#C9A227;font-size:18px;letter-spacing:2px;margin-bottom:10px}
.sn-review-text{font-size:13.5px;color:#444;font-style:italic;flex:1;margin:0 0 12px}
.sn-reviewer-name{font-weight:700;color:#7A1E2B;font-size:13px;display:block}
.sn-reviewer-meta{font-size:12px;color:#999}
.sn-feedback{margin:26px 0 0}
.sn-feedback-box{background:linear-gradient(135deg,#7A1E2B,#5c1420);border-radius:16px;padding:32px 20px;color:#fff;text-align:center}
.sn-feedback-box h3{color:#fff;font-size:20px;margin:0 0 8px}
.sn-feedback-box p{color:#f3e6c8;font-size:14px;margin:0 0 18px}
.sn-btn-gold{display:inline-block;background:#C9A227;color:#3d2b00;font-weight:700;padding:12px 34px;border-radius:999px;text-decoration:none;font-size:15px}
.sn-btn-gold:hover{background:#dbb93a}


/* StyloNest footer creator credit (2026-10-06) */
.botiga-credits::after{
  content:"Created by Muhammad Adnan Akram";
  display:block;
  margin-top:8px;
  font-size:12px;
  letter-spacing:.3px;
  color:#C9A227;
  font-weight:600;
  opacity:.9;
  text-align:center;
}
