/** Shopify CDN: Minification failed

Line 738:19 Unexpected "*"
Line 745:21 Unexpected "*"
Line 753:21 Unexpected "*"

**/
/* ==========================================================================
   TEDDY HATS — Custom Theme Overrides
   Casablanca Paris-inspired luxury aesthetic, adapted for handmade hats.
   Applied on top of Dawn (Shopify's base theme).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Colors — Teddy Hats Palette */
  --teddy-primary: #2C2C2C;
  --teddy-accent: #C4704B;
  --teddy-accent-hover: #A85D3D;
  --teddy-gold: #BFA67F;
  --teddy-bg: #FFFFFF;
  --teddy-card-bg: #F7F5F2;
  --teddy-text: #1A1A1A;
  --teddy-text-secondary: #5A5A5A;
  --teddy-border: #E8E4DF;
  --teddy-footer-bg: #2C2C2C;
  --teddy-announcement-bg: #C4704B;

  /* Typography */
  --font-heading-family: 'Cormorant Garamond', serif;
  --font-body-family: 'Jost', sans-serif;

  /* Spacing */
  --teddy-radius-card: 24px;
  --teddy-radius-button: 48px;
  --teddy-radius-input: 40px;
  --teddy-radius-sm: 16px;

  /* Transitions */
  --teddy-transition: 333ms ease-in-out;
  --teddy-transition-fast: 200ms ease-in-out;
}

/* --------------------------------------------------------------------------
   3. GLOBAL TYPOGRAPHY
   -------------------------------------------------------------------------- */
