/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

 * {
	letter-spacing:1px !important;
 }

 body {
	/*background-image:url(https://azikazinmagicworld.com/wp-content/themes/azikazin/images/bgimage_2.gif)*/
 }
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
	
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}
  @media (max-width: 768px) {
h3 {
	padding-top: 10px;
}
  }
/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* 모든 이미지를 페이드 인시키기 위한 클래스 */
.fade-in {
	opacity: 0;
	transition: opacity 0.7s ease-out;
  }
  
  /* 화면에 보여질 때 적용될 클래스 */
  .fade-in.visible {
	opacity: 1;
  }

  .reset_variations, .sku_wrapper, .zoomImg, .woocommerce div.product div.images .woocommerce-product-gallery__trigger{
	display: none !important;
  }


  .editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image img[alt=""], .wc-block-components-product-image img[alt=""], .editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image a, .wc-block-components-product-image a,.woocommerce ul.products li.product a img
{
	border-radius:5px;
	border:1px solid #f2f2f2
}

.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button{

	background-color: transparent;
    color: gray;
    border-color: #00000070;
    border: solid;
    border-radius: 50px;
    height: auto;
	
}

:root :where(.wp-element-button, .wp-block-button__link){
	padding-top: 0.3rem;
    padding-right: 1.25rem;
    padding-bottom: 0.3rem;
    padding-left: 1.25rem;
}


:root {
	--wp--preset--color--base:#fdfdfd
}
img {
	opacity: 0;
	filter: brightness(1);
  
	transition-property: opacity, filter, transform !important;
	transition-duration: 0.5s, 0.5s, 0.5s !important;
	transition-timing-function: ease-in, ease, ease !important;
  }
  
  
  
  
  
  /* 페이드인용 클래스 */
  .fade-in {
	opacity: 1;
  }
  
  
/* WooCommerce 블록 상품 이미지 + 목록 상품 이미지 동시 적용 */
/* WooCommerce 블록 상품 이미지 + 목록 상품 이미지 공통 스타일 */
.wc-block-components-product-image img,
.products .product img {
  filter: brightness(1);

}

/* 호버 시: brightness(0.95) + scale(1.1) 로 1초간 서서히 변경 */
.products .product a:hover img,
.wc-block-components-product-image a:hover img {
  filter: brightness(0.95);
  transform: scale(1.05);
}

@keyframes myBounce {
	0%   { transform: scale(0.99);   }
	30%  { transform: scale(1.01); }
	80% { transform: scale(1);   }
}
  
.clicked {
	animation: myBounce 1s forwards;
	filter: brightness(0.9);
  }
  
  /* 모바일(화면 너비 768px 이하)에서는 애니메이션을 해제 */
  @media (max-width: 768px) {
	.clicked {
	  animation: none !important;
	  filter: none !important;
	}
  }
  
  


/* 품절 상품의 이미지 링크에 position: relative; */
.wc-block-components-product-image a {
	position: relative;
	overflow:hidden;
	display: block;
  }
  
/* 감싸는 링크 요소에 위치를 잡을 수 있도록 relative 지정 */
.wc-block-product.outofstock .wc-block-components-product-image a {
	position: relative;
  }
  
  /* ::before - 배경 블러 처리 */
  .wc-block-product.outofstock .wc-block-components-product-image a::before {
	content: "";
	position: absolute;
	inset: 0; /* top, right, bottom, left 0을 한 번에 지정 */
	
	/* 반투명 배경 + 배경 블러 */
	background-color: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(4px);
	
	z-index: 1; /* 텍스트(::after) 뒤로 배치 */
	pointer-events: none;
	
	/* 초기 상태 - 투명도 0 */
	opacity: 0;
	transition: opacity 0.3s ease;
  }
  
  /* ::after - 텍스트 (Sold Out) */
  .wc-block-product.outofstock .wc-block-components-product-image a::after {
	content: "Sold Out";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	
	color: #fff;
	font-size: 1rem;
	z-index: 2; /* 블러된 배경(::before)보다 위 */
	pointer-events: none;
	
	/* 초기 상태 - 투명도 0 */
	opacity: 0;
	transition: opacity 0.3s ease;
  }
  
  /* 호버 시 오버레이 + 텍스트 표시 */
  .wc-block-product.outofstock .wc-block-components-product-image a:hover::before,
  .wc-block-product.outofstock .wc-block-components-product-image a:hover::after {
	opacity: 1;
  }
  
  
  button {
	/* 초기 상태에서 invert(0) = 반전 없음 */
	filter: invert(0);
	transition: filter 0.3s ease; /* 0.3초 동안 서서히 변화 */
  }
  
  button:hover {
	/* 호버 시 invert(1) = 색상 반전 */
	filter: invert(1);
  }
  .sold-out-button {
	pointer-events: none !important;
	cursor: not-allowed !important;
  }
  
	
  /* a 태그 클릭/포커스 시 나오는 outline 제거 */
a:focus,
a:active,
a:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* 파이어폭스 등에서 내부 포커스 스타일 제거 */
a::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.woocommerce table.shop_attributes td p{
	font-style: normal;
	font-size:14px;
}

.woocommerce table.shop_attributes{
	font-size:14px
}

.woocommerce-account .wp-block-post-title, .woocommerce-account main .woocommerce, .woocommerce-cart .wp-block-post-title, .woocommerce-cart main .woocommerce, .woocommerce-checkout .wp-block-post-title, .woocommerce-checkout main .woocommerce
{
	max-width: 1350px;
}


