/*======================================
Theme Name: Free Divi Child Theme By Pee-Aye Creative
Theme URI: https://www.peeayecreative.com/
Description: This is a free Divi child theme from Pee-Aye Creative!
Author: Nelson Lee Miller (aka The Divi Teacher)
Author URI: https://www.peeayecreative.com/
Author Email: nelson@peeayecreative.com
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

 /* ===== NOTES ==================================================================
 * 
 * New to Divi? Take our full Divi course: https://www.peeayecreative.com/product/beyond-the-builder-the-ultimate-divi-website-course/
 * 
 * Learn cool tricks and features with our Divi tutorials: https://www.peeayecreative.com/blog/
 * 
 * Discover our premium Divi products: https://www.peeayecreative.com/shop/
 * 
 * =============================================================================== */

/*add your custom CSS below this line*/

/* =========================================================================
   Ashirvaad Grand — design tokens  v1.0
   Paste into Divi → Theme Options → Custom CSS, or into the stylesheet.

   Yellow, green and red were sampled from the logo artwork. Every other
   value was darkened or lightened until it met the contrast it needed,
   then verified. The comments carry the measured ratios so nobody has to
   re-derive them later.
   ========================================================================= */

:root {

  /* ---- Grounds -------------------------------------------------------- */
  --ag-cream:          #FFFEF4;  /* default page ground; the yellow pulled to white */
  --ag-paper:          #FFFFFF;  /* cards and menu panels                           */
  --ag-surface-sunk:   #FFFEE6;  /* inset areas, badges, disabled fields            */
  --ag-yellow-soft:    #FFFBB8;  /* menu category headers, large yellow panels      */
  --ag-yellow:         #FFF200;  /* brand yellow, full strength. Use sparingly.     */

  /* ---- Green — the interface colour ----------------------------------- */
  --ag-green:          #00863F;  /* buttons and links on light. white on it 4.69:1  */
  --ag-green-deep:     #007236;  /* hover, AND green text on any yellow (5.71:1)    */
  --ag-green-dark:     #005528;  /* reversed panels, footer. yellow on it 7.70:1    */

  /* ---- Red — logo and appetite only ----------------------------------- */
  --ag-red:            #EC1D23;  /* logo, large accents. NOT for small text         */
  --ag-red-deep:       #CF191F;  /* the only red that holds white text (5.51:1)     */
  --ag-red-press:      #A81519;  /* pressed state                                   */

  /* ---- Decoration ------------------------------------------------------ */
  --ag-leaf:           #8EC63F;  /* from the leaf gradient. 2.04:1 — never text     */

  /* ---- Ink ------------------------------------------------------------- */
  --ag-ink:            #172216;  /* body and headings. 16.24:1 on cream             */
  --ag-ink-muted:      #6F766A;  /* descriptions, captions. 4.63:1 on cream         */

  /* ---- Lines ----------------------------------------------------------- */
  --ag-border:         #E3DDC5;  /* hairlines, card edges                           */
  --ag-border-strong:  #D1C7A7;  /* hover borders, weighted dividers                */

  /* ---- Type ------------------------------------------------------------ */
  --ag-font-heading:   "Fraunces", Georgia, serif;
  --ag-font-body:      "Figtree", system-ui, -apple-system, sans-serif;

  /* ---- Spacing --------------------------------------------------------- */
  --ag-space-1:   4px;   --ag-space-2:   8px;   --ag-space-3:  12px;
  --ag-space-4:  16px;   --ag-space-5:  24px;   --ag-space-6:  32px;
  --ag-space-7:  48px;   --ag-space-8:  64px;   --ag-space-9:  96px;
  --ag-space-10:128px;

  /* ---- Radius ---------------------------------------------------------- */
  --ag-radius-0:     0;      /* photography                */
  --ag-radius-sm:    6px;    /* inputs, tags               */
  --ag-radius-md:   10px;    /* buttons                    */
  --ag-radius-lg:   14px;    /* cards, panels              */
  --ag-radius-full: 999px;   /* badges, chips              */
}

/* =========================================================================
   Rules worth enforcing in code, not just in a document
   ========================================================================= */

/* White on yellow measures 1.17:1. There is no size at which it is readable. */
.ag-on-yellow { background: var(--ag-yellow); color: var(--ag-ink); }

/* Green text sitting on yellow steps down to the deeper green:
   #00863F on #FFFBB8 is 4.41:1 and fails; #007236 is 5.71:1 and passes. */
.ag-on-yellow a,
.ag-on-yellow .ag-green-text { color: var(--ag-green-deep); }

/* The brand red cannot hold white text. Any filled red control uses red-deep. */
.ag-btn-appetite { background: var(--ag-red-deep); color: #fff; }
.ag-btn-appetite:hover { background: var(--ag-red-press); color: #fff; }

/* Prices line up on the decimal. This brand publishes prices — Fresh Catch's
   no-price rule does NOT carry across. */
.ag-price { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Focus has to be visible on cream, on white and on yellow. */
.ag-focus:focus-visible,
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ag-green-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