body,
.body,
p {
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  color: var(--teddy-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3,
.h1, .h2, .h3,
.banner__heading,
.title,
.collection__title {
  font-family: var(--font-heading-family) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--teddy-text);
}

h4, h5, h6,
.h4, .h5, .h6 {
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

/* Display headings — large serif for hero/editorial sections */
.banner__heading,
.rich-text__heading,
.image-with-text__heading {
  font-family: var(--font-heading-family) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Navigation & labels — uppercase geometric sans */
.header__menu-item,
.menu-drawer__menu-item,
.header__heading-link,
nav a {
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   4. HEADER — Transparent + Sticky (Casablanca-style)
   -------------------------------------------------------------------------- */

/* Base header styling */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color var(--teddy-transition), box-shadow var(--teddy-transition);
}

/* Transparent header on homepage */
.header-wrapper--transparent {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.header-wrapper--transparent .header {
  background-color: transparent !important;
  border-bottom: none !important;
}

.header-wrapper--transparent .header__heading-link,
.header-wrapper--transparent .header__menu-item,
.header-wrapper--transparent .header__icon {
  color: #FFFFFF;
}

/* Scrolled state — solid background */
.header-wrapper--scrolled {
  background-color: var(--teddy-bg) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-wrapper--scrolled .header {
  background-color: var(--teddy-bg) !important;
}

.header-wrapper--scrolled .header__heading-link,
.header-wrapper--scrolled .header__menu-item,
.header-wrapper--scrolled .header__icon {
  color: var(--teddy-text);
}

/* Header height */
.section-header {
  padding: 0;
}

.header {
  padding-top: 0;
  padding-bottom: 0;
  height: 64px;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 990px) {
  .header {
    height: 80px;
  }
}

/* Header icons */
.header__icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   5. ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.announcement-bar {
  background-color: var(--teddy-announcement-bg) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body-family) !important;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
}

.announcement-bar a,
.announcement-bar__message {
  color: #FFFFFF !important;
}

/* Announcement bar rotation animation */
.announcement-bar__message {
  animation: teddy-announcement-rotate 12s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   6. HERO / IMAGE BANNER
   -------------------------------------------------------------------------- */
.banner {
  min-height: 90vh !important;
}

.banner__media {
  border-radius: 0 !important;
}

.banner__heading {
  font-family: var(--font-heading-family) !important;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media screen and (min-width: 750px) {
  .banner__heading {
    font-size: 4rem;
  }
}

@media screen and (min-width: 990px) {
  .banner__heading {
    font-size: 5rem;
  }
}

.banner__text {
  font-family: var(--font-body-family) !important;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   7. BUTTONS — Pill Shape (Casablanca-style)
   -------------------------------------------------------------------------- */
.button,
.shopify-challenge__button,
.customer button,
button.shopify-payment-button__button,
.cart__checkout-button {
  border-radius: var(--teddy-radius-button) !important;
  padding: 12px 40px !important;
  font-family: var(--font-body-family) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: all var(--teddy-transition) !important;
  min-height: 48px;
}

/* Primary button */
.button--primary,
.shopify-payment-button__button--unbranded {
  background-color: var(--teddy-primary) !important;
  color: #FFFFFF !important;
  border: 2px solid var(--teddy-primary) !important;
}

.button--primary:hover,
.shopify-payment-button__button--unbranded:hover {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

/* Secondary/outline button */
.button--secondary {
  background-color: transparent !important;
  color: var(--teddy-primary) !important;
  border: 2px solid var(--teddy-primary) !important;
}

.button--secondary:hover {
  background-color: var(--teddy-primary) !important;
  color: #FFFFFF !important;
}

/* Accent button variant — for CTAs */
.button--accent,
.banner__button .button {
  background-color: var(--teddy-accent) !important;
  color: #FFFFFF !important;
  border: 2px solid var(--teddy-accent) !important;
}

.button--accent:hover,
.banner__button .button:hover {
  background-color: var(--teddy-accent-hover) !important;
  border-color: var(--teddy-accent-hover) !important;
}

/* --------------------------------------------------------------------------
   8. PRODUCT CARDS — Portrait, Rounded, Centered (Casablanca-style)
   -------------------------------------------------------------------------- */

/* Card container */
.card-wrapper {
  border-radius: var(--teddy-radius-card);
  overflow: hidden;
  transition: all var(--teddy-transition);
}

.card {
  border-radius: var(--teddy-radius-card) !important;
  overflow: hidden;
  border: none !important;
  background: transparent;
}

.card__inner {
  border-radius: var(--teddy-radius-card) !important;
  border: none !important;
}

/* Product image — uniform size, portrait aspect ratio */
.card__media,
.card .media {
  border-radius: var(--teddy-radius-card) !important;
  overflow: hidden;
}

.card .media,
.card__media .media,
.card-wrapper .media,
.product-card .media {
  position: relative !important;
  padding-top: 125% !important;  /* 1:1.25 portrait ratio — all cards same height */
  height: 0 !important;
  background-color: var(--teddy-card-bg);
}

.card .media img,
.card__media .media img,
.card-wrapper .media img,
.product-card .media img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;  /* Show full hat without cropping */
  object-position: center center !important;
  transition: transform 600ms ease;
}

/* Card hover effects */
.card-wrapper:hover {
  transform: translateY(-2px);
}

.card-wrapper:hover .card .media {
  background-color: var(--teddy-card-bg);
}

.card-wrapper:hover .card .media img {
  transform: scale(1.03);
}

/* Card info — centered text */
.card__information {
  text-align: center;
  padding: 16px 8px !important;
}

@media screen and (min-width: 750px) {
  .card__information {
    padding: 20px 12px !important;
  }
}

/* Product name */
.card__heading,
.card__heading a,
.card-information__text {
  font-family: var(--font-body-family) !important;
  font-weight: 450;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--teddy-text);
  text-decoration: none;
}

.card__heading a:hover {
  text-decoration: none;
  color: var(--teddy-accent);
}

/* Price */
.price,
.price-item {
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--teddy-text);
  text-align: center;
}

.price__container {
  justify-content: center;
}

/* Badge */
.card__badge {
  border-radius: var(--teddy-radius-button);
}

.badge {
  border-radius: var(--teddy-radius-button);
  font-family: var(--font-body-family) !important;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--teddy-accent);
  color: #FFFFFF;
  border: none;
}

/* --------------------------------------------------------------------------
   9. PRODUCT GRID
   -------------------------------------------------------------------------- */
.collection .grid {
  gap: 16px;
}

@media screen and (min-width: 750px) {
  .collection .grid {
    gap: 24px;
  }
}

@media screen and (min-width: 990px) {
  .collection .grid {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   10. PRODUCT PAGE
   -------------------------------------------------------------------------- */

/* Product title */
.product__title h1 {
  font-family: var(--font-heading-family) !important;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

@media screen and (min-width: 750px) {
  .product__title h1 {
    font-size: 2.5rem;
  }
}

/* Product price */
.product__info-wrapper .price {
  font-family: var(--font-body-family) !important;
  font-size: 1.125rem;
  font-weight: 400;
}

/* Product images */
.product__media-item {
  border-radius: var(--teddy-radius-card) !important;
  overflow: hidden;
}

.product__media-item .media {
  border-radius: var(--teddy-radius-card) !important;
}

/* Size/variant picker — pill buttons */
.product-form__input input[type="radio"] + label,
.variant-input label {
  border-radius: var(--teddy-radius-button) !important;
  font-family: var(--font-body-family) !important;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  transition: all var(--teddy-transition-fast);
  padding: 8px 20px !important;
  min-width: 48px;
  text-align: center;
}

.product-form__input input[type="radio"]:checked + label {
  background-color: var(--teddy-primary);
  color: #FFFFFF;
  border-color: var(--teddy-primary);
}

/* Add to cart button — full width */
.product-form__submit {
  width: 100%;
  border-radius: var(--teddy-radius-button) !important;
  background-color: var(--teddy-primary) !important;
  color: #FFFFFF !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  min-height: 52px;
  transition: all var(--teddy-transition) !important;
}

.product-form__submit:hover {
  background-color: #1a1a1a !important;
}

/* Product description */
.product__description {
  font-family: var(--font-body-family) !important;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--teddy-text-secondary);
}

/* --------------------------------------------------------------------------
   11. FOOTER — Dark Background (Casablanca-style)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--teddy-footer-bg) !important;
  color: #FFFFFF !important;
  padding-top: 64px;
  padding-bottom: 32px;
}

@media screen and (min-width: 990px) {
  .footer {
    padding-top: 96px;
  }
}

.footer *,
.footer a,
.footer p,
.footer h2,
.footer h3,
.footer .footer__title,
.footer .footer-block__heading {
  color: #FFFFFF !important;
}

.footer a:hover {
  color: var(--teddy-gold) !important;
  transition: color var(--teddy-transition-fast);
}

/* Footer headings */
.footer-block__heading {
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  margin-bottom: 24px;
}

/* Footer links */
.footer-block__details-content a {
  font-family: var(--font-body-family) !important;
  font-size: 0.875rem;
  font-weight: 300;
  text-decoration: none;
  line-height: 2;
}

/* Footer newsletter input */
.footer .newsletter-form__field-wrapper {
  border-radius: var(--teddy-radius-input) !important;
  overflow: hidden;
}

.footer .field__input {
  border-radius: var(--teddy-radius-input) !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #FFFFFF !important;
  font-family: var(--font-body-family) !important;
  font-size: 0.875rem;
}

.footer .field__input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer .newsletter-form__button {
  border-radius: var(--teddy-radius-input) !important;
  background-color: var(--teddy-accent) !important;
  color: #FFFFFF !important;
}

/* Footer bottom bar */
.footer__content-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-top: 24px;
  margin-top: 48px;
}

/* Social icons in footer */
.footer .list-social__link {
  color: #FFFFFF !important;
}

.footer .list-social__link:hover {
  color: var(--teddy-gold) !important;
}

/* Payment icons */
.footer .list-payment .payment-icon {
  opacity: 0.7;
}

.footer .list-payment .payment-icon:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   12. INPUTS & FORMS
   -------------------------------------------------------------------------- */
.field__input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
  border-radius: var(--teddy-radius-input) !important;
  font-family: var(--font-body-family) !important;
  font-size: 0.875rem;
  transition: border-color var(--teddy-transition-fast);
}

.field__input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--teddy-primary) !important;
  box-shadow: 0 0 0 1px var(--teddy-primary) !important;
}

/* --------------------------------------------------------------------------
   13. RICH TEXT / EDITORIAL SECTIONS
   -------------------------------------------------------------------------- */
.rich-text__heading {
  font-family: var(--font-heading-family) !important;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.rich-text__text {
  font-family: var(--font-body-family) !important;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--teddy-text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Image with text — brand story section */
.image-with-text__heading {
  font-family: var(--font-heading-family) !important;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

@media screen and (min-width: 750px) {
  .image-with-text__heading {
    font-size: 2.75rem;
  }
}

.image-with-text__text {
  font-family: var(--font-body-family) !important;
  font-weight: 300;
  line-height: 1.6;
}

.image-with-text .media {
  border-radius: var(--teddy-radius-card) !important;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   14. COLLECTION PAGE
   -------------------------------------------------------------------------- */
.collection__title {
  font-family: var(--font-heading-family) !important;
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: center;
}

.collection__description {
  font-family: var(--font-body-family) !important;
  font-weight: 300;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--teddy-text-secondary);
}

/* --------------------------------------------------------------------------
   15. CART
   -------------------------------------------------------------------------- */
.cart__items {
  border-radius: var(--teddy-radius-sm);
}

.cart-item__media {
  border-radius: var(--teddy-radius-sm) !important;
  overflow: hidden;
}

.cart__checkout-button {
  border-radius: var(--teddy-radius-button) !important;
  background-color: var(--teddy-primary) !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   16. SECTION SPACING
   -------------------------------------------------------------------------- */
.section-template--*,
.shopify-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

@media screen and (min-width: 750px) {
  .section-template--*,
  .shopify-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media screen and (min-width: 990px) {
  .section-template--*,
  .shopify-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

/* Hero section — no padding */
.shopify-section--image-banner,
.shopify-section-group-header-group {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   17. MISC REFINEMENTS
   -------------------------------------------------------------------------- */

/* Links */
a {
  transition: color var(--teddy-transition-fast);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: var(--teddy-accent);
  color: #FFFFFF;
}

/* Focus visible — accessibility */
:focus-visible {
  outline: 2px solid var(--teddy-accent);
  outline-offset: 2px;
}

/* Page container — max width */
.page-width {
  max-width: 1400px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-body-family) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quantity selector */
.quantity {
  border-radius: var(--teddy-radius-button);
}

/* Modal / drawer rounded corners */
.menu-drawer,
.cart-drawer {
  border-radius: 0 var(--teddy-radius-card) var(--teddy-radius-card) 0;
}

/* Search */
.search__input {
  border-radius: var(--teddy-radius-input) !important;
}
