/* Centralized page-level styles extracted from PHP templates. */

/* catalog.php */
.catalog-showcase {
      position: relative;
      padding: 12px 0 clamp(44px, 7vw, 72px);
      overflow: hidden;
      isolation: isolate;
    }

    .catalog-showcase::before,
    .catalog-showcase::after {
      content: "";
      position: absolute;
      border-radius: 999px;
      pointer-events: none;
      z-index: 0;
    }

    .catalog-showcase::before {
      top: 10px;
      left: -90px;
      width: 280px;
      height: 280px;
      background: radial-gradient(circle, rgba(183, 214, 188, 0.45) 0%, rgba(183, 214, 188, 0) 72%);
    }

    .catalog-showcase::after {
      right: -110px;
      bottom: 0;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(214, 194, 164, 0.28) 0%, rgba(214, 194, 164, 0) 74%);
    }

    .catalog-showcase .container {
      position: relative;
      z-index: 1;
    }

    .catalog-showcase__layout {
      align-items: center;
      row-gap: clamp(20px, 4vw, 30px);
    }

    .catalog-showcase__intro {
      max-width: 460px;
      margin: 0 auto;
      text-align: center;
    }

    .catalog-showcase__eyebrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      margin-bottom: 16px;
      border: 1px solid rgba(19, 75, 47, 0.12);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.9);
      color: #1c5a38;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: 0 10px 30px rgba(31, 45, 61, 0.06);
    }

    .catalog-showcase__title {
      margin-bottom: 10px;
      color: #163b28;
      font-size: clamp(24px, 3.4vw, 30px);
      font-weight: 700;
      line-height: 1.25;
      text-wrap: balance;
    }

    .catalog-showcase__description {
      margin-bottom: 0;
      max-width: 29rem;
      margin-left: auto;
      margin-right: auto;
      color: #5f6f65;
      font-size: clamp(15px, 2vw, 16px);
      line-height: 1.72;
    }

    .catalog-card {
      display: grid;
      grid-template-columns: minmax(134px, 150px) minmax(0, 1fr);
      align-items: stretch;
      width: 100%;
      max-width: 452px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(24, 63, 41, 0.08);
      border-radius: 24px;
      background: linear-gradient(145deg, #ffffff 0%, #fbf8f3 100%);
      box-shadow: 0 18px 44px rgba(32, 44, 37, 0.12);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .catalog-card__media {
      position: relative;
      display: flex;
      align-items: flex-start;
      padding: 12px 0 12px 12px;
      background: linear-gradient(145deg, #f0f4ee 0%, #ece3d5 100%);
    }

    .catalog-card__image {
      display: block;
      width: 100%;
      height: auto;
      min-height: 0;
      aspect-ratio: auto;
      object-fit: contain;
      border-radius: 16px;
      box-shadow: 0 12px 24px rgba(43, 53, 46, 0.14);
    }

    .catalog-card__badge {
      position: absolute;
      top: 16px;
      right: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: rgba(22, 59, 40, 0.9);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .catalog-card__body {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 14px 16px 14px 10px;
    }

    .catalog-card__label {
      margin-bottom: 4px;
      color: #8a7a5d;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .catalog-card__title {
      margin-bottom: 6px;
      color: #173926;
      font-size: clamp(15px, 1.55vw, 17px);
      font-weight: 700;
      line-height: 1.24;
      text-wrap: balance;
    }

    .catalog-card__text {
      margin-bottom: 10px;
      color: #66756c;
      font-size: 11px;
      line-height: 1.52;
    }

    .catalog-card__button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-top: auto;
      min-height: 38px;
      width: 100%;
      padding: 8px 13px;
      border-radius: 999px;
      background: linear-gradient(135deg, #1d5a39 0%, #103623 100%);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      box-shadow: 0 12px 22px rgba(16, 54, 35, 0.2);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .catalog-card__button:focus-visible {
      outline: 0;
      box-shadow: 0 0 0 4px rgba(29, 90, 57, 0.18), 0 14px 24px rgba(16, 54, 35, 0.22);
    }

    .catalog-card__button img {
      width: 14px;
      height: 14px;
      object-fit: contain;
      filter: brightness(0) invert(1);
    }

    @media (min-width: 992px) {
      .catalog-showcase__intro {
        text-align: left;
      }

      .catalog-showcase__description {
        margin-left: 0;
        margin-right: 0;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .catalog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 70px rgba(32, 44, 37, 0.16);
      }

      .catalog-card__button:hover {
        color: #fff;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 18px 30px rgba(16, 54, 35, 0.28);
      }
    }

    @media (max-width: 991.98px) {
      .catalog-showcase {
        padding-bottom: 60px;
      }

      .catalog-showcase::before {
        left: -120px;
      }

      .catalog-showcase::after {
        right: -130px;
      }

      .catalog-card {
        max-width: 424px;
        box-shadow: 0 18px 40px rgba(32, 44, 37, 0.12);
      }

      .catalog-showcase__intro {
        max-width: 520px;
        margin-bottom: 6px;
      }
    }

    @media (max-width: 767.98px) {
      .catalog-showcase {
        padding-top: 8px;
        padding-bottom: 50px;
      }

      .catalog-showcase::before,
      .catalog-showcase::after {
        opacity: 0.7;
      }

      .catalog-showcase::before {
        top: 56px;
        left: -105px;
        width: 190px;
        height: 190px;
      }

      .catalog-showcase::after {
        right: -115px;
        bottom: -10px;
        width: 220px;
        height: 220px;
      }

      .catalog-showcase__intro {
        max-width: 500px;
        padding: 0 4px;
        margin-bottom: 4px;
      }

      .catalog-card {
        display: block;
        max-width: 340px;
      }

      .catalog-card__media {
        padding: 12px 12px 0;
      }

      .catalog-card__image {
        aspect-ratio: auto;
      }

      .catalog-card__body {
        padding: 16px 16px 18px;
      }

      .catalog-card__text {
        margin-bottom: 16px;
        line-height: 1.68;
      }

      .catalog-card__button {
        width: 100%;
        padding: 12px 16px;
      }

      .catalog-card__badge {
        top: 20px;
        right: 20px;
        padding: 6px 11px;
        font-size: 11px;
      }
    }

    @media (max-width: 575.98px) {
      .catalog-showcase .container {
        padding-right: 18px;
        padding-left: 18px;
      }

      .catalog-showcase__eyebrow {
        margin-bottom: 12px;
        font-size: 13px;
        letter-spacing: 0.06em;
      }

      .catalog-card {
        max-width: 320px;
        border-radius: 22px;
        box-shadow: 0 16px 34px rgba(32, 44, 37, 0.1);
      }

      .catalog-card__media {
        padding: 12px;
      }

      .catalog-card__image {
        border-radius: 16px;
      }

      .catalog-card__label {
        margin-bottom: 6px;
      }

      .catalog-card__button img {
        width: 14px;
        height: 14px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .catalog-card,
      .catalog-card__button {
        transition: none;
      }
    }

/* color.php */
@media (min-width: 1200px) {
            .container--xl {
                max-width: 1320px;
            }
        }

        @media (min-width: 1400px) {
            .container--xl {
                max-width: 1440px;
            }
        }

        .color-layout {
            row-gap: 2rem;
        }

        .color-sidebar {
            margin-bottom: 1.5rem;
        }

        .color-sidebar .sidebar-box-2 {
            background: #fff;
            border-radius: 18px;
            padding: 1.25rem 1rem;
            box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
        }

        .color-sidebar .panel-title {
            margin-bottom: 0;
        }

        .color-sidebar .panel-title a {
            display: block;
            padding: 0.45rem 0;
        }

        .color-search-form {
            margin-top: 1rem;
        }

        .color-search-form .btn {
            width: 100%;
        }

        .color-gallery {
            align-items: flex-start;
            row-gap: 1rem;
        }

        .color-search-summary,
        .color-section-heading {
            scroll-margin-top: 120px;
        }

        .color-search-summary {
            margin-bottom: 0.5rem;
        }

        .color-search-summary h2 {
            font-size: clamp(1.5rem, 2.8vw, 2rem);
            margin-bottom: 0.35rem;
        }

        .color-section-heading {
            margin-bottom: 0.75rem;
        }

        .color-section-heading-inner {
            max-width: 860px;
            margin: 0 auto;
            padding: 1rem 1.25rem 1.1rem;
            border: 1px solid rgba(197, 138, 43, 0.18);
            border-radius: 22px;
            background: linear-gradient(180deg, #ffffff 0%, #fbf8f1 100%);
            box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
        }

        .color-section-kicker {
            display: inline-block;
            margin-bottom: 0.45rem;
            padding: 0.22rem 0.65rem;
            border-radius: 999px;
            background: rgba(197, 138, 43, 0.12);
            color: #9a6618;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .color-section-heading h2 {
            font-size: clamp(1.35rem, 2.4vw, 1.9rem);
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: #5a3a16;
            margin-bottom: 0.45rem;
        }

        .color-section-note {
            max-width: 640px;
            margin: 0 auto;
            font-size: 1rem;
            line-height: 1.6;
            color: #6b7280;
        }

        .color-section-divider {
            width: 88px;
            height: 3px;
            margin: 0.9rem auto 0;
            border-radius: 999px;
            background: linear-gradient(90deg, #c58a2b 0%, #e9d2a6 100%);
        }

        .color-card {
            margin-bottom: 0.75rem;
        }

        .color-card .product {
            width: 100%;
            height: auto;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 0;
            box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            border: 1px solid transparent;
        }

        .color-card.is-return-target .product {
            transform: translateY(-2px);
            border-color: rgba(197, 138, 43, 0.34);
            box-shadow: 0 20px 36px rgba(197, 138, 43, 0.18);
        }

        .color-card .img-prod {
            display: block;
            aspect-ratio: 4 / 5;
            overflow: hidden;
            background: #f4f4f4;
        }

        .color-card .img-prod img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .color-card .text {
            padding: 12px 12px 16px !important;
        }

        .color-card .cat {
            font-size: 0.82rem;
            margin-bottom: 0.35rem;
        }

        .color-card h3 {
            font-size: 1rem;
            line-height: 1.35;
            margin-bottom: 0;
        }

        .color-card h3 a {
            color: #1f2937;
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            word-break: break-word;
        }

        .color-card h3 a:hover {
            color: #c58a2b;
        }

        @media (min-width: 992px) {
            .color-sidebar {
                position: sticky;
                top: 120px;
            }
        }

        @media (max-width: 767.98px) {
            .color-gallery {
                margin-left: -6px;
                margin-right: -6px;
            }

            .color-gallery>[class*="col-"] {
                padding-left: 6px;
                padding-right: 6px;
            }

            .color-card {
                flex: 0 0 33.333333%;
                max-width: 33.333333%;
                margin-bottom: 0.6rem;
            }

            .color-card .product {
                border-radius: 14px;
            }

            .color-section-heading-inner {
                padding: 0.85rem 0.9rem 0.95rem;
                border-radius: 16px;
            }

            .color-section-kicker {
                font-size: 0.64rem;
                letter-spacing: 0.1em;
            }

            .color-card .img-prod {
                aspect-ratio: 1 / 1.08;
            }

            .color-card .text {
                padding: 8px 8px 12px !important;
            }

            .color-card .cat {
                font-size: 0.7rem;
            }

            .color-card h3 {
                font-size: 0.82rem;
                line-height: 1.25;
            }

            .color-section-note {
                font-size: 0.9rem;
                line-height: 1.5;
            }
        }

/* compare-melamine-hpl.php */
.hero-wrap {
            position: relative;
            overflow: hidden;
            height: 60vh;
            margin: 0;
        }

        .compare-materials-page-main {
            padding-bottom: 2.5rem;
        }

        .compare-materials-shell {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .compare-intro-row,
        .compare-decision-row {
            row-gap: 1rem;
        }

        .compare-material-card,
        .compare-decision-card,
        .compare-cta-card {
            height: 100%;
            padding: 1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 24px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
            box-shadow: 0 16px 32px rgba(16, 24, 40, 0.05);
        }

        .compare-material-media {
            position: relative;
            overflow: hidden;
            margin-bottom: 1rem;
            border-radius: 18px;
            aspect-ratio: 16 / 9;
            background: #f2f1ec;
        }

        .compare-material-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .compare-material-badge {
            position: absolute;
            left: 1rem;
            bottom: 1rem;
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0.3rem 0.72rem;
            border-radius: 999px;
            background: rgba(16, 24, 40, 0.72);
            color: #fff;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .compare-material-title,
        .compare-section-title {
            margin: 0 0 0.4rem;
            color: #173926;
            font-size: 1.2rem;
            font-weight: 700;
        }

        .compare-material-summary,
        .compare-section-copy,
        .compare-decision-copy,
        .compare-cta-copy p {
            margin: 0;
            color: #5f6f61;
            line-height: 1.75;
        }

        .compare-material-points {
            margin: 1rem 0 0;
            padding-left: 1rem;
            color: #1f2937;
        }

        .compare-material-points li + li {
            margin-top: 0.45rem;
        }

        .compare-material-points li {
            line-height: 1.65;
        }

        .compare-table-section {
            padding: 1rem 1.1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 24px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
            box-shadow: 0 16px 32px rgba(16, 24, 40, 0.05);
        }

        .compare-table-wrap {
            overflow-x: auto;
            margin-top: 1rem;
        }

        .compare-table {
            width: 100%;
            min-width: 720px;
            border-collapse: separate;
            border-spacing: 0;
        }

        .compare-table th,
        .compare-table td {
            padding: 1rem;
            border-bottom: 1px solid rgba(24, 63, 41, 0.08);
            vertical-align: top;
        }

        .compare-table thead th {
            background: #f6f4eb;
            color: #173926;
            font-size: 0.98rem;
            font-weight: 700;
        }

        .compare-table tbody th {
            color: #173926;
            font-size: 1rem;
            font-weight: 700;
            background: #fff;
        }

        .compare-table tbody td {
            color: #5f6f61;
            line-height: 1.7;
            background: #fff;
        }

        .compare-table tr:last-child th,
        .compare-table tr:last-child td {
            border-bottom: 0;
        }

        .compare-decision-card h4,
        .compare-cta-copy h3 {
            margin: 0 0 0.45rem;
            color: #173926;
            font-size: 1.05rem;
            font-weight: 700;
        }

        .compare-decision-icon {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.85rem;
            border-radius: 999px;
            background: rgba(49, 85, 44, 0.08);
            color: #31552c;
            font-size: 1.06rem;
        }

        .compare-cta-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .compare-cta-actions {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        @media (min-width: 992px) {
            .compare-intro-row {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 1rem;
                margin: 0;
            }

            .compare-intro-row > [class*='col-'] {
                max-width: none;
                flex: none;
                width: auto;
                padding: 0;
            }

            .compare-material-card {
                padding: 0.85rem;
            }

            .compare-material-media {
                margin-bottom: 0.75rem;
                aspect-ratio: 21 / 10;
            }

            .compare-material-title {
                font-size: 1.08rem;
            }

            .compare-material-summary,
            .compare-material-points {
                font-size: 1rem;
            }
        }

        @media (max-width: 767.98px) {
            .compare-material-card,
            .compare-decision-card,
            .compare-cta-card,
            .compare-table-section {
                padding: 0.9rem;
                border-radius: 20px;
            }

            .compare-material-media {
                border-radius: 16px;
            }

            .compare-cta-actions .btn {
                width: 100%;
            }
        }

/* contact.php */
.contact-page .contact-section {
			padding: clamp(1.35rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 4.2rem);
			background: linear-gradient(180deg, #fbfcf8 0%, #ffffff 100%);
		}

		.contact-page .contact-section-head {
			max-width: 52rem;
			margin: 0 auto 1.9rem;
		}

		.contact-page .contact-section-kicker,
		.contact-page .contact-pane-kicker {
			display: inline-flex;
			align-items: center;
			min-height: 32px;
			padding: 0.32rem 0.78rem;
			border-radius: 999px;
			background: #edf5ea;
			color: #31552c;
			font-size: 0.78rem;
			font-weight: 700;
			letter-spacing: 0.08em;
			text-transform: uppercase;
		}

		.contact-page .contact-section-title {
			margin: 0.8rem 0 0.55rem;
			color: #173926;
			font-size: clamp(1.9rem, 4vw, 2.65rem);
			font-weight: 700;
			line-height: 1.15;
		}

		.contact-page .contact-section-lead {
			max-width: 42rem;
			margin: 0 auto;
			color: #627261;
			font-size: 1.08rem;
			line-height: 1.7;
		}

		.contact-page .contact-section-pills {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			gap: 0.55rem;
			margin-top: 1rem;
		}

		.contact-page .contact-section-pills span {
			display: inline-flex;
			align-items: center;
			min-height: 34px;
			padding: 0.35rem 0.8rem;
			border: 1px solid rgba(24, 63, 41, 0.08);
			border-radius: 999px;
			background: #fff;
			color: #31552c;
			font-size: 0.9rem;
			font-weight: 600;
			box-shadow: 0 8px 18px rgba(16, 24, 40, 0.04);
		}

		.contact-page .contact-shell {
			padding: 1rem;
			border: 1px solid rgba(24, 63, 41, 0.08);
			border-radius: 26px;
			background: linear-gradient(180deg, #fcfcf8 0%, #f6f4ed 100%);
			box-shadow: 0 14px 30px rgba(16, 24, 40, 0.05);
		}

		.contact-page .contact-panel {
			height: 100%;
			border: 1px solid rgba(24, 63, 41, 0.08);
			border-radius: 22px;
			background: #fff;
			box-shadow: 0 14px 30px rgba(16, 24, 40, 0.05);
		}

		.contact-page .contact-panel .card-body {
			padding: 1.25rem !important;
		}

		.contact-page .contact-card-head,
		.contact-page .contact-pane-header {
			margin-bottom: 1rem;
		}

		.contact-page .contact-card-head h3,
		.contact-page .contact-pane-header h3 {
			margin: 0.55rem 0 0.35rem;
			color: #173926;
			font-size: 1.35rem;
			font-weight: 700;
			line-height: 1.35;
		}

		.contact-page .contact-card-head p,
		.contact-page .contact-pane-header p {
			margin: 0;
			color: #627261;
			font-size: 1.02rem;
			line-height: 1.6;
		}

		.contact-page .contact-card .card-body {
			padding: 1.1rem !important;
		}

		.contact-page .contact-card .contact-info-item {
			margin: 0 !important;
			padding: 0.28rem 0;
			gap: 0.5rem;
		}

		.contact-page .contact-card .contact-info-item+.contact-info-item {
			border-top: 1px dashed rgba(15, 23, 42, 0.1);
		}

		.contact-page .contact-card .icon-badge {
			flex: 0 0 34px;
			width: 34px;
			height: 34px;
			box-shadow: 0 4px 10px rgba(244, 176, 0, 0.16);
		}

		.contact-page .contact-card .icon-badge i {
			font-size: 14px;
		}

		.contact-page .contact-card .ms-3 {
			margin-left: 0 !important;
			flex: 1 1 auto;
			min-width: 0;
		}

		.contact-page .contact-card .fw-bold {
			margin-bottom: 0.06rem;
			font-size: 0.82rem;
			letter-spacing: 0.06em;
			text-transform: uppercase;
			color: #7c8798;
		}

		.contact-page .contact-card p,
		.contact-page .contact-card a,
		.contact-page .contact-card small {
			font-size: 1rem;
			line-height: 1.28;
		}

		.contact-page .contact-card .map-wrap {
			margin-top: 0.85rem !important;
		}

		.contact-page .contact-card .map-wrap iframe {
			min-height: 220px;
			border-radius: 10px;
		}

		@media (min-width: 992px) {
			.contact-page .contact-shell {
				padding: 1.05rem;
			}
		}

		@media (max-width: 767.98px) {
			.contact-page .contact-section {
				padding: 1.1rem 0 2.35rem;
			}

			.contact-page .contact-shell {
				padding: 0.7rem;
				border-radius: 22px;
			}

			.contact-page .contact-panel {
				border-radius: 18px;
			}

			.contact-page .contact-panel .card-body {
				padding: 1rem !important;
			}

			.contact-page .contact-section-title {
				font-size: 1.9rem;
			}

			.contact-page .contact-section-pills {
				gap: 0.45rem;
			}

			.contact-page .contact-section-pills span {
				font-size: 0.82rem;
			}

			.contact-page .contact-card .card-body {
				padding: 0.95rem !important;
			}

			.contact-page .contact-card .contact-info-item {
				padding: 0.24rem 0;
			}

			.contact-page .contact-card .icon-badge {
				flex-basis: 30px;
				width: 30px;
				height: 30px;
			}

			.contact-page .contact-card .icon-badge i {
				font-size: 13px;
			}

			.contact-page .contact-card .map-wrap iframe {
				min-height: 190px;
			}
		}

/* cut-to-size-service.php */
.scrollax-performance,
        .scrollax-performance *,
        .scrollax-performance *:before,
        .scrollax-performance *:after {
            pointer-events: none !important;
            -webkit-animation-play-state: paused !important;
            animation-play-state: paused !important;
        }

        ;

.hero-wrap {
            position: relative;
            overflow: hidden;
            height: 60vh;
            margin: 0;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            /* top:0; right:0; bottom:0; left:0 */
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #fff;
            /* ข้อความสีขาว */
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
        }

/* เอา bullet ออก */
        .submenu-dropdown {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        /* ให้ลิงก์เต็มบรรทัด พร้อม transition */
        .submenu-dropdown li a {
            display: block;
            padding: 0.5rem 0;
            transition: transform 0.2s ease;
        }

        /* เมื่อ hover เลื่อนตัวหนังสือไปทางซ้ายเท่านั้น */
        .submenu-dropdown li a:hover {
            transform: translateX(-8px);
        }

/* edging.php */
.edging-page-main {
            padding-bottom: 2.5rem;
        }

        .edging-shell {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .edging-toolbar {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
        }

        .edging-search-form {
            width: min(100%, 440px);
            margin: 0;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 0.7rem;
        }

        .edging-search-form .form-group {
            margin-bottom: 0;
        }

        .edging-search-form .btn {
            min-width: 118px;
        }

        .edging-note-card,
        .edging-search-summary {
            padding: 1rem 1.1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 22px;
            background: linear-gradient(180deg, #ffffff 0%, #f8f7f2 100%);
            box-shadow: 0 14px 28px rgba(16, 24, 40, 0.05);
        }

        .edging-note-card strong {
            display: block;
            margin-bottom: 0.3rem;
            color: #173926;
            font-size: 1.06rem;
        }

        .edging-note-card p,
        .edging-search-summary p {
            margin: 0;
            color: #5f6f61;
            line-height: 1.65;
        }

        .edging-search-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .edging-search-summary h3 {
            margin: 0.18rem 0 0;
            color: #173926;
            font-size: clamp(1.2rem, 2.4vw, 1.6rem);
            line-height: 1.15;
        }

        .edging-gallery-grid {
            row-gap: 0.15rem;
        }

        .edging-card-link {
            display: block;
            text-decoration: none;
        }

        .edging-card-media {
            aspect-ratio: 4 / 5;
            background: #f2f1ec;
        }

        .edging-card-media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .edging-card-link:hover .edging-card-media img {
            transform: scale(1.04);
        }

        .edging-card-copy {
            gap: 0.4rem;
        }

        .edging-card-type {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            min-height: 28px;
            padding: 0.24rem 0.62rem;
            border-radius: 999px;
            background: rgba(49, 85, 44, 0.08);
            color: #31552c;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .edging-empty-state {
            padding: 1.25rem 1rem;
            border-radius: 18px;
            text-align: center;
        }

        @media (max-width: 991.98px) {
            .edging-toolbar,
            .edging-search-summary {
                flex-direction: column;
                align-items: stretch;
            }

            .edging-search-form {
                width: 100%;
            }
        }

        @media (max-width: 767.98px) {
            .edging-search-form {
                grid-template-columns: 1fr;
            }

            .edging-search-form .btn {
                width: 100%;
            }

            .edging-note-card,
            .edging-search-summary {
                padding: 0.9rem;
                border-radius: 18px;
            }

            .edging-card-type {
                min-height: 24px;
                padding: 0.2rem 0.55rem;
                font-size: 0.64rem;
            }
        }

/* fillstick.php */
.fillstick-page-main {
            padding-bottom: 2.5rem;
        }

        .fillstick-shell {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .fillstick-toolbar {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 1rem;
        }

        .fillstick-search-form {
            width: min(100%, 440px);
            margin: 0;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 0.7rem;
        }

        .fillstick-search-form .form-group {
            margin-bottom: 0;
        }

        .fillstick-search-form .btn {
            min-width: 118px;
        }

        .fillstick-note-card,
        .fillstick-search-summary {
            padding: 1rem 1.1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 22px;
            background: linear-gradient(180deg, #ffffff 0%, #f8f7f2 100%);
            box-shadow: 0 14px 28px rgba(16, 24, 40, 0.05);
        }

        .fillstick-note-card strong {
            display: block;
            margin-bottom: 0.3rem;
            color: #173926;
            font-size: 1.06rem;
        }

        .fillstick-note-card p,
        .fillstick-search-summary p {
            margin: 0;
            color: #5f6f61;
            line-height: 1.65;
        }

        .fillstick-search-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .fillstick-search-summary h3 {
            margin: 0.18rem 0 0;
            color: #173926;
            font-size: clamp(1.2rem, 2.4vw, 1.6rem);
            line-height: 1.15;
        }

        .fillstick-gallery-grid {
            row-gap: 0.15rem;
        }

        .fillstick-card-link {
            display: block;
            text-decoration: none;
        }

        .fillstick-card-media {
            aspect-ratio: 4 / 5;
            background: #f2f1ec;
        }

        .fillstick-card-media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s ease;
        }

        .fillstick-card-link:hover .fillstick-card-media img {
            transform: scale(1.04);
        }

        .fillstick-card-copy {
            gap: 0.4rem;
        }

        .fillstick-card-type {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            min-height: 28px;
            padding: 0.24rem 0.62rem;
            border-radius: 999px;
            background: rgba(49, 85, 44, 0.08);
            color: #31552c;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .fillstick-empty-state {
            padding: 1.25rem 1rem;
            border-radius: 18px;
            text-align: center;
        }

        @media (max-width: 991.98px) {
            .fillstick-toolbar,
            .fillstick-search-summary {
                flex-direction: column;
                align-items: stretch;
            }

            .fillstick-search-form {
                width: 100%;
            }
        }

        @media (max-width: 767.98px) {
            .fillstick-search-form {
                grid-template-columns: 1fr;
            }

            .fillstick-search-form .btn {
                width: 100%;
            }

            .fillstick-note-card,
            .fillstick-search-summary {
                padding: 0.9rem;
                border-radius: 18px;
            }

            .fillstick-card-type {
                min-height: 24px;
                padding: 0.2rem 0.55rem;
                font-size: 0.64rem;
            }
        }

/* product-grid.php */
.hero-wrap {
            position: relative;
            overflow: hidden;
            height: 60vh;
            margin: 0;
        }

        .product-detail-page-main {
            padding-bottom: 2.5rem;
        }

        .product-detail-shell {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .product-detail-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .product-detail-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .product-detail-chip {
            display: inline-flex;
            align-items: center;
            min-height: 34px;
            padding: 0.3rem 0.8rem;
            border-radius: 999px;
            background: #f1f5e9;
            color: #31552c;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .product-detail-panel {
            margin: 0;
            row-gap: 1.25rem;
        }

        .product-detail-gallery-card {
            padding: 1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 24px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
            box-shadow: 0 16px 32px rgba(16, 24, 40, 0.05);
        }

        .product-detail-main-link {
            display: block;
        }

        .product-detail-main-image {
            width: 100%;
            aspect-ratio: 4 / 5;
            object-fit: cover;
        }

        .product-detail-thumbs {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .gallery-thumb {
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 14px;
            transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .gallery-thumb:hover,
        .gallery-thumb.is-active {
            border-color: rgba(49, 85, 44, 0.42);
            box-shadow: 0 10px 22px rgba(16, 24, 40, 0.08);
            transform: translateY(-1px);
        }

        .product-detail-copy {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .product-detail-type {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            min-height: 30px;
            padding: 0.26rem 0.72rem;
            border-radius: 999px;
            background: rgba(49, 85, 44, 0.08);
            color: #31552c;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .product-detail-name {
            margin: 0;
            color: #173926;
            font-size: clamp(1.35rem, 2.2vw, 1.9rem);
            line-height: 1.15;
        }

        .product-detail-summary {
            margin: 0;
            color: #5f6f61;
            line-height: 1.75;
        }

        .product-detail-spec-list {
            display: grid;
            gap: 0.85rem;
        }

        .product-detail-spec-item {
            padding: 0.95rem 1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 18px;
            background: #fff;
            box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
        }

        .product-detail-spec-label {
            display: block;
            margin-bottom: 0.3rem;
            color: #173926;
            font-size: 1rem;
            font-weight: 700;
        }

        .product-detail-spec-value {
            color: #5f6f61;
            line-height: 1.7;
        }

        .product-detail-feature-block {
            display: flex;
            flex-direction: column;
            gap: 0.9rem;
        }

        .product-detail-section-title {
            margin: 0;
            color: #173926;
            font-size: 1.08rem;
            font-weight: 700;
        }

        .product-feature-grid {
            row-gap: 0.8rem;
        }

        .product-feature-card {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            height: 100%;
            padding: 0.9rem 1rem;
            border: 1px solid rgba(24, 63, 41, 0.08);
            border-radius: 18px;
            background: linear-gradient(180deg, #ffffff 0%, #f9f8f4 100%);
            box-shadow: 0 12px 24px rgba(16, 24, 40, 0.04);
            text-align: left;
        }

        .product-feature-card i {
            flex: 0 0 42px;
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: rgba(49, 85, 44, 0.08);
            color: #31552c;
            font-size: 1.06rem;
        }

        .product-feature-card span {
            color: #1f2937;
            font-weight: 600;
            line-height: 1.5;
        }

        .product-detail-empty {
            padding: 1.25rem;
            border-radius: 18px;
            text-align: center;
        }

        @media (max-width: 991.98px) {
            .product-detail-toolbar {
                align-items: stretch;
            }

            .product-detail-toolbar .btn {
                width: 100%;
            }

            .product-detail-meta {
                width: 100%;
            }
        }

        @media (max-width: 767.98px) {
            .product-detail-gallery-card {
                padding: 0.85rem;
                border-radius: 20px;
            }

            .product-detail-thumbs {
                flex-direction: row;
                gap: 0.65rem;
            }

            .product-detail-spec-item,
            .product-feature-card {
                border-radius: 16px;
            }

            .product-feature-card {
                padding: 0.85rem 0.9rem;
            }
        }

/* product_detail.php */
@media (min-width: 1200px) {
      .container--xl {
        max-width: 1320px;
      }
    }

    @media (min-width: 1400px) {
      .container--xl {
        max-width: 1440px;
      }
    }

    .color-detail-page .hero-wrap {
      position: relative;
      overflow: hidden;
      height: 34vh;
      min-height: 220px;
      margin: 0;
    }

    .color-detail-page-main {
      padding-bottom: 2rem;
    }

    .color-detail-page-main .ftco-section {
      padding-top: 2rem !important;
      padding-bottom: 2rem !important;
    }

    .detail-shell {
      display: flex;
      flex-direction: column;
      gap: 0.9rem;
    }

    .detail-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .detail-toolbar .btn {
      border-radius: 14px;
    }

    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
    }

    .detail-chip,
    .detail-type {
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0.24rem 0.68rem;
      border-radius: 999px;
      background: rgba(49, 85, 44, 0.08);
      color: #31552c;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .detail-stage {
      border: 1px solid rgba(24, 63, 41, 0.08);
      border-radius: 26px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
    }

    .detail-stage-grid {
      display: grid;
      grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
      align-items: stretch;
    }

    .detail-gallery-pane {
      padding: 1rem;
      background: linear-gradient(180deg, #fdfcf8 0%, #f4f0e6 100%);
      border-right: 1px solid rgba(24, 63, 41, 0.08);
    }

    .detail-gallery-layout {
      display: grid;
      grid-template-columns: 68px minmax(0, 1fr);
      gap: 0.75rem;
      align-items: start;
    }

    .detail-thumbs {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .detail-thumb {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 68px;
      min-height: 86px;
      padding: 0.28rem;
      border: 1px solid rgba(24, 63, 41, 0.1);
      border-radius: 14px;
      background: #fff;
      opacity: 0.65;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    }

    .detail-thumb img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .detail-thumb:hover,
    .detail-thumb.is-active {
      opacity: 1;
      transform: translateY(-1px);
      border-color: rgba(49, 85, 44, 0.4);
      box-shadow: 0 10px 22px rgba(16, 24, 40, 0.08);
    }

    .detail-main {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .detail-main-link {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 350px;
      padding: 0.75rem;
      border: 1px solid rgba(24, 63, 41, 0.08);
      border-radius: 22px;
      background: linear-gradient(180deg, #ffffff 0%, #f8f6ef 100%);
    }

    .detail-main-image {
      display: block;
      width: auto;
      height: auto;
      max-width: 100%;
      max-height: 320px;
      object-fit: contain;
    }

    .detail-gallery-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
      color: #6b7280;
      font-size: 0.9rem;
    }

    .detail-copy-pane {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      padding: 1rem 1.1rem 1.05rem;
    }

    .detail-name {
      margin: 0;
      color: #173926;
      font-size: clamp(1.35rem, 2vw, 1.9rem);
      line-height: 1.12;
    }

    .detail-summary {
      margin: 0;
      color: #5f6f61;
      line-height: 1.64;
    }

    .detail-note,
    .detail-standard {
      padding: 0.78rem 0.88rem;
      border-radius: 18px;
      background: #f5f7f1;
      color: #5f6f61;
      line-height: 1.6;
    }

    .detail-spec-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.7rem;
    }

    .detail-spec-card,
    .detail-support-card {
      padding: 0.8rem 0.9rem;
      border: 1px solid rgba(24, 63, 41, 0.08);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 10px 24px rgba(16, 24, 40, 0.04);
    }

    .detail-spec-label,
    .detail-section-title,
    .detail-support-card h3 {
      margin: 0 0 0.3rem;
      color: #173926;
      font-size: 1rem;
      font-weight: 700;
    }

    .detail-spec-value,
    .detail-support-card p {
      color: #5f6f61;
      line-height: 1.58;
    }

    .detail-section-title {
      margin-bottom: 0.5rem;
    }

    .detail-support-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.7rem;
    }

    .detail-support-card {
      height: 100%;
    }

    .detail-support-card i {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      margin-bottom: 0.55rem;
      border-radius: 999px;
      background: rgba(49, 85, 44, 0.08);
      color: #31552c;
      font-size: 1rem;
    }

    .detail-support-card p {
      margin-bottom: 0;
    }

    .detail-support-link {
      display: inline-flex;
      margin-top: 0.5rem;
      color: #31552c;
      font-size: 1rem;
      font-weight: 700;
    }

    .detail-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: auto;
    }

    .detail-actions .btn {
      min-width: 160px;
      border-radius: 14px;
    }

    .detail-empty {
      padding: 1.2rem;
      border-radius: 18px;
      text-align: center;
    }

    @media (max-width: 1199.98px) {
      .detail-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 991.98px) {
      .color-detail-page .hero-wrap {
        height: 30vh;
        min-height: 200px;
      }

      .detail-stage-grid {
        grid-template-columns: 1fr;
      }

      .detail-gallery-pane {
        border-right: none;
        border-bottom: 1px solid rgba(24, 63, 41, 0.08);
      }

      .detail-copy-pane {
        padding: 0.95rem;
      }

      .detail-gallery-layout {
        grid-template-columns: 1fr;
      }

      .detail-thumbs {
        order: 2;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
      }

      .detail-main {
        order: 1;
      }

      .detail-main-link {
        min-height: 300px;
      }

      .detail-main-image {
        max-height: 260px;
      }
    }

    @media (max-width: 767.98px) {
      .detail-toolbar,
      .detail-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .detail-toolbar .btn,
      .detail-actions .btn {
        width: 100%;
        min-width: 0;
      }

      .detail-meta {
        width: 100%;
      }

      .detail-spec-grid,
      .detail-support-grid {
        grid-template-columns: 1fr;
      }

      .detail-gallery-pane,
      .detail-copy-pane {
        padding: 0.85rem;
      }

      .detail-thumb {
        width: 56px;
        min-height: 74px;
      }

      .detail-main-link {
        min-height: 250px;
        padding: 0.6rem;
      }

      .detail-main-image {
        max-height: 210px;
      }

      .detail-gallery-meta {
        flex-direction: column;
        align-items: flex-start;
      }
    }

/* products.php */
.products-page #productsCatalogContent {
      scroll-margin-top: 110px;
    }
