/*
Theme Name: Merchandise Me (Hello Elementor Child)
Theme URI: https://merchandise-me.com/
Description: Child theme for Elementor Hello, tailored for Merchandise Me. Includes CSS variables, clean utilities, and CPT.
Author: Merchandise Me
Author URI: https://merchandise-me.com/
Version: 1.0.0
Template: hello-elementor
Text Domain: merchandise-me
*/

/* Load CSS variables first */
:root{
  /* Brand palette (from your designer) */
  --mm-ivory:#FDFAF3;
  --mm-cream:#FCEBBA;
  --mm-sand:#FCE093;
  --mm-orange:#EC651D;
  --mm-bordeaux:#881C12;
  --mm-brown:#4E0F10;
  --mm-teal:#218594;
  --mm-ice:#B4D3D4;

  /* Derivatives */
  --mm-bg: var(--mm-ivory);
  --mm-text:#222;
  --mm-muted:#666;
  --mm-border: color-mix(in srgb, var(--mm-text) 10%, white);
  --mm-primary: var(--mm-orange);
  --mm-primary-contrast: #fff;
  --mm-secondary: var(--mm-teal);
}

/* Elementor friendly utility tokens */
.e-global-color-primary { color: var(--mm-primary) !important; }
.e-global-color-secondary { color: var(--mm-secondary) !important; }
.e-global-typography-text { color: var(--mm-text) !important; }

body{
  background: var(--mm-bg);
  color: var(--mm-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: var(--mm-primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Buttons (works with Elementor buttons too) */
.button, .elementor-button{
  background: var(--mm-primary);
  color: var(--mm-primary-contrast);
  border-radius: 12px;
  padding: .85rem 1.25rem;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.button:hover, .elementor-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 16px rgba(0,0,0,.08);
}
.elementor-button--secondary{
  background: var(--mm-secondary);
}

/* Card */
.mm-card{
  background:#fff;
  border:1px solid var(--mm-border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Section spacing helpers */
.mm-section{ padding: clamp(40px, 6vw, 96px) 5vw; }
.mm-grid{ display:grid; gap: clamp(16px, 2.5vw, 32px); }
.mm-grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.mm-grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px){
  .mm-grid.cols-2, .mm-grid.cols-3{ grid-template-columns: 1fr; }
}