/* assets/css/wholesale.css - Wholesale page styles */

.wholesale-page {
    overflow-x: hidden;
}

/* ===== Wholesale Hero Section ===== */
.wholesale-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-navy) 100%),
        radial-gradient(circle at 30% 50%, rgba(23, 74, 58, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(192, 192, 192, 0.1) 0%, transparent 50%);
    background-blend-mode: normal;
    color: var(--color-white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.layer-1 {
    background: 
        radial-gradient(circle at 25% 35%, rgba(23, 74, 58, 0.3) 0%, transparent 55%),
        radial-gradient(circle at 75% 65%, rgba(192, 192, 192, 0.25) 0%, transparent 45%);
    animation: layerMove 30s ease-in-out infinite;
}

.layer-2 {
    background: 
        radial-gradient(circle at 65% 25%, rgba(169, 169, 169, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 35% 75%, rgba(23, 74, 58, 0.2) 0%, transparent 50%);
    animation: layerMove 35s ease-in-out infinite reverse;
}

@keyframes layerMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(25px, -20px) scale(1.02);
    }
}

.floating-business {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(23, 74, 58, 0.4), rgba(192, 192, 192, 0.3));
    filter: blur(50px);
    animation: floatBusiness 25s ease-in-out infinite;
    box-shadow: 
        0 30px 80px rgba(23, 74, 58, 0.3),
        inset 0 15px 40px rgba(255, 255, 255, 0.15);
}

.float-1 {
    width: 400px;
    height: 400px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.float-2 {
    width: 350px;
    height: 350px;
    bottom: 25%;
    right: 12%;
    animation-delay: -10s;
}

@keyframes floatBusiness {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(40px, -30px) rotate(8deg);
    }
    50% {
        transform: translate(20px, 50px) rotate(-5deg);
    }
    75% {
        transform: translate(-35px, 25px) rotate(6deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
}

.hero-text {
    opacity: 1;
    animation: heroTextEntrance 1s ease-out both;
}

@keyframes heroTextEntrance {
    0% {
        transform: translateX(-50px);
    }
    100% {
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.hero-subtitle {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.hero-cta-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(23, 74, 58, 0.4);
}

.hero-visual {
    opacity: 1;
    animation: heroVisualEntrance 1s ease-out 0.3s both;
}

@keyframes heroVisualEntrance {
    0% {
        transform: translateX(50px) rotateY(20deg);
    }
    100% {
        transform: translateX(0) rotateY(0);
    }
}

.business-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.business-icon {
    font-size: 10rem;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    animation: businessFloat 8s ease-in-out infinite;
}

@keyframes businessFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

.cookware-stack {
    position: absolute;
    right: 10%;
    top: 20%;
}

.stack-item {
    position: absolute;
    font-size: 3rem;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
    animation: stackFloat 6s ease-in-out infinite;
}

.item-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.item-2 {
    top: 30px;
    right: 20px;
    animation-delay: 1s;
}

.item-3 {
    top: 60px;
    right: 40px;
    animation-delay: 2s;
}

@keyframes stackFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== Wholesale Features Section ===== */
.wholesale-features-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.feature-card {
    background: var(--color-off-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-md);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--color-medium-gray);
    line-height: var(--line-height-relaxed);
}

/* ===== Wholesale Stats Section ===== */
.wholesale-stats-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
    background: 
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
    color: var(--color-white);
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.stats-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.stats-layer.layer-1 {
    background: 
        radial-gradient(circle at 20% 40%, rgba(23, 74, 58, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(192, 192, 192, 0.3) 0%, transparent 40%);
    animation: statsLayerMove 25s ease-in-out infinite;
}

.stats-layer.layer-2 {
    background: 
        radial-gradient(circle at 60% 30%, rgba(169, 169, 169, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 40% 70%, rgba(23, 74, 58, 0.3) 0%, transparent 40%);
    animation: statsLayerMove 30s ease-in-out infinite reverse;
}

@keyframes statsLayerMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -15px) scale(1.03);
    }
}

.stats-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.stats-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.stats-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-3xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Wholesale Form Section ===== */
.wholesale-form-section {
    padding: var(--spacing-4xl) 0;
    background: var(--color-off-white);
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.form-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.form-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.form-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-md);
}

.form-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-medium-gray);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--color-success);
    border-radius: var(--radius-full);
    color: var(--color-success);
    flex-shrink: 0;
}

