/* Milestone Textiles - shared base styles (from contact.php) for the new pages */
        /* ========================================
           FINAL PALETTE (LOCKED)
           ======================================== */
        :root {
            --color-primary: #C62828;
            --color-primary-dark: #A51D1D;
            --color-primary-light: #D94A4A;
            --color-primary-lighter: #E87A7A;
            --color-secondary: #6F8474;
            --color-secondary-light: #F0F2EE;
            --color-background: #FAF8F4;
            --color-surface: #FFFFFF;
            --color-text-primary: #222222;
            --color-text-secondary: #6F8474;
            --color-text-light: #999999;
            --color-border: #E9E7E3;
            --color-success: #2E8B57;
            --color-warning: #E8A317;
            --color-error: #D9534F;

            --shadow-raised: 4px 4px 12px rgba(34,34,34,0.12), -4px -4px 12px rgba(250,248,244,0.8);
            --shadow-raised-hover: 6px 6px 20px rgba(34,34,34,0.18), -6px -6px 20px rgba(250,248,244,0.9);
            --shadow-pressed: 2px 2px 6px rgba(34,34,34,0.10), -2px -2px 6px rgba(250,248,244,0.7);

            --radius-sm: 6px;
            --radius-md: 8px;
            --radius-lg: 12px;
            --radius-xl: 16px;

            --font-heading: 'Plus Jakarta Sans', sans-serif;
            --font-body: 'Manrope', sans-serif;
            --font-code: 'Source Code Pro', monospace;

            --space-xs: 4px;
            --space-sm: 8px;
            --space-md: 16px;
            --space-lg: 24px;
            --space-xl: 32px;
            --space-2xl: 40px;
            --space-3xl: 48px;
            --space-4xl: 64px;
            --space-5xl: 80px;

            --transition-fast: 200ms ease-in-out;
            --transition-base: 350ms ease-in-out;
            --container-max: 1280px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html {
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
        }

        body {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.6;
            color: var(--color-text-primary);
            background-color: var(--color-background);
        }

        /* ========================================
           TYPOGRAPHY
           ======================================== */
        h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--color-text-primary); letter-spacing: -0.01em; }
        h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
        h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
        h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; }
        a { color: var(--color-primary); text-decoration: none; transition: color var(--transition-fast); }
        a:hover { color: var(--color-primary-dark); }

        /* ========================================
           LAYOUT
           ======================================== */
        .container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-lg); }
        .grid { display: grid; gap: var(--space-xl); }
        .grid-2 { grid-template-columns: repeat(2, 1fr); }

        .clay-card {
            background: var(--color-surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-raised);
            padding: var(--space-xl);
            transition: box-shadow var(--transition-base), transform var(--transition-base);
            border: 1px solid var(--color-border);
        }
        .clay-card:hover {
            box-shadow: var(--shadow-raised-hover);
            transform: translateY(-4px);
        }

        .clay-input {
            width: 100%;
            padding: 12px var(--space-md);
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            font-family: var(--font-body);
            font-size: 16px;
            color: var(--color-text-primary);
            transition: border-color var(--transition-fast);
        }
        .clay-input:focus {
            outline: none;
            border-color: var(--color-primary);
        }
        .clay-textarea {
            width: 100%;
            padding: 12px var(--space-md);
            background: var(--color-surface);
            border: 1px solid var(--color-border);
            border-radius: var(--radius-md);
            font-family: var(--font-body);
            font-size: 16px;
            color: var(--color-text-primary);
            transition: border-color var(--transition-fast);
            resize: vertical;
            min-height: 140px;
        }
        .clay-textarea:focus {
            outline: none;
            border-color: var(--color-primary);
        }

        /* ========================================
           BLOB BUTTON
           ======================================== */
        .blob-btn {
            z-index: 1;
            position: relative;
            padding: 14px 32px;
            text-align: center;
            text-transform: uppercase;
            color: var(--color-primary);
            font-size: 15px;
            font-weight: 700;
            font-family: var(--font-code);
            background-color: transparent;
            outline: none;
            border: none;
            transition: color 0.5s;
            cursor: pointer;
            border-radius: var(--radius-md);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            letter-spacing: 0.05em;
            min-width: 140px;
        }
        .blob-btn:before {
            content: "";
            z-index: 1;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            border: 2px solid var(--color-primary);
            border-radius: var(--radius-md);
        }
        .blob-btn:after {
            content: "";
            z-index: -2;
            position: absolute;
            left: 3px;
            top: 3px;
            width: 100%;
            height: 100%;
            transition: all 0.3s 0.2s;
            border-radius: var(--radius-md);
        }
        .blob-btn:hover {
            color: var(--color-surface);
            border-radius: var(--radius-md);
        }
        .blob-btn:hover:after {
            transition: all 0.3s;
            left: 0;
            top: 0;
            border-radius: var(--radius-md);
        }
        .blob-btn__inner {
            z-index: -1;
            overflow: hidden;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            border-radius: var(--radius-md);
            background: var(--color-surface);
        }
        .blob-btn__blobs {
            position: relative;
            display: block;
            height: 100%;
            filter: url('#goo');
        }
        .blob-btn__blob {
            position: absolute;
            top: 2px;
            width: 25%;
            height: 100%;
            background: var(--color-primary);
            border-radius: 100%;
            transform: translate3d(0, 150%, 0) scale(1.7);
            transition: transform 0.45s;
        }
        .blob-btn__blob:nth-child(1) { left: 0%; transition-delay: 0s; }
        .blob-btn__blob:nth-child(2) { left: 30%; transition-delay: 0.08s; }
        .blob-btn__blob:nth-child(3) { left: 60%; transition-delay: 0.16s; }
        .blob-btn__blob:nth-child(4) { left: 90%; transition-delay: 0.24s; }
        .blob-btn:hover .blob-btn__blob { transform: translateZ(0) scale(1.7); }
        .blob-btn .btn-text { position: relative; z-index: 2; font-weight: 700; letter-spacing: 0.05em; }

        /* ========================================
           TOP BAR
           ======================================== */
        .top-bar {
            background: var(--color-surface);
            box-shadow: var(--shadow-raised);
            transition: box-shadow var(--transition-base);
            position: sticky;
            top: 0;
            z-index: 1001;
        }
        .top-bar.scrolled { box-shadow: var(--shadow-raised-hover); }

        /* ========================================
           HEADER
           ======================================== */
        .site-header {
            background: var(--color-surface);
            padding: 0 var(--space-lg);
        }
        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            max-width: var(--container-max);
            margin: 0 auto;
        }
        .logo img { height: 50px; width: auto; display: block; }

        .nav-primary {
            display: flex;
            align-items: center;
            gap: var(--space-xl);
            margin-left: auto;
            margin-right: var(--space-xl);
        }
        .nav-primary a {
            font-weight: 500;
            font-size: 14px;
            color: var(--color-text-primary);
            transition: color var(--transition-fast);
            position: relative;
            padding: 4px 0;
        }
        .nav-primary a:hover { color: var(--color-primary); }
        .nav-primary a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-primary);
            transition: width var(--transition-fast);
        }
        .nav-primary a:hover::after { width: 100%; }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: var(--space-md);
            flex-shrink: 0;
        }
        .icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-sm);
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all var(--transition-fast);
            padding: 0;
            position: relative;
        }
        .icon-btn:hover {
            box-shadow: var(--shadow-raised);
            background: var(--color-background);
        }
        .icon-btn .continuous-animation { animation: iconFloat 2s ease-in-out infinite; }

        @keyframes iconFloat {
            0% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
            100% { transform: translateY(0); }
        }

        .cart-badge { position: relative; }
        .cart-count {
            position: absolute;
            top: -2px;
            right: -2px;
            background: var(--color-error);
            color: var(--color-surface);
            font-size: 10px;
            font-weight: 700;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        .cart-count.active { display: flex; }

        .mobile-nav-toggle {
            display: none;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 8px;
            color: var(--color-text-primary);
        }
        .mobile-nav-toggle svg { width: 24px; height: 24px; stroke: currentColor; }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--color-surface);
            padding: var(--space-xl);
            z-index: 9999;
            overflow-y: auto;
            box-shadow: var(--shadow-raised-hover);
            border-top: 1px solid var(--color-border);
        }
        .mobile-menu.active { display: block; }
        .mobile-menu a {
            display: block;
            padding: var(--space-md) 0;
            font-size: 18px;
            font-weight: 500;
            color: var(--color-text-primary);
            border-bottom: 1px solid var(--color-border);
        }
        .mobile-menu a:hover { color: var(--color-primary); }

        /* ========================================
           STICKY MINI CTA BAR
           ======================================== */
        .sticky-cta-bar {
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            z-index: 999;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            padding: 8px var(--space-lg);
            box-shadow: var(--shadow-raised);
            transform: translateY(-100%);
            opacity: 0;
            transition: transform var(--transition-base), opacity var(--transition-base);
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: var(--container-max);
            margin: 0 auto;
            border-radius: 0 0 var(--radius-md) var(--radius-md);
            border: 1px solid var(--color-border);
        }
        .sticky-cta-bar.visible {
            transform: translateY(0);
            opacity: 1;
        }
        .sticky-cta-bar .logo-mark {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 18px;
            color: var(--color-text-primary);
        }
        .sticky-cta-bar .logo-mark span {
            font-weight: 300;
            color: var(--color-text-light);
        }
        .sticky-cta-bar .blob-btn {
            padding: 8px 20px;
            font-size: 13px;
            min-width: 100px;
        }

        /* ========================================
           PAGE HERO
           ======================================== */
        .page-hero {
            background: var(--color-primary);
            color: white;
            padding: var(--space-5xl) 0 var(--space-4xl);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            opacity: 0.3;
        }
        .page-hero .container { position: relative; z-index: 1; }
        .page-hero .display { color: white; margin-bottom: var(--space-md); }
        .page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 18px; }
        .page-hero .breadcrumb {
            font-size: 14px;
            color: rgba(255,255,255,0.6);
        }
        .page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
        .page-hero .breadcrumb a:hover { color: white; }
        .page-hero .breadcrumb span { margin: 0 var(--space-xs); }

        /* ========================================
           CONTACT SECTION
           ======================================== */
        .contact-section { padding: var(--space-4xl) 0; }

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: var(--space-md);
            margin-bottom: var(--space-lg);
        }
        .contact-info-item .icon {
            font-size: 28px;
            flex-shrink: 0;
            margin-top: 2px;
        }
        .contact-info-item h4 {
            font-size: 16px;
            margin-bottom: var(--space-xs);
        }
        .contact-info-item p {
            color: var(--color-text-secondary);
            font-size: 15px;
            line-height: 1.6;
        }
        .contact-info-item a {
            color: var(--color-primary);
            font-weight: 500;
        }
        .contact-info-item a:hover {
            color: var(--color-primary-dark);
        }
        .contact-info-item .whatsapp-number {
            font-size: 20px;
            font-weight: 700;
            color: var(--color-primary);
        }

        .form-group { margin-bottom: var(--space-lg); }
        .form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: var(--space-xs); color: var(--color-text-primary); }
        .form-group label .required { color: var(--color-error); }

        .contact-form .blob-btn { width: 100%; margin-top: var(--space-sm); }

        .success-msg {
            background: var(--color-success);
            color: white;
            padding: var(--space-md) var(--space-lg);
            border-radius: var(--radius-md);
            margin-bottom: var(--space-lg);
            text-align: center;
        }
        .error-msg {
            background: var(--color-error);
            color: white;
            padding: var(--space-md) var(--space-lg);
            border-radius: var(--radius-md);
            margin-bottom: var(--space-lg);
            text-align: center;
        }

        /* ========================================
           FOOTER
           ======================================== */
        .site-footer {
            background: var(--color-primary-lighter);
            color: var(--color-surface);
            padding: var(--space-md) 0;
        }
        .site-footer a { color: var(--color-surface); transition: color var(--transition-fast); }
        .site-footer a:hover { color: rgba(255,255,255,0.8); }
        .footer-bottom { text-align: center; font-size: 13px; color: var(--color-surface); font-weight: 700; }
        .footer-bottom .registered { font-size: 9px; vertical-align: super; }

        /* ========================================
           WHATSAPP FLOATING BUTTON
           ======================================== */
        .whatsapp-float {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #25D366;
            color: white;
            border: none;
            box-shadow: 0 4px 20px rgba(37,211,102,0.4);
            cursor: pointer;
            transition: all var(--transition-base);
            display: flex;
            align-items: center;
            justify-content: center;
            animation: whatsappPulse 2s infinite;
        }
        .whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
        .whatsapp-float svg { width: 32px; height: 32px; fill: white; }
        @keyframes whatsappPulse {
            0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
            70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
            100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
        }
        .whatsapp-tooltip {
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--color-surface);
            color: var(--color-text-primary);
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            font-size: 14px;
            font-weight: 500;
            white-space: nowrap;
            box-shadow: var(--shadow-raised);
            opacity: 0;
            pointer-events: none;
            transition: opacity var(--transition-base);
            border: 1px solid var(--color-border);
        }
        .whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
        @media (max-width: 768px) {
            .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
            .whatsapp-float svg { width: 28px; height: 28px; }
            .whatsapp-tooltip { display: none; }
        }

        /* ========================================
           TOAST CONTAINER
           ======================================== */
        .toast-container {
            position: fixed;
            bottom: 100px;
            right: 24px;
            z-index: 99999;
            display: flex;
            flex-direction: column;
            gap: var(--space-sm);
            max-width: 400px;
        }
        .toast {
            padding: var(--space-md) var(--space-lg);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-raised-hover);
            color: white;
            font-weight: 500;
            animation: toastSlideIn 0.3s ease;
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            background: var(--color-primary);
        }
        .toast-success { background: var(--color-success); }
        .toast-error { background: var(--color-error); }
        .toast-close {
            background: none;
            border: none;
            color: rgba(255,255,255,0.7);
            cursor: pointer;
            font-size: 18px;
            padding: 0 0 0 var(--space-sm);
        }
        .toast-close:hover { color: white; }
        @keyframes toastSlideIn {
            from { opacity: 0; transform: translateX(40px); }
            to { opacity: 1; transform: translateX(0); }
        }

        /* ========================================
           RESPONSIVE
           ======================================== */
        @media (max-width: 1024px) {
            .nav-primary { gap: var(--space-lg); }
        }
        @media (max-width: 768px) {
            .nav-primary { display: none; }
            .mobile-nav-toggle { display: block; }
            .grid-2 { grid-template-columns: 1fr; }
            .container { padding: 0 var(--space-md); }
            .page-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
            .logo img { height: 40px; }
            .sticky-cta-bar { padding: 6px var(--space-md); }
            .sticky-cta-bar .logo-mark { font-size: 14px; }
            .sticky-cta-bar .blob-btn { padding: 6px 16px; font-size: 12px; min-width: 80px; }
        }
        @media (max-width: 480px) {
            .logo img { height: 32px; }
            .clay-card { padding: var(--space-md); }
            .contact-info-item { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
            .contact-info-item .icon { font-size: 24px; }
        }

        /* ========================================
           ACCESSIBILITY
           ======================================== */
        *:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
        .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
/* mobile fixes (shared) */
/* ===== Mobile responsiveness fixes (shared) ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{max-width:100%;overflow-x:clip}
img,video,canvas,iframe{max-width:100%}
table{max-width:100%}
.logo{display:flex;align-items:center;text-decoration:none;flex-shrink:0;min-width:0}
.logo img{display:block;width:auto}
.logo-text{text-decoration:none}
.grid-2>*,.grid-3>*,.grid-4>*,[class$="-grid"]>*,[class*="-grid "]>*{min-width:0}
.clay-card,.card{overflow-wrap:anywhere}
@media (max-width:768px){
  input,select,textarea{font-size:16px!important}
  .icon-btn,.mobile-nav-toggle{min-width:44px;min-height:44px}
  .nav-actions{gap:4px;align-items:center}
  .mobile-nav-toggle{display:flex;align-items:center;justify-content:center}
  .whatsapp-float{width:52px!important;height:52px!important;right:14px!important;bottom:14px!important}
  .whatsapp-tooltip{display:none!important}
  .container,.nav-container{padding-left:16px;padding-right:16px}
  h1{overflow-wrap:break-word}
  .data-table,table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media (max-width:480px){
  .wa-bubble{display:none!important}
  .product-card-actions{flex-wrap:nowrap;gap:6px}
  .product-card-actions .blob-btn{min-width:0;padding:10px 8px}
  .product-card-actions .blob-btn-icon{flex:0 0 44px}
  .logo-text{font-size:15px}
}
@media (max-width:360px){
  .logo img{height:28px}
  .logo-text{font-size:13px}
}