.custom-detailed-information {
    color: gray;
    padding-bottom: 5px;
	font-size:12px;
}

/* 줄바꿈을 위한 마진 조정 */
.custom-detailed-information p {
    margin-bottom: 10px;
}

.custom-detailed-information br {
    line-height: 1.5;
}



.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	pointer-events: none;
}

/* 품절된 상품의 가격 영역 숨기기 */
.outofstock .wc-block-components-product-price .woocommerce-Price-amount {
   
}

.wc-block-cart-item__image a img, .wc-block-components-order-summary-item__image img {
	opacity:1;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
	margin-bottom:4px;
}

.wpml-ls-statics-footer {
	font-size:14px;
}

.guest-order-link {
    margin-left: 10px; /* 오른쪽 여백 */
}

.wp-block-separator.has-alpha-channel-opacity.is-style-dots, .wp-block-heading.has-text-align-center, .wc-block-grid.wp-block-product-new.wp-block-woocommerce-product-new.wc-block-product-new.has-4-columns {
	display: none;
}

.wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title{
	display: block;
}

  @media screen and (max-width: 599px) {
	.wp-block-woocommerce-product-template {
	  display: grid !important;
	  grid-template-columns: repeat(2, 1fr) !important;
	  gap: 1rem; /* 간격은 필요에 따라 조절 */
	}
  }
  

  :root :where(.wp-block-post-title a:where(:not(.wp-element-button))) {
	font-size:14px;
  }

  
  .is-layout-constrained > .alignwide {
	max-width:1080px;
  }

  p.info {
	font-size:11px;
	color:gray
  }

  .wp-block-button.wc-block-components-product-button{
	display:none;
  }

  .wp-block-group  .has-text-align-center {
	text-align:left
  }

  footer .wp-block-group  .has-text-align-center {
	text-align:center;
  }

  .single .is-layout-constrained > .alignwide {
	max-width: 1080px !important;
  }

  .is-layout-constrained > .alignwide {
	max-width:1440px !important;
  }



  .wp-block-post-excerpt{
	font-size:18px;
  }

.wp-block-woocommerce-product-price{
	font-weight: 500;
}

body {
	background-image: url(https://azikazinmagicworld.com/wp-content/themes/azikazin/images/2026_store_background.png);
background-size: 30%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
}

.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal{
	display: none;
}

@media screen and (max-width: 768px) {
	.woocommerce-breadcrumb{
		font-size:12px
	}	

	.wp-block-post-title{
		font-size:24px;
	}

	.wp-block-post-excerpt__excerpt{
		font-size:14px
	}

	.custom-detailed-information {
		font-size:12px;
	}

	.woocommerce-product-attributes, .woocommerce table.shop_attributes td p {
		font-size:12px;
	}

	.wp-block-site-title a {
		letter-spacing:0px !important;
	}

	footer .wp-block-site-title a {
		letter-spacing: 1px !important;
	}

	.wp-block-navigation ul li {
		padding-bottom: 10px;
        letter-spacing: 3px !important;
	}

	.wp-block-heading.has-medium-font-size {
		display:none;
	}
	.wp-block-group.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained{
		padding-right: 25px;
		padding-left: 25px;
	}
	footer .wp-block-navigation__container {
		padding-top:10px;
	}

	.wp-block-group.is-layout-grid.wp-container-core-group-is-layout-12.wp-block-group-is-layout-grid p {
		font-size:12px !important;
	}

	.has-text-align-center.is-style-text-display.has-small-font-size.is-style-text-display--2 {
		font-size:8px !important;
	}
	:root :where(.is-layout-flex){
		gap:0px;
	}

	footer .has-text-align-center.is-style-default.has-small-font-size{
		font-size:12px !important
	}

	 

}
 

.stock.in-stock {
	display: none;
}

.woocommerce div.product p.stock {
	font-weight: bold;
}

.single h1 {
	font-size:24px;

}

.woocommerce-Price-amount.amount {
	font-family: BlinkMacSystemFontsystem-ui,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Apple SD Gothic Neo,Noto Sans KR,Malgun Gothic,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}

.single .wp-block-post-excerpt__excerpt {
	font-size:14px;
}


html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li a
 {
	font-size:18px
 }



.home.archive .wp-block-query-title, .home.archive p.woocommerce-result-count, .home div.wc-block-catalog-sorting {
	display: none !important;
}

footer .wp-block-group.has-background.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
	background: none !important;
}

.has-link-color.wp-elements-7202b4d10ee3fd9e5379f12d994923f7.wp-block-site-title.has-text-color.has-contrast-color.has-x-large-font-size {
	font-size:24px !important
}



.alignwide.wp-block-query-title {
	font-size:36px;
}

:root :where(.wp-block-post-title a:where(:not(.wp-element-button))) {
	line-height: 20px;
}

.wp-block-post-terms {
	margin-right:20px !important;
}

.wp-block-group.alignwide.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained{
	max-width:720px !important;
}


/* '동작' 행 전체를 숨기기 */
.woocommerce table.order_details tfoot tr:has(.order-actions--heading) {
  display: none !important;
}

/* 구형 브라우저(특히 Safari) 호환용 — :has() 미지원일 경우 */
.woocommerce table.order_details th.order-actions--heading {
  display: none !important;
}
.woocommerce table.order_details th.order-actions--heading + td {
  display: none !important;
}
.woocommerce div.product form.cart .variations label {
	font-size:18px;
}

.wp-block-post-excerpt__excerpt,
.custom-detailed-information,
.custom-detailed-information p {
    word-break: keep-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
}