.form-container {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out 0.2s;
}

.form-container.visible {
    opacity: 1;
    transform: translateX(0);
}

.wholesale-form {
    background: var(--color-white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--color-off-white);
    border: 1px solid var(--color-silver);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(23, 74, 58, 0.1);
}

.form-textarea {
    resize: vertical;
    font-family: inherit;
}

.form-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-charcoal) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 6px 16px rgba(0, 0, 0, 0.15);
}

.form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    display: none;
}

.form-message.visible {
    display: block;
}

.form-message.success {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

.form-message.error {
    background: rgba(211, 47, 47, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: var(--spacing-4xl) 0;
    overflow: hidden;
    background: 
        linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.cta-layer.layer-1 {
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(192, 192, 192, 0.2) 0%, transparent 40%);
    animation: ctaLayerMove 25s ease-in-out infinite;
}

.cta-layer.layer-2 {
    background: 
        radial-gradient(circle at 60% 40%, rgba(169, 169, 169, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    animation: ctaLayerMove 30s ease-in-out infinite reverse;
}

@keyframes ctaLayerMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -15px) scale(1.02);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.cta-btn.primary {
    background: var(--color-white);
    color: var(--color-charcoal);
}

.cta-btn.primary:hover {
    background: var(--color-off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-info,
    .form-container {
        opacity: 1;
        transform: none;
    }
    
    .wholesale-hero {
        min-height: auto;
        padding: var(--spacing-3xl) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-2xl);
    }
    
    .hero-content {
        padding: 0 var(--spacing-lg);
    }
    
    .business-showcase {
        min-height: 300px;
    }
    
    .business-icon {
        font-size: 8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .floating-business {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .business-icon {
        font-size: 6rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .wholesale-form {
        padding: var(--spacing-lg);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .hero-layer,
    .floating-business,
    .stats-layer,
    .cta-layer {
        animation: none;
    }
    
    .business-icon,
    .stack-item {
        animation: none;
    }
    
    .hero-text,
    .hero-visual,
    .feature-card,
    .form-info,
    .form-container {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ===== Print Styles ===== */
@media print {
    .wholesale-hero,
    .cta-section {
        display: none;
    }
    
    .feature-card,
    .wholesale-form {
        box-shadow: none;
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}
/* =====================================================================
   Wholesale refresh (2026-11): real hero photo, "The range we supply"
   built from live categories, the ordering steps, and a stats grid that
   sizes itself to however many measured stats exist. Every selector is
   scoped to .wholesale-page and uses new ws-* hooks, so premium.css and
   signature.css (loaded later) cannot reshape these blocks.
   ===================================================================== */

.wholesale-page .ws-eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sig-brass-deep, #8a6630);
}

/* ---- Hero photo ---- */
.wholesale-page .ws-hero-photo {
    position: relative;
    margin: 0;
    padding: 0;
    animation: heroVisualEntrance 1s ease-out 0.3s both;
}

.wholesale-page .ws-hero-photo .ecw-picture,
.wholesale-page .ws-hero-img {
    display: block;
    width: 100%;
}

.wholesale-page .ws-hero-img {
    height: auto;
    aspect-ratio: 584 / 344;
    object-fit: cover;
    border-radius: var(--sig-r-card, 22px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.wholesale-page .ws-hero-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--sig-r-md, 14px);
    background: rgba(250, 248, 242, 0.96);
    color: var(--sig-ink-soft, #3d4b44);
    font-size: 0.78rem;
    line-height: 1.3;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
}

.wholesale-page .ws-hero-badge strong {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--sig-forest, #174a3a);
}

.wholesale-page .ws-hero-badge-top { top: -1.1rem; left: -1.1rem; }
.wholesale-page .ws-hero-badge-bottom { right: -1.1rem; bottom: -1.1rem; }

/* ---- The range we supply ---- */
.wholesale-page .ws-range-section {
    padding: var(--sig-section-y, 5rem) 0;
    background: var(--sig-ivory, #faf8f2);
}

.wholesale-page .ws-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wholesale-page .ws-range-card { margin: 0; }

.wholesale-page .ws-range-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: var(--sig-r-card, 22px);
    background: #fff;
    border: 1px solid var(--sig-line, rgba(20, 33, 27, 0.12));
    box-shadow: var(--sig-shadow-rest);
    color: inherit;
    text-decoration: none;
    transition: transform var(--sig-dur, 0.45s) var(--sig-ease-out), box-shadow var(--sig-dur, 0.45s) var(--sig-ease-out);
}

.wholesale-page .ws-range-link:hover,
.wholesale-page .ws-range-link:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--sig-shadow-lift);
}

.wholesale-page .ws-range-link:focus-visible {
    outline: 3px solid var(--sig-brass, #ad8242);
    outline-offset: 3px;
}

.wholesale-page .ws-range-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sig-steel-1, #f4f5f4);
}

.wholesale-page .ws-range-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--sig-ease-out);
}

.wholesale-page .ws-range-img-placeholder {
    object-fit: contain;
    padding: 18%;
    opacity: 0.6;
}

.wholesale-page .ws-range-link:hover .ws-range-img { transform: scale(1.05); }

.wholesale-page .ws-range-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.15rem 1.2rem;
}

.wholesale-page .ws-range-name {
    font-family: var(--font-family-heading);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--sig-ink, #14211b);
}

.wholesale-page .ws-range-count {
    font-size: 0.85rem;
    color: var(--sig-muted, #66736c);
}

/* ---- How ordering works ---- */
.wholesale-page .ws-steps-section {
    padding: var(--sig-section-y, 5rem) 0;
    background: #fff;
}

.wholesale-page .ws-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.wholesale-page .ws-step {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: var(--sig-r-card, 22px);
    background: var(--sig-paper, #f3efe5);
}

.wholesale-page .ws-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2.85rem;
    left: calc(1.5rem + 3rem);
    right: -1.5rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--sig-brass-light, #d9bd85) 0 6px, transparent 6px 12px);
}

.wholesale-page .ws-step-num {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--sig-forest, #174a3a);
    color: #fff;
    font-family: var(--font-family-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.wholesale-page .ws-step-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    color: var(--sig-ink, #14211b);
}

.wholesale-page .ws-step-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--sig-muted, #66736c);
}

/* ---- Stats grid sized to the measured stats ---- */
.wholesale-page .stats-grid.ws-stats-1 { grid-template-columns: minmax(0, 320px); justify-content: center; }
.wholesale-page .stats-grid.ws-stats-2 { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; }
.wholesale-page .stats-grid.ws-stats-3 { grid-template-columns: repeat(3, 1fr); }

/* A shared .hero-content rule loaded after this file keeps a two-column grid
   with no side padding at every width, which squeezed the photo to ~150px on
   phones and put the copy flush against the screen edge. */
main.wholesale-page .wholesale-hero .hero-content {
    width: 100%;
    padding-left: var(--sig-gutter, 1.25rem);
    padding-right: var(--sig-gutter, 1.25rem);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    main.wholesale-page .wholesale-hero .hero-content { grid-template-columns: minmax(0, 1fr); }
    .wholesale-page .ws-hero-photo { width: 100%; max-width: 620px; margin: 2.5rem auto 0; }
    .wholesale-page .ws-steps { grid-template-columns: repeat(2, 1fr); }
    .wholesale-page .ws-step::after { display: none; }
}

@media (max-width: 640px) {
    .wholesale-page .ws-hero-badge-top { left: 0.6rem; top: -0.9rem; }
    .wholesale-page .ws-hero-badge-bottom { right: 0.6rem; bottom: -0.9rem; }
    .wholesale-page .ws-hero-badge strong { font-size: 1.2rem; }
    .wholesale-page .ws-range-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
    .wholesale-page .ws-range-body { padding: 0.75rem 0.85rem 0.9rem; }
    .wholesale-page .ws-range-name { font-size: 0.98rem; }
    .wholesale-page .ws-steps { grid-template-columns: 1fr; }
    .wholesale-page .stats-grid.ws-stats-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .wholesale-page .ws-hero-photo,
    .wholesale-page .ws-range-link,
    .wholesale-page .ws-range-img { animation: none; transition: none; }
}